@shotik/mcp 0.1.2 → 0.2.1

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.
package/README.md CHANGED
@@ -33,9 +33,21 @@ The same files are resources: `shotik://recipe/<sdk>`, `shotik://guide/<sdk>`, `
33
33
  |---|---|---|
34
34
  | `react-native` | [@shotik/react-native](https://www.npmjs.com/package/@shotik/react-native) | `npx expo install @shotik/react-native` |
35
35
  | `react-native-analytics` | `@shotik/react-native/analytics` | the same package |
36
- | `swift` | [github.com/rahimwws/shotik-app](https://github.com/rahimwws/shotik-app) | Xcode → Add Package Dependencies…, from `0.1.0` |
36
+ | `swift` | [github.com/rahimwws/shotik-swift](https://github.com/rahimwws/shotik-swift) | Xcode → Add Package Dependencies…, from `0.2.0` |
37
37
  | `flutter` | [shotik](https://pub.dev/packages/shotik) | `flutter pub add shotik` |
38
38
 
39
39
  The server reads only the files bundled in the package and, for `detect_project`, the top level of the folder you pass.
40
40
  It has no dependencies. Its only network calls are `store_check`'s reads of Apple's public App Store lookup and review
41
- RSS; in-app purchase prices aren't public, so it never states them.
41
+ RSS (in-app purchase prices aren't public, so it never states them) and the two audit tools' calls to `SHOTIK_WEB`.
42
+
43
+ ## Web audit
44
+
45
+ shotik.app/start gives you a code and a prompt for your agent. With the code:
46
+
47
+ | Tool | What it does |
48
+ |---|---|
49
+ | `shotik_audit_checklist { code, stack? }` | Tells shotik.app the agent connected, then returns the onboarding, paywall, purchase and Apple-rule checklist (per-stack look-fors, why each costs money, `brain:<topic>/<id>` evidence, fixes) and the findings schema |
50
+ | `shotik_publish_findings { code, app, findings, done? }` | Checks the findings against the server's schema (repo-relative file and line, title ≤120, why ≤600, diff ≤20 lines, no secrets), posts them and returns the project URL |
51
+
52
+ Only findings leave the machine, never repo files. The checklist is `brain/audit/checklist.json` when bundled, else
53
+ `audit/checklist.json`. `SHOTIK_WEB` overrides the base URL (default `https://shotik.app`).
package/README.ru.md CHANGED
@@ -32,9 +32,21 @@ claude mcp add shotik -- npx -y @shotik/mcp
32
32
  |---|---|---|
33
33
  | `react-native` | [@shotik/react-native](https://www.npmjs.com/package/@shotik/react-native) | `npx expo install @shotik/react-native` |
34
34
  | `react-native-analytics` | `@shotik/react-native/analytics` | тот же пакет |
35
- | `swift` | [github.com/rahimwws/shotik-app](https://github.com/rahimwws/shotik-app) | Xcode → Add Package Dependencies…, от `0.1.0` |
35
+ | `swift` | [github.com/rahimwws/shotik-swift](https://github.com/rahimwws/shotik-swift) | Xcode → Add Package Dependencies…, от `0.2.0` |
36
36
  | `flutter` | [shotik](https://pub.dev/packages/shotik) | `flutter pub add shotik` |
37
37
 
38
38
  Сервер читает только файлы, вложенные в пакет, а для `detect_project` — верхний уровень папки, которую вы передали.
39
39
  Зависимостей нет. В сеть ходит только `store_check`: публичный lookup App Store и RSS отзывов Apple; цены встроенных
40
- покупок не публичны, поэтому он их никогда не называет.
40
+ покупок не публичны, поэтому он их никогда не называет. Ещё два инструмента аудита ходят на `SHOTIK_WEB`.
41
+
42
+ ## Веб-аудит
43
+
44
+ shotik.app/start выдаёт код и промпт для агента. С этим кодом:
45
+
46
+ | Инструмент | Что делает |
47
+ |---|---|
48
+ | `shotik_audit_checklist { code, stack? }` | Сообщает shotik.app, что агент подключился, и возвращает чек-лист по онбордингу, пейволлу, покупкам и правилам Apple (что искать в коде для каждого стека, почему это стоит денег, ссылки `brain:<topic>/<id>`, примеры исправлений) и схему находок |
49
+ | `shotik_publish_findings { code, app, findings, done? }` | Проверяет находки по схеме сервера (путь от корня репозитория и строка, title ≤120, why ≤600, diff ≤20 строк, без секретов), отправляет их и возвращает ссылку на проект |
50
+
51
+ Наружу уходят только находки, не файлы репозитория. Чек-лист берётся из `brain/audit/checklist.json`, если он вложен в пакет,
52
+ иначе из `audit/checklist.json`. `SHOTIK_WEB` меняет адрес (по умолчанию `https://shotik.app`).