failproofai 0.0.3 → 0.0.4
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +7 -7
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +2 -2
- package/.next/standalone/.next/server/app/_not-found.rsc +15 -15
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +15 -15
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +10 -10
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +15 -15
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +15 -15
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +10 -10
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +8 -8
- package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0g72weg._.js +1 -1
- package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_0z7w.hh._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__092s1ta._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__09icjsf._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g.lg8b._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h..k-e._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0bo8s~-._.js → [root-of-the-server]__0lty_fo._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0okos0k._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03kiqd5._.js → [root-of-the-server]__0v1egkj._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w6l33k._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__11pa2ra._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__12t-wym._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_10lm7or._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_0xerkr6._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_0q-m0y-._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/pages/404.html +2 -2
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +9 -9
- package/.next/standalone/.next/static/chunks/{03oepxbqx6o8~.js → 0b2_069x5qnxg.js} +2 -2
- package/.next/standalone/.next/static/chunks/{02t9.s735hqyq.js → 0de3q2juhg_dr.js} +1 -1
- package/.next/standalone/.next/static/chunks/{18cl6wups7ouq.js → 0p5sfob-upg0g.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0h5kbvg~.xf.v.js → 0tw_xfxb1tto..js} +1 -1
- package/.next/standalone/.next/static/chunks/{0od..umlku4bb.js → 0uxpbrcv44lga.js} +1 -1
- package/.next/standalone/.next/static/chunks/0xjz3w.yw5tza.js +1 -0
- package/.next/standalone/.next/static/chunks/{0xbwzy4dl87-0.js → 0y-bi_mp2rv4l.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0cwft44dh9bww.js → 11zlh73ggln0w.js} +1 -1
- package/.next/standalone/CHANGELOG.md +5 -0
- package/.next/standalone/dist/cli.mjs +4 -8
- package/.next/standalone/docs/ar/built-in-policies.mdx +100 -129
- package/.next/standalone/docs/ar/cli/install-policies.mdx +10 -11
- package/.next/standalone/docs/ar/cli/remove-policies.mdx +10 -12
- package/.next/standalone/docs/built-in-policies.mdx +3 -30
- package/.next/standalone/docs/cli/install-policies.mdx +0 -1
- package/.next/standalone/docs/cli/remove-policies.mdx +0 -1
- package/.next/standalone/docs/de/built-in-policies.mdx +65 -92
- package/.next/standalone/docs/de/cli/install-policies.mdx +3 -4
- package/.next/standalone/docs/de/cli/remove-policies.mdx +3 -4
- package/.next/standalone/docs/docs.json +5 -0
- package/.next/standalone/docs/es/built-in-policies.mdx +66 -93
- package/.next/standalone/docs/es/cli/install-policies.mdx +4 -5
- package/.next/standalone/docs/es/cli/remove-policies.mdx +4 -5
- package/.next/standalone/docs/fr/built-in-policies.mdx +83 -110
- package/.next/standalone/docs/fr/cli/install-policies.mdx +11 -12
- package/.next/standalone/docs/fr/cli/remove-policies.mdx +2 -3
- package/.next/standalone/docs/he/built-in-policies.mdx +131 -160
- package/.next/standalone/docs/he/cli/install-policies.mdx +14 -15
- package/.next/standalone/docs/he/cli/remove-policies.mdx +13 -14
- package/.next/standalone/docs/hi/built-in-policies.mdx +168 -197
- package/.next/standalone/docs/hi/cli/install-policies.mdx +10 -11
- package/.next/standalone/docs/hi/cli/remove-policies.mdx +13 -14
- package/.next/standalone/docs/it/built-in-policies.mdx +83 -110
- package/.next/standalone/docs/it/cli/install-policies.mdx +12 -13
- package/.next/standalone/docs/it/cli/remove-policies.mdx +5 -6
- package/.next/standalone/docs/ja/built-in-policies.mdx +119 -146
- package/.next/standalone/docs/ja/cli/install-policies.mdx +12 -13
- package/.next/standalone/docs/ja/cli/remove-policies.mdx +8 -9
- package/.next/standalone/docs/ko/built-in-policies.mdx +80 -107
- package/.next/standalone/docs/ko/cli/install-policies.mdx +10 -11
- package/.next/standalone/docs/ko/cli/remove-policies.mdx +2 -3
- package/.next/standalone/docs/pt-br/built-in-policies.mdx +46 -73
- package/.next/standalone/docs/pt-br/cli/install-policies.mdx +5 -6
- package/.next/standalone/docs/pt-br/cli/remove-policies.mdx +11 -12
- package/.next/standalone/docs/ru/built-in-policies.mdx +107 -132
- package/.next/standalone/docs/ru/cli/install-policies.mdx +10 -10
- package/.next/standalone/docs/ru/cli/remove-policies.mdx +13 -14
- package/.next/standalone/docs/tr/built-in-policies.mdx +106 -131
- package/.next/standalone/docs/tr/cli/install-policies.mdx +14 -15
- package/.next/standalone/docs/tr/cli/remove-policies.mdx +7 -8
- package/.next/standalone/docs/vi/built-in-policies.mdx +73 -100
- package/.next/standalone/docs/vi/cli/install-policies.mdx +17 -18
- package/.next/standalone/docs/vi/cli/remove-policies.mdx +11 -12
- package/.next/standalone/docs/zh/built-in-policies.mdx +77 -104
- package/.next/standalone/docs/zh/cli/install-policies.mdx +4 -5
- package/.next/standalone/docs/zh/cli/remove-policies.mdx +8 -9
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/src/hooks/builtin-policies.ts +0 -4
- package/dist/cli.mjs +4 -8
- package/package.json +1 -1
- package/src/hooks/builtin-policies.ts +0 -4
- package/.next/standalone/.next/static/chunks/0e2uz2g026ckb.js +0 -1
- /package/.next/standalone/.next/static/{En9eEShUkUjgeYbY9v6Gy → LayjxQulxIcNH19Lqgjbf}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{En9eEShUkUjgeYbY9v6Gy → LayjxQulxIcNH19Lqgjbf}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{En9eEShUkUjgeYbY9v6Gy → LayjxQulxIcNH19Lqgjbf}/_ssgManifest.js +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
+
---
|
|
2
3
|
title: Установка политик
|
|
3
|
-
description: "Включите
|
|
4
|
+
description: "Включите политики для их выполнения при каждом вызове инструмента агентом"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
```bash
|
|
7
8
|
failproofai policies --install [policy-names...] [options]
|
|
8
9
|
```
|
|
9
10
|
|
|
10
|
-
Записывает записи
|
|
11
|
+
Записывает записи хука в `settings.json` Claude Code, чтобы failproofai перехватывал вызовы инструментов.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
Синонимы: `failproofai p -i`
|
|
13
14
|
|
|
14
15
|
## Опции
|
|
15
16
|
|
|
@@ -18,16 +19,15 @@ failproofai policies --install [policy-names...] [options]
|
|
|
18
19
|
| `--scope user` | Установить в `~/.claude/settings.json` (по умолчанию - все сеансы) |
|
|
19
20
|
| `--scope project` | Установить в `.claude/settings.json` в текущей директории |
|
|
20
21
|
| `--scope local` | Установить в `.claude/settings.local.json` в текущей директории |
|
|
21
|
-
| `--custom <path>` / `-c` | Путь к
|
|
22
|
-
| `--beta` | Включить бета-политики |
|
|
22
|
+
| `--custom <path>` / `-c` | Путь к JS-файлу с пользовательскими хук-политиками |
|
|
23
23
|
|
|
24
24
|
## Поведение
|
|
25
25
|
|
|
26
|
-
- **Без названий политик** - открывает интерактивное
|
|
27
|
-
- **Конкретные названия** - включает
|
|
26
|
+
- **Без названий политик** - открывает интерактивное меню для выбора политик
|
|
27
|
+
- **Конкретные названия** - включает указанные политики (добавляет их к уже включённым)
|
|
28
28
|
- **`all`** - включает все доступные политики
|
|
29
29
|
|
|
30
|
-
Установка является
|
|
30
|
+
Установка является дополнительной: повторный запуск `--install` добавляет новые политики без удаления существующих.
|
|
31
31
|
|
|
32
32
|
## Примеры
|
|
33
33
|
|
|
@@ -38,11 +38,11 @@ failproofai policies --install
|
|
|
38
38
|
# Установить конкретные политики для текущего проекта
|
|
39
39
|
failproofai policies --install block-sudo sanitize-api-keys --scope project
|
|
40
40
|
|
|
41
|
-
# Включить все политики
|
|
41
|
+
# Включить все политики сразу
|
|
42
42
|
failproofai policies --install all
|
|
43
43
|
|
|
44
44
|
# Установить с пользовательским файлом политик
|
|
45
45
|
failproofai policies --install --custom ./my-policies.js
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Когда
|
|
48
|
+
Когда указан `--custom <path>`, файл проверяется немедленно - он должен вызвать `customPolicies.add()` хотя бы один раз. Разрешённый путь сохраняется в `policies-config.json` как `customPoliciesPath`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Удаление политик
|
|
3
|
-
description: "Удаление записей hook из
|
|
3
|
+
description: "Удаление записей hook из settings Claude Code"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
```bash
|
|
@@ -9,34 +9,33 @@ failproofai policies --uninstall [policy-names...] [options]
|
|
|
9
9
|
|
|
10
10
|
Удаляет записи failproofai hook из `settings.json` Claude Code.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Альтернативные команды: `failproofai p -u`
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Опции
|
|
15
15
|
|
|
16
16
|
| Флаг | Описание |
|
|
17
|
-
|
|
18
|
-
| `--scope user` | Удалить из глобальных
|
|
19
|
-
| `--scope project` | Удалить из
|
|
20
|
-
| `--scope local` | Удалить из локальных
|
|
17
|
+
|------|-------------|
|
|
18
|
+
| `--scope user` | Удалить из глобальных параметров (по умолчанию) |
|
|
19
|
+
| `--scope project` | Удалить из параметров проекта |
|
|
20
|
+
| `--scope local` | Удалить из локальных параметров |
|
|
21
21
|
| `--scope all` | Удалить из всех областей одновременно |
|
|
22
|
-
| `--custom` / `-c` | Очистить `customPoliciesPath` из
|
|
23
|
-
| `--beta` | Удалить только бета-политики из конфигурации |
|
|
22
|
+
| `--custom` / `-c` | Очистить `customPoliciesPath` из конфига |
|
|
24
23
|
|
|
25
24
|
## Поведение
|
|
26
25
|
|
|
27
|
-
- **Без
|
|
28
|
-
-
|
|
26
|
+
- **Без имён политик** - удаляет все записи failproofai hook из файла параметров
|
|
27
|
+
- **С конкретными именами** - отключает эти политики, но сохраняет установленные hook
|
|
29
28
|
|
|
30
29
|
## Примеры
|
|
31
30
|
|
|
32
31
|
```bash
|
|
33
|
-
# Удалить все
|
|
32
|
+
# Удалить все hook глобально
|
|
34
33
|
failproofai policies --uninstall
|
|
35
34
|
|
|
36
|
-
# Отключить
|
|
35
|
+
# Отключить определённую политику (сохраняя установленные hook)
|
|
37
36
|
failproofai policies --uninstall block-sudo
|
|
38
37
|
|
|
39
|
-
# Удалить
|
|
38
|
+
# Удалить hook из всех областей
|
|
40
39
|
failproofai policies --uninstall --scope all
|
|
41
40
|
|
|
42
41
|
# Очистить путь к пользовательским политикам
|