growth extras: MCP safe tools, README and CHANGELOG, socialMedia age rating defaults, regenerated adapters and API coverage
This commit is contained in:
parent
2d2fd9040d
commit
4a894a1937
13 changed files with 159 additions and 22 deletions
|
|
@ -41,21 +41,26 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
||||||
|
- `skills/adhoc-distribution/SKILL.md`: Get a test build of a mobile app or game onto specific devices without a store review
|
||||||
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
||||||
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
||||||
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
||||||
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
||||||
- `skills/app-store-promotion/SKILL.md`: App Store promotion tools for a mobile app or game through the App Store Connect API
|
- `skills/app-store-promotion/SKILL.md`: App Store promotion tools for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/apple-ads/SKILL.md`: Read Apple Ads (formerly Apple Search Ads) results for a mobile app or game and make small, owner-approved bid, daily budget and pause changes
|
||||||
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
||||||
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
||||||
- `skills/build-and-sign/SKILL.md`: Sign, build and upload a mobile app or game from the terminal
|
- `skills/build-and-sign/SKILL.md`: Sign, build and upload a mobile app or game from the terminal
|
||||||
|
- `skills/console-autofill/SKILL.md`: AI-assisted autofill of App Store Connect and Google Play Console forms that have no API (the New App dialog, App Privacy, the Play IARC content rating questionnaire, Target audience and content plus the Ads declaration; the App Store age rating is shown as guidance because the API sets it) in a visible Chromium the owner signs in to. Answers come only from storebound.config.ts; anything the config does not prove stays empty and highlighted. storebound never signs in, never saves, submits or publishes
|
||||||
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
||||||
- `skills/migrate-from-fastlane/SKILL.md`: Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane`
|
- `skills/migrate-from-fastlane/SKILL.md`: Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane`
|
||||||
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
||||||
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
||||||
|
- `skills/ppp-pricing/SKILL.md`: Propose purchasing power parity (PPP) prices for a mobile app's or game's in-app products in every App Store territory and Google Play region with `storebound prices ppp`
|
||||||
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
||||||
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
||||||
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
||||||
|
- `skills/revenuecat-sync/SKILL.md`: Optional adapter that keeps a RevenueCat project's catalog in step with the storebound config
|
||||||
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
||||||
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
||||||
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
||||||
|
|
@ -68,4 +73,5 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
||||||
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
||||||
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/web-presence/SKILL.md`: Set up the web side of a mobile app or game
|
||||||
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
||||||
|
|
|
||||||
6
.github/copilot-instructions.md
vendored
6
.github/copilot-instructions.md
vendored
|
|
@ -43,21 +43,26 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
| skill | for |
|
| skill | for |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
||||||
|
| `adhoc-distribution` | Get a test build of a mobile app or game onto specific devices without a store review |
|
||||||
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
||||||
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
||||||
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
||||||
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
||||||
| `app-store-promotion` | App Store promotion tools for a mobile app or game through the App Store Connect API |
|
| `app-store-promotion` | App Store promotion tools for a mobile app or game through the App Store Connect API |
|
||||||
|
| `apple-ads` | Read Apple Ads (formerly Apple Search Ads) results for a mobile app or game and make small, owner-approved bid, daily budget and pause changes |
|
||||||
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
||||||
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
||||||
| `build-and-sign` | Sign, build and upload a mobile app or game from the terminal |
|
| `build-and-sign` | Sign, build and upload a mobile app or game from the terminal |
|
||||||
|
| `console-autofill` | AI-assisted autofill of App Store Connect and Google Play Console forms that have no API (the New App dialog, App Privacy, the Play IARC content rating questionnaire, Target audience and content plus the Ads declaration; the App Store age rating is shown as guidance because the API sets it) in a visible Chromium the owner signs in to. Answers come only from storebound.config.ts; anything the config does not prove stays empty and highlighted. storebound never signs in, never saves, submits or publishes |
|
||||||
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
||||||
| `migrate-from-fastlane` | Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane` |
|
| `migrate-from-fastlane` | Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane` |
|
||||||
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
||||||
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
||||||
|
| `ppp-pricing` | Propose purchasing power parity (PPP) prices for a mobile app's or game's in-app products in every App Store territory and Google Play region with `storebound prices ppp` |
|
||||||
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
||||||
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
||||||
| `release-management` | Ship updates safely after the first release |
|
| `release-management` | Ship updates safely after the first release |
|
||||||
|
| `revenuecat-sync` | Optional adapter that keeps a RevenueCat project's catalog in step with the storebound config |
|
||||||
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
||||||
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
||||||
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
||||||
|
|
@ -70,4 +75,5 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
||||||
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
||||||
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
||||||
|
| `web-presence` | Set up the web side of a mobile app or game |
|
||||||
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
||||||
|
|
|
||||||
|
|
@ -42,21 +42,26 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
||||||
|
- `skills/adhoc-distribution/SKILL.md`: Get a test build of a mobile app or game onto specific devices without a store review
|
||||||
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
||||||
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
||||||
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
||||||
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
||||||
- `skills/app-store-promotion/SKILL.md`: App Store promotion tools for a mobile app or game through the App Store Connect API
|
- `skills/app-store-promotion/SKILL.md`: App Store promotion tools for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/apple-ads/SKILL.md`: Read Apple Ads (formerly Apple Search Ads) results for a mobile app or game and make small, owner-approved bid, daily budget and pause changes
|
||||||
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
||||||
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
||||||
- `skills/build-and-sign/SKILL.md`: Sign, build and upload a mobile app or game from the terminal
|
- `skills/build-and-sign/SKILL.md`: Sign, build and upload a mobile app or game from the terminal
|
||||||
|
- `skills/console-autofill/SKILL.md`: AI-assisted autofill of App Store Connect and Google Play Console forms that have no API (the New App dialog, App Privacy, the Play IARC content rating questionnaire, Target audience and content plus the Ads declaration; the App Store age rating is shown as guidance because the API sets it) in a visible Chromium the owner signs in to. Answers come only from storebound.config.ts; anything the config does not prove stays empty and highlighted. storebound never signs in, never saves, submits or publishes
|
||||||
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
||||||
- `skills/migrate-from-fastlane/SKILL.md`: Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane`
|
- `skills/migrate-from-fastlane/SKILL.md`: Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane`
|
||||||
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
||||||
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
||||||
|
- `skills/ppp-pricing/SKILL.md`: Propose purchasing power parity (PPP) prices for a mobile app's or game's in-app products in every App Store territory and Google Play region with `storebound prices ppp`
|
||||||
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
||||||
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
||||||
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
||||||
|
- `skills/revenuecat-sync/SKILL.md`: Optional adapter that keeps a RevenueCat project's catalog in step with the storebound config
|
||||||
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
||||||
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
||||||
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
||||||
|
|
@ -69,6 +74,7 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
||||||
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
||||||
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/web-presence/SKILL.md`: Set up the web side of a mobile app or game
|
||||||
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
||||||
|
|
||||||
## Working on storebound itself
|
## Working on storebound itself
|
||||||
|
|
|
||||||
23
CHANGELOG.md
23
CHANGELOG.md
|
|
@ -2,6 +2,29 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Growth extras, each with `--dry`, `--json`, tests on sanitized fixtures and a skill:
|
||||||
|
- `prices ppp`: purchasing power price sheets from a bundled, dated World Bank ICP PPP dataset (CC BY 4.0,
|
||||||
|
`tools/update-ppp.ts` refreshes it), the Big Mac index or a CSV; clamped, snapped to store price points, written
|
||||||
|
in the `prices import` format with a diff.
|
||||||
|
- `ads apple status | campaigns | report`: Apple Ads reports (spend, taps, installs, CPA per campaign / keyword,
|
||||||
|
CSV export); `bid | budget | pause` are dry first and ask in a terminal, never over MCP.
|
||||||
|
- `web init | check`: apple-app-site-association, assetlinks.json (Play app signing SHA-256, also read from the
|
||||||
|
Play API with `--version-code`), the Smart App Banner tag and a minimal landing page; `web check` verifies the
|
||||||
|
live files (content type, no redirects, JSON, ids match).
|
||||||
|
- `apple adhoc devices | register | profile | options | export` (release-testing / ad-hoc ExportOptions.plist,
|
||||||
|
devices with masked UDIDs, registration asks first) and `play share` (internal app sharing upload, prints the link).
|
||||||
|
- `revenuecat diff | sync`: optional RevenueCat REST API v2 adapter for products, entitlements and the default
|
||||||
|
offering; sync only creates and attaches, asks first, never over MCP.
|
||||||
|
- `console fill <form>`: AI-assisted Playwright autofill for the App Store app record, age rating, App Privacy and
|
||||||
|
the Play content rating and target audience forms. A visible Chromium with a profile the owner signs in to; it
|
||||||
|
never types passwords and never clicks Save / Submit / Publish / Next; UI changes fall back to guidance. Desktop:
|
||||||
|
"Fill in console" on the App info tab (dry run, native confirm, then the browser). Never over MCP.
|
||||||
|
- New config: `prices.ppp`, `web`, `apple.teamId`, `apple.adhoc`, `revenuecat`, `console`. New MCP tools (safe
|
||||||
|
parts only): `prices_ppp`, `web_init`, `web_check`, `apple_adhoc_devices`, `apple_adhoc_options`,
|
||||||
|
`ads_apple_status`, `ads_apple_campaigns`, `ads_apple_report`, `revenuecat_diff`.
|
||||||
|
- `apple appinfo` answers the new `socialMedia` / `socialMediaAgeRestricted` age rating questions with false
|
||||||
|
unless `apple.info.ageRating` says otherwise.
|
||||||
|
|
||||||
- `storebound scan` on Google Play now matches the App Store side: rejections, blocked updates, suspensions and
|
- `storebound scan` on Google Play now matches the App Store side: rejections, blocked updates, suspensions and
|
||||||
policy strikes that the project files can prove, each verified against the live Play Policy Center / Play Console
|
policy strikes that the project files can prove, each verified against the live Play Policy Center / Play Console
|
||||||
Help page (cited with the date in `cli/lib/scan/play-rules.ts`). New rules: the restricted permissions and their
|
Help page (cited with the date in `cli/lib/scan/play-rules.ts`). New rules: the restricted permissions and their
|
||||||
|
|
|
||||||
|
|
@ -42,21 +42,26 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
| skill | for |
|
| skill | for |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
||||||
|
| `adhoc-distribution` | Get a test build of a mobile app or game onto specific devices without a store review |
|
||||||
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
||||||
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
||||||
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
||||||
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
||||||
| `app-store-promotion` | App Store promotion tools for a mobile app or game through the App Store Connect API |
|
| `app-store-promotion` | App Store promotion tools for a mobile app or game through the App Store Connect API |
|
||||||
|
| `apple-ads` | Read Apple Ads (formerly Apple Search Ads) results for a mobile app or game and make small, owner-approved bid, daily budget and pause changes |
|
||||||
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
||||||
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
||||||
| `build-and-sign` | Sign, build and upload a mobile app or game from the terminal |
|
| `build-and-sign` | Sign, build and upload a mobile app or game from the terminal |
|
||||||
|
| `console-autofill` | AI-assisted autofill of App Store Connect and Google Play Console forms that have no API (the New App dialog, App Privacy, the Play IARC content rating questionnaire, Target audience and content plus the Ads declaration; the App Store age rating is shown as guidance because the API sets it) in a visible Chromium the owner signs in to. Answers come only from storebound.config.ts; anything the config does not prove stays empty and highlighted. storebound never signs in, never saves, submits or publishes |
|
||||||
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
||||||
| `migrate-from-fastlane` | Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane` |
|
| `migrate-from-fastlane` | Move a mobile app or game from fastlane (deliver, supply, snapshot / screengrab, Appfile, Deliverfile) to storebound with `storebound import fastlane` |
|
||||||
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
||||||
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
||||||
|
| `ppp-pricing` | Propose purchasing power parity (PPP) prices for a mobile app's or game's in-app products in every App Store territory and Google Play region with `storebound prices ppp` |
|
||||||
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
||||||
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
||||||
| `release-management` | Ship updates safely after the first release |
|
| `release-management` | Ship updates safely after the first release |
|
||||||
|
| `revenuecat-sync` | Optional adapter that keeps a RevenueCat project's catalog in step with the storebound config |
|
||||||
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
||||||
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
||||||
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
||||||
|
|
@ -69,4 +74,5 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
||||||
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
||||||
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
||||||
|
| `web-presence` | Set up the web side of a mobile app or game |
|
||||||
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
||||||
|
|
|
||||||
35
README.md
35
README.md
|
|
@ -449,6 +449,41 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## Growth extras
|
||||||
|
|
||||||
|
Optional commands for after (or around) the first release. Each has `--dry` and `--json`; store and API writes ask in
|
||||||
|
a terminal first and are never offered over MCP.
|
||||||
|
|
||||||
|
- **Purchasing power prices:** `storebound prices ppp [--base 4.99] [--source worldbank|bigmac|file]` proposes a price
|
||||||
|
per region from the bundled World Bank ICP PPP conversion factors (`cli/data/ppp-worldbank.json`, CC BY 4.0, dated
|
||||||
|
and cited; refresh with `bun tools/update-ppp.ts`), clamped to `prices.ppp.floor`..`ceiling` of the US price and
|
||||||
|
snapped to each store's price points. It writes a sheet in the `prices import` format (default
|
||||||
|
`store/prices-ppp.csv`) and shows the diff; `storebound prices import --csv store/prices-ppp.csv --dry` applies it.
|
||||||
|
Skill: `ppp-pricing`.
|
||||||
|
- **Apple Ads:** `storebound ads apple status | campaigns | report [--by campaign|keyword] [--csv out.csv]`: spend,
|
||||||
|
taps, installs, CPA, read-only (OAuth client credentials from env / `.storebound/`, never printed). `bid`, `budget`
|
||||||
|
and `pause` print old -> new and ask first. Skill: `apple-ads`.
|
||||||
|
- **Web presence:** `storebound web init [--landing]` writes `apple-app-site-association`,
|
||||||
|
`.well-known/assetlinks.json` (Play app signing SHA-256), the Smart App Banner tag and an optional minimal landing
|
||||||
|
page (store marks from simple-icons, privacy / support links from the config). `storebound web check <domain>`
|
||||||
|
verifies the live files: 200 without redirects, JSON content type, valid JSON, ids match the config. Skill: `web-presence`.
|
||||||
|
- **Ad-hoc and internal sharing:** `storebound apple adhoc devices | register | profile | options | export` (UDIDs
|
||||||
|
masked; registering asks first) and `storebound play share --aab app.aab` (Play internal app sharing; asks first,
|
||||||
|
prints the install link). Skill: `adhoc-distribution`.
|
||||||
|
- **RevenueCat (optional):** `storebound revenuecat diff | sync` mirrors products, subscriptions, entitlements and a
|
||||||
|
default offering into a RevenueCat project (REST API v2, secret key from env / `.storebound/`). sync only creates and
|
||||||
|
attaches, never deletes. Runtime entitlements, receipts and paywalls stay RevenueCat's job. Skill: `revenuecat-sync`.
|
||||||
|
- **Console autofill for forms without an API:** `storebound console fill <form>` (`apple-app-record`,
|
||||||
|
`apple-age-rating`, `apple-app-privacy`, `play-content-rating`, `play-target-audience`) opens a visible Chromium
|
||||||
|
with a profile you sign in to yourself, fills what the config proves, highlights the rest and stops before any
|
||||||
|
Save / Submit / Publish: you click. When the page has changed it falls back to step-by-step guidance with copyable
|
||||||
|
answers. **Console pages change; this is AI-assisted: review every field and save it yourself.** Desktop: "Fill in
|
||||||
|
console" on the App info tab. Never over MCP. Skill: `console-autofill`.
|
||||||
|
|
||||||
|
MCP gets only the safe parts: `prices_ppp`, `web_init`, `apple_adhoc_options` (local files, dry run by default) and
|
||||||
|
the reads `ads_apple_status`, `ads_apple_campaigns`, `ads_apple_report`, `web_check`, `apple_adhoc_devices`,
|
||||||
|
`revenuecat_diff`.
|
||||||
|
|
||||||
## Many apps and studios
|
## Many apps and studios
|
||||||
|
|
||||||
A studio with twenty games, or a developer with apps under two store accounts, works from one folder above the app
|
A studio with twenty games, or a developer with apps under two store accounts, works from one folder above the app
|
||||||
|
|
|
||||||
|
|
@ -112,11 +112,13 @@ export const WRAPPED: { apple: Record<string, string>; play: Record<string, stri
|
||||||
'builds_updateInstance': 'apple/encryption lib/build-ops',
|
'builds_updateInstance': 'apple/encryption lib/build-ops',
|
||||||
'bundleIdCapabilities_createInstance': 'lib/signing',
|
'bundleIdCapabilities_createInstance': 'lib/signing',
|
||||||
'bundleIds_createInstance': 'apple/bundle',
|
'bundleIds_createInstance': 'apple/bundle',
|
||||||
'bundleIds_getCollection': 'apple/bundle apple/signing',
|
'bundleIds_getCollection': 'apple/adhoc apple/bundle apple/signing',
|
||||||
'bundleIds_profiles_getToManyRelated': 'apple/signing',
|
'bundleIds_profiles_getToManyRelated': 'apple/adhoc apple/signing',
|
||||||
'certificates_createInstance': 'apple/signing lib/signing',
|
'certificates_createInstance': 'apple/signing lib/signing',
|
||||||
'certificates_getCollection': 'apple/signing',
|
'certificates_getCollection': 'apple/adhoc apple/signing',
|
||||||
'customerReviewResponses_createInstance': 'lib/reviews',
|
'customerReviewResponses_createInstance': 'lib/reviews',
|
||||||
|
'devices_createInstance': 'apple/adhoc',
|
||||||
|
'devices_getCollection': 'apple/adhoc',
|
||||||
'endAppAvailabilityPreOrders_createInstance': 'lib/offers',
|
'endAppAvailabilityPreOrders_createInstance': 'lib/offers',
|
||||||
'financeReports_getCollection': 'lib/reports',
|
'financeReports_getCollection': 'lib/reports',
|
||||||
'inAppPurchaseAppStoreReviewScreenshots_createInstance': 'apple/iap-review',
|
'inAppPurchaseAppStoreReviewScreenshots_createInstance': 'apple/iap-review',
|
||||||
|
|
@ -142,10 +144,11 @@ export const WRAPPED: { apple: Record<string, string>; play: Record<string, stri
|
||||||
'inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated': 'apple/iap',
|
'inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated': 'apple/iap',
|
||||||
'inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated': 'apple/iap catalog',
|
'inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated': 'apple/iap catalog',
|
||||||
'inAppPurchasesV2_offerCodes_getToManyRelated': 'apple/offer-codes',
|
'inAppPurchasesV2_offerCodes_getToManyRelated': 'apple/offer-codes',
|
||||||
'inAppPurchasesV2_pricePoints_getToManyRelated': 'apple/iap apple/offer-codes prices',
|
'inAppPurchasesV2_pricePoints_getToManyRelated': 'apple/iap apple/offer-codes prices prices-ppp',
|
||||||
'inAppPurchasesV2_versions_getToManyRelated': 'apple/iap-submit',
|
'inAppPurchasesV2_versions_getToManyRelated': 'apple/iap-submit',
|
||||||
'profiles_certificates_getToManyRelationship': 'apple/signing',
|
'profiles_certificates_getToManyRelationship': 'apple/signing',
|
||||||
'profiles_createInstance': 'lib/signing',
|
'profiles_createInstance': 'apple/adhoc lib/signing',
|
||||||
|
'profiles_devices_getToManyRelated': 'apple/adhoc',
|
||||||
'profiles_getInstance': 'apple/signing',
|
'profiles_getInstance': 'apple/signing',
|
||||||
'promotedPurchases_createInstance': 'lib/offers',
|
'promotedPurchases_createInstance': 'lib/offers',
|
||||||
'promotedPurchases_updateInstance': 'lib/offers',
|
'promotedPurchases_updateInstance': 'lib/offers',
|
||||||
|
|
@ -205,7 +208,8 @@ export const WRAPPED: { apple: Record<string, string>; play: Record<string, stri
|
||||||
'androidpublisher.edits.tracks.list': 'play/next-version-code play/status validate',
|
'androidpublisher.edits.tracks.list': 'play/next-version-code play/status validate',
|
||||||
'androidpublisher.edits.tracks.update': 'play/release play/rollout play/upload',
|
'androidpublisher.edits.tracks.update': 'play/release play/rollout play/upload',
|
||||||
'androidpublisher.edits.validate': 'play/client',
|
'androidpublisher.edits.validate': 'play/client',
|
||||||
'androidpublisher.monetization.convertRegionPrices': 'play/products play/subscriptions prices',
|
'androidpublisher.generatedapks.list': 'web',
|
||||||
|
'androidpublisher.monetization.convertRegionPrices': 'play/products play/subscriptions prices prices-ppp',
|
||||||
'androidpublisher.monetization.onetimeproducts.get': 'prices',
|
'androidpublisher.monetization.onetimeproducts.get': 'prices',
|
||||||
'androidpublisher.monetization.onetimeproducts.list': 'play/products',
|
'androidpublisher.monetization.onetimeproducts.list': 'play/products',
|
||||||
'androidpublisher.monetization.onetimeproducts.patch': 'play/products prices',
|
'androidpublisher.monetization.onetimeproducts.patch': 'play/products prices',
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ export const AGE_RATING_NONE: Record<string, string | boolean | null> = {
|
||||||
advertising: false, ageAssurance: false, alcoholTobaccoOrDrugUseOrReferences: 'NONE', contests: 'NONE', gambling: false,
|
advertising: false, ageAssurance: false, alcoholTobaccoOrDrugUseOrReferences: 'NONE', contests: 'NONE', gambling: false,
|
||||||
gamblingSimulated: 'NONE', gunsOrOtherWeapons: 'NONE', healthOrWellnessTopics: false, horrorOrFearThemes: 'NONE', lootBox: false,
|
gamblingSimulated: 'NONE', gunsOrOtherWeapons: 'NONE', healthOrWellnessTopics: false, horrorOrFearThemes: 'NONE', lootBox: false,
|
||||||
matureOrSuggestiveThemes: 'NONE', medicalOrTreatmentInformation: 'NONE', messagingAndChat: false, parentalControls: false,
|
matureOrSuggestiveThemes: 'NONE', medicalOrTreatmentInformation: 'NONE', messagingAndChat: false, parentalControls: false,
|
||||||
profanityOrCrudeHumor: 'NONE', sexualContentGraphicAndNudity: 'NONE', sexualContentOrNudity: 'NONE', unrestrictedWebAccess: false,
|
profanityOrCrudeHumor: 'NONE', socialMedia: false, socialMediaAgeRestricted: false, sexualContentGraphicAndNudity: 'NONE', sexualContentOrNudity: 'NONE', unrestrictedWebAccess: false,
|
||||||
userGeneratedContent: false, violenceCartoonOrFantasy: 'NONE', violenceRealistic: 'NONE',
|
userGeneratedContent: false, violenceCartoonOrFantasy: 'NONE', violenceRealistic: 'NONE',
|
||||||
violenceRealisticProlongedGraphicOrSadistic: 'NONE', kidsAgeBand: null,
|
violenceRealisticProlongedGraphicOrSadistic: 'NONE', kidsAgeBand: null,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ function appRecord(config: ShipConfig): Answer[] {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Every question of the API's ageRatingDeclarations (checked October 2026); appinfo.ts AGE_RATING_NONE plus the newer ones. */
|
/** Every question of the API's ageRatingDeclarations (checked October 2026); appinfo.ts AGE_RATING_NONE plus the newer ones. */
|
||||||
export const AGE_RATING_API = [...Object.keys(AGE_RATING_NONE), 'socialMedia', 'socialMediaAgeRestricted'];
|
export const AGE_RATING_API = [...new Set([...Object.keys(AGE_RATING_NONE), 'socialMedia', 'socialMediaAgeRestricted'])];
|
||||||
|
|
||||||
function ageRating(config: ShipConfig): Answer[] {
|
function ageRating(config: ShipConfig): Answer[] {
|
||||||
const o = config.apple?.info?.ageRating;
|
const o = config.apple?.info?.ageRating;
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,37 @@ export const TOOLS: ToolDef[] = [
|
||||||
description: 'Read-only: compare the prices CSV (product, store, region, currency, price, start_date) with the current App Store and Google Play prices and print the diff table. Applying it is an owner-only terminal command (storebound prices import, asks first).',
|
description: 'Read-only: compare the prices CSV (product, store, region, currency, price, start_date) with the current App Store and Google Play prices and print the diff table. Applying it is an owner-only terminal command (storebound prices import, asks first).',
|
||||||
props: { csv: { type: 'string', description: 'CSV path (default prices.csv in the config, else store/prices.csv)' }, store: { type: 'string', enum: ['apple', 'play'] }, only, all: { type: 'boolean', default: false, description: 'Also list unchanged rows' } },
|
props: { csv: { type: 'string', description: 'CSV path (default prices.csv in the config, else store/prices.csv)' }, store: { type: 'string', enum: ['apple', 'play'] }, only, all: { type: 'boolean', default: false, description: 'Also list unchanged rows' } },
|
||||||
args: i => [...opt('csv', i.csv), ...opt('store', i.store), ...opt('only', i.only), ...flag('all', i.all), '--dry'] },
|
args: i => [...opt('csv', i.csv), ...opt('store', i.store), ...opt('only', i.only), ...flag('all', i.all), '--dry'] },
|
||||||
|
{ name: 'prices_ppp', title: 'Purchasing power price sheet', command: ['prices', 'ppp'], write: true, network: true, idempotent: true,
|
||||||
|
description: 'Proposes per-region prices adjusted for purchasing power (bundled World Bank ICP PPP factors, CC BY 4.0, or the Big Mac index / a CSV), clamped to floor..ceiling of the US price and snapped to store price points, and writes a price sheet in the prices import format (default store/prices-ppp.csv) with a diff against the current store prices. Writes only that local file; nothing goes to a store (prices import does, after the owner confirms in a terminal).',
|
||||||
|
props: { base: { type: 'number', minimum: 0.01, description: 'USD base price for every selected product (default: each product\'s usd)' }, source: { type: 'string', enum: ['worldbank', 'bigmac', 'file'] },
|
||||||
|
store: { type: 'string', enum: ['apple', 'play'] }, only, floor: { type: 'number', minimum: 0.01, maximum: 5 }, ceiling: { type: 'number', minimum: 0.01, maximum: 5 },
|
||||||
|
offline: { type: 'boolean', default: false, description: 'No store reads: snap with the local ending rules only' } },
|
||||||
|
args: i => [...opt('base', i.base), ...opt('source', i.source), ...opt('store', i.store), ...opt('only', i.only), ...opt('floor', i.floor), ...opt('ceiling', i.ceiling), ...flag('offline', i.offline)] },
|
||||||
|
{ name: 'ads_apple_status', title: 'Apple Ads access', command: ['ads', 'apple', 'status'], write: false, network: true,
|
||||||
|
description: 'Read-only: does the Apple Ads API key work, which ad accounts and roles it has, and which one storebound uses.' },
|
||||||
|
{ name: 'ads_apple_campaigns', title: 'Apple Ads campaigns', command: ['ads', 'apple', 'campaigns'], write: false, network: true,
|
||||||
|
description: 'Read-only list of Apple Ads campaigns (status, daily budget, countries, app) for the config\'s app, or every app with all.',
|
||||||
|
props: { all: { type: 'boolean', default: false } }, args: i => flag('all', i.all) },
|
||||||
|
{ name: 'ads_apple_report', title: 'Apple Ads report', command: ['ads', 'apple', 'report'], write: false, network: true,
|
||||||
|
description: 'Read-only Apple Ads report per campaign or keyword: spend, impressions, taps, installs, TTR, conversion rate, CPA, average CPT and totals. Bids, budgets and pausing are owner decisions in a terminal, never here.',
|
||||||
|
props: { days: { type: 'integer', minimum: 1, maximum: 90, default: 7 }, by: { type: 'string', enum: ['campaign', 'keyword'], default: 'campaign' },
|
||||||
|
campaign: { type: 'string', pattern: '^\\d{1,20}$' }, all: { type: 'boolean', default: false } },
|
||||||
|
args: i => [...opt('days', i.days), ...opt('by', i.by), ...opt('campaign', i.campaign), ...flag('all', i.all)] },
|
||||||
|
{ name: 'web_init', title: 'Universal / app links files', command: ['web', 'init'], write: true, network: false, idempotent: true,
|
||||||
|
description: 'Writes apple-app-site-association, .well-known/assetlinks.json, the Smart App Banner tag and optionally a minimal landing page (store badges, privacy and support links) into a local folder (default web/) from the config. Local files only; deploying them is the owner\'s step.',
|
||||||
|
props: { out: { type: 'string', pattern: '^[A-Za-z0-9._/-]{1,200}$', description: 'Output folder (default web.out or web)' }, landing: { type: 'boolean', default: false } },
|
||||||
|
args: i => [...opt('out', i.out), ...flag('landing', i.landing)] },
|
||||||
|
{ name: 'web_check', title: 'Check the live link files', command: ['web', 'check'], write: false, network: true,
|
||||||
|
description: 'Read-only check of https://<domain>/.well-known/apple-app-site-association and assetlinks.json: HTTP 200 without redirects, JSON content type, valid JSON, team / bundle id and package / signing fingerprint match the config.',
|
||||||
|
props: { domain: { type: 'string', pattern: '^[a-z0-9.-]{1,253}$', description: 'Default: web.domain of the config' } }, args: i => (i.domain ? [String(i.domain)] : []) },
|
||||||
|
{ name: 'apple_adhoc_devices', title: 'Registered test devices', command: ['apple', 'adhoc', 'devices'], write: false, network: true,
|
||||||
|
description: 'Read-only list of the devices registered for ad-hoc / development builds (UDIDs masked) and the yearly slots used. Registering devices stays a terminal command.',
|
||||||
|
props: { platform: { type: 'string', enum: ['IOS', 'MAC_OS'] } }, args: i => opt('platform', i.platform) },
|
||||||
|
{ name: 'apple_adhoc_options', title: 'Ad-hoc ExportOptions.plist', command: ['apple', 'adhoc', 'options'], write: true, network: false, idempotent: true,
|
||||||
|
description: 'Writes an ExportOptions.plist for an ad-hoc / release-testing export (method, team id, signing style) to build/ExportOptions.plist. Local file only.',
|
||||||
|
props: { method: { type: 'string', enum: ['release-testing', 'ad-hoc'] } }, args: i => opt('method', i.method) },
|
||||||
|
{ name: 'revenuecat_diff', title: 'RevenueCat parity', command: ['revenuecat', 'diff'], write: false, network: true,
|
||||||
|
description: 'Read-only parity report between the config catalog and the RevenueCat project: products, entitlements and their products, the default offering and its packages. Syncing is a terminal command the owner confirms.' },
|
||||||
{ name: 'prices_export', title: 'Export prices to CSV', command: ['prices', 'export'], write: true, network: true, idempotent: true,
|
{ name: 'prices_export', title: 'Export prices to CSV', command: ['prices', 'export'], write: true, network: true, idempotent: true,
|
||||||
description: 'Read the current prices of every product on both stores and write them as the prices CSV (local file only; Apple equalized prices with with_automatic, marked kind=auto). dry_run prints the CSV.',
|
description: 'Read the current prices of every product on both stores and write them as the prices CSV (local file only; Apple equalized prices with with_automatic, marked kind=auto). dry_run prints the CSV.',
|
||||||
props: { out: { type: 'string', description: 'CSV path' }, store: { type: 'string', enum: ['apple', 'play'] }, only, with_automatic: { type: 'boolean', default: false } },
|
props: { out: { type: 'string', description: 'CSV path' }, store: { type: 'string', enum: ['apple', 'play'] }, only, with_automatic: { type: 'boolean', default: false } },
|
||||||
|
|
@ -365,7 +396,7 @@ export function validateInput(t: ToolDef, input: unknown): string[] {
|
||||||
for (const [k, v] of Object.entries(i)) {
|
for (const [k, v] of Object.entries(i)) {
|
||||||
const p = s.properties[k];
|
const p = s.properties[k];
|
||||||
if (!p) { e.push(`${k}: unknown argument`); continue; }
|
if (!p) { e.push(`${k}: unknown argument`); continue; }
|
||||||
const ok = p.type === 'integer' ? Number.isInteger(v) : p.type === 'boolean' ? typeof v === 'boolean' : p.type === 'string' ? typeof v === 'string'
|
const ok = p.type === 'integer' ? Number.isInteger(v) : p.type === 'number' ? typeof v === 'number' && Number.isFinite(v) : p.type === 'boolean' ? typeof v === 'boolean' : p.type === 'string' ? typeof v === 'string'
|
||||||
: p.type === 'object' ? typeof v === 'object' && v !== null && !Array.isArray(v) && Object.entries(v).every(([pk, pv]) => /^[A-Za-z][A-Za-z0-9_.[\]+-]{0,100}$/.test(pk) && ['string', 'number', 'boolean'].includes(typeof pv) && !/[\n\r]/.test(String(pv)))
|
: p.type === 'object' ? typeof v === 'object' && v !== null && !Array.isArray(v) && Object.entries(v).every(([pk, pv]) => /^[A-Za-z][A-Za-z0-9_.[\]+-]{0,100}$/.test(pk) && ['string', 'number', 'boolean'].includes(typeof pv) && !/[\n\r]/.test(String(pv)))
|
||||||
: true;
|
: true;
|
||||||
if (!ok) { e.push(`${k}: must be ${p.type === 'object' ? 'an object of name -> string / number / boolean' : p.type}`); continue; }
|
if (!ok) { e.push(`${k}: must be ${p.type === 'object' ? 'an object of name -> string / number / boolean' : p.type}`); continue; }
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
|
|
||||||
| API | operations | GET | other | wrapped by a command | owner only |
|
| API | operations | GET | other | wrapped by a command | owner only |
|
||||||
|---|---:|---:|---:|---:|---:|
|
|---|---:|---:|---:|---:|---:|
|
||||||
| App Store Connect API 4.5.1 | 1303 | 826 | 477 | 183 | 166 |
|
| App Store Connect API 4.5.1 | 1303 | 826 | 477 | 186 | 166 |
|
||||||
| Google Play Android Developer API v3 (revision 20261008) | 145 | 45 | 100 | 32 | 49 |
|
| Google Play Android Developer API v3 (revision 20261008) | 145 | 45 | 100 | 33 | 49 |
|
||||||
| Google Play Developer Reporting API v1beta1 (revision 20261008) | 25 | 15 | 10 | 6 | 0 |
|
| Google Play Developer Reporting API v1beta1 (revision 20261008) | 25 | 15 | 10 | 6 | 0 |
|
||||||
|
|
||||||
## App Store Connect API 4.5.1
|
## App Store Connect API 4.5.1
|
||||||
|
|
@ -674,15 +674,15 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `bundleIds_bundleIdCapabilities_getToManyRelationship` | GET | `/v1/bundleIds/{id}/relationships/bundleIdCapabilities` | read | |
|
| `bundleIds_bundleIdCapabilities_getToManyRelationship` | GET | `/v1/bundleIds/{id}/relationships/bundleIdCapabilities` | read | |
|
||||||
| `bundleIds_createInstance` | POST | `/v1/bundleIds` | write (dry by default) | apple/bundle |
|
| `bundleIds_createInstance` | POST | `/v1/bundleIds` | write (dry by default) | apple/bundle |
|
||||||
| `bundleIds_deleteInstance` | DELETE | `/v1/bundleIds/{id}` | owner only (typed confirm) | |
|
| `bundleIds_deleteInstance` | DELETE | `/v1/bundleIds/{id}` | owner only (typed confirm) | |
|
||||||
| `bundleIds_getCollection` | GET | `/v1/bundleIds` | read | apple/bundle, apple/signing |
|
| `bundleIds_getCollection` | GET | `/v1/bundleIds` | read | apple/adhoc, apple/bundle, apple/signing |
|
||||||
| `bundleIds_getInstance` | GET | `/v1/bundleIds/{id}` | read | |
|
| `bundleIds_getInstance` | GET | `/v1/bundleIds/{id}` | read | |
|
||||||
| `bundleIds_profiles_getToManyRelated` | GET | `/v1/bundleIds/{id}/profiles` | read | apple/signing |
|
| `bundleIds_profiles_getToManyRelated` | GET | `/v1/bundleIds/{id}/profiles` | read | apple/adhoc, apple/signing |
|
||||||
| `bundleIds_profiles_getToManyRelationship` | GET | `/v1/bundleIds/{id}/relationships/profiles` | read | |
|
| `bundleIds_profiles_getToManyRelationship` | GET | `/v1/bundleIds/{id}/relationships/profiles` | read | |
|
||||||
| `bundleIds_updateInstance` | PATCH | `/v1/bundleIds/{id}` | write (dry by default) | |
|
| `bundleIds_updateInstance` | PATCH | `/v1/bundleIds/{id}` | write (dry by default) | |
|
||||||
| **certificates** (7) | | | | |
|
| **certificates** (7) | | | | |
|
||||||
| `certificates_createInstance` | POST | `/v1/certificates` | write (dry by default) | apple/signing, lib/signing |
|
| `certificates_createInstance` | POST | `/v1/certificates` | write (dry by default) | apple/signing, lib/signing |
|
||||||
| `certificates_deleteInstance` | DELETE | `/v1/certificates/{id}` | owner only (typed confirm) | |
|
| `certificates_deleteInstance` | DELETE | `/v1/certificates/{id}` | owner only (typed confirm) | |
|
||||||
| `certificates_getCollection` | GET | `/v1/certificates` | read | apple/signing |
|
| `certificates_getCollection` | GET | `/v1/certificates` | read | apple/adhoc, apple/signing |
|
||||||
| `certificates_getInstance` | GET | `/v1/certificates/{id}` | read | |
|
| `certificates_getInstance` | GET | `/v1/certificates/{id}` | read | |
|
||||||
| `certificates_passTypeId_getToOneRelated` | GET | `/v1/certificates/{id}/passTypeId` | read | |
|
| `certificates_passTypeId_getToOneRelated` | GET | `/v1/certificates/{id}/passTypeId` | read | |
|
||||||
| `certificates_passTypeId_getToOneRelationship` | GET | `/v1/certificates/{id}/relationships/passTypeId` | read | |
|
| `certificates_passTypeId_getToOneRelationship` | GET | `/v1/certificates/{id}/relationships/passTypeId` | read | |
|
||||||
|
|
@ -752,8 +752,8 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `customerReviews_response_getToOneRelated` | GET | `/v1/customerReviews/{id}/response` | read | |
|
| `customerReviews_response_getToOneRelated` | GET | `/v1/customerReviews/{id}/response` | read | |
|
||||||
| `customerReviews_response_getToOneRelationship` | GET | `/v1/customerReviews/{id}/relationships/response` | read | |
|
| `customerReviews_response_getToOneRelationship` | GET | `/v1/customerReviews/{id}/relationships/response` | read | |
|
||||||
| **devices** (4) | | | | |
|
| **devices** (4) | | | | |
|
||||||
| `devices_createInstance` | POST | `/v1/devices` | write (dry by default) | |
|
| `devices_createInstance` | POST | `/v1/devices` | write (dry by default) | apple/adhoc |
|
||||||
| `devices_getCollection` | GET | `/v1/devices` | read | |
|
| `devices_getCollection` | GET | `/v1/devices` | read | apple/adhoc |
|
||||||
| `devices_getInstance` | GET | `/v1/devices/{id}` | read | |
|
| `devices_getInstance` | GET | `/v1/devices/{id}` | read | |
|
||||||
| `devices_updateInstance` | PATCH | `/v1/devices/{id}` | write (dry by default) | |
|
| `devices_updateInstance` | PATCH | `/v1/devices/{id}` | write (dry by default) | |
|
||||||
| **diagnosticSignatures** (1) | | | | |
|
| **diagnosticSignatures** (1) | | | | |
|
||||||
|
|
@ -1241,7 +1241,7 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations` | read | |
|
| `inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations` | read | |
|
||||||
| `inAppPurchasesV2_offerCodes_getToManyRelated` | GET | `/v2/inAppPurchases/{id}/offerCodes` | read | apple/offer-codes |
|
| `inAppPurchasesV2_offerCodes_getToManyRelated` | GET | `/v2/inAppPurchases/{id}/offerCodes` | read | apple/offer-codes |
|
||||||
| `inAppPurchasesV2_offerCodes_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/offerCodes` | read | |
|
| `inAppPurchasesV2_offerCodes_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/offerCodes` | read | |
|
||||||
| `inAppPurchasesV2_pricePoints_getToManyRelated` | GET | `/v2/inAppPurchases/{id}/pricePoints` | read | apple/iap, apple/offer-codes, prices |
|
| `inAppPurchasesV2_pricePoints_getToManyRelated` | GET | `/v2/inAppPurchases/{id}/pricePoints` | read | apple/iap, apple/offer-codes, prices, prices-ppp |
|
||||||
| `inAppPurchasesV2_pricePoints_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/pricePoints` | read | |
|
| `inAppPurchasesV2_pricePoints_getToManyRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/pricePoints` | read | |
|
||||||
| `inAppPurchasesV2_promotedPurchase_getToOneRelated` | GET | `/v2/inAppPurchases/{id}/promotedPurchase` | read | |
|
| `inAppPurchasesV2_promotedPurchase_getToOneRelated` | GET | `/v2/inAppPurchases/{id}/promotedPurchase` | read | |
|
||||||
| `inAppPurchasesV2_promotedPurchase_getToOneRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/promotedPurchase` | read | |
|
| `inAppPurchasesV2_promotedPurchase_getToOneRelationship` | GET | `/v2/inAppPurchases/{id}/relationships/promotedPurchase` | read | |
|
||||||
|
|
@ -1292,9 +1292,9 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `profiles_bundleId_getToOneRelationship` | GET | `/v1/profiles/{id}/relationships/bundleId` | read | |
|
| `profiles_bundleId_getToOneRelationship` | GET | `/v1/profiles/{id}/relationships/bundleId` | read | |
|
||||||
| `profiles_certificates_getToManyRelated` | GET | `/v1/profiles/{id}/certificates` | read | |
|
| `profiles_certificates_getToManyRelated` | GET | `/v1/profiles/{id}/certificates` | read | |
|
||||||
| `profiles_certificates_getToManyRelationship` | GET | `/v1/profiles/{id}/relationships/certificates` | read | apple/signing |
|
| `profiles_certificates_getToManyRelationship` | GET | `/v1/profiles/{id}/relationships/certificates` | read | apple/signing |
|
||||||
| `profiles_createInstance` | POST | `/v1/profiles` | write (dry by default) | lib/signing |
|
| `profiles_createInstance` | POST | `/v1/profiles` | write (dry by default) | apple/adhoc, lib/signing |
|
||||||
| `profiles_deleteInstance` | DELETE | `/v1/profiles/{id}` | owner only (typed confirm) | |
|
| `profiles_deleteInstance` | DELETE | `/v1/profiles/{id}` | owner only (typed confirm) | |
|
||||||
| `profiles_devices_getToManyRelated` | GET | `/v1/profiles/{id}/devices` | read | |
|
| `profiles_devices_getToManyRelated` | GET | `/v1/profiles/{id}/devices` | read | apple/adhoc |
|
||||||
| `profiles_devices_getToManyRelationship` | GET | `/v1/profiles/{id}/relationships/devices` | read | |
|
| `profiles_devices_getToManyRelationship` | GET | `/v1/profiles/{id}/relationships/devices` | read | |
|
||||||
| `profiles_getCollection` | GET | `/v1/profiles` | read | |
|
| `profiles_getCollection` | GET | `/v1/profiles` | read | |
|
||||||
| `profiles_getInstance` | GET | `/v1/profiles/{id}` | read | apple/signing |
|
| `profiles_getInstance` | GET | `/v1/profiles/{id}` | read | apple/signing |
|
||||||
|
|
@ -1617,7 +1617,7 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `androidpublisher.externaltransactions.refundexternaltransaction` | POST | `androidpublisher/v3/{+name}:refund` | owner only (typed confirm) | |
|
| `androidpublisher.externaltransactions.refundexternaltransaction` | POST | `androidpublisher/v3/{+name}:refund` | owner only (typed confirm) | |
|
||||||
| **androidpublisher.generatedapks** (2) | | | | |
|
| **androidpublisher.generatedapks** (2) | | | | |
|
||||||
| `androidpublisher.generatedapks.download` | GET | `androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download` | read | |
|
| `androidpublisher.generatedapks.download` | GET | `androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download` | read | |
|
||||||
| `androidpublisher.generatedapks.list` | GET | `androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}` | read | |
|
| `androidpublisher.generatedapks.list` | GET | `androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}` | read | web |
|
||||||
| **androidpublisher.grants** (3) | | | | |
|
| **androidpublisher.grants** (3) | | | | |
|
||||||
| `androidpublisher.grants.create` | POST | `androidpublisher/v3/{+parent}/grants` | owner only (typed confirm) | |
|
| `androidpublisher.grants.create` | POST | `androidpublisher/v3/{+parent}/grants` | owner only (typed confirm) | |
|
||||||
| `androidpublisher.grants.delete` | DELETE | `androidpublisher/v3/{+name}` | owner only (typed confirm) | |
|
| `androidpublisher.grants.delete` | DELETE | `androidpublisher/v3/{+name}` | owner only (typed confirm) | |
|
||||||
|
|
@ -1636,7 +1636,7 @@ Specs: Apple [App Store Connect API 4.5.1](https://developer.apple.com/sample-co
|
||||||
| `androidpublisher.internalappsharingartifacts.uploadapk` | POST | `androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk` | write (dry by default) | |
|
| `androidpublisher.internalappsharingartifacts.uploadapk` | POST | `androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk` | write (dry by default) | |
|
||||||
| `androidpublisher.internalappsharingartifacts.uploadbundle` | POST | `androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle` | write (dry by default) | |
|
| `androidpublisher.internalappsharingartifacts.uploadbundle` | POST | `androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle` | write (dry by default) | |
|
||||||
| **androidpublisher.monetization** (1) | | | | |
|
| **androidpublisher.monetization** (1) | | | | |
|
||||||
| `androidpublisher.monetization.convertRegionPrices` | POST | `androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices` | read | play/products, play/subscriptions, prices |
|
| `androidpublisher.monetization.convertRegionPrices` | POST | `androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices` | read | play/products, play/subscriptions, prices, prices-ppp |
|
||||||
| **androidpublisher.monetization.onetimeproducts** (7) | | | | |
|
| **androidpublisher.monetization.onetimeproducts** (7) | | | | |
|
||||||
| `androidpublisher.monetization.onetimeproducts.batchDelete` | POST | `androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete` | owner only (typed confirm) | |
|
| `androidpublisher.monetization.onetimeproducts.batchDelete` | POST | `androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete` | owner only (typed confirm) | |
|
||||||
| `androidpublisher.monetization.onetimeproducts.batchGet` | GET | `androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet` | read | |
|
| `androidpublisher.monetization.onetimeproducts.batchGet` | GET | `androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet` | read | |
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ describe('answers (only what the config proves is certain)', () => {
|
||||||
const set = consoleResult('apple-age-rating', { ...config, apple: { ...config.apple!, info: { ageRating: { advertising: true } } } });
|
const set = consoleResult('apple-age-rating', { ...config, apple: { ...config.apple!, info: { ageRating: { advertising: true } } } });
|
||||||
expect(set.answers.find(a => a.id === 'advertising')).toMatchObject({ value: true, certain: true });
|
expect(set.answers.find(a => a.id === 'advertising')).toMatchObject({ value: true, certain: true });
|
||||||
expect(set.answers.find(a => a.id === 'violenceRealistic')).toMatchObject({ value: 'NONE', certain: true });
|
expect(set.answers.find(a => a.id === 'violenceRealistic')).toMatchObject({ value: 'NONE', certain: true });
|
||||||
expect(set.answers.find(a => a.id === 'socialMedia')?.certain).toBe(false);
|
expect(set.answers.find(a => a.id === 'socialMedia')).toMatchObject({ value: false, certain: true });
|
||||||
});
|
});
|
||||||
test('app privacy from dataSafety; linked and tracking are never guessed', () => {
|
test('app privacy from dataSafety; linked and tracking are never guessed', () => {
|
||||||
const a = byId('apple-app-privacy');
|
const a = byId('apple-app-privacy');
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
// Config validation of the growth extras: web, revenuecat, prices.ppp, apple.teamId / adhoc.
|
// Config validation of the growth extras: web, revenuecat, prices.ppp, apple.teamId / adhoc.
|
||||||
import { describe, expect, test } from 'bun:test';
|
import { describe, expect, test } from 'bun:test';
|
||||||
import { type ShipConfig, validateConfig, validateExtras } from '../cli/lib/config';
|
import { type ShipConfig, validateConfig, validateExtras } from '../cli/lib/config';
|
||||||
|
import { TOOLS, toArgv } from '../cli/mcp-tools';
|
||||||
|
|
||||||
const base: ShipConfig = {
|
const base: ShipConfig = {
|
||||||
app: { name: 'Example', privacyPolicyUrl: 'https://example.com/privacy', supportUrl: 'https://example.com/support', website: 'https://example.com', contactEmail: 'hi@example.com' },
|
app: { name: 'Example', privacyPolicyUrl: 'https://example.com/privacy', supportUrl: 'https://example.com/support', website: 'https://example.com', contactEmail: 'hi@example.com' },
|
||||||
|
|
@ -30,3 +31,22 @@ describe('growth extras config', () => {
|
||||||
});
|
});
|
||||||
test('no extras, no problems', () => expect(validateExtras(base)).toEqual([]));
|
test('no extras, no problems', () => expect(validateExtras(base)).toEqual([]));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('growth extras over MCP', () => {
|
||||||
|
test('no console tool exists in MCP', () => {
|
||||||
|
expect(TOOLS.filter(t => t.command[0] === 'console' || /console/.test(t.name))).toEqual([]);
|
||||||
|
});
|
||||||
|
test('Apple Ads, RevenueCat, device registration and internal sharing are read-only in MCP', () => {
|
||||||
|
const risky = TOOLS.filter(t => (t.command[0] === 'ads' && t.command[1] === 'apple') || t.command[0] === 'revenuecat' || (t.command[0] === 'play' && t.command[1] === 'share')
|
||||||
|
|| (t.command[0] === 'apple' && t.command[1] === 'adhoc' && !['devices', 'options'].includes(t.command[2]!)));
|
||||||
|
expect(risky.filter(t => t.write)).toEqual([]);
|
||||||
|
for (const t of TOOLS.filter(x => (x.command[0] === 'ads' && x.command[1] === 'apple') || x.command[0] === 'revenuecat')) expect(['status', 'campaigns', 'report', 'diff']).toContain(t.command.at(-1)!);
|
||||||
|
});
|
||||||
|
test('local writes default to a dry run', () => {
|
||||||
|
for (const n of ['prices_ppp', 'web_init', 'apple_adhoc_options']) {
|
||||||
|
const t = TOOLS.find(x => x.name === n)!;
|
||||||
|
expect(toArgv(t, {}).argv).toContain('--dry');
|
||||||
|
}
|
||||||
|
expect(toArgv(TOOLS.find(x => x.name === 'prices_ppp')!, { base: 4.99, source: 'worldbank' }).argv).toEqual(['prices', 'ppp', '--base', '4.99', '--source', 'worldbank', '--dry']);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue