create-maa-project 3.7.3__tar.gz → 3.7.4__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.
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.release/create-maa-project-manifest.json +26 -26
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/CHANGELOG.md +18 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/PKG-INFO +1 -1
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/package.json +1 -1
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/pnpm-lock.yaml +56 -43
- create_maa_project-3.7.4/pnpm-workspace.yaml +11 -0
- create_maa_project-3.7.4/py-wrapper/create_maa_project/__init__.py +1 -0
- create_maa_project-3.7.4/py-wrapper/create_maa_project/release_manifest.py +2 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/pyproject.toml +1 -1
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/template-deps.json +1 -1
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/maa_types.py +89 -8
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/interface.schema.json +19 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/interface_import.schema.json +19 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/pipeline.schema.json +8 -2
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/schema-manifest.json +3 -3
- create_maa_project-3.7.3/pnpm-workspace.yaml +0 -4
- create_maa_project-3.7.3/py-wrapper/create_maa_project/__init__.py +0 -1
- create_maa_project-3.7.3/py-wrapper/create_maa_project/release_manifest.py +0 -2
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.editorconfig +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.gitattributes +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/cliff.toml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/ci.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/deps-audit.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/deps-sync.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/network-assets.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/release.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.github/workflows/schema-sync.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.gitignore +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.prettierignore +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/.prettierrc.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/AGENTS.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/LICENSE +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/README.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/README.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/RELEASING.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/android-packaging-plan.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/commands.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/commands.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/json-report.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/json-report.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/mcp.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/docs/mcp.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/py-wrapper/create_maa_project/__main__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/build-sea.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/build.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/changelog-notes.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/check-network-assets.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/create-release-manifest.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/create-sbom.d.mts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/create-sbom.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/prepare-pypi-release.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/smoke-cli-artifact.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/sync-release-version.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/sync-schema.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/sync-template-deps.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/test-python.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/scripts/update-audit-overrides.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/skills/README.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/skills/create-maa-project/SKILL.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/skills/create-maa-project/agents/openai.yaml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/skills/create-maa-project/references/commands.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/skills/create-maa-project/references/json-report.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/addons.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/android.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/args.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/assets.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/auto-update.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/command.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/controllers.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/doctor.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/features.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/incremental-addons.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/index.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/lang.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/log.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/maafw-version.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/mcp.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/node-support.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/project-config.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/project.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/prompt.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/report.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/scaffold.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/semver.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/sync.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/template-deps.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/templates.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/types.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/update-targets.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/update.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/utils.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/src/version.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/.github/workflows/android-build.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/.github/workflows/android.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/Android/README.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/Android/profile.agent.yaml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/Android/profile.pipeline.yaml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/android/tools/android-packaging.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/auto-format/.github/workflows/format.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/CONTRIBUTING.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/PULL_REQUEST_TEMPLATE.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/bug_report.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/feature_request.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/issue_config.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/community/other_issue.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dependabot/.github/dependabot.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/extensions.agent.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/extensions.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/launch.agent.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/settings.agent.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/settings.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/tasks.agent.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/.vscode/tasks.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/package.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/pnpm-workspace.yaml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/dev-tools/tools/validate-schema.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/git-cliff/.github/cliff.toml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/github/.github/workflows/check.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/github/.github/workflows/package-smoke.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/github/.github/workflows/release.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/github/tools/build-release.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/github/tools/sync-runtime.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/optimize-images/.github/workflows/optimize-images.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/optimize-images/tools/optimize-images.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/schema-sync/.github/workflows/schema-sync.yml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/addons/schema-sync/tools/sync-schema.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/README.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/README.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/agent_runtime.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/action/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/action/general.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/reco/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/reco/general.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/custom/sink/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/maafw_paths.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/main.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/__init__.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/logger.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/params.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/pienv.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/runtime_paths.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/pyproject.toml +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/requirements.in +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/requirements.txt +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/tools/schema/custom.action.schema.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/tools/schema/custom.recognition.schema.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/uv.lock +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/.editorconfig +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/.gitattributes +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/.gitignore +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/.prettierignore +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/.prettierrc.mjs +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/README.en.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/README.md +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/gitignore.tmpl +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/interface.json.tmpl +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/licenses/AGPL-3.0-or-later.txt +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/licenses/MIT.txt +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/maatools.config.mts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/resource/base/default_pipeline.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/resource/base/image/empty.png +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/resource/base/model/ocr/manifest.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/resource/base/pipeline/Tutorial/Tutorial.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tasks/tutorial.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/custom.action.schema.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/custom.recognition.schema.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/base/tools/schema/interface_config.schema.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/addons.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/android-addon.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/android-packaging.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/args.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/auto-update.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/backup-operations.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/changelog-notes.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/child-env.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/cli-info.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/command.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/doctor-errors.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/enabled-config.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/git-initialization.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/incremental-addons-results.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/lang.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/maafw-version.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/mcp.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/node-support.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/ocr-git-registration.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/package-smoke-workflow.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/project-config.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/project.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/prompt-interactive.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/prompt.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/release-smoke.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/release-workflow.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/report.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/sbom.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/scaffold.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/semver.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/template-deps.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/templates.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/test_py_wrapper.py +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tests/update-audit-overrides.test.ts +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/tsconfig.json +0 -0
- {create_maa_project-3.7.3 → create_maa_project-3.7.4}/vitest.config.ts +0 -0
{create_maa_project-3.7.3 → create_maa_project-3.7.4}/.release/create-maa-project-manifest.json
RENAMED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "create-maa-project",
|
|
4
|
-
"version": "3.7.
|
|
5
|
-
"tag": "v3.7.
|
|
4
|
+
"version": "3.7.4",
|
|
5
|
+
"tag": "v3.7.4",
|
|
6
6
|
"assets": [
|
|
7
7
|
{
|
|
8
8
|
"kind": "sea",
|
|
9
9
|
"os": "linux",
|
|
10
10
|
"arch": "aarch64",
|
|
11
|
-
"version": "3.7.
|
|
11
|
+
"version": "3.7.4",
|
|
12
12
|
"name": "create-maa-project-linux-aarch64",
|
|
13
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
13
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-linux-aarch64",
|
|
14
|
+
"sha256": "1548c1df4b9cbb5adccb7b1f60d5d06948fdce5cbd4e3c5d8e9d16b4d3716b94",
|
|
15
|
+
"size": 125111424
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"kind": "sea",
|
|
19
19
|
"os": "linux",
|
|
20
20
|
"arch": "x86_64",
|
|
21
|
-
"version": "3.7.
|
|
21
|
+
"version": "3.7.4",
|
|
22
22
|
"name": "create-maa-project-linux-x86_64",
|
|
23
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
24
|
-
"sha256": "
|
|
25
|
-
"size":
|
|
23
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-linux-x86_64",
|
|
24
|
+
"sha256": "3b2a2072769796b637ab17f934f49d45d28c6d2271bd79a5484151067a3bee21",
|
|
25
|
+
"size": 128584896
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"kind": "sea",
|
|
29
29
|
"os": "macos",
|
|
30
30
|
"arch": "aarch64",
|
|
31
|
-
"version": "3.7.
|
|
31
|
+
"version": "3.7.4",
|
|
32
32
|
"name": "create-maa-project-macos-aarch64",
|
|
33
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
34
|
-
"sha256": "
|
|
35
|
-
"size":
|
|
33
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-macos-aarch64",
|
|
34
|
+
"sha256": "6252f03703941fb3269064fa919d0a91bb507aa5f2cfa288158d698fb8fdaf59",
|
|
35
|
+
"size": 123301168
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"kind": "sea",
|
|
39
39
|
"os": "macos",
|
|
40
40
|
"arch": "x86_64",
|
|
41
|
-
"version": "3.7.
|
|
41
|
+
"version": "3.7.4",
|
|
42
42
|
"name": "create-maa-project-macos-x86_64",
|
|
43
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
44
|
-
"sha256": "
|
|
45
|
-
"size":
|
|
43
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-macos-x86_64",
|
|
44
|
+
"sha256": "5b4b584ad660d96c5024f1f9aafe48b89e6da66c3bbaab95a4e0107320763070",
|
|
45
|
+
"size": 125144560
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"kind": "sea",
|
|
49
49
|
"os": "win",
|
|
50
50
|
"arch": "aarch64",
|
|
51
|
-
"version": "3.7.
|
|
51
|
+
"version": "3.7.4",
|
|
52
52
|
"name": "create-maa-project-win-aarch64.exe",
|
|
53
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
54
|
-
"sha256": "
|
|
55
|
-
"size":
|
|
53
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-win-aarch64.exe",
|
|
54
|
+
"sha256": "1da6686fad85240579d246da26369a5b72ced3925406fc3b3a37b2ae9f554973",
|
|
55
|
+
"size": 83973632
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"kind": "sea",
|
|
59
59
|
"os": "win",
|
|
60
60
|
"arch": "x86_64",
|
|
61
|
-
"version": "3.7.
|
|
61
|
+
"version": "3.7.4",
|
|
62
62
|
"name": "create-maa-project-win-x86_64.exe",
|
|
63
|
-
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.
|
|
64
|
-
"sha256": "
|
|
65
|
-
"size":
|
|
63
|
+
"url": "https://github.com/Windsland52/create-maa-project/releases/download/v3.7.4/create-maa-project-win-x86_64.exe",
|
|
64
|
+
"sha256": "c6d2486e5a452de2b38f42577cda95fc1aea9b88d4a658c2d946ef04518a1a76",
|
|
65
|
+
"size": 95739392
|
|
66
66
|
}
|
|
67
67
|
]
|
|
68
68
|
}
|
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
create-maa-project 的重要更改记录。格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [3.7.4] - 2026-11-04
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
|
|
9
|
+
- Agent 的识别详情 helper 与上游 M9A 同步。`best_box` 直接读取识别详情自带的 `box`,`And` / `Or`
|
|
10
|
+
组合识别与 `DirectHit` 这类没有类型化 `best_result` 的算法不再返回 `None`;新增
|
|
11
|
+
`custom_result_dict` / `filtered_result_dicts`,统一读取 `Custom` 结果的 payload 与 `filtered`
|
|
12
|
+
原始结果,组合识别会递归子结果。`agent/utils/maa_types.py` 与 M9A 的同名文件逐字节一致
|
|
13
|
+
|
|
14
|
+
### 变更
|
|
15
|
+
|
|
16
|
+
- 生成项目的 MaaFW schema 与 `@nekosu/maa-tools` 依赖同步(`@nekosu/maa-tools` `1.1.3` → `1.2.1`)
|
|
17
|
+
|
|
18
|
+
已有项目:`agent/utils/maa_types.py` 是受管文件,重跑 `create-maa-project --add agent` 即更新;
|
|
19
|
+
schema 与依赖 pin 用 `--update schema` / `--update node-deps` 刷新。
|
|
20
|
+
|
|
21
|
+
[3.7.4]: https://github.com/Windsland52/create-maa-project/compare/v3.7.3...v3.7.4
|
|
22
|
+
|
|
5
23
|
## [3.7.3] - 2026-10-18
|
|
6
24
|
|
|
7
25
|
### 修复
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: create-maa-project
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.4
|
|
4
4
|
Summary: 用于创建和维护 MaaFW 应用项目的脚手架 CLI / Scaffold and maintenance CLI for MaaFW application projects
|
|
5
5
|
Project-URL: Homepage, https://github.com/Windsland52/create-maa-project
|
|
6
6
|
Project-URL: Source, https://github.com/Windsland52/create-maa-project
|
|
@@ -5,14 +5,21 @@ settings:
|
|
|
5
5
|
excludeLinksFromLockfile: false
|
|
6
6
|
|
|
7
7
|
overrides:
|
|
8
|
+
"@vitest/mocker": 4.1.12
|
|
9
|
+
body-parser: 2.4.0
|
|
10
|
+
fast-uri: 3.1.9
|
|
11
|
+
ip-address: 10.7.4
|
|
12
|
+
qs: 6.16.1
|
|
8
13
|
source-map-js: 1.2.2
|
|
14
|
+
vite: 7.3.7
|
|
15
|
+
zod: 4.6.6
|
|
9
16
|
|
|
10
17
|
importers:
|
|
11
18
|
.:
|
|
12
19
|
dependencies:
|
|
13
20
|
"@modelcontextprotocol/sdk":
|
|
14
21
|
specifier: ^1.32.1
|
|
15
|
-
version: 1.32.1(zod@4.
|
|
22
|
+
version: 1.32.1(zod@4.6.6)
|
|
16
23
|
devDependencies:
|
|
17
24
|
"@nekosu/prettier-plugin-maafw-sort":
|
|
18
25
|
specifier: 1.1.0
|
|
@@ -52,7 +59,7 @@ importers:
|
|
|
52
59
|
version: 5.8.3
|
|
53
60
|
vitest:
|
|
54
61
|
specifier: 4.1.11
|
|
55
|
-
version: 4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.
|
|
62
|
+
version: 4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3))
|
|
56
63
|
|
|
57
64
|
packages:
|
|
58
65
|
"@augment-vir/assert@32.2.4":
|
|
@@ -491,7 +498,7 @@ packages:
|
|
|
491
498
|
engines: {node: ">=18"}
|
|
492
499
|
peerDependencies:
|
|
493
500
|
"@cfworker/json-schema": ^4.1.1
|
|
494
|
-
zod:
|
|
501
|
+
zod: 4.6.6
|
|
495
502
|
peerDependenciesMeta:
|
|
496
503
|
"@cfworker/json-schema":
|
|
497
504
|
optional: true
|
|
@@ -719,12 +726,12 @@ packages:
|
|
|
719
726
|
resolution:
|
|
720
727
|
{integrity: sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==}
|
|
721
728
|
|
|
722
|
-
"@vitest/mocker@4.1.
|
|
729
|
+
"@vitest/mocker@4.1.12":
|
|
723
730
|
resolution:
|
|
724
|
-
{integrity: sha512-
|
|
731
|
+
{integrity: sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==}
|
|
725
732
|
peerDependencies:
|
|
726
733
|
msw: ^2.4.9
|
|
727
|
-
vite:
|
|
734
|
+
vite: 7.3.7
|
|
728
735
|
peerDependenciesMeta:
|
|
729
736
|
msw:
|
|
730
737
|
optional: true
|
|
@@ -747,6 +754,10 @@ packages:
|
|
|
747
754
|
resolution:
|
|
748
755
|
{integrity: sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==}
|
|
749
756
|
|
|
757
|
+
"@vitest/spy@4.1.12":
|
|
758
|
+
resolution:
|
|
759
|
+
{integrity: sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==}
|
|
760
|
+
|
|
750
761
|
"@vitest/utils@4.1.11":
|
|
751
762
|
resolution:
|
|
752
763
|
{integrity: sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==}
|
|
@@ -787,9 +798,9 @@ packages:
|
|
|
787
798
|
resolution:
|
|
788
799
|
{integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==}
|
|
789
800
|
|
|
790
|
-
body-parser@2.
|
|
801
|
+
body-parser@2.4.0:
|
|
791
802
|
resolution:
|
|
792
|
-
{integrity: sha512-
|
|
803
|
+
{integrity: sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==}
|
|
793
804
|
engines: {node: ">=18"}
|
|
794
805
|
|
|
795
806
|
browser-or-node@3.0.0:
|
|
@@ -983,9 +994,9 @@ packages:
|
|
|
983
994
|
resolution:
|
|
984
995
|
{integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
|
|
985
996
|
|
|
986
|
-
fast-uri@3.1.
|
|
997
|
+
fast-uri@3.1.9:
|
|
987
998
|
resolution:
|
|
988
|
-
{integrity: sha512-
|
|
999
|
+
{integrity: sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==}
|
|
989
1000
|
|
|
990
1001
|
fdir@6.5.0:
|
|
991
1002
|
resolution:
|
|
@@ -1079,9 +1090,9 @@ packages:
|
|
|
1079
1090
|
resolution:
|
|
1080
1091
|
{integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
|
1081
1092
|
|
|
1082
|
-
ip-address@10.7.
|
|
1093
|
+
ip-address@10.7.4:
|
|
1083
1094
|
resolution:
|
|
1084
|
-
{integrity: sha512-
|
|
1095
|
+
{integrity: sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==}
|
|
1085
1096
|
engines: {node: ">= 12"}
|
|
1086
1097
|
|
|
1087
1098
|
ipaddr.js@1.9.1:
|
|
@@ -1286,9 +1297,9 @@ packages:
|
|
|
1286
1297
|
{integrity: sha512-ss7IuTHbS6SeuEKcFfkVtp8kInS8HfMOb1dc/1x1aIyXp97sdQRDH781j1j3PeU5ieLR3FLUrIqF1+UjQ2oIZQ==}
|
|
1287
1298
|
engines: {node: ">=22"}
|
|
1288
1299
|
|
|
1289
|
-
qs@6.16.
|
|
1300
|
+
qs@6.16.1:
|
|
1290
1301
|
resolution:
|
|
1291
|
-
{integrity: sha512-
|
|
1302
|
+
{integrity: sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==}
|
|
1292
1303
|
engines: {node: ">=0.6"}
|
|
1293
1304
|
|
|
1294
1305
|
range-parser@1.3.0:
|
|
@@ -1472,9 +1483,9 @@ packages:
|
|
|
1472
1483
|
{integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
|
|
1473
1484
|
engines: {node: ">= 0.8"}
|
|
1474
1485
|
|
|
1475
|
-
vite@7.3.
|
|
1486
|
+
vite@7.3.7:
|
|
1476
1487
|
resolution:
|
|
1477
|
-
{integrity: sha512-
|
|
1488
|
+
{integrity: sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==}
|
|
1478
1489
|
engines: {node: ^20.19.0 || >=22.12.0}
|
|
1479
1490
|
hasBin: true
|
|
1480
1491
|
peerDependencies:
|
|
@@ -1530,7 +1541,7 @@ packages:
|
|
|
1530
1541
|
"@vitest/ui": 4.1.11
|
|
1531
1542
|
happy-dom: "*"
|
|
1532
1543
|
jsdom: "*"
|
|
1533
|
-
vite:
|
|
1544
|
+
vite: 7.3.7
|
|
1534
1545
|
peerDependenciesMeta:
|
|
1535
1546
|
"@edge-runtime/vm":
|
|
1536
1547
|
optional: true
|
|
@@ -1575,11 +1586,11 @@ packages:
|
|
|
1575
1586
|
resolution:
|
|
1576
1587
|
{integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}
|
|
1577
1588
|
peerDependencies:
|
|
1578
|
-
zod:
|
|
1589
|
+
zod: 4.6.6
|
|
1579
1590
|
|
|
1580
|
-
zod@4.
|
|
1591
|
+
zod@4.6.6:
|
|
1581
1592
|
resolution:
|
|
1582
|
-
{integrity: sha512-
|
|
1593
|
+
{integrity: sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==}
|
|
1583
1594
|
|
|
1584
1595
|
snapshots:
|
|
1585
1596
|
"@augment-vir/assert@32.2.4":
|
|
@@ -1798,7 +1809,7 @@ snapshots:
|
|
|
1798
1809
|
"@jridgewell/resolve-uri": 3.1.2
|
|
1799
1810
|
"@jridgewell/sourcemap-codec": 1.6.0
|
|
1800
1811
|
|
|
1801
|
-
"@modelcontextprotocol/sdk@1.32.1(zod@4.
|
|
1812
|
+
"@modelcontextprotocol/sdk@1.32.1(zod@4.6.6)":
|
|
1802
1813
|
dependencies:
|
|
1803
1814
|
"@hono/node-server": 2.1.3(hono@4.13.13)
|
|
1804
1815
|
ajv: 8.20.0
|
|
@@ -1815,8 +1826,8 @@ snapshots:
|
|
|
1815
1826
|
json-schema-typed: 8.0.2
|
|
1816
1827
|
pkce-challenge: 5.0.1
|
|
1817
1828
|
raw-body: 3.0.2
|
|
1818
|
-
zod: 4.
|
|
1819
|
-
zod-to-json-schema: 3.25.2(zod@4.
|
|
1829
|
+
zod: 4.6.6
|
|
1830
|
+
zod-to-json-schema: 3.25.2(zod@4.6.6)
|
|
1820
1831
|
transitivePeerDependencies:
|
|
1821
1832
|
- supports-color
|
|
1822
1833
|
|
|
@@ -1939,7 +1950,7 @@ snapshots:
|
|
|
1939
1950
|
obug: 2.2.1
|
|
1940
1951
|
std-env: 4.2.0
|
|
1941
1952
|
tinyrainbow: 3.1.1
|
|
1942
|
-
vitest: 4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.
|
|
1953
|
+
vitest: 4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3))
|
|
1943
1954
|
|
|
1944
1955
|
"@vitest/expect@4.1.11":
|
|
1945
1956
|
dependencies:
|
|
@@ -1950,13 +1961,13 @@ snapshots:
|
|
|
1950
1961
|
chai: 6.2.2
|
|
1951
1962
|
tinyrainbow: 3.1.1
|
|
1952
1963
|
|
|
1953
|
-
"@vitest/mocker@4.1.
|
|
1964
|
+
"@vitest/mocker@4.1.12(vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3))":
|
|
1954
1965
|
dependencies:
|
|
1955
|
-
"@vitest/spy": 4.1.
|
|
1966
|
+
"@vitest/spy": 4.1.12
|
|
1956
1967
|
estree-walker: 3.0.3
|
|
1957
1968
|
magic-string: 0.30.21
|
|
1958
1969
|
optionalDependencies:
|
|
1959
|
-
vite: 7.3.
|
|
1970
|
+
vite: 7.3.7(@types/node@24.0.0)(tsx@4.20.3)
|
|
1960
1971
|
|
|
1961
1972
|
"@vitest/pretty-format@4.1.11":
|
|
1962
1973
|
dependencies:
|
|
@@ -1976,6 +1987,8 @@ snapshots:
|
|
|
1976
1987
|
|
|
1977
1988
|
"@vitest/spy@4.1.11": {}
|
|
1978
1989
|
|
|
1990
|
+
"@vitest/spy@4.1.12": {}
|
|
1991
|
+
|
|
1979
1992
|
"@vitest/utils@4.1.11":
|
|
1980
1993
|
dependencies:
|
|
1981
1994
|
"@vitest/pretty-format": 4.1.11
|
|
@@ -1994,7 +2007,7 @@ snapshots:
|
|
|
1994
2007
|
ajv@8.20.0:
|
|
1995
2008
|
dependencies:
|
|
1996
2009
|
fast-deep-equal: 3.1.3
|
|
1997
|
-
fast-uri: 3.1.
|
|
2010
|
+
fast-uri: 3.1.9
|
|
1998
2011
|
json-schema-traverse: 1.0.0
|
|
1999
2012
|
require-from-string: 2.0.2
|
|
2000
2013
|
|
|
@@ -2010,7 +2023,7 @@ snapshots:
|
|
|
2010
2023
|
|
|
2011
2024
|
bignumber.js@9.3.1: {}
|
|
2012
2025
|
|
|
2013
|
-
body-parser@2.
|
|
2026
|
+
body-parser@2.4.0:
|
|
2014
2027
|
dependencies:
|
|
2015
2028
|
bytes: 3.1.2
|
|
2016
2029
|
content-type: 2.1.0
|
|
@@ -2018,7 +2031,7 @@ snapshots:
|
|
|
2018
2031
|
http-errors: 2.0.1
|
|
2019
2032
|
iconv-lite: 0.7.3
|
|
2020
2033
|
on-finished: 2.4.1
|
|
2021
|
-
qs: 6.16.
|
|
2034
|
+
qs: 6.16.1
|
|
2022
2035
|
raw-body: 3.0.2
|
|
2023
2036
|
type-is: 2.1.0
|
|
2024
2037
|
transitivePeerDependencies:
|
|
@@ -2177,14 +2190,14 @@ snapshots:
|
|
|
2177
2190
|
dependencies:
|
|
2178
2191
|
debug: 4.4.3
|
|
2179
2192
|
express: 5.2.1
|
|
2180
|
-
ip-address: 10.7.
|
|
2193
|
+
ip-address: 10.7.4
|
|
2181
2194
|
transitivePeerDependencies:
|
|
2182
2195
|
- supports-color
|
|
2183
2196
|
|
|
2184
2197
|
express@5.2.1:
|
|
2185
2198
|
dependencies:
|
|
2186
2199
|
accepts: 2.0.0
|
|
2187
|
-
body-parser: 2.
|
|
2200
|
+
body-parser: 2.4.0
|
|
2188
2201
|
content-disposition: 1.1.0
|
|
2189
2202
|
content-type: 1.0.5
|
|
2190
2203
|
cookie: 0.7.2
|
|
@@ -2203,7 +2216,7 @@ snapshots:
|
|
|
2203
2216
|
once: 1.4.0
|
|
2204
2217
|
parseurl: 1.3.3
|
|
2205
2218
|
proxy-addr: 2.0.8
|
|
2206
|
-
qs: 6.16.
|
|
2219
|
+
qs: 6.16.1
|
|
2207
2220
|
range-parser: 1.3.0
|
|
2208
2221
|
router: 2.2.0
|
|
2209
2222
|
send: 1.2.1
|
|
@@ -2216,7 +2229,7 @@ snapshots:
|
|
|
2216
2229
|
|
|
2217
2230
|
fast-deep-equal@3.1.3: {}
|
|
2218
2231
|
|
|
2219
|
-
fast-uri@3.1.
|
|
2232
|
+
fast-uri@3.1.9: {}
|
|
2220
2233
|
|
|
2221
2234
|
fdir@6.5.0(picomatch@4.0.7):
|
|
2222
2235
|
optionalDependencies:
|
|
@@ -2292,7 +2305,7 @@ snapshots:
|
|
|
2292
2305
|
|
|
2293
2306
|
inherits@2.0.4: {}
|
|
2294
2307
|
|
|
2295
|
-
ip-address@10.7.
|
|
2308
|
+
ip-address@10.7.4: {}
|
|
2296
2309
|
|
|
2297
2310
|
ipaddr.js@1.9.1: {}
|
|
2298
2311
|
|
|
@@ -2418,7 +2431,7 @@ snapshots:
|
|
|
2418
2431
|
"@augment-vir/assert": 32.2.4
|
|
2419
2432
|
"@augment-vir/common": 32.2.4
|
|
2420
2433
|
|
|
2421
|
-
qs@6.16.
|
|
2434
|
+
qs@6.16.1:
|
|
2422
2435
|
dependencies:
|
|
2423
2436
|
es-define-property: 1.0.1
|
|
2424
2437
|
side-channel: 1.1.1
|
|
@@ -2602,7 +2615,7 @@ snapshots:
|
|
|
2602
2615
|
|
|
2603
2616
|
vary@1.1.2: {}
|
|
2604
2617
|
|
|
2605
|
-
vite@7.3.
|
|
2618
|
+
vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3):
|
|
2606
2619
|
dependencies:
|
|
2607
2620
|
esbuild: 0.28.1
|
|
2608
2621
|
fdir: 6.5.0(picomatch@4.0.7)
|
|
@@ -2615,10 +2628,10 @@ snapshots:
|
|
|
2615
2628
|
fsevents: 2.3.3
|
|
2616
2629
|
tsx: 4.20.3
|
|
2617
2630
|
|
|
2618
|
-
vitest@4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.
|
|
2631
|
+
vitest@4.1.11(@types/node@24.0.0)(@vitest/coverage-v8@4.1.11)(vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3)):
|
|
2619
2632
|
dependencies:
|
|
2620
2633
|
"@vitest/expect": 4.1.11
|
|
2621
|
-
"@vitest/mocker": 4.1.
|
|
2634
|
+
"@vitest/mocker": 4.1.12(vite@7.3.7(@types/node@24.0.0)(tsx@4.20.3))
|
|
2622
2635
|
"@vitest/pretty-format": 4.1.11
|
|
2623
2636
|
"@vitest/runner": 4.1.11
|
|
2624
2637
|
"@vitest/snapshot": 4.1.11
|
|
@@ -2635,7 +2648,7 @@ snapshots:
|
|
|
2635
2648
|
tinyexec: 1.3.1
|
|
2636
2649
|
tinyglobby: 0.2.17
|
|
2637
2650
|
tinyrainbow: 3.1.1
|
|
2638
|
-
vite: 7.3.
|
|
2651
|
+
vite: 7.3.7(@types/node@24.0.0)(tsx@4.20.3)
|
|
2639
2652
|
why-is-node-running: 2.3.0
|
|
2640
2653
|
optionalDependencies:
|
|
2641
2654
|
"@types/node": 24.0.0
|
|
@@ -2654,8 +2667,8 @@ snapshots:
|
|
|
2654
2667
|
|
|
2655
2668
|
wrappy@1.0.2: {}
|
|
2656
2669
|
|
|
2657
|
-
zod-to-json-schema@3.25.2(zod@4.
|
|
2670
|
+
zod-to-json-schema@3.25.2(zod@4.6.6):
|
|
2658
2671
|
dependencies:
|
|
2659
|
-
zod: 4.
|
|
2672
|
+
zod: 4.6.6
|
|
2660
2673
|
|
|
2661
|
-
zod@4.
|
|
2674
|
+
zod@4.6.6: {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.7.4"
|
{create_maa_project-3.7.3 → create_maa_project-3.7.4}/templates/agent/agent/utils/maa_types.py
RENAMED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import json
|
|
2
|
+
from collections.abc import Iterator
|
|
3
|
+
from typing import Any, TypeGuard
|
|
2
4
|
|
|
3
5
|
from maa.define import (
|
|
6
|
+
AndRecognitionResult,
|
|
4
7
|
BoxAndCountResult,
|
|
5
8
|
BoxAndScoreResult,
|
|
6
9
|
CustomRecognitionResult,
|
|
7
10
|
OCRResult,
|
|
11
|
+
OrRecognitionResult,
|
|
8
12
|
RecognitionDetail,
|
|
9
13
|
RecognitionResult,
|
|
10
14
|
Rect,
|
|
@@ -176,6 +180,82 @@ def recognition_results(detail: RecognitionDetail | None) -> list[RecognitionRes
|
|
|
176
180
|
return detail.filtered_results
|
|
177
181
|
|
|
178
182
|
|
|
183
|
+
def _iter_details(detail: RecognitionDetail) -> Iterator[RecognitionDetail]:
|
|
184
|
+
"""Yield a detail and every nested sub-detail of combined And / Or results."""
|
|
185
|
+
pending = [detail]
|
|
186
|
+
seen: set[int] = set()
|
|
187
|
+
while pending:
|
|
188
|
+
current = pending.pop()
|
|
189
|
+
if current.reco_id in seen:
|
|
190
|
+
continue
|
|
191
|
+
seen.add(current.reco_id)
|
|
192
|
+
yield current
|
|
193
|
+
|
|
194
|
+
best = current.best_result
|
|
195
|
+
if isinstance(best, AndRecognitionResult | OrRecognitionResult):
|
|
196
|
+
pending.extend(reversed(best.sub_results))
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
def custom_result_dict(detail: RecognitionDetail | None) -> dict[str, Any] | None:
|
|
200
|
+
"""Return the payload dict of the best ``Custom`` recognition result.
|
|
201
|
+
|
|
202
|
+
The payload is ``CustomRecognitionResult.detail``, JSON-decoded when the
|
|
203
|
+
callback wrote a string. Combined ``And`` / ``Or`` details are searched
|
|
204
|
+
through their sub-results, so callers do not depend on how the node's
|
|
205
|
+
recognition is composed.
|
|
206
|
+
|
|
207
|
+
Args:
|
|
208
|
+
detail: Recognition detail returned by MaaFramework.
|
|
209
|
+
|
|
210
|
+
Returns:
|
|
211
|
+
The custom payload dict, or None when the detail has no custom result
|
|
212
|
+
or its payload is not an object.
|
|
213
|
+
"""
|
|
214
|
+
if detail is None or not detail.hit:
|
|
215
|
+
return None
|
|
216
|
+
for current in _iter_details(detail):
|
|
217
|
+
best = current.best_result
|
|
218
|
+
if not isinstance(best, CustomRecognitionResult):
|
|
219
|
+
continue
|
|
220
|
+
payload = best.detail
|
|
221
|
+
if isinstance(payload, str):
|
|
222
|
+
try:
|
|
223
|
+
payload = json.loads(payload)
|
|
224
|
+
except json.JSONDecodeError:
|
|
225
|
+
return None
|
|
226
|
+
return payload if isinstance(payload, dict) else None
|
|
227
|
+
return None
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def filtered_result_dicts(detail: RecognitionDetail | None) -> list[dict[str, Any]]:
|
|
231
|
+
"""Return the raw ``filtered`` result dicts carried by a detail.
|
|
232
|
+
|
|
233
|
+
Single-algorithm details expose them as ``raw_detail["filtered"]``; for
|
|
234
|
+
combined ``And`` / ``Or`` details the sub-results are flattened in
|
|
235
|
+
execution order.
|
|
236
|
+
|
|
237
|
+
Args:
|
|
238
|
+
detail: Recognition detail returned by MaaFramework.
|
|
239
|
+
|
|
240
|
+
Returns:
|
|
241
|
+
Raw filtered result dicts, or an empty list when the detail is absent,
|
|
242
|
+
missed, or provides no parsed results.
|
|
243
|
+
"""
|
|
244
|
+
if detail is None or not detail.hit:
|
|
245
|
+
return []
|
|
246
|
+
|
|
247
|
+
results: list[dict[str, Any]] = []
|
|
248
|
+
for current in _iter_details(detail):
|
|
249
|
+
# And / Or details carry a list here even though the binding types it as dict.
|
|
250
|
+
raw: Any = current.raw_detail
|
|
251
|
+
if not isinstance(raw, dict):
|
|
252
|
+
continue
|
|
253
|
+
filtered = raw.get("filtered")
|
|
254
|
+
if isinstance(filtered, list):
|
|
255
|
+
results.extend(item for item in filtered if isinstance(item, dict))
|
|
256
|
+
return results
|
|
257
|
+
|
|
258
|
+
|
|
179
259
|
BoxedRecognitionResult = BoxAndScoreResult | BoxAndCountResult | CustomRecognitionResult
|
|
180
260
|
|
|
181
261
|
|
|
@@ -207,18 +287,19 @@ def boxed_results(detail: RecognitionDetail | None) -> list[BoxedRecognitionResu
|
|
|
207
287
|
|
|
208
288
|
|
|
209
289
|
def best_box(detail: RecognitionDetail | None) -> Rect | None:
|
|
210
|
-
"""Return the box
|
|
290
|
+
"""Return the recognition box of a hit detail.
|
|
291
|
+
|
|
292
|
+
The box belongs to the recognition detail itself, so it is available for
|
|
293
|
+
every algorithm. ``best_result`` cannot provide it: combined ``And`` /
|
|
294
|
+
``Or`` results only carry sub-results there, and some algorithms (for
|
|
295
|
+
example ``DirectHit``) have no typed result at all.
|
|
211
296
|
|
|
212
297
|
Args:
|
|
213
298
|
detail: Recognition detail returned by MaaFramework.
|
|
214
299
|
|
|
215
300
|
Returns:
|
|
216
|
-
The
|
|
217
|
-
the best result does not carry a box.
|
|
301
|
+
The recognition box, or None when the detail is absent or missed.
|
|
218
302
|
"""
|
|
219
303
|
if detail is None or not detail.hit:
|
|
220
304
|
return None
|
|
221
|
-
|
|
222
|
-
if not has_box_result(result):
|
|
223
|
-
return None
|
|
224
|
-
return result.box
|
|
305
|
+
return detail.box
|
|
@@ -81,6 +81,17 @@
|
|
|
81
81
|
"title": "默认值",
|
|
82
82
|
"description": "输入字段的默认值。💡 v2.10.0 password 为 true 时禁止设置此字段"
|
|
83
83
|
},
|
|
84
|
+
"input_type": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"title": "输入控件类型",
|
|
87
|
+
"description": "💡 v2.10.5 可选,默认 text。text 为普通文本框;file 为文件选择器,选中后值为文件路径;directory 为文件夹选择器,选中后值为文件夹路径。仅影响 UI,字段值始终为 string",
|
|
88
|
+
"enum": [
|
|
89
|
+
"text",
|
|
90
|
+
"file",
|
|
91
|
+
"directory"
|
|
92
|
+
],
|
|
93
|
+
"default": "text"
|
|
94
|
+
},
|
|
84
95
|
"pipeline_type": {
|
|
85
96
|
"type": "string",
|
|
86
97
|
"title": "Pipeline 数据类型",
|
|
@@ -1409,6 +1420,14 @@
|
|
|
1409
1420
|
"title": "图标路径",
|
|
1410
1421
|
"description": "预设图标文件路径,相对于项目根目录"
|
|
1411
1422
|
},
|
|
1423
|
+
"controller": {
|
|
1424
|
+
"type": "array",
|
|
1425
|
+
"title": "支持的控制器列表",
|
|
1426
|
+
"description": "💡 v2.10.4 可选。指定该预设支持的控制器名称列表,与 task.controller 语义一致。数组元素应与顶层 controller[].name 对应。未设置时不限制控制器。不满足当前控制器限制时,Client 可隐藏该预设或以不可用状态显示",
|
|
1427
|
+
"items": {
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1412
1431
|
"task": {
|
|
1413
1432
|
"type": "array",
|
|
1414
1433
|
"title": "预设任务配置",
|