Skip to main content

PyPI wrapper for create-maa-project

Project description

create-maa-project

MaaFW pure pipeline project scaffolding CLI.

npx create-maa-project my-project

Current implementation covers the local pipeline scaffold core:

  • interactive create flow without LLM
  • default resource/base project shape
  • committed maa-project.json and maa-project.lock.json
  • project-owned files such as interface.json, package.json, tasks/, resource/, editor ignores/settings, and OCR model files are created once instead of managed as template baselines
  • metadata sync for interface, package, controller, license, network mode, display name, and validated GitHub repository URLs
  • managed file hash checks through --doctor and --diff
  • --accept-changes [path...] to accept selected or all changed managed files
  • accepted local baseline reporting in --doctor and generated tools/check-project.mjs
  • --update node-deps dependency refresh with successful pending-action cleanup
  • --update schema refreshes the generated project from the CLI's embedded schema baseline
  • runtime updates resolve MaaFramework and MFAAvalonia assets from GitHub Releases, verify GitHub-provided sha256 digests, cache MFAAvalonia GUI files for release staging, and extract MaaFramework into the generated runtime layout
  • pnpm sync:runtime in generated projects calls create-maa-project --update maafw --update runtime:mfa; set CREATE_MAA_PROJECT_RUNTIME_PLATFORM=all to sync every desktop platform instead of the current platform
  • default asset downloads retry transient network failures; set CREATE_MAA_PROJECT_DOWNLOAD_ATTEMPTS=<n> to override the default
  • OCR downloads can be seeded for local/offline verification with CREATE_MAA_PROJECT_OCR_ZIP_PATH
  • OCR model updates use a verified manifest from CREATE_MAA_PROJECT_OCR_MANIFEST_URL when configured, with the existing OCR zip as fallback
  • explicit schema baseline sync through pnpm sync:schema, plus generated daily schema-sync workflow
  • CLI project creation attempts OCR model download and pnpm install by default, keeping actionable pending items if either fails
  • conservative --update template with --update template --diff preview and --force overwrite
  • generated project lint and release dry-run smoke checks, including pending-action, pnpm lockfile, VS Code settings, and interface schema guards
  • release staging through generated tools/build-release.mjs, with MFAAvalonia GUI files laid down first, MaaFramework runtime overlaid after it, package-only interface.json rewriting, tag-based version injection, dev-file exclusion, package smoke checks, and Unix tar executable metadata smoke in the release workflow
  • default release workflow packages the 3 OS x 2 arch desktop artifact matrix using M9A-style GUI suffixes such as -MFAA: Windows zip artifacts, plus Linux/macOS tar.gz artifacts; MFAAvalonia runtime sync uses its upstream win/linux/osx and x64/arm64 asset matrix separately
  • explicit --git/--no-git creation flow with parent-repository and pending-commit guards
  • write lock, explicit stale-lock cleanup, local backups for file overwrites and non-empty target directories, cache cleanup, and backup restore

Schema syncing is explicit and workflow-based rather than part of build.

Release

Pushing a v* tag runs .github/workflows/release.yml. The workflow checks the repo, builds the npm package, builds SEA binaries for Windows/Linux/macOS on x86_64 and aarch64, writes create-maa-project-manifest.json, publishes the GitHub Release assets, publishes npm, then builds the PyPI wrapper with the release manifest digest embedded and publishes it through trusted publishing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_maa_project-0.1.0.tar.gz (102.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_maa_project-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file create_maa_project-0.1.0.tar.gz.

File metadata

  • Download URL: create_maa_project-0.1.0.tar.gz
  • Upload date:
  • Size: 102.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for create_maa_project-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ce13867bf703802ee676992bd81e04ee2be717bb441db67a581fe4917f24e2f
MD5 04a0d82ca13fe764880295fc5ee255e4
BLAKE2b-256 176a9f4780f24eb2b81f2b772d353c7c2bf2a361f0b700bfcfaa4a133811d167

See more details on using hashes here.

Provenance

The following attestation bundles were made for create_maa_project-0.1.0.tar.gz:

Publisher: release.yml on Windsland52/create-maa-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file create_maa_project-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for create_maa_project-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2051cff7e320ee7179de22d5b38d9ca9670eaff97b4c712db3f38b2455cedf
MD5 d7976f22856ae872e3b68d5174a11ee1
BLAKE2b-256 1f2c4e01d15c93f00dffbd65e91d1cc04121830f65dee6f68ecd1191d2be88ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for create_maa_project-0.1.0-py3-none-any.whl:

Publisher: release.yml on Windsland52/create-maa-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page