oc-pilot 0.155.0 → 0.157.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 +10 -0
- package/README.md +3 -3
- package/README.ru.md +2 -2
- package/dist/cli.test.js +4 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/flight.js +3 -2
- package/dist/commands/flight.js.map +1 -1
- package/dist/core/flight.js +9 -0
- package/dist/core/flight.js.map +1 -1
- package/dist/core/flight.test.js +11 -0
- package/dist/core/flight.test.js.map +1 -1
- package/dist/version.js +1 -1
- package/docs/integrations.md +3 -3
- package/package.json +13 -2
- package/skills/agent-self-review/SKILL.md +1 -1
- package/skills/commit-discipline/SKILL.md +1 -1
- package/skills/secure-diff-gate/SKILL.md +1 -1
- package/skills/stack-review-packs/SKILL.md +1 -1
- package/skills/test-failure-triage/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.157.0
|
|
4
|
+
|
|
5
|
+
- `flight checkpoint --label` теперь требует уникальную метку в полёте: повторная метка даёт код 2, чтобы ссылки `--to/--from`, `restore`, `replay`, `diff` и `bisect` не были двусмысленными.
|
|
6
|
+
- Добавлен `llms.txt` с кратким описанием проекта для AI-агентов и расширены npm-ключевые слова; HELP уточняет уникальность метки; 906 тестов; версия 0.157.0.
|
|
7
|
+
|
|
8
|
+
## 0.156.0
|
|
9
|
+
|
|
10
|
+
- `flight diff --bundle` теперь возвращает код 2 для повреждённого бандла, как и остальные команды чтения bundle.
|
|
11
|
+
- 905 тестов; версия 0.156.0.
|
|
12
|
+
|
|
3
13
|
## 0.155.0
|
|
4
14
|
|
|
5
15
|
- `flight diff --bundle <файл> [--to <метка|commit>]` показывает патч чекпоинта из экспортированного бандла без локального журнала.
|
package/README.md
CHANGED
|
@@ -1037,7 +1037,7 @@ Start the server manually with an explicit project directory:
|
|
|
1037
1037
|
```bash
|
|
1038
1038
|
oc-pilot-mcp --cwd /absolute/path/to/project
|
|
1039
1039
|
# pinned for reproducibility:
|
|
1040
|
-
npx -y oc-pilot@0.
|
|
1040
|
+
npx -y oc-pilot@0.157.0 mcp --cwd /absolute/path/to/project
|
|
1041
1041
|
```
|
|
1042
1042
|
|
|
1043
1043
|
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.
|
|
@@ -1212,7 +1212,7 @@ jobs:
|
|
|
1212
1212
|
- uses: actions/checkout@v4
|
|
1213
1213
|
with:
|
|
1214
1214
|
fetch-depth: 0
|
|
1215
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1215
|
+
- uses: MyNameIsNikki/oc-pilot@v0.157.0
|
|
1216
1216
|
with:
|
|
1217
1217
|
command: scan
|
|
1218
1218
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
|
@@ -1235,7 +1235,7 @@ jobs:
|
|
|
1235
1235
|
- uses: actions/setup-node@v4
|
|
1236
1236
|
with:
|
|
1237
1237
|
node-version: 22
|
|
1238
|
-
- run: npm install -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
1238
|
+
- run: npm install -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.157.0.tar.gz
|
|
1239
1239
|
- run: oc-pilot scan --base origin/${{ github.base_ref }}
|
|
1240
1240
|
- run: oc-pilot review --base origin/${{ github.base_ref }} --fail-on warning --fail-on-secrets --github
|
|
1241
1241
|
env:
|
package/README.ru.md
CHANGED
|
@@ -988,7 +988,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
|
|
|
988
988
|
```bash
|
|
989
989
|
oc-pilot-mcp --cwd "C:\path\to\project"
|
|
990
990
|
# версия зафиксирована для воспроизводимости:
|
|
991
|
-
npx -y oc-pilot@0.
|
|
991
|
+
npx -y oc-pilot@0.157.0 mcp --cwd "C:\path\to\project"
|
|
992
992
|
```
|
|
993
993
|
|
|
994
994
|
Пример для Claude Code (`.mcp.json`):
|
|
@@ -1060,7 +1060,7 @@ jobs:
|
|
|
1060
1060
|
- uses: actions/checkout@v4
|
|
1061
1061
|
with:
|
|
1062
1062
|
fetch-depth: 0
|
|
1063
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1063
|
+
- uses: MyNameIsNikki/oc-pilot@v0.157.0
|
|
1064
1064
|
with:
|
|
1065
1065
|
command: scan
|
|
1066
1066
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
package/dist/cli.test.js
CHANGED
|
@@ -1365,6 +1365,8 @@ test("flight records checkpoints, status, verify and end", () => {
|
|
|
1365
1365
|
const saved = JSON.parse(checkpoint.stdout);
|
|
1366
1366
|
assert.equal(saved.label, "after-b");
|
|
1367
1367
|
assert.match(saved.commit, /^[0-9a-f]{40}$/);
|
|
1368
|
+
const duplicateCheckpoint = runCli(["flight", "checkpoint", "--label", "after-b", "--json"], dir);
|
|
1369
|
+
assert.equal(duplicateCheckpoint.status, 2, duplicateCheckpoint.stderr);
|
|
1368
1370
|
const diff = runCli(["flight", "diff", "--json"], dir);
|
|
1369
1371
|
assert.equal(diff.status, 0, diff.stderr);
|
|
1370
1372
|
const changes = JSON.parse(diff.stdout);
|
|
@@ -1519,6 +1521,8 @@ test("flight records checkpoints, status, verify and end", () => {
|
|
|
1519
1521
|
assert.equal(summaryDigest.status, 2, summaryDigest.stderr);
|
|
1520
1522
|
const htmlDigest = runCli(["flight", "html", "--bundle", "bundle-digest.json", "--json"], dir);
|
|
1521
1523
|
assert.equal(htmlDigest.status, 2, htmlDigest.stderr);
|
|
1524
|
+
const diffDigest = runCli(["flight", "diff", "--bundle", "bundle-digest.json", "--to", "after-b", "--json"], dir);
|
|
1525
|
+
assert.equal(diffDigest.status, 2, diffDigest.stderr);
|
|
1522
1526
|
const filtered = runCli(["flight", "show", "--id", started.session.meta.id, "--kind", "note", "--json"], dir);
|
|
1523
1527
|
assert.equal(filtered.status, 0, filtered.stderr);
|
|
1524
1528
|
const filteredShow = JSON.parse(filtered.stdout);
|