@auracheck-ai/cli 0.2.10 → 0.3.0-next.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024-present Bytedance, Inc. and its affiliates.
3
+ Copyright (c) 2026 AuraCheck
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/NOTICE ADDED
@@ -0,0 +1,39 @@
1
+ NOTICE
2
+
3
+ This package is AuraCheck's own code, licensed under the MIT License in
4
+ LICENSE (Copyright (c) 2026 AuraCheck).
5
+
6
+ Parts of it are derived from Midscene.js (https://github.com/web-infra-dev/midscene),
7
+ for example the YAML flow-item vocabulary and step rules it validates against.
8
+ Those parts remain under Midscene's original MIT License, reproduced below as
9
+ that license requires.
10
+
11
+ --------------------------------------------------------------------------------
12
+
13
+ MIT License
14
+
15
+ Copyright (c) 2024-present Bytedance, Inc. and its affiliates.
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all
25
+ copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ SOFTWARE.
34
+
35
+ --------------------------------------------------------------------------------
36
+
37
+ The secret-scanning rules of `auracheck review` (src/review/tools/secrets.ts)
38
+ adapt several rule regexes from gitleaks (https://github.com/gitleaks/gitleaks),
39
+ MIT License, Copyright (c) 2019 Zachary Rice.
package/README.md CHANGED
@@ -94,10 +94,19 @@ That's it. Open Claude Code and ask *"list auracheck features"* to confirm.
94
94
  | `auracheck init` | Just the bind step (writes `.sixseven/config.json`) |
95
95
  | `auracheck status` | Show binding + token validity + feature/testcase counts |
96
96
  | `auracheck doctor` | Diagnose config, token, backend reachability, project access |
97
+ | `auracheck review` | Review the current GitLab merge request from its pipeline (see below); `--dry-run` prints instead of posting |
97
98
  | `auracheck mcp` | Start MCP server on stdio (spawned by Claude Code; you don't run this directly). Works outside a bound repo too: project tools then take a `projectId` (see `auracheck.list_projects`); `--project <id>` sets a default |
98
99
 
99
100
  Every command above also works as `sixseven <command>` — same binary, same behavior.
100
101
 
102
+ ## PR review in GitLab CI
103
+
104
+ Add `include: [{ remote: https://space.auracheck.ai.id/ci/gitlab/auracheck-review.yml }]` to `.gitlab-ci.yml` and two masked CI/CD variables: `AURACHECK_TOKEN` (the AuraCheck project CI token, `67ci_…`) and `AURACHECK_GITLAB_TOKEN` (a project access token with `api` scope).
105
+ Every MR pipeline then runs `npx @auracheck-ai/cli review`: one summary note per MR, updated in place on each push, plus inline comments with suggestion blocks for the top findings, never posted twice.
106
+ Comment `@auracheck review`, `@auracheck full review` or `@auracheck help` on the MR to drive it by hand.
107
+ Tune it with `.auracheck.yaml` at the repo root (CodeRabbit key names; JSON schema in `schema/auracheck.schema.json`).
108
+ The job is `allow_failure`, so it never blocks a merge. Full guide: https://www.auracheck.ai.id/docs/pr-agent
109
+
101
110
  ### Advanced: manual MCP registration
102
111
 
103
112
  If you skipped the wizard's MCP step: