minitest-cli 0.45.0__tar.gz → 0.47.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.
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.github/workflows/ci.yml +6 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.github/workflows/release.yml +9 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.gitignore +2 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.opencode/skill/release/SKILL.md +1 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/AGENTS.md +10 -10
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/PKG-INFO +6 -5
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/README.md +5 -4
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/RELEASE.md +6 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/pyproject.toml +7 -1
- minitest_cli-0.47.0/scripts/check-dist-skill.py +34 -0
- minitest_cli-0.47.0/scripts/sync-skill-references.py +74 -0
- minitest_cli-0.47.0/skills/minitest-cli/README.md +51 -0
- minitest_cli-0.47.0/skills/minitest-cli/SKILL.md +1854 -0
- minitest_cli-0.47.0/skills/minitest-cli/commands/app-skills.md +99 -0
- minitest_cli-0.47.0/skills/minitest-cli/commands/draft-features.md +148 -0
- minitest_cli-0.47.0/skills/minitest-cli/commands/drafts.md +165 -0
- minitest_cli-0.47.0/skills/minitest-cli/commands/knowledge.md +76 -0
- minitest_cli-0.47.0/skills/minitest-cli/commands/schedules.md +104 -0
- minitest_cli-0.47.0/skills/minitest-cli/reference/index.json +12 -0
- minitest_cli-0.47.0/skills/minitest-cli/reference/suite-schemas.md +158 -0
- minitest_cli-0.47.0/skills/minitest-cli/reference/test-suite-design.md +534 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/api/apps_manager_client.py +2 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/api/client.py +5 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/batch.py +12 -16
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_helpers.py +7 -2
- minitest_cli-0.47.0/src/minitest_cli/commands/feedback_scope.py +49 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/init_playbook.py +4 -3
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/issues.py +13 -3
- minitest_cli-0.47.0/src/minitest_cli/commands/issues_fix.py +116 -0
- minitest_cli-0.47.0/src/minitest_cli/commands/issues_not_a_bug.py +126 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/issues_projection.py +4 -0
- minitest_cli-0.47.0/src/minitest_cli/commands/issues_severity.py +60 -0
- minitest_cli-0.47.0/src/minitest_cli/commands/issues_ticket.py +142 -0
- minitest_cli-0.47.0/src/minitest_cli/commands/reference.py +86 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run.py +8 -8
- minitest_cli-0.47.0/src/minitest_cli/commands/run_asks.py +156 -0
- minitest_cli-0.47.0/src/minitest_cli/commands/run_asks_helpers.py +123 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_commit.py +3 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_commit_helpers.py +13 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_display.py +13 -4
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_feedback.py +9 -3
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_helpers.py +3 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/skill.py +12 -8
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/tenants.py +2 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/main.py +2 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/app_failure.py +6 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/issues.py +6 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/story_run.py +2 -1
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/auto_update_worker.py +21 -15
- minitest_cli-0.47.0/src/minitest_cli/utils/reference_docs.py +95 -0
- minitest_cli-0.47.0/src/minitest_cli/utils/skill_bundle.py +133 -0
- minitest_cli-0.47.0/src/minitest_cli/utils/skill_refresh.py +116 -0
- minitest_cli-0.47.0/tests/conftest.py +54 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_auto_update_worker.py +20 -15
- minitest_cli-0.47.0/tests/test_channel_header.py +53 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_init_command.py +1 -0
- minitest_cli-0.47.0/tests/test_issues_triage_commands.py +231 -0
- minitest_cli-0.47.0/tests/test_reference_command.py +107 -0
- minitest_cli-0.47.0/tests/test_run_ask_commands.py +193 -0
- minitest_cli-0.47.0/tests/test_skill_bundle.py +128 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_skill_command.py +24 -32
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_upgrade_command.py +24 -53
- minitest_cli-0.47.0/tests/triage_backend.py +97 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/uv.lock +1 -1
- minitest_cli-0.45.0/src/minitest_cli/commands/issues_fix.py +0 -92
- minitest_cli-0.45.0/src/minitest_cli/utils/skill_refresh.py +0 -125
- minitest_cli-0.45.0/tests/conftest.py +0 -28
- minitest_cli-0.45.0/tests/test_channel_header.py +0 -30
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.env.example +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/.github/workflows/install-scripts.yml +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/install.ps1 +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/install.sh +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/pyrightconfig.json +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/renovate.json +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/api/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/api/errors.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/assets/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/assets/callback.html +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/_abi_mismatch.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/_response_errors.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_knowledge.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_knowledge_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_network_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_skill.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_skill_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_skill_secret.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/app_skill_write.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/apps.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/apps_dependencies.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/apps_get.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/apps_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/apps_table.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/auth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/auth_api_key.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/backend_api.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/backend_api_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/batch_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/batch_warnings.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_bundle.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_commit.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_conversion.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_fix_prompts.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_get.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/build_signing.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/capabilities.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/commit_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/deprecated_alias.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_asks.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_conversation.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_create.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_feature.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_feature_apply.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_feature_conflicts.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_feature_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_feature_show.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_legacy.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_lifecycle.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_pr.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_render.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/draft_watch.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/env.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/env_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/flow_types.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/flow_types_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/flow_types_write.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/glossary.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/init.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/init_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/issues_get.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/issues_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/issues_service.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/knowledge.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/knowledge_documents.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/knowledge_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/private_network.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/private_network_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/recording_timeline.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/residential_proxy.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_backend_override.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_cancel.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_list.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_logs.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_recording.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_recording_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_tagged.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/run_targets.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_body.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_create.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_display.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_history.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_options.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_scope.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_spec.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/schedules_where.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/screens.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/screens_detail.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/screens_format.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/screens_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/screens_tree.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_create.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_extract.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_lint.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_manage.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_state.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/secret_value.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/tags.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/tags_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_file.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_file_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_file_list.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_card.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_default.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_list.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_secret_refs.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/test_profile_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/upgrade.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/upgrade_auto.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_app_skills.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_bindings.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_camera.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_create.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_criteria.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_criterion_edits.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_delete.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_device_count.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_iap.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_modify.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_overrides.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_profiles.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_setup_commit.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/user_story_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/verdicts.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/verdicts_helpers.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/commands/verdicts_projection.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/app_context.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/auth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/config.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/credentials.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/oauth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/core/token_exchange.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/app.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/app_env_vars.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/app_screen.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/base.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/batch.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/build.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/commit_build.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/draft_feature.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/flow_type.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/lane_logs.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/recording.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/tag.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/targets.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/models/user_story.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/auto_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/auto_update_notices.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/auto_update_state.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/confirm.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/dependency_sim.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/mermaid.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/output.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/update_check.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/versions.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/src/minitest_cli/utils/video_frames.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/__init__.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/_backend_api_server.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/_commit_transport.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/_network_settings_server.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/_secret_router.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/draft_backend.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_api_client_auth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_app_context.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_app_knowledge_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_app_skill_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_apps_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_apps_dependencies.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_auth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_auth_api_key.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_auth_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_auto_update.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_backend_api_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_backend_api_openapi_auth.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_batch_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_build_bundle.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_build_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_build_fix_prompts.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_build_get_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_capabilities_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_code_quality.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_commit_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_config_defaults.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_deprecated_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_deprecated_flags.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_draft_ask_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_draft_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_draft_conversation_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_draft_feature_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_draft_pr_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_env.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_flow_types_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_issues.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_issues_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_issues_get_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_knowledge_v2_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_mermaid.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_native_device_types.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_network_errors.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_physical_devices.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_private_network_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_recording_timeline.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_residential_proxy_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_response_errors.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_run_backend_override.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_run_cancel.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_run_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_run_frames_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_run_logs_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_schedules_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_screens_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_secret_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_secret_create.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_secret_lint_extract.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_suite_change_provenance.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_tags_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_test_file_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_test_profile_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_test_profile_secret_refs.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_upgrade_auto_command.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_user_story_bindings_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_user_story_commands.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_user_story_in_app_purchases.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_user_story_setup_commit.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_verdicts.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_verdicts_actionable.py +0 -0
- {minitest_cli-0.45.0 → minitest_cli-0.47.0}/tests/test_version.py +0 -0
|
@@ -18,9 +18,15 @@ jobs:
|
|
|
18
18
|
with:
|
|
19
19
|
enable-cache: true
|
|
20
20
|
|
|
21
|
+
- name: Check the bundled references match their index
|
|
22
|
+
run: python3 scripts/sync-skill-references.py --check
|
|
23
|
+
|
|
21
24
|
- name: Build package
|
|
22
25
|
run: uv build
|
|
23
26
|
|
|
27
|
+
- name: Check the wheel and sdist carry the agent skill
|
|
28
|
+
run: python3 scripts/check-dist-skill.py
|
|
29
|
+
|
|
24
30
|
pyright:
|
|
25
31
|
runs-on: ubuntu-latest
|
|
26
32
|
steps:
|
|
@@ -31,9 +31,18 @@ jobs:
|
|
|
31
31
|
print(f"Version {version} matches tag")
|
|
32
32
|
PY
|
|
33
33
|
|
|
34
|
+
# The reference files are rendered by testing-service and served by its public
|
|
35
|
+
# /api/skills/reference routes; take the production ones so the wheel's
|
|
36
|
+
# offline copy is current at release. Release testing-service first.
|
|
37
|
+
- name: Refresh skill references
|
|
38
|
+
run: python3 scripts/sync-skill-references.py && python3 scripts/sync-skill-references.py --check
|
|
39
|
+
|
|
34
40
|
- name: Build package
|
|
35
41
|
run: uv build
|
|
36
42
|
|
|
43
|
+
- name: Check the wheel and sdist carry the agent skill
|
|
44
|
+
run: python3 scripts/check-dist-skill.py
|
|
45
|
+
|
|
37
46
|
- name: Upload build artifacts
|
|
38
47
|
uses: actions/upload-artifact@v4
|
|
39
48
|
with:
|
|
@@ -49,4 +49,4 @@ git push origin HEAD
|
|
|
49
49
|
git push origin v<VERSION>
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
The tag push triggers the release workflow (PyPI publish, GitHub Release,
|
|
52
|
+
The tag push triggers the release workflow (refresh the bundled skill's references, PyPI publish, GitHub Release). The agent skill ships inside the wheel, so there is no paired agent-skills PR to merge.
|
|
@@ -19,7 +19,7 @@ uv add <package> # Add new dependency (always
|
|
|
19
19
|
- `config.py` - pydantic-settings: MINITEST_API_URL, MINITEST_TOKEN, config dir
|
|
20
20
|
- `app_context.py` - --app flag / MINITEST_APP_ID resolution
|
|
21
21
|
- `auth.py` - Token storage (read/write ~/.minitest/credentials.json)
|
|
22
|
-
- `api/client.py` - httpx async client with auto auth + X-Minitest-Channel
|
|
22
|
+
- `api/client.py` - httpx async client with auto auth + X-Minitest-Channel and X-Minitap-Cli (minitest/<version>) headers
|
|
23
23
|
- `utils/`
|
|
24
24
|
- `output.py` - --json helpers: stdout=data, stderr=diagnostics
|
|
25
25
|
- `update_check.py` - PyPI version check (cached 1h, non-blocking); hands newer releases to auto-update
|
|
@@ -61,15 +61,15 @@ uv add <package> # Add new dependency (always
|
|
|
61
61
|
- Name tests: `test_<action>_<scenario>`
|
|
62
62
|
- Always check exit codes and output
|
|
63
63
|
|
|
64
|
-
### Agent Skill
|
|
65
|
-
The
|
|
64
|
+
### Agent Skill (CRITICAL)
|
|
65
|
+
The agent skill lives in this repo at `skills/minitest-cli/` and ships **inside the wheel** (`minitest_cli/_skills/minitest-cli`), so the skill an agent reads is always the one of the CLI version installed. There is no paired PR: change the command and its documentation in the same PR.
|
|
66
66
|
|
|
67
|
-
When you add, remove, or change a CLI command/flag
|
|
68
|
-
1. Update `repos/agent-skills/skills/minitest-cli/SKILL.md` in a paired PR
|
|
69
|
-
2. Update the Quick Reference table and any relevant sections
|
|
67
|
+
When you add, remove, or change a CLI command/flag, update `skills/minitest-cli/SKILL.md` (and the Quick Reference table) in that PR.
|
|
70
68
|
|
|
71
|
-
|
|
72
|
-
- **
|
|
73
|
-
- **
|
|
69
|
+
- **Hand-maintained:** `SKILL.md`, `README.md`, `commands/`.
|
|
70
|
+
- **Generated, never hand-edit:** `reference/*.md` and `reference/index.json`. testing-service renders the documents from its knowledge fragments and serves them on its public `GET /api/skills/reference[/{topic}]` routes, which `minitest reference [TOPIC]` reads live (topic names come from the server, never from CLI code). The committed files are the offline / older-backend fallback: `python3 scripts/sync-skill-references.py [--api-url URL]` refreshes them from the server (production by default, no credentials), `release.yml` runs it before building, and `ci.yml` runs `--check` so the index and the files cannot drift. `minitest-target.md` is no longer bundled: the executor envelope is `minitest capabilities` (testing-service images re-render it into the skill they bake; conductor bakes it as its own `minitest-capabilities` skill).
|
|
71
|
+
- **Stamped at read time:** `metadata.cli-version` in the SKILL.md frontmatter is added by `utils/skill_bundle.py` from the running version. Do not write it in the file.
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
How it reaches users: `minitest skill` prints the bundled skill (offline). `minitest upgrade` and the background auto-update make every installed copy (found via `npx skills ls`, or `~/.agents|.claude/skills/minitest-cli` without npx) byte-identical to the bundled one, references included. First install: `npx skills add https://github.com/minitap-ai/minitest-cli/tree/v<version>/skills/minitest-cli --skill minitest-cli`. `ci.yml` and `release.yml` run `scripts/check-dist-skill.py` so a build that drops the skill fails.
|
|
74
|
+
|
|
75
|
+
`minitap-ai/agent-skills` still holds a frozen copy for CLIs older than the release that introduced this; do not update it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: minitest-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.47.0
|
|
4
4
|
Summary: Minitest CLI – command-line interface for the Minitest testing platform
|
|
5
5
|
Project-URL: Homepage, https://minitap.ai/
|
|
6
6
|
Project-URL: Source, https://github.com/minitap-ai/minitest-cli
|
|
@@ -84,7 +84,7 @@ current. When a command sees a newer release on PyPI, it updates the CLI in the
|
|
|
84
84
|
background and your next command runs the new version. The update waits until
|
|
85
85
|
no other `minitest` command is running, and only installs releases that have
|
|
86
86
|
been out for at least an hour. The same background job refreshes the agent
|
|
87
|
-
skill (
|
|
87
|
+
skill (the copy bundled with the new CLI version, no network needed) when it has changed. The next command
|
|
88
88
|
prints one line saying what was updated; the details go to
|
|
89
89
|
`~/.minitest/auto_update.log`.
|
|
90
90
|
|
|
@@ -100,9 +100,9 @@ minitest upgrade # update by hand at any time
|
|
|
100
100
|
|
|
101
101
|
`MINITEST_NO_AUTO_UPDATE=1` also turns it off, and wins over the saved setting.
|
|
102
102
|
|
|
103
|
-
> **Installed with Homebrew?**
|
|
104
|
-
>
|
|
105
|
-
> `brew uninstall minitest-cli && uv tool install minitest-cli`.
|
|
103
|
+
> **Installed with Homebrew?** minitest-cli is no longer published on Homebrew:
|
|
104
|
+
> a copy installed from the old tap stopped at 0.24.0 and never updates itself.
|
|
105
|
+
> Switch to uv with `brew uninstall minitest-cli && uv tool install minitest-cli`.
|
|
106
106
|
|
|
107
107
|
## Quick Start
|
|
108
108
|
|
|
@@ -251,6 +251,7 @@ app defaults.
|
|
|
251
251
|
| `minitest schedules` | Scheduled runs: run scenarios at a set time and post a Slack summary |
|
|
252
252
|
| `minitest issues` | Read app issues and their fix prompts, mark them fixed |
|
|
253
253
|
| `minitest skill` | Print the CLI skill for your AI coding agent (not app skills) |
|
|
254
|
+
| `minitest reference` | List or print the reference documents behind the skill (test-suite design method, suite schema), from Minitest or the bundled copy offline |
|
|
254
255
|
|
|
255
256
|
### Deprecated names
|
|
256
257
|
|
|
@@ -50,7 +50,7 @@ current. When a command sees a newer release on PyPI, it updates the CLI in the
|
|
|
50
50
|
background and your next command runs the new version. The update waits until
|
|
51
51
|
no other `minitest` command is running, and only installs releases that have
|
|
52
52
|
been out for at least an hour. The same background job refreshes the agent
|
|
53
|
-
skill (
|
|
53
|
+
skill (the copy bundled with the new CLI version, no network needed) when it has changed. The next command
|
|
54
54
|
prints one line saying what was updated; the details go to
|
|
55
55
|
`~/.minitest/auto_update.log`.
|
|
56
56
|
|
|
@@ -66,9 +66,9 @@ minitest upgrade # update by hand at any time
|
|
|
66
66
|
|
|
67
67
|
`MINITEST_NO_AUTO_UPDATE=1` also turns it off, and wins over the saved setting.
|
|
68
68
|
|
|
69
|
-
> **Installed with Homebrew?**
|
|
70
|
-
>
|
|
71
|
-
> `brew uninstall minitest-cli && uv tool install minitest-cli`.
|
|
69
|
+
> **Installed with Homebrew?** minitest-cli is no longer published on Homebrew:
|
|
70
|
+
> a copy installed from the old tap stopped at 0.24.0 and never updates itself.
|
|
71
|
+
> Switch to uv with `brew uninstall minitest-cli && uv tool install minitest-cli`.
|
|
72
72
|
|
|
73
73
|
## Quick Start
|
|
74
74
|
|
|
@@ -217,6 +217,7 @@ app defaults.
|
|
|
217
217
|
| `minitest schedules` | Scheduled runs: run scenarios at a set time and post a Slack summary |
|
|
218
218
|
| `minitest issues` | Read app issues and their fix prompts, mark them fixed |
|
|
219
219
|
| `minitest skill` | Print the CLI skill for your AI coding agent (not app skills) |
|
|
220
|
+
| `minitest reference` | List or print the reference documents behind the skill (test-suite design method, suite schema), from Minitest or the bundled copy offline |
|
|
220
221
|
|
|
221
222
|
### Deprecated names
|
|
222
223
|
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
5
|
Releases are automated via GitHub Actions. Pushing a version tag triggers the
|
|
6
|
-
full pipeline: build, publish to PyPI,
|
|
6
|
+
full pipeline: refresh the bundled agent skill's references, build, publish to PyPI,
|
|
7
|
+
and create a GitHub Release. The references are fetched from production
|
|
8
|
+
testing-service (`scripts/sync-skill-references.py`, public routes, no secret), so
|
|
9
|
+
release testing-service **before** tagging a CLI release that relies on a reference
|
|
10
|
+
change; the step fails if production does not serve `/api/skills/reference`. The agent skill lives in this repo and ships inside the
|
|
11
|
+
wheel, so there is nothing to merge in `agent-skills` before releasing. uv is the
|
|
7
12
|
only distribution channel (the Homebrew formula is retired); users
|
|
8
13
|
on a `uv tool install` pick the release up automatically through auto-update
|
|
9
14
|
once it has been on PyPI for an hour.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "minitest-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.47.0"
|
|
4
4
|
description = "Minitest CLI – command-line interface for the Minitest testing platform"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -58,6 +58,11 @@ build-backend = "hatchling.build"
|
|
|
58
58
|
[tool.hatch.build.targets.wheel]
|
|
59
59
|
packages = ["src/minitest_cli"]
|
|
60
60
|
|
|
61
|
+
# The agent skill ships inside the wheel so it is always the version of the CLI it
|
|
62
|
+
# documents. Read at runtime by minitest_cli.utils.skill_bundle.
|
|
63
|
+
[tool.hatch.build.targets.wheel.force-include]
|
|
64
|
+
"skills/minitest-cli" = "minitest_cli/_skills/minitest-cli"
|
|
65
|
+
|
|
61
66
|
[tool.ruff]
|
|
62
67
|
exclude = [
|
|
63
68
|
".bzr",
|
|
@@ -131,6 +136,7 @@ python_classes = [
|
|
|
131
136
|
]
|
|
132
137
|
markers = [
|
|
133
138
|
"real_app_lookup: resolve --app names through the API instead of the test shortcut",
|
|
139
|
+
"real_question_count: ask Conductor for waiting questions instead of the test shortcut",
|
|
134
140
|
]
|
|
135
141
|
addopts = [
|
|
136
142
|
"-v",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""Fail unless the built wheel and sdist both carry the agent skill and its reference index.
|
|
2
|
+
|
|
3
|
+
Run after `uv build`. The skill ships inside the wheel so it always matches the CLI;
|
|
4
|
+
a build that silently drops it would leave `minitest skill` and `minitest upgrade`
|
|
5
|
+
without anything to install.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import glob
|
|
9
|
+
import sys
|
|
10
|
+
import tarfile
|
|
11
|
+
import zipfile
|
|
12
|
+
|
|
13
|
+
wheel = zipfile.ZipFile(glob.glob("dist/*.whl")[0]).namelist()
|
|
14
|
+
sdist = tarfile.open(glob.glob("dist/*.tar.gz")[0]).getnames()
|
|
15
|
+
|
|
16
|
+
checks = {
|
|
17
|
+
"wheel": (
|
|
18
|
+
wheel,
|
|
19
|
+
(
|
|
20
|
+
"minitest_cli/_skills/minitest-cli/SKILL.md",
|
|
21
|
+
"_skills/minitest-cli/reference/index.json",
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
"sdist": (sdist, ("skills/minitest-cli/SKILL.md", "skills/minitest-cli/reference/index.json")),
|
|
25
|
+
}
|
|
26
|
+
failed = False
|
|
27
|
+
for label, (names, fragments) in checks.items():
|
|
28
|
+
for fragment in fragments:
|
|
29
|
+
if not any(fragment in name for name in names):
|
|
30
|
+
print(f"::error::{label} is missing the agent skill ({fragment})")
|
|
31
|
+
failed = True
|
|
32
|
+
if failed:
|
|
33
|
+
sys.exit(1)
|
|
34
|
+
print("Agent skill is in the wheel and the sdist")
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"""Refresh skills/minitest-cli/reference/ from the reference routes of testing-service.
|
|
2
|
+
|
|
3
|
+
The documents are rendered by testing-service from its knowledge fragments, so they are
|
|
4
|
+
never hand-edited here. This writes every served topic plus the `index.json` that
|
|
5
|
+
`minitest reference` falls back to offline, and removes files the server no longer
|
|
6
|
+
serves. The routes are public, so no credentials are needed.
|
|
7
|
+
|
|
8
|
+
python3 scripts/sync-skill-references.py [--api-url URL] # refresh from the server
|
|
9
|
+
python3 scripts/sync-skill-references.py --check # offline consistency check
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
import argparse
|
|
13
|
+
import json
|
|
14
|
+
import sys
|
|
15
|
+
import urllib.request
|
|
16
|
+
from pathlib import Path
|
|
17
|
+
|
|
18
|
+
REFERENCE_DIR = Path(__file__).resolve().parents[1] / "skills" / "minitest-cli" / "reference"
|
|
19
|
+
INDEX_FILE = "index.json"
|
|
20
|
+
DEFAULT_API_URL = "https://testing-service.app.minitap.ai"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _get(url: str) -> bytes:
|
|
24
|
+
request = urllib.request.Request(url, headers={"User-Agent": "minitest-cli-release"})
|
|
25
|
+
with urllib.request.urlopen(request, timeout=30) as response:
|
|
26
|
+
return response.read()
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def sync(api_url: str) -> None:
|
|
30
|
+
base = f"{api_url.rstrip('/')}/api/skills/reference"
|
|
31
|
+
index = json.loads(_get(base))
|
|
32
|
+
documents = {entry["topic"]: _get(f"{base}/{entry['topic']}") for entry in index}
|
|
33
|
+
REFERENCE_DIR.mkdir(parents=True, exist_ok=True)
|
|
34
|
+
for stale in REFERENCE_DIR.glob("*.md"):
|
|
35
|
+
if stale.stem not in documents:
|
|
36
|
+
stale.unlink()
|
|
37
|
+
for topic, content in documents.items():
|
|
38
|
+
(REFERENCE_DIR / f"{topic}.md").write_bytes(content)
|
|
39
|
+
(REFERENCE_DIR / INDEX_FILE).write_text(json.dumps(index, indent=2) + "\n", encoding="utf-8")
|
|
40
|
+
print(f"Synced {', '.join(documents)} from {base}")
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def check() -> list[str]:
|
|
44
|
+
index = json.loads((REFERENCE_DIR / INDEX_FILE).read_text(encoding="utf-8"))
|
|
45
|
+
problems = [
|
|
46
|
+
f"index entry without topic, title and summary: {entry}"
|
|
47
|
+
for entry in index
|
|
48
|
+
if not all(entry.get(key) for key in ("topic", "title", "summary"))
|
|
49
|
+
]
|
|
50
|
+
indexed = {entry.get("topic") for entry in index}
|
|
51
|
+
on_disk = {path.stem for path in REFERENCE_DIR.glob("*.md")}
|
|
52
|
+
problems += [f"{topic}.md is missing" for topic in sorted(indexed - on_disk)]
|
|
53
|
+
problems += [f"{name}.md is not in {INDEX_FILE}" for name in sorted(on_disk - indexed)]
|
|
54
|
+
return problems
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def main() -> None:
|
|
58
|
+
parser = argparse.ArgumentParser(description="Refresh or check the bundled skill references.")
|
|
59
|
+
parser.add_argument("--api-url", default=DEFAULT_API_URL)
|
|
60
|
+
parser.add_argument("--check", action="store_true")
|
|
61
|
+
args = parser.parse_args()
|
|
62
|
+
if not args.check:
|
|
63
|
+
sync(args.api_url)
|
|
64
|
+
return
|
|
65
|
+
problems = check()
|
|
66
|
+
for problem in problems:
|
|
67
|
+
print(f"::error::{problem} (run scripts/sync-skill-references.py)")
|
|
68
|
+
if problems:
|
|
69
|
+
sys.exit(1)
|
|
70
|
+
print("Bundled references match their index")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
if __name__ == "__main__":
|
|
74
|
+
main()
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Minitest CLI
|
|
2
|
+
|
|
3
|
+
Use the minitest CLI to manage testing flows, upload native builds, execute mobile and web app test runs, and analyse results.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This skill teaches AI agents how to use the `minitest` command-line tool. Where the [minitest](../minitest/) skill uses MCP tools to manage flow templates directly, this skill drives the same workflows through the CLI — useful when MCP is not available or when working in CI/automation contexts.
|
|
8
|
+
|
|
9
|
+
## Use Cases
|
|
10
|
+
|
|
11
|
+
- "Run my mobile or web app tests"
|
|
12
|
+
- "Upload a native build and start a test run"
|
|
13
|
+
- "Run my web app tests from the CLI"
|
|
14
|
+
- "Create testing flows via the CLI"
|
|
15
|
+
- "Check test results for my app"
|
|
16
|
+
- "Set up minitest in CI"
|
|
17
|
+
|
|
18
|
+
## What It Does
|
|
19
|
+
|
|
20
|
+
1. **Guides CLI installation and authentication** (`uv tool install minitest-cli`, `minitest auth login`)
|
|
21
|
+
2. **Manages testing flows** — create, list, update, and delete flows with acceptance criteria
|
|
22
|
+
3. **Handles native build uploads** — upload `.apk` / `.ipa` artifacts for Android/iOS apps
|
|
23
|
+
4. **Runs tests on mobile and web targets** — start runs, watch progress, collect results
|
|
24
|
+
5. **Supports CI/automation** — JSON output mode, exit codes, scripting patterns
|
|
25
|
+
|
|
26
|
+
## Requirements
|
|
27
|
+
|
|
28
|
+
- Python 3.10+
|
|
29
|
+
- `minitest-cli` installed (`uv tool install minitest-cli`; needs `uv` —
|
|
30
|
+
https://docs.astral.sh/uv/getting-started/installation/ if missing)
|
|
31
|
+
- A Minitap account and registered app
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
npx skills add https://github.com/minitap-ai/minitest-cli/tree/v<version>/skills/minitest-cli --skill minitest-cli
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Maintenance — two writers
|
|
40
|
+
|
|
41
|
+
This skill has two distinct writers; keep them separate:
|
|
42
|
+
|
|
43
|
+
- **Hand-maintained:** `SKILL.md`, `README.md`, `metadata.json`, and everything
|
|
44
|
+
under `commands/` — the deep-dive guides for command groups whose contract is
|
|
45
|
+
too long to keep in the prompt. Edit these by hand.
|
|
46
|
+
- **Machine-generated:** everything under `reference/`. testing-service renders
|
|
47
|
+
those documents from its knowledge fragments and serves them on its public
|
|
48
|
+
`/api/skills/reference` routes, which is what `minitest reference <topic>` prints.
|
|
49
|
+
The files here, with their `index.json`, are the copy the CLI falls back to
|
|
50
|
+
offline; `scripts/sync-skill-references.py` refreshes them from the server. Do
|
|
51
|
+
not hand-edit them: changes belong in testing-service.
|