harnessed 5.0.8 → 5.0.10
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 +13 -0
- package/bin/harnessed-inject-state.mjs +1 -1
- package/bin/harnessed-update-reminder-worker.mjs +1 -1
- package/bin/harnessed-update-reminder.mjs +1 -1
- package/dist/cli.mjs +5 -5
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/tools/playwright-cli.yaml +13 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,QA+Gb,CAAA;;;AC5GO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"5.0.10\",\n \"description\": \"AI coding harness package manager + composition orchestrator\",\n \"type\": \"module\",\n \"license\": \"Apache-2.0\",\n \"author\": \"easyinplay\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/easyinplay/harnessed.git\"\n },\n \"homepage\": \"https://github.com/easyinplay/harnessed#readme\",\n \"bugs\": \"https://github.com/easyinplay/harnessed/issues\",\n \"keywords\": [\n \"claude-code\",\n \"ai-harness\",\n \"package-manager\",\n \"composition\",\n \"skill-pack\",\n \"mcp\",\n \"orchestrator\"\n ],\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"packageManager\": \"pnpm@10.12.0\",\n \"bin\": {\n \"harnessed\": \"./dist/cli.mjs\",\n \"harnessed-inject-state\": \"./bin/harnessed-inject-state.mjs\"\n },\n \"main\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"default\": \"./dist/index.mjs\"\n },\n \"./schemas\": {\n \"types\": \"./dist/schemas/index.d.ts\",\n \"import\": \"./dist/schemas/index.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"bin\",\n \"manifests\",\n \"messages\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"CHANGELOG.md\",\n \"README.md\",\n \"README-en.md\",\n \"README-zh.md\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.md\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup && node ./scripts/build-hooks.mjs\",\n \"prepack\": \"npm run build\",\n \"build:hooks\": \"node ./scripts/build-hooks.mjs\",\n \"build:schema\": \"node ./scripts/build-schema.mjs\",\n \"validate:schema\": \"node ./scripts/validate-schema.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"test\": \"vitest run --passWithNoTests\",\n \"test:watch\": \"vitest\",\n \"test:coverage\": \"vitest run --coverage --passWithNoTests\",\n \"test:codex-live\": \"node ./scripts/codex-live/run.mjs\",\n \"bench\": \"vitest bench --run\",\n \"bench:runtime\": \"node scripts/benchmark-runtime.mjs\",\n \"test:runtime-channels\": \"node scripts/runtime-channel-smoke.mjs\",\n \"test:docs\": \"node --test tests/docs/install-channels.contract.mjs\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\",\n \"build:binary\": \"bun scripts/build-binary.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.142\",\n \"@clack/prompts\": \"^0.10.1\",\n \"@sinclair/typebox\": \"^0.34.49\",\n \"ajv\": \"^8.20.0\",\n \"ajv-errors\": \"^3.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^13.0.0\",\n \"diff\": \"^9.0.0\",\n \"expr-eval\": \"^2.0.2\",\n \"picocolors\": \"^1.1.1\",\n \"proper-lockfile\": \"^4.1.2\",\n \"smol-toml\": \"^1.9.1\",\n \"undici\": \"^8.12.1\",\n \"yaml\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@biomejs/biome\": \"^2.0.0\",\n \"@types/node\": \"^22.10.0\",\n \"@types/proper-lockfile\": \"^4.1.4\",\n \"@vitest/coverage-v8\": \"^4.0.0\",\n \"esbuild\": \"0.27.7\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^4.0.0\"\n },\n \"pnpm\": {\n \"onlyBuiltDependencies\": [\n \"esbuild\"\n ]\n }\n}\n","// Main library entry — re-exports public APIs.\n// phase 1.1 batch 1: skeleton only; schema validator wired in batch 2 (T3+).\n\nimport pkg from '../package.json' with { type: 'json' }\n\nexport const VERSION = pkg.version\n"]}
|
|
@@ -18,9 +18,13 @@ spec:
|
|
|
18
18
|
install_type: npm
|
|
19
19
|
install:
|
|
20
20
|
method: npm-cli
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
# The version is a RANGE, not an exact pin: the CLI is verified by capability
|
|
22
|
+
# (see spec.verify), and an exact pin turned every host that already had a
|
|
23
|
+
# newer 0.1.x patch into a red component. The range is quoted so cmd.exe does
|
|
24
|
+
# not eat the caret as an escape character.
|
|
25
|
+
cmd: "npm install -g \"@playwright/cli@^0.1.22\" && playwright-cli install-browser chromium"
|
|
26
|
+
npm_version: ^0.1.22
|
|
27
|
+
idempotent_check: 'playwright-cli --version | grep -E "^0\.1\.(2[2-9]|[3-9][0-9]|[0-9]{3,})$"'
|
|
24
28
|
verify:
|
|
25
29
|
# npm-cli runs this in neutralCwd, outside the user's project.
|
|
26
30
|
# Read-only metadata verification; never start a browser or daemon here.
|
|
@@ -37,7 +41,9 @@ spec:
|
|
|
37
41
|
if (/^### Error/m.test(result.stdout)) throw new Error("Playwright CLI reported an error");
|
|
38
42
|
return result.stdout;
|
|
39
43
|
}
|
|
40
|
-
|
|
44
|
+
const version = run(["--version"]).trim();
|
|
45
|
+
const release = /^0\.1\.(\d+)$/.exec(version);
|
|
46
|
+
if (!release || Number(release[1]) < 22) throw new Error("Expected playwright-cli 0.1.22 or a newer 0.1.x, got " + version);
|
|
41
47
|
const dryRun = run(["install-browser", "chromium", "--dry-run"]);
|
|
42
48
|
if (!/\(playwright chromium v\d+\)/.test(dryRun) || !/^\s*Install location:\s*\S.*$/m.test(dryRun)) throw new Error("Chromium installation metadata is missing");
|
|
43
49
|
const listed = run(["install-browser", "chromium", "--list"]);
|
|
@@ -61,14 +67,14 @@ spec:
|
|
|
61
67
|
expected_exit_code: 0
|
|
62
68
|
uninstall:
|
|
63
69
|
cmd: "npm uninstall -g @playwright/cli"
|
|
64
|
-
# Playwright CLI 0.1.
|
|
70
|
+
# Playwright CLI 0.1.x has no uninstall-browser command. Its ms-playwright
|
|
65
71
|
# cache is shared by every Playwright installation on the host, so harnessed
|
|
66
72
|
# deliberately leaves browser binaries in place rather than deleting data it
|
|
67
73
|
# cannot safely attribute to this component.
|
|
68
74
|
upstream_health:
|
|
69
75
|
stability: unstable
|
|
70
|
-
last_check: "2026-
|
|
71
|
-
last_known_good_version: "0.1.
|
|
76
|
+
last_check: "2026-11-02"
|
|
77
|
+
last_known_good_version: "0.1.23"
|
|
72
78
|
fallback_action: warn
|
|
73
79
|
signed_by: easyinplay
|
|
74
80
|
platforms:
|