oc-pilot 0.165.0 → 0.166.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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.166.0
4
+
5
+ - Add regression coverage proving MCP receipt creation returns the persisted receipt when configured project tests fail, while marking the tool result as an error.
6
+ - Full test suite: 946 passed; version 0.166.0.
7
+
3
8
  ## 0.165.0
4
9
 
5
10
  - Add full-profile MCP receipt creation with explicit per-call confirmation and server-side write permission; preserve saved receipt evidence on policy failure.
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.165.0";
1
+ export const VERSION = "0.166.0";
2
2
  //# sourceMappingURL=version.js.map
@@ -448,7 +448,7 @@ server. Add it to `~/.dsh/profiles/web/cordis.patch.yml`:
448
448
  serverName: oc_pilot
449
449
  transport: stdio
450
450
  command: npx
451
- args: ['-y', 'oc-pilot@0.165.0', 'mcp', '--cwd', '/absolute/path/to/project']
451
+ args: ['-y', 'oc-pilot@0.166.0', 'mcp', '--cwd', '/absolute/path/to/project']
452
452
  toolCallTimeoutMs: 300000
453
453
  ```
454
454
 
@@ -544,7 +544,7 @@ The repository also ships a composite action, so the whole gate is:
544
544
  - uses: actions/checkout@v4
545
545
  with:
546
546
  fetch-depth: 0
547
- - uses: MyNameIsNikki/oc-pilot@v0.165.0
547
+ - uses: MyNameIsNikki/oc-pilot@v0.166.0
548
548
  with:
549
549
  command: scan
550
550
  args: --base origin/${{ github.base_ref }} --fail-on-secrets
@@ -641,7 +641,7 @@ The repository ships `.pre-commit-hooks.yaml`, so the standard
641
641
  ```yaml
642
642
  repos:
643
643
  - repo: https://github.com/MyNameIsNikki/oc-pilot
644
- rev: v0.165.0
644
+ rev: v0.166.0
645
645
  hooks:
646
646
  - id: oc-pilot-secrets # oc-pilot scan --staged
647
647
  - id: oc-pilot-review # oc-pilot review --staged --fail-on critical --fail-on-secrets
package/docs/reference.md CHANGED
@@ -1042,7 +1042,7 @@ Start the server manually with an explicit project directory:
1042
1042
  ```bash
1043
1043
  oc-pilot-mcp --cwd /absolute/path/to/project
1044
1044
  # pinned for reproducibility:
1045
- npx -y oc-pilot@0.165.0 mcp --cwd /absolute/path/to/project
1045
+ npx -y oc-pilot@0.166.0 mcp --cwd /absolute/path/to/project
1046
1046
  ```
1047
1047
 
1048
1048
  The `diff` and `log` tool arguments are text, not file paths. `paths` and `files` are project-relative and cannot escape the project directory. `context` is literal text, not an `@file` reference. `base` must be a git ref. `lang`, `fail_on`, `repo_context`, and `no_secret_scan` are available where the corresponding CLI command supports them.
@@ -1217,7 +1217,7 @@ jobs:
1217
1217
  - uses: actions/checkout@v4
1218
1218
  with:
1219
1219
  fetch-depth: 0
1220
- - uses: MyNameIsNikki/oc-pilot@v0.165.0
1220
+ - uses: MyNameIsNikki/oc-pilot@v0.166.0
1221
1221
  with:
1222
1222
  command: scan
1223
1223
  args: --base origin/${{ github.base_ref }} --fail-on-secrets
@@ -1240,7 +1240,7 @@ jobs:
1240
1240
  - uses: actions/setup-node@v4
1241
1241
  with:
1242
1242
  node-version: 22
1243
- - run: npm install -g oc-pilot@0.165.0
1243
+ - run: npm install -g oc-pilot@0.166.0
1244
1244
  - run: oc-pilot scan --base origin/${{ github.base_ref }}
1245
1245
  - run: oc-pilot review --base origin/${{ github.base_ref }} --fail-on warning --fail-on-secrets --github
1246
1246
  env:
@@ -993,7 +993,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
993
993
  ```bash
994
994
  oc-pilot-mcp --cwd "C:\path\to\project"
995
995
  # версия зафиксирована для воспроизводимости:
996
- npx -y oc-pilot@0.165.0 mcp --cwd "C:\path\to\project"
996
+ npx -y oc-pilot@0.166.0 mcp --cwd "C:\path\to\project"
997
997
  ```
998
998
 
999
999
  Пример для Claude Code (`.mcp.json`):
@@ -1065,7 +1065,7 @@ jobs:
1065
1065
  - uses: actions/checkout@v4
1066
1066
  with:
1067
1067
  fetch-depth: 0
1068
- - uses: MyNameIsNikki/oc-pilot@v0.165.0
1068
+ - uses: MyNameIsNikki/oc-pilot@v0.166.0
1069
1069
  with:
1070
1070
  command: scan
1071
1071
  args: --base origin/${{ github.base_ref }} --fail-on-secrets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-pilot",
3
- "version": "0.165.0",
3
+ "version": "0.166.0",
4
4
  "description": "Local AI code review, tested fixes, test-failure analysis and secret scanning for agent CLIs",
5
5
  "type": "module",
6
6
  "repository": {
@@ -12,7 +12,7 @@ diff reviewed by a second model, blocking findings fixed, exit code checked.
12
12
  ## Setup
13
13
 
14
14
  ```bash
15
- npm i -g oc-pilot@0.165.0
15
+ npm i -g oc-pilot@0.166.0
16
16
  oc-pilot --version # requires 0.11+
17
17
  ```
18
18
 
@@ -12,7 +12,7 @@ derived from the actual diff, in the repository's own style.
12
12
  ## Setup
13
13
 
14
14
  ```bash
15
- npm i -g oc-pilot@0.165.0
15
+ npm i -g oc-pilot@0.166.0
16
16
  ```
17
17
 
18
18
  ## Workflow
@@ -13,7 +13,7 @@ skill checks all four before the change leaves the machine.
13
13
  ## Setup
14
14
 
15
15
  ```bash
16
- npm i -g oc-pilot@0.165.0
16
+ npm i -g oc-pilot@0.166.0
17
17
  oc-pilot init --preset security,devops
18
18
  ```
19
19
 
@@ -12,7 +12,7 @@ router will not catch it". Rules packs are how the second reviewer happens.
12
12
  ## Setup
13
13
 
14
14
  ```bash
15
- npm i -g oc-pilot@0.165.0
15
+ npm i -g oc-pilot@0.166.0
16
16
  ```
17
17
 
18
18
  ## Available packs
@@ -13,7 +13,7 @@ before any patch, and a verification step after it.
13
13
  ## Setup
14
14
 
15
15
  ```bash
16
- npm i -g oc-pilot@0.165.0
16
+ npm i -g oc-pilot@0.166.0
17
17
  ```
18
18
 
19
19
  ## Workflow