aseprite-automation 0.4.0__tar.gz
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.
- aseprite_automation-0.4.0/LICENSE +21 -0
- aseprite_automation-0.4.0/LICENSES/CC0-1.0.txt +116 -0
- aseprite_automation-0.4.0/PKG-INFO +295 -0
- aseprite_automation-0.4.0/README.md +269 -0
- aseprite_automation-0.4.0/THIRD_PARTY_NOTICES.md +12 -0
- aseprite_automation-0.4.0/pyproject.toml +83 -0
- aseprite_automation-0.4.0/src/spa/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/access/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/access/cli.py +218 -0
- aseprite_automation-0.4.0/src/spa/access/mcp/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/access/mcp/cli.py +90 -0
- aseprite_automation-0.4.0/src/spa/access/mcp/content.py +102 -0
- aseprite_automation-0.4.0/src/spa/access/mcp/server.py +89 -0
- aseprite_automation-0.4.0/src/spa/adapters/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/adapters/artifact_set.py +211 -0
- aseprite_automation-0.4.0/src/spa/adapters/aseprite/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/adapters/aseprite/aseprite.py +680 -0
- aseprite_automation-0.4.0/src/spa/adapters/aseprite/convolution.py +251 -0
- aseprite_automation-0.4.0/src/spa/adapters/aseprite/invocation.py +46 -0
- aseprite_automation-0.4.0/src/spa/adapters/files.py +382 -0
- aseprite_automation-0.4.0/src/spa/adapters/gif.py +176 -0
- aseprite_automation-0.4.0/src/spa/adapters/icc.py +20 -0
- aseprite_automation-0.4.0/src/spa/adapters/palette_file.py +180 -0
- aseprite_automation-0.4.0/src/spa/adapters/png.py +52 -0
- aseprite_automation-0.4.0/src/spa/adapters/png_input.py +274 -0
- aseprite_automation-0.4.0/src/spa/adapters/sequence_png.py +99 -0
- aseprite_automation-0.4.0/src/spa/application/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/application/dispatch.py +294 -0
- aseprite_automation-0.4.0/src/spa/application/failure_registry.py +79 -0
- aseprite_automation-0.4.0/src/spa/application/mutation.py +83 -0
- aseprite_automation-0.4.0/src/spa/application/plan.py +1352 -0
- aseprite_automation-0.4.0/src/spa/application/script.py +58 -0
- aseprite_automation-0.4.0/src/spa/application/surface.py +420 -0
- aseprite_automation-0.4.0/src/spa/authoring/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/color_mode.py +571 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/palette.py +748 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/palette_file.py +249 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/profile.py +506 -0
- aseprite_automation-0.4.0/src/spa/authoring/color/quantization.py +247 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/animation.py +608 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/cel.py +633 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/cel_contracts.py +191 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/cel_relationship.py +408 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/frame.py +793 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/layer.py +1162 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/motion.py +345 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/slice.py +546 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/sprite.py +1139 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/tag.py +536 -0
- aseprite_automation-0.4.0/src/spa/authoring/document/targets.py +86 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/color_curve.py +99 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/convolution.py +41 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/despeckle.py +195 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/filter.py +789 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/hue_saturation.py +238 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/image.py +935 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/image_import.py +417 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/image_snapshot.py +621 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/invert_outline.py +382 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/paint.py +325 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/paint_composite.py +473 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/paint_native.py +819 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/pixel_filter.py +140 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/replace_color.py +168 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/selection.py +702 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/selection_evidence.py +88 -0
- aseprite_automation-0.4.0/src/spa/authoring/raster/text.py +21 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/cel_add.py +110 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/inspection.py +594 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/layer_creation.py +152 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/lifecycle.py +761 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/properties.py +110 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/regions.py +592 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/targets.py +85 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/tileset_lifecycle.py +629 -0
- aseprite_automation-0.4.0/src/spa/authoring/tile/values.py +136 -0
- aseprite_automation-0.4.0/src/spa/bootstrap.py +43 -0
- aseprite_automation-0.4.0/src/spa/contracts/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/contracts/artifact.py +34 -0
- aseprite_automation-0.4.0/src/spa/contracts/artifact_set.py +59 -0
- aseprite_automation-0.4.0/src/spa/contracts/caller_script.py +82 -0
- aseprite_automation-0.4.0/src/spa/contracts/digest.py +13 -0
- aseprite_automation-0.4.0/src/spa/contracts/encoded_animation.py +56 -0
- aseprite_automation-0.4.0/src/spa/contracts/mutation.py +88 -0
- aseprite_automation-0.4.0/src/spa/contracts/operation.py +133 -0
- aseprite_automation-0.4.0/src/spa/contracts/ports.py +493 -0
- aseprite_automation-0.4.0/src/spa/contracts/public.py +508 -0
- aseprite_automation-0.4.0/src/spa/contracts/raster.py +239 -0
- aseprite_automation-0.4.0/src/spa/contracts/rounding.py +8 -0
- aseprite_automation-0.4.0/src/spa/contracts/snapshot.py +16 -0
- aseprite_automation-0.4.0/src/spa/delivery/__init__.py +0 -0
- aseprite_automation-0.4.0/src/spa/delivery/animation.py +590 -0
- aseprite_automation-0.4.0/src/spa/delivery/animation_contracts.py +215 -0
- aseprite_automation-0.4.0/src/spa/delivery/export.py +375 -0
- aseprite_automation-0.4.0/src/spa/delivery/export_contracts.py +219 -0
- aseprite_automation-0.4.0/src/spa/delivery/export_verification.py +141 -0
- aseprite_automation-0.4.0/src/spa/delivery/palette.py +310 -0
- aseprite_automation-0.4.0/src/spa/delivery/png_publication.py +122 -0
- aseprite_automation-0.4.0/src/spa/delivery/sheet.py +189 -0
- aseprite_automation-0.4.0/src/spa/delivery/sheet_contracts.py +154 -0
- aseprite_automation-0.4.0/src/spa/delivery/sheet_publication.py +117 -0
- aseprite_automation-0.4.0/src/spa/delivery/sheet_verification.py +368 -0
- aseprite_automation-0.4.0/src/spa/delivery/snapshot_publication.py +64 -0
- aseprite_automation-0.4.0/src/spa/delivery/tileset.py +367 -0
- aseprite_automation-0.4.0/src/spa/delivery/tileset_contracts.py +203 -0
- aseprite_automation-0.4.0/src/spa/kernel/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/change_color_mode.lua +44 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/color_mode.lua +285 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/effective_palette.lua +16 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_file.lua +92 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_images.lua +157 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_quantization.lua +211 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_read.lua +31 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_set.lua +47 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_support.lua +111 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_transform.lua +300 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/palette_transform_run.lua +100 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profile.lua +263 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profile_file.lua +66 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profile_mutation.lua +46 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profiles/NOTICE.txt +17 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profiles/display_p3_cc0.icc +0 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profiles/identities.json +16 -0
- aseprite_automation-0.4.0/src/spa/kernel/color/profiles/linear_srgb.icc +0 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/animation_export.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/animation_export_support.lua +321 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/animation_gif.lua +136 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_image.lua +30 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_image_pipeline.lua +339 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_image_support.lua +133 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_sheet.lua +29 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_sheet_support.lua +455 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_tileset.lua +24 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/export_tileset_support.lua +273 -0
- aseprite_automation-0.4.0/src/spa/kernel/delivery/palette_export.lua +65 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/animation/animation.lua +30 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/animation/animation_support.lua +256 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/animation/motion_apply.lua +50 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/animation/motion_support.lua +142 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/cel/cel_get.lua +52 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/cel/cel_mutate.lua +196 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/cel/cel_relationship.lua +75 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/cel/cel_relationship_support.lua +189 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/cel/cel_support.lua +266 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/frame/frame_get.lua +39 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/frame/frame_mutate.lua +33 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/frame/frame_support.lua +505 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/layer/layer_add.lua +132 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/layer/layer_get.lua +48 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/layer/layer_mutate.lua +42 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/layer/layer_mutation_support.lua +647 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/layer/layer_select.lua +76 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/slice/slice_inspect.lua +206 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/slice/slice_mutate.lua +25 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/slice/slice_read.lua +32 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/slice/slice_support.lua +196 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_create.lua +35 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_create_support.lua +109 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_flatten.lua +84 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_geometry.lua +193 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_get.lua +49 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_inspect.lua +281 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/sprite/sprite_persistence.lua +121 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/tag/tag_get.lua +43 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/tag/tag_mutate.lua +34 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/tag/tag_select.lua +25 -0
- aseprite_automation-0.4.0/src/spa/kernel/document/tag/tag_support.lua +186 -0
- aseprite_automation-0.4.0/src/spa/kernel/foundation/digest.lua +150 -0
- aseprite_automation-0.4.0/src/spa/kernel/foundation/rounding.lua +18 -0
- aseprite_automation-0.4.0/src/spa/kernel/plan/plan_run.lua +311 -0
- aseprite_automation-0.4.0/src/spa/kernel/preparation/raster_prepare.lua +385 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/brightness_contrast.lua +28 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/brightness_contrast_run.lua +3 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/color_curve.lua +22 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/color_curve_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/despeckle.lua +133 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/despeckle_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/filter_application.lua +243 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/filter_run.lua +51 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/filter_support.lua +227 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/filter_tiles.lua +215 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/hue_saturation.lua +60 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/hue_saturation_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/invert_color.lua +75 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/invert_color_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/outline.lua +108 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/outline_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/replace_color.lua +114 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/filter/replace_color_run.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_alpha.lua +37 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_canvas_resize.lua +47 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_canvas_transform.lua +105 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_cel_mutation.lua +153 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_crop.lua +21 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_get.lua +152 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_import.lua +268 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_orientation.lua +220 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_orientation_transform.lua +30 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_replace.lua +130 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_resize.lua +77 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_resize_transform.lua +130 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/image_snapshot.lua +101 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/image/layer_composition.lua +217 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/native_tool.lua +470 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_apply.lua +35 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_apply_support.lua +428 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_blur.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_composite.lua +101 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_composite_support.lua +206 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_contour.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_ellipse.lua +21 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_eraser.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_fill.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_line.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_native_support.lua +244 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_pencil.lua +20 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/paint/paint_rectangle.lua +21 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/raster_color.lua +151 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_combine.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_create.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_export.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_grow.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_invert.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_mask.lua +183 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_preview.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_shrink.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_support.lua +229 -0
- aseprite_automation-0.4.0/src/spa/kernel/raster/selection/selection_transform.lua +2 -0
- aseprite_automation-0.4.0/src/spa/kernel/runtime/capability_probe.lua +1721 -0
- aseprite_automation-0.4.0/src/spa/kernel/runtime/convolution_probe.lua +54 -0
- aseprite_automation-0.4.0/src/spa/kernel/runtime/fixtures/paint_apply_fixture.aseprite +0 -0
- aseprite_automation-0.4.0/src/spa/kernel/runtime/fixtures/sprite_inspection_fixture.aseprite +0 -0
- aseprite_automation-0.4.0/src/spa/kernel/runtime/probe.lua +44 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/cel_add.lua +67 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/inspection.lua +284 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/keys.lua +36 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/layer_creation.lua +119 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/layer_creation_probe.lua +47 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/lifecycle.lua +565 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/lifecycle_probe.lua +115 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/mutate.lua +47 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/probe.lua +88 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/properties.lua +77 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/read.lua +28 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/region_mutate.lua +45 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/regions.lua +218 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/tilemaps.lua +37 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/tileset_lifecycle.lua +402 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/tileset_lifecycle_probe.lua +106 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/tileset_mutate.lua +52 -0
- aseprite_automation-0.4.0/src/spa/kernel/tile/tilesets.lua +117 -0
- aseprite_automation-0.4.0/src/spa/mcp_bootstrap.py +48 -0
- aseprite_automation-0.4.0/src/spa/preparation/__init__.py +1 -0
- aseprite_automation-0.4.0/src/spa/preparation/contracts.py +258 -0
- aseprite_automation-0.4.0/src/spa/preparation/raster.py +477 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 aigengame
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
CC0 1.0 Universal
|
|
2
|
+
|
|
3
|
+
Statement of Purpose
|
|
4
|
+
|
|
5
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
6
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
7
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
8
|
+
authorship and/or a database (each, a "Work").
|
|
9
|
+
|
|
10
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
11
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
|
12
|
+
works ("Commons") that the public can reliably and without fear of later
|
|
13
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
|
14
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
|
15
|
+
purposes, including without limitation commercial purposes. These owners may
|
|
16
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
|
17
|
+
further production of creative, cultural and scientific works, or to gain
|
|
18
|
+
reputation or greater distribution for their Work in part through the use and
|
|
19
|
+
efforts of others.
|
|
20
|
+
|
|
21
|
+
For these and/or other purposes and motivations, and without any expectation
|
|
22
|
+
of additional consideration or compensation, the person associating CC0 with a
|
|
23
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
24
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
|
25
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
|
26
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
27
|
+
effect of CC0 on those rights.
|
|
28
|
+
|
|
29
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
30
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
31
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
|
32
|
+
to, the following:
|
|
33
|
+
|
|
34
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
35
|
+
and translate a Work;
|
|
36
|
+
|
|
37
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
38
|
+
|
|
39
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
40
|
+
depicted in a Work;
|
|
41
|
+
|
|
42
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
43
|
+
subject to the limitations in paragraph 4(a), below;
|
|
44
|
+
|
|
45
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
|
46
|
+
a Work;
|
|
47
|
+
|
|
48
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
49
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
50
|
+
protection of databases, and under any national implementation thereof,
|
|
51
|
+
including any amended or successor version of such directive); and
|
|
52
|
+
|
|
53
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
|
54
|
+
based on applicable law or treaty, and any national implementations thereof.
|
|
55
|
+
|
|
56
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
57
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
58
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
59
|
+
and Related Rights and associated claims and causes of action, whether now
|
|
60
|
+
known or unknown (including existing as well as future claims and causes of
|
|
61
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
62
|
+
duration provided by applicable law or treaty (including future time
|
|
63
|
+
extensions), (iii) in any current or future medium and for any number of
|
|
64
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
65
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
66
|
+
the Waiver for the benefit of each member of the public at large and to the
|
|
67
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
68
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
69
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
70
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
71
|
+
|
|
72
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
73
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
74
|
+
shall be preserved to the maximum extent permitted taking into account
|
|
75
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
76
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
|
77
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
|
78
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
|
79
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
|
80
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
|
81
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
|
82
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
|
83
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
|
84
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
|
85
|
+
License for any reason be judged legally invalid or ineffective under
|
|
86
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
|
87
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
|
88
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
|
89
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
|
90
|
+
and causes of action with respect to the Work, in either case contrary to
|
|
91
|
+
Affirmer's express Statement of Purpose.
|
|
92
|
+
|
|
93
|
+
4. Limitations and Disclaimers.
|
|
94
|
+
|
|
95
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
96
|
+
surrendered, licensed or otherwise affected by this document.
|
|
97
|
+
|
|
98
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
99
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
100
|
+
including without limitation warranties of title, merchantability, fitness
|
|
101
|
+
for a particular purpose, non infringement, or the absence of latent or
|
|
102
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
|
103
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
|
104
|
+
|
|
105
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
106
|
+
that may apply to the Work or any use thereof, including without limitation
|
|
107
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
108
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
|
109
|
+
or other rights required for any use of the Work.
|
|
110
|
+
|
|
111
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
112
|
+
party to this document and has no duty or obligation with respect to this
|
|
113
|
+
CC0 or use of the Work.
|
|
114
|
+
|
|
115
|
+
For more information, please see
|
|
116
|
+
http://creativecommons.org/publicdomain/zero/1.0/
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aseprite-automation
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Aseprite automation for AI agents. Create, edit, verify, and export pixel art, sprite animations, and tilesets through a CLI, Agent Skill, or MCP server.
|
|
5
|
+
Keywords: aseprite,pixel-art,sprite-animation,sprite-sheet,tileset,game-assets,ai-agent,ai-game-development,cli,agent-skill,mcp,mcp-server,model-context-protocol,asset-pipeline
|
|
6
|
+
Author: aigengame
|
|
7
|
+
License-Expression: MIT AND CC0-1.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: LICENSES/CC0-1.0.txt
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Topic :: Multimedia :: Graphics
|
|
15
|
+
Requires-Dist: pillow>=12,<13
|
|
16
|
+
Requires-Dist: pydantic>=2.11,<3
|
|
17
|
+
Requires-Dist: typer>=0.16,<1
|
|
18
|
+
Requires-Dist: mcp>=2.3,<3 ; extra == 'mcp'
|
|
19
|
+
Requires-Dist: jsonschema>=4,<5 ; extra == 'mcp'
|
|
20
|
+
Requires-Python: >=3.13
|
|
21
|
+
Project-URL: Repository, https://github.com/aigengame/aseprite-automation
|
|
22
|
+
Project-URL: Issues, https://github.com/aigengame/aseprite-automation/issues
|
|
23
|
+
Project-URL: Changelog, https://github.com/aigengame/aseprite-automation/blob/main/CHANGELOG.md
|
|
24
|
+
Provides-Extra: mcp
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# SPA — Aseprite Automation for AI Agents
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
**Create, edit, validate, and export pixel art and sprite animations with AI agents.**
|
|
32
|
+
|
|
33
|
+
SPA brings Aseprite to your agent workflows through a CLI, Agent Skill, or MCP server.
|
|
34
|
+
Keep editable `.aseprite` sources and deliver PNGs, GIFs, sprite sheets, and tile assets.
|
|
35
|
+
|
|
36
|
+
[](https://www.python.org/)
|
|
37
|
+
[](#choose-your-integration)
|
|
38
|
+
|
|
39
|
+
[Quick start](#quick-start) · [Usage guide](https://github.com/aigengame/aseprite-automation/blob/dev/docs/usage.md) ·
|
|
40
|
+
[Examples](#examples) · [MCP setup](https://github.com/aigengame/aseprite-automation/blob/dev/docs/mcp.md)
|
|
41
|
+
|
|
42
|
+
## TL;DR
|
|
43
|
+
|
|
44
|
+
Tell your AI agent:
|
|
45
|
+
|
|
46
|
+
> Read the SPA Skill, check my installed SPA and Aseprite, and create a small pixel art
|
|
47
|
+
> animation. Keep the editable `.aseprite` source, validate its frames and timing,
|
|
48
|
+
> export a sprite sheet, and show me the result before calling it done.
|
|
49
|
+
|
|
50
|
+
New to SPA? Follow [Installation](#installation), then
|
|
51
|
+
[install the Skill](#agent-skill) for your agent. The same work can also use the CLI
|
|
52
|
+
directly or an MCP client.
|
|
53
|
+
|
|
54
|
+
## Contents
|
|
55
|
+
|
|
56
|
+
- [Why SPA?](#why-spa)
|
|
57
|
+
- [What can you build?](#what-can-you-build)
|
|
58
|
+
- [Installation](#installation)
|
|
59
|
+
- [Quick start](#quick-start)
|
|
60
|
+
- [Choose your integration](#choose-your-integration)
|
|
61
|
+
- [Examples](#examples)
|
|
62
|
+
- [Documentation and support](#documentation-and-support)
|
|
63
|
+
- [Contributing](#contributing)
|
|
64
|
+
|
|
65
|
+
## Why SPA?
|
|
66
|
+
|
|
67
|
+
- **Keep your assets editable.** Work with native Aseprite layers, frames, cels, and
|
|
68
|
+
tags. Retain the source for later revisions alongside exports for your game.
|
|
69
|
+
- **Control the animation.** Set frame timing, position, opacity, and motion on
|
|
70
|
+
existing cels. Use explicit requests to make repeatable workflow steps.
|
|
71
|
+
- **Bring your own artwork.** Prepare external PNGs with palette, transparency,
|
|
72
|
+
size, and anchor choices, then import compatible images for animation.
|
|
73
|
+
- **Check what changed.** Inspect saved assets, validate expected facts, compare
|
|
74
|
+
frames, and preview results. Structured results help agents handle failures.
|
|
75
|
+
- **Choose your agent connection.** Use shell commands, reusable Skill guidance,
|
|
76
|
+
or an Aseprite MCP server with the same underlying operations.
|
|
77
|
+
|
|
78
|
+
SPA runs Aseprite in batch mode. You do not need to drive the editor UI for supported
|
|
79
|
+
operations. Art direction, visual review, and downstream game integration remain
|
|
80
|
+
part of your workflow.
|
|
81
|
+
|
|
82
|
+
## What can you build?
|
|
83
|
+
|
|
84
|
+
| Your goal | SPA can help with | Start with |
|
|
85
|
+
| --- | --- | --- |
|
|
86
|
+
| Create reusable pixel art assets | Sprites, layers, frames, cels, tags, slices, and editable native files | `sprite`, `layer`, `frame`, `cel`, `tag`, `slice` |
|
|
87
|
+
| Prepare and edit artwork | PNG preparation and import, image transforms, selections, native paint and filters | `raster`, `image`, `selection`, `paint`, `filter` |
|
|
88
|
+
| Animate and inspect motion | Frame timing, cel placement, motion curves, animation checks, frame comparison, previews | `motion`, `animation`, `frame`, `cel` |
|
|
89
|
+
| Work with colors and tiles | Palettes, color modes and profiles, keyed tiles, tilesets, and tilemap regions | `palette`, `sprite`, `tileset`, `tilemap` |
|
|
90
|
+
| Deliver assets to a game | PNG images, GIFs, PNG sequences, sprite sheets with JSON, and tileset/map exports | `export` |
|
|
91
|
+
| Automate a sequence of edits | Supported edits to one sprite, checked before one final save | `plan check`, `plan run` |
|
|
92
|
+
|
|
93
|
+
This overview describes the development version. Use `spa --help` and each command's
|
|
94
|
+
`--schema` for your installation. `spa info` checks your Aseprite runtime;
|
|
95
|
+
`spa schema` also reports unavailable native capabilities.
|
|
96
|
+
|
|
97
|
+
## Installation
|
|
98
|
+
|
|
99
|
+
You need **Python 3.13+**, [uv](https://docs.astral.sh/uv/getting-started/installation/),
|
|
100
|
+
and a separate [Aseprite installation](https://www.aseprite.org/). SPA does not bundle
|
|
101
|
+
the Aseprite executable.
|
|
102
|
+
|
|
103
|
+
The upcoming PyPI package is **`aseprite-automation`**; the command is **`spa`**.
|
|
104
|
+
The [first PyPI publication](https://github.com/aigengame/aseprite-automation/issues/189)
|
|
105
|
+
is pending. For the current development version, use the source install below.
|
|
106
|
+
|
|
107
|
+
### Install the current development version
|
|
108
|
+
|
|
109
|
+
Install [Git LFS](https://git-lfs.com/), then run:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
git clone --branch dev https://github.com/aigengame/aseprite-automation.git
|
|
113
|
+
cd aseprite-automation
|
|
114
|
+
git lfs install
|
|
115
|
+
git lfs pull
|
|
116
|
+
uv tool install --python 3.13 .
|
|
117
|
+
spa version
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
You can also install a wheel from a
|
|
121
|
+
[GitHub Release](https://github.com/aigengame/aseprite-automation/releases) with
|
|
122
|
+
`uv tool install /absolute/path/to/the-wheel.whl`. Published releases may provide
|
|
123
|
+
fewer capabilities than the current development version.
|
|
124
|
+
|
|
125
|
+
The repository is currently private, so cloning requires access. Git LFS retrieves
|
|
126
|
+
the native probe fixtures and example assets. If `spa` is not on `PATH`, run
|
|
127
|
+
`uv tool update-shell` and open a new shell.
|
|
128
|
+
|
|
129
|
+
### PyPI installation after the first publication
|
|
130
|
+
|
|
131
|
+
```sh
|
|
132
|
+
uv tool install aseprite-automation
|
|
133
|
+
spa version
|
|
134
|
+
uv tool upgrade aseprite-automation
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
For MCP, install the optional extra: `uv tool install 'aseprite-automation[mcp]'`.
|
|
138
|
+
For source development, use `uv sync` and `uv run spa`; see the
|
|
139
|
+
[usage guide](https://github.com/aigengame/aseprite-automation/blob/dev/docs/usage.md).
|
|
140
|
+
|
|
141
|
+
## Quick start
|
|
142
|
+
|
|
143
|
+
Point SPA at your Aseprite executable. On macOS, use the binary inside
|
|
144
|
+
`Aseprite.app/Contents/MacOS/`, rather than the `.app` directory.
|
|
145
|
+
|
|
146
|
+
```sh
|
|
147
|
+
export SPA_ASEPRITE_EXECUTABLE="/absolute/path/to/aseprite"
|
|
148
|
+
spa info
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Use a new working directory for these commands. They create a 32×32 sprite, draw a
|
|
152
|
+
purple disk on a transparent layer, export a PNG, and check the saved dimensions.
|
|
153
|
+
Existing destinations are refused.
|
|
154
|
+
|
|
155
|
+
**1. Create an editable source.**
|
|
156
|
+
|
|
157
|
+
```sh
|
|
158
|
+
spa sprite create --input-json '{
|
|
159
|
+
"target_sprite_file":"canvas.aseprite","overwrite":false,
|
|
160
|
+
"width":32,"height":32,"color_mode":"rgb",
|
|
161
|
+
"initial_layer":{"kind":"transparent"}
|
|
162
|
+
}'
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**2. Draw on the first layer and frame.**
|
|
166
|
+
|
|
167
|
+
```sh
|
|
168
|
+
spa paint ellipse --input-json '{
|
|
169
|
+
"source_sprite_file":"canvas.aseprite","target_sprite_file":"orb.aseprite",
|
|
170
|
+
"in_place":false,"overwrite":false,
|
|
171
|
+
"target":{"layer":{"layer_path":[1]},"frame_number":1},
|
|
172
|
+
"coordinate_space":"image-pixel",
|
|
173
|
+
"bounds":{"x":8,"y":8,"width":16,"height":16},"style":"filled",
|
|
174
|
+
"brush":{"kind":"circle","size":1},
|
|
175
|
+
"color":{"kind":"rgba","red":166,"green":104,"blue":255,"alpha":255},
|
|
176
|
+
"ink":"simple","opacity":255
|
|
177
|
+
}'
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**3. Export the image.**
|
|
181
|
+
|
|
182
|
+
```sh
|
|
183
|
+
spa export image --input-json '{
|
|
184
|
+
"source_sprite_file":"orb.aseprite",
|
|
185
|
+
"destination":{"path":"orb.png","if_exists":"fail"},"frame_number":1,
|
|
186
|
+
"export_image_area":{"kind":"canvas"},"layer_composition":{"mode":"visible"},
|
|
187
|
+
"composition_color_mode":"rgb","color_mode":"preserve",
|
|
188
|
+
"color_profile":"preserve","transparency":"preserve"
|
|
189
|
+
}'
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
**4. Check the saved source and view `orb.png`.**
|
|
193
|
+
|
|
194
|
+
```sh
|
|
195
|
+
spa sprite validate --input-json '{
|
|
196
|
+
"sprite_file":"orb.aseprite",
|
|
197
|
+
"expected":{"width":32,"height":32,"color_mode":"rgb","frame_count":1}
|
|
198
|
+
}'
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Commands return JSON by default; add `--human` for readable output. For validation,
|
|
202
|
+
check `valid`, `checks`, and `findings`: `status: success` means the check ran.
|
|
203
|
+
Visual quality still needs a look at the exported image.
|
|
204
|
+
|
|
205
|
+
Continue with the [usage guide](https://github.com/aigengame/aseprite-automation/blob/dev/docs/usage.md)
|
|
206
|
+
for animation, import, paint, color, tile, and export recipes. Use `--help` and
|
|
207
|
+
`--schema` to discover fields without guessing.
|
|
208
|
+
|
|
209
|
+
## Choose your integration
|
|
210
|
+
|
|
211
|
+
| Access path | Best for | Entry point |
|
|
212
|
+
| --- | --- | --- |
|
|
213
|
+
| **CLI** | Agents that run shell commands, scripts, and asset pipelines | `spa --help` |
|
|
214
|
+
| **Agent Skill** | Agents that need reusable guidance for the create–verify–export loop | [SPA Skill](https://github.com/aigengame/aseprite-automation/blob/dev/skills/spa/SKILL.md) |
|
|
215
|
+
| **MCP** | Clients that discover and call tools, with exported PNGs shown as image content | [MCP setup](https://github.com/aigengame/aseprite-automation/blob/dev/docs/mcp.md) |
|
|
216
|
+
|
|
217
|
+
### Agent Skill
|
|
218
|
+
|
|
219
|
+
From your consuming project, install the Skill with the
|
|
220
|
+
[Skills CLI](https://github.com/vercel-labs/skills). Node/npm is required.
|
|
221
|
+
For the current development version, point it at your SPA checkout:
|
|
222
|
+
|
|
223
|
+
```sh
|
|
224
|
+
npx skills add /absolute/path/to/aseprite-automation --skill spa
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Once the Skill is on the repository's default branch, the equivalent source is:
|
|
228
|
+
|
|
229
|
+
```sh
|
|
230
|
+
npx skills add aigengame/aseprite-automation --skill spa
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
The Skills CLI manages installation and updates. The Skill reads the installed
|
|
234
|
+
SPA help and schemas. It does not install SPA or Aseprite and does not add a
|
|
235
|
+
separate compatibility or version manager.
|
|
236
|
+
|
|
237
|
+
### MCP
|
|
238
|
+
|
|
239
|
+
From the current source checkout, install with `uv sync --extra mcp`, then configure
|
|
240
|
+
your client to launch that checkout's `.venv/bin/spa-mcp`. Follow
|
|
241
|
+
[MCP setup](https://github.com/aigengame/aseprite-automation/blob/dev/docs/mcp.md) for the stdio configuration.
|
|
242
|
+
|
|
243
|
+
Normal CLI use does not need the MCP extra. The MCP server uses the same operations
|
|
244
|
+
and results; it does not keep an active sprite between calls.
|
|
245
|
+
|
|
246
|
+
## Examples
|
|
247
|
+
|
|
248
|
+
[](https://github.com/aigengame/aseprite-automation/blob/dev/examples/wizard_cast_v2/README.md)
|
|
249
|
+
|
|
250
|
+
*Moonlit Spell Practice v2: imagegen artwork, Python motion assembly, and SPA animation
|
|
251
|
+
and export. This preview uses exported PNG frames; the example also includes a playable
|
|
252
|
+
Godot project.*
|
|
253
|
+
|
|
254
|
+
Both wizard examples keep editable Aseprite sources and exported components.
|
|
255
|
+
Their Godot projects use those assets for a spell-timing game: cast at a moving
|
|
256
|
+
target, complete a round, and replay.
|
|
257
|
+
|
|
258
|
+
| Example | Workflow | What to inspect |
|
|
259
|
+
| --- | --- | --- |
|
|
260
|
+
| [Wizard v1](https://github.com/aigengame/aseprite-automation/blob/dev/examples/wizard_cast/README.md) | Procedural pixel and pose sampling → SPA → Godot | A 128×96 scene, a 32-frame loop, reusable components, and a playable consumer |
|
|
261
|
+
| [Wizard v2](https://github.com/aigengame/aseprite-automation/blob/dev/examples/wizard_cast_v2/README.md) | imagegen concepts and key poses → preparation and motion assembly → SPA → Godot | A 384×288 scene, seven editable `.aseprite` assets, exported PNG components, and a playable consumer |
|
|
262
|
+
|
|
263
|
+
SPA authors and exports the animation; imagegen supplies v2's initial artwork.
|
|
264
|
+
[gda](https://github.com/aigengame/godot-agent) handles Godot verification.
|
|
265
|
+
Each example records its preparation choices, validation evidence, and dogfooding feedback.
|
|
266
|
+
|
|
267
|
+
You can inspect the committed assets or open the Godot project without rebuilding
|
|
268
|
+
all assets. Full rebuilds are optional local checks; see each example's instructions
|
|
269
|
+
and [testing guide](https://github.com/aigengame/aseprite-automation/blob/dev/docs/testing.md).
|
|
270
|
+
|
|
271
|
+
## Documentation and support
|
|
272
|
+
|
|
273
|
+
- [Usage guide](https://github.com/aigengame/aseprite-automation/blob/dev/docs/usage.md) — recipes, runtime configuration, output handling, and current limits.
|
|
274
|
+
- [Sprite sheet export](https://github.com/aigengame/aseprite-automation/blob/dev/docs/sprite-sheets.md) — layouts, trimming, colors, and metadata.
|
|
275
|
+
- [MCP setup](https://github.com/aigengame/aseprite-automation/blob/dev/docs/mcp.md) — installation and client configuration.
|
|
276
|
+
- [Issues](https://github.com/aigengame/aseprite-automation/issues) — report a problem or request a capability.
|
|
277
|
+
- [Milestones](https://github.com/aigengame/aseprite-automation/milestones) — planned work and delivery progress.
|
|
278
|
+
- [Aseprite documentation](https://www.aseprite.org/docs/) — the editor, file formats, and native behavior.
|
|
279
|
+
|
|
280
|
+
When reporting a problem, include `spa version`, `spa info`, a minimal request,
|
|
281
|
+
and the returned error. Attach a small reproducible asset when you can share it.
|
|
282
|
+
Repository documentation and media require access while the repository is private.
|
|
283
|
+
|
|
284
|
+
## Contributing
|
|
285
|
+
|
|
286
|
+
Start with [testing](https://github.com/aigengame/aseprite-automation/blob/dev/docs/testing.md),
|
|
287
|
+
[architecture](https://github.com/aigengame/aseprite-automation/blob/dev/ARCHITECTURE.md),
|
|
288
|
+
and the [domain model](https://github.com/aigengame/aseprite-automation/blob/dev/CONTEXT.md).
|
|
289
|
+
The [authority matrix](https://github.com/aigengame/aseprite-automation/blob/dev/AUTHORITY_MATRIX.md) routes product and implementation decisions.
|
|
290
|
+
|
|
291
|
+
SPA-owned code and documentation use the
|
|
292
|
+
[MIT license](https://github.com/aigengame/aseprite-automation/blob/dev/LICENSE).
|
|
293
|
+
Bundled third-party resources have their own
|
|
294
|
+
[notices](https://github.com/aigengame/aseprite-automation/blob/main/THIRD_PARTY_NOTICES.md).
|
|
295
|
+
Aseprite is a separate product with its own [license](https://www.aseprite.org/faq/#is-aseprite-free).
|