@precisa-saude/cli 1.1.2 → 1.3.0
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.
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(git status:*)",
|
|
5
|
+
"Bash(git diff:*)",
|
|
6
|
+
"Bash(git log:*)",
|
|
7
|
+
"Bash(git show:*)",
|
|
8
|
+
"Bash(git branch:*)",
|
|
9
|
+
"Bash(git reflog:*)",
|
|
10
|
+
"Bash(git stash list:*)",
|
|
11
|
+
"Bash(git worktree list:*)",
|
|
12
|
+
|
|
13
|
+
"Bash(git fetch:*)",
|
|
14
|
+
"Bash(git add:*)",
|
|
15
|
+
"Bash(git commit:*)",
|
|
16
|
+
"Bash(git commit -m:*)",
|
|
17
|
+
"Bash(git commit --amend --no-edit:*)",
|
|
18
|
+
"Bash(git pull --rebase:*)",
|
|
19
|
+
"Bash(git rebase:*)",
|
|
20
|
+
"Bash(git merge --ff-only:*)",
|
|
21
|
+
"Bash(git checkout -b:*)",
|
|
22
|
+
"Bash(git restore:*)",
|
|
23
|
+
"Bash(git stash:*)",
|
|
24
|
+
|
|
25
|
+
"Bash(git worktree add:*)",
|
|
26
|
+
"Bash(git worktree remove:*)",
|
|
27
|
+
|
|
28
|
+
"Bash(git push origin *:*)",
|
|
29
|
+
"Bash(git push -u origin *:*)",
|
|
30
|
+
|
|
31
|
+
"Bash(./scripts/worktree.sh:*)",
|
|
32
|
+
"Bash(pnpm exec precisa-worktree:*)",
|
|
33
|
+
|
|
34
|
+
"Bash(pnpm install:*)",
|
|
35
|
+
"Bash(pnpm install --frozen-lockfile:*)",
|
|
36
|
+
"Bash(pnpm turbo run:*)",
|
|
37
|
+
"Bash(pnpm --filter * build:*)",
|
|
38
|
+
"Bash(pnpm --filter * typecheck:*)",
|
|
39
|
+
"Bash(pnpm --filter * lint:*)",
|
|
40
|
+
"Bash(pnpm --filter * lint\\:fix:*)",
|
|
41
|
+
"Bash(pnpm --filter * test:*)",
|
|
42
|
+
"Bash(pnpm --filter * test\\:coverage:*)",
|
|
43
|
+
"Bash(pnpm --filter * dev:*)",
|
|
44
|
+
"Bash(pnpm exec prettier:*)",
|
|
45
|
+
"Bash(pnpm exec eslint:*)",
|
|
46
|
+
"Bash(pnpm exec tsc:*)",
|
|
47
|
+
"Bash(pnpm exec vitest:*)",
|
|
48
|
+
"Bash(pnpm list:*)",
|
|
49
|
+
"Bash(pnpm why:*)",
|
|
50
|
+
"Bash(pnpm dlx concurrently:*)",
|
|
51
|
+
"Bash(npm view:*)",
|
|
52
|
+
|
|
53
|
+
"Bash(gh pr view:*)",
|
|
54
|
+
"Bash(gh pr list:*)",
|
|
55
|
+
"Bash(gh pr status:*)",
|
|
56
|
+
"Bash(gh pr diff:*)",
|
|
57
|
+
"Bash(gh pr checks:*)",
|
|
58
|
+
"Bash(gh issue view:*)",
|
|
59
|
+
"Bash(gh issue list:*)",
|
|
60
|
+
"Bash(gh run list:*)",
|
|
61
|
+
"Bash(gh run view:*)",
|
|
62
|
+
"Bash(gh api repos/Precisa-Saude/*:*)",
|
|
63
|
+
|
|
64
|
+
"Bash(gh pr create:*)",
|
|
65
|
+
"Bash(gh pr comment:*)",
|
|
66
|
+
"Bash(gh api -X POST repos/Precisa-Saude/*/pulls/*/comments/*/replies:*)",
|
|
67
|
+
"Bash(gh api graphql:*)",
|
|
68
|
+
|
|
69
|
+
"Bash(nohup pnpm:*)",
|
|
70
|
+
|
|
71
|
+
"Bash(tail:*)",
|
|
72
|
+
"Bash(head:*)",
|
|
73
|
+
"Bash(curl -sI:*)",
|
|
74
|
+
"Bash(curl -s localhost:*)",
|
|
75
|
+
"Bash(curl -s 127.0.0.1:*)",
|
|
76
|
+
"Bash(curl -s http://localhost:*)",
|
|
77
|
+
"Bash(jq:*)",
|
|
78
|
+
"Bash(pkill -f:*)",
|
|
79
|
+
"Bash(sleep:*)",
|
|
80
|
+
"Bash(find:*)",
|
|
81
|
+
"Bash(rg:*)",
|
|
82
|
+
"Bash(mkdir:*)",
|
|
83
|
+
"Bash(touch:*)",
|
|
84
|
+
"Bash(rm /tmp/*:*)"
|
|
85
|
+
],
|
|
86
|
+
"deny": [
|
|
87
|
+
"Bash(git push --force:*)",
|
|
88
|
+
"Bash(git push -f:*)",
|
|
89
|
+
"Bash(git push --force-with-lease:*)",
|
|
90
|
+
"Bash(git push origin main:*)",
|
|
91
|
+
"Bash(git push origin master:*)",
|
|
92
|
+
"Bash(git push origin +:*)",
|
|
93
|
+
"Bash(git reset --hard:*)",
|
|
94
|
+
"Bash(git clean -fd:*)",
|
|
95
|
+
"Bash(git clean -fx:*)",
|
|
96
|
+
"Bash(git branch -D:*)",
|
|
97
|
+
|
|
98
|
+
"Bash(git commit --no-verify:*)",
|
|
99
|
+
"Bash(git push --no-verify:*)",
|
|
100
|
+
"Bash(git commit --no-gpg-sign:*)",
|
|
101
|
+
|
|
102
|
+
"Bash(git config --global:*)",
|
|
103
|
+
"Bash(git config --system:*)",
|
|
104
|
+
|
|
105
|
+
"Bash(npm publish:*)",
|
|
106
|
+
"Bash(pnpm publish:*)",
|
|
107
|
+
|
|
108
|
+
"Bash(pnpm add:*)",
|
|
109
|
+
"Bash(pnpm remove:*)",
|
|
110
|
+
"Bash(npm install *:*)",
|
|
111
|
+
"Bash(npm uninstall:*)",
|
|
112
|
+
|
|
113
|
+
"Bash(rm -rf /:*)",
|
|
114
|
+
"Bash(rm -rf ~:*)",
|
|
115
|
+
"Bash(rm -rf $HOME:*)",
|
|
116
|
+
"Bash(sudo:*)",
|
|
117
|
+
|
|
118
|
+
"Bash(aws s3 rm:*)",
|
|
119
|
+
"Bash(aws s3 sync * s3:*)",
|
|
120
|
+
"Bash(aws dynamodb delete-table:*)",
|
|
121
|
+
"Bash(aws dynamodb delete-item:*)",
|
|
122
|
+
"Bash(aws cognito-idp admin-create-user:*)",
|
|
123
|
+
"Bash(aws cognito-idp admin-set-user-password:*)",
|
|
124
|
+
"Bash(aws cognito-idp sign-up:*)",
|
|
125
|
+
"Bash(aws cognito-idp admin-delete-user:*)",
|
|
126
|
+
"Bash(aws ses send-email:*)"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -112,6 +112,16 @@ templates:
|
|
|
112
112
|
merge_strategy: overwrite
|
|
113
113
|
executable: true
|
|
114
114
|
|
|
115
|
+
# ─── Claude Code permissions baseline ─────────────────────────────────────
|
|
116
|
+
# Shared allow/deny list that unblocks documented AGENTS.md workflows
|
|
117
|
+
# (git feature branches, gh PR reviews, worktree CLI, pnpm/turbo) without
|
|
118
|
+
# prompting. Repo-specific or user-specific allows belong in
|
|
119
|
+
# .claude/settings.local.json (not synced, not committed).
|
|
120
|
+
- source: .claude/settings.json
|
|
121
|
+
target: .claude/settings.json
|
|
122
|
+
required_when: always
|
|
123
|
+
merge_strategy: overwrite
|
|
124
|
+
|
|
115
125
|
# ─── Claude Code sub-agents ───────────────────────────────────────────────
|
|
116
126
|
# Generic agents extracted from platform's .claude/agents/. Repo-specific
|
|
117
127
|
# agents (iOS QA, UI polish, perf audit for web) stay in the consumer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@precisa-saude/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Bootstrap and sync Precisa Saúde repositories — the `precisa` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/prompts": "^2.4.9",
|
|
46
46
|
"tsup": "^8.3.5",
|
|
47
47
|
"typescript": "~5.7.3",
|
|
48
|
-
"@precisa-saude/tsconfig": "1.
|
|
48
|
+
"@precisa-saude/tsconfig": "1.3.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=22.0.0"
|