@christang/keel 5.90.0 → 5.90.2
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/README.md +5 -0
- package/README.zh-CN.md +5 -0
- package/assets/bootstrap/AGENTS.md +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/plugins/keel/.claude-plugin/plugin.json +1 -1
- package/plugins/keel/.codex-plugin/plugin.json +1 -1
- package/scripts/directory_tree.js +16 -0
- package/scripts/validate_plugin.py +39 -7
package/README.md
CHANGED
|
@@ -707,6 +707,11 @@ npm test # baseline + all scenarios in parallel
|
|
|
707
707
|
node scripts/bump_version.js <patch|minor|major> # bump every version pin at once
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
+
## Privacy
|
|
711
|
+
|
|
712
|
+
Keel runs no server and collects nothing itself. [PRIVACY.md](PRIVACY.md) lists what it stores on your
|
|
713
|
+
machine and what can leave it, including the bundled OpenSpec CLI's telemetry and how to turn it off.
|
|
714
|
+
|
|
710
715
|
## License
|
|
711
716
|
|
|
712
717
|
[MIT](LICENSE) © 2026 TanglmChris. See the **[中文完整手册](README.zh-CN.md)** for the full
|
package/README.zh-CN.md
CHANGED
|
@@ -286,6 +286,11 @@ node scripts/run_python.js scripts/validate_plugin.py --scenario core-gates #
|
|
|
286
286
|
node scripts/bump_version.js <patch|minor|major> # 一次改齐所有版本 pin
|
|
287
287
|
```
|
|
288
288
|
|
|
289
|
+
## 隐私
|
|
290
|
+
|
|
291
|
+
Keel 不运行服务器,自身不收集任何数据。[PRIVACY.md](PRIVACY.md) 列出它在本机存什么、什么会离开本机,
|
|
292
|
+
包括内置 OpenSpec CLI 的遥测及关闭方法。
|
|
293
|
+
|
|
289
294
|
## License
|
|
290
295
|
|
|
291
296
|
[MIT](LICENSE) © 2026 TanglmChris · 版本历史见 [keel/CHANGELOG.md](keel/CHANGELOG.md)。
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christang/keel",
|
|
3
|
-
"version": "5.90.
|
|
3
|
+
"version": "5.90.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@christang/keel",
|
|
9
|
-
"version": "5.90.
|
|
9
|
+
"version": "5.90.2",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@fission-ai/openspec": "^1.4.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keel",
|
|
3
|
-
"version": "5.90.
|
|
3
|
+
"version": "5.90.2",
|
|
4
4
|
"description": "Keel OpenSpec execution discipline: stateless continuity, task capsules, deterministic gates, and expectation alignment for Codex and Claude Code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TanglmChris",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keel",
|
|
3
|
-
"version": "5.90.
|
|
3
|
+
"version": "5.90.2",
|
|
4
4
|
"description": "Keel OpenSpec execution discipline: stateless continuity, task capsules, deterministic gates, and expectation alignment for Codex and Claude Code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TanglmChris",
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
// The plugin tree Anthropic's plugin directory lists (#175).
|
|
5
5
|
//
|
|
6
|
+
// It is the npm package less the scripts only development uses, with the
|
|
7
|
+
// manifest renamed and given a homepage and a privacy policy, plus an icon.
|
|
8
|
+
//
|
|
6
9
|
// The directory reads `.claude-plugin/plugin.json` from a branch of a GitHub
|
|
7
10
|
// repository and scans every file it finds there. The name `keel` belongs to
|
|
8
11
|
// another directory listing, and the whole repository is more than the
|
|
@@ -23,6 +26,12 @@ const { spawnSync } = require("child_process");
|
|
|
23
26
|
|
|
24
27
|
const ROOT = path.resolve(__dirname, "..");
|
|
25
28
|
const DIRECTORY_NAME = "keel-openspec";
|
|
29
|
+
const HOMEPAGE = "https://github.com/TanglmChris/keel";
|
|
30
|
+
const PRIVACY_POLICY = `${HOMEPAGE}/blob/main/PRIVACY.md`;
|
|
31
|
+
// The scripts the shipped code runs. The rest of `scripts/` is for developing
|
|
32
|
+
// Keel — the test suite, the release helpers, this builder — and only adds
|
|
33
|
+
// files a reviewer must read for a plugin that never runs them.
|
|
34
|
+
const RUNTIME_SCRIPTS = new Set(["run_python.js", "install_to_repo.py"]);
|
|
26
35
|
const ICON = path.join(ROOT, "assets", "directory", "icon.png");
|
|
27
36
|
|
|
28
37
|
function fail(message) {
|
|
@@ -58,10 +67,17 @@ function build(out) {
|
|
|
58
67
|
} finally {
|
|
59
68
|
fs.rmSync(temp, { recursive: true, force: true });
|
|
60
69
|
}
|
|
70
|
+
for (const entry of fs.readdirSync(path.join(target, "scripts"))) {
|
|
71
|
+
if (!RUNTIME_SCRIPTS.has(entry)) {
|
|
72
|
+
fs.rmSync(path.join(target, "scripts", entry), { recursive: true, force: true });
|
|
73
|
+
}
|
|
74
|
+
}
|
|
61
75
|
const manifest = JSON.parse(
|
|
62
76
|
fs.readFileSync(path.join(ROOT, ".claude-plugin", "plugin.json"), "utf8")
|
|
63
77
|
);
|
|
64
78
|
manifest.name = DIRECTORY_NAME;
|
|
79
|
+
manifest.homepage = HOMEPAGE;
|
|
80
|
+
manifest.privacyPolicyUrl = PRIVACY_POLICY;
|
|
65
81
|
fs.mkdirSync(path.join(target, ".claude-plugin"), { recursive: true });
|
|
66
82
|
fs.writeFileSync(
|
|
67
83
|
path.join(target, ".claude-plugin", "plugin.json"),
|
|
@@ -47,8 +47,8 @@ REQUIRED_SCRIPTS = [
|
|
|
47
47
|
"scripts/validate_plugin.py",
|
|
48
48
|
]
|
|
49
49
|
|
|
50
|
-
PACKAGE_VERSION = "5.90.
|
|
51
|
-
PROTOCOL_VERSION = "5.90.
|
|
50
|
+
PACKAGE_VERSION = "5.90.2"
|
|
51
|
+
PROTOCOL_VERSION = "5.90.2"
|
|
52
52
|
LEGACY_MANAGED_START = "<!-- keel:start version=2.1 -->"
|
|
53
53
|
OPENSPEC_SCHEMA_NAME = "keel-spec-driven"
|
|
54
54
|
# Mirrors KEEL_PACKAGE_NAME in scripts/install_to_repo.py, one of the two
|
|
@@ -19511,18 +19511,50 @@ def validate_directory_tree_is_the_package_renamed_scenario() -> int:
|
|
|
19511
19511
|
report(f"{label} the build failed: {built.stdout}{built.stderr}")
|
|
19512
19512
|
return 1
|
|
19513
19513
|
files = {p.relative_to(tree).as_posix() for p in tree.rglob("*") if p.is_file()}
|
|
19514
|
-
|
|
19514
|
+
runtime_scripts = {"scripts/run_python.js", "scripts/install_to_repo.py"}
|
|
19515
|
+
expected = {p for p in npm_pack_paths() if not p.startswith("scripts/") or p in runtime_scripts}
|
|
19516
|
+
expected |= {".claude-plugin/plugin.json", ".claude-plugin/icon.png"}
|
|
19515
19517
|
if files != expected:
|
|
19516
|
-
report(f"{label} the tree is not the npm package
|
|
19517
|
-
f"extra={sorted(files - expected)!r} missing={sorted(expected - files)!r}")
|
|
19518
|
+
report(f"{label} the tree is not the npm package less development scripts, plus the "
|
|
19519
|
+
f"manifest and icon: extra={sorted(files - expected)!r} missing={sorted(expected - files)!r}")
|
|
19518
19520
|
return 1
|
|
19519
19521
|
root_manifest = json.loads((ROOT / ".claude-plugin/plugin.json").read_text(encoding="utf-8"))
|
|
19520
19522
|
manifest = json.loads((tree / ".claude-plugin/plugin.json").read_text(encoding="utf-8"))
|
|
19521
19523
|
if manifest.get("name") != "keel-openspec":
|
|
19522
19524
|
report(f"{label} the tree manifest is named {manifest.get('name')!r}, not keel-openspec.")
|
|
19523
19525
|
return 1
|
|
19524
|
-
if
|
|
19525
|
-
report(f"{label} the tree manifest
|
|
19526
|
+
if manifest.get("homepage") != "https://github.com/TanglmChris/keel":
|
|
19527
|
+
report(f"{label} the tree manifest's homepage is {manifest.get('homepage')!r}.")
|
|
19528
|
+
return 1
|
|
19529
|
+
policy = "https://github.com/TanglmChris/keel/blob/main/PRIVACY.md"
|
|
19530
|
+
if manifest.get("privacyPolicyUrl") != policy:
|
|
19531
|
+
report(f"{label} the tree manifest's privacyPolicyUrl is {manifest.get('privacyPolicyUrl')!r}, not {policy}.")
|
|
19532
|
+
return 1
|
|
19533
|
+
if not (ROOT / "PRIVACY.md").is_file():
|
|
19534
|
+
report(f"{label} the privacyPolicyUrl names PRIVACY.md, which the repository does not have.")
|
|
19535
|
+
return 1
|
|
19536
|
+
added = ("name", "homepage", "privacyPolicyUrl")
|
|
19537
|
+
renamed = {k: v for k, v in manifest.items() if k not in added}
|
|
19538
|
+
if renamed != {k: v for k, v in root_manifest.items() if k not in added}:
|
|
19539
|
+
report(f"{label} the tree manifest differs from the root manifest beyond name, homepage, and privacyPolicyUrl.")
|
|
19540
|
+
return 1
|
|
19541
|
+
version = json.loads((ROOT / "package.json").read_text(encoding="utf-8"))["version"]
|
|
19542
|
+
cli = subprocess.run(["node", str(tree / "bin/keel.js"), "--version"], text=True,
|
|
19543
|
+
capture_output=True, check=False)
|
|
19544
|
+
if cli.returncode != 0:
|
|
19545
|
+
report(f"{label} the tree's CLI does not run: exit={cli.returncode} {cli.stderr}")
|
|
19546
|
+
return 1
|
|
19547
|
+
if version not in cli.stdout:
|
|
19548
|
+
report(f"{label} the tree's CLI reports {cli.stdout.strip()!r}, not {version}.")
|
|
19549
|
+
return 1
|
|
19550
|
+
consumer = Path(raw) / "consumer"
|
|
19551
|
+
consumer.mkdir()
|
|
19552
|
+
subprocess.run(["git", "init", "-q", str(consumer)], check=True)
|
|
19553
|
+
install = subprocess.run(["node", str(tree / "bin/keel.js"), "--install", "--target", "claude",
|
|
19554
|
+
"--dry-run"], cwd=consumer, text=True, capture_output=True, check=False)
|
|
19555
|
+
if install.returncode != 0:
|
|
19556
|
+
report(f"{label} the tree's CLI cannot plan an install: exit={install.returncode} "
|
|
19557
|
+
f"{install.stdout[-400:]}{install.stderr[-400:]}")
|
|
19526
19558
|
return 1
|
|
19527
19559
|
if root_manifest.get("name") != "keel":
|
|
19528
19560
|
report(f"{label} the repository's root manifest no longer names keel: {root_manifest.get('name')!r}")
|