harnessed 3.2.0 → 3.3.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/README.md +36 -35
- package/dist/cli.mjs +10 -38
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/workflows/auto/SKILL.md +4 -6
- package/workflows/auto/workflow.yaml +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,OA8Fb,CAAA;;;AC3FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,OA8Fb,CAAA;;;AC3FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.3.0\",\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 },\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 \"manifests\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"README.md\",\n \"LICENSE\",\n \"NOTICE\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup\",\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 \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\"\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 \"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 \"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"]}
|
package/package.json
CHANGED
package/workflows/auto/SKILL.md
CHANGED
|
@@ -9,8 +9,8 @@ description: |
|
|
|
9
9
|
schema_version: harnessed.workflow.v3 with delegates_to (6 sub: research conditional order 0 +
|
|
10
10
|
4 stage-master order 1-4 + retro mandatory order 5) + disciplines_applied (6 default)
|
|
11
11
|
+ tools_available (agent-teams-create + planning-with-files)。Fail-fast default; opt-in
|
|
12
|
-
`--staged` flag
|
|
13
|
-
|
|
12
|
+
`--staged` flag 重现 stage gate UX (每 stage 完停 user review)。
|
|
13
|
+
Triggered by slash command `/auto` (bare per ADR 0030 namespace policy D-02 LOCK)
|
|
14
14
|
after `harnessed setup`.
|
|
15
15
|
trigger_phrases:
|
|
16
16
|
- "auto"
|
|
@@ -64,9 +64,7 @@ K8 ctx single snapshot:auto top-level invoke 1 snapshot, pass to all 6 spawn
|
|
|
64
64
|
|
|
65
65
|
## Optional flag
|
|
66
66
|
|
|
67
|
-
- `--staged` opt-in
|
|
68
|
-
后跑下 stage (重现 v3.0.x stage gate UX)
|
|
69
|
-
- `--pause-between-stages` alias (backward-compat sister v3.1.0 — 仍 work for 旧脚本不破)
|
|
67
|
+
- `--staged` opt-in: 每 stage-master 跑完停, 等用户 review/confirm 后跑下 stage (stage gate UX)
|
|
70
68
|
|
|
71
69
|
## When to use `/auto` vs 4 stage-master 手动
|
|
72
70
|
|
|
@@ -103,7 +101,7 @@ Sister `workflows/capabilities.yaml`:
|
|
|
103
101
|
- Slash command: `/auto <feature description>` (bare per ADR 0030 namespace policy D-02 LOCK
|
|
104
102
|
after `harnessed setup`)
|
|
105
103
|
- 4 stage-master `/discuss /plan /task /verify` 仍可独立 invoke — `/auto` 是 opt-in NEW workflow
|
|
106
|
-
- `--staged`
|
|
104
|
+
- `--staged` opt-in for stage gate UX (每 stage 完停 user review)
|
|
107
105
|
|
|
108
106
|
## References
|
|
109
107
|
|
|
@@ -32,7 +32,7 @@ description: |
|
|
|
32
32
|
/ well-defined feature OR hands-off use case; 关键 PR / 大重构推荐分阶段手动 (`/discuss` →
|
|
33
33
|
`/plan` → `/task` → `/verify`)。AI 自动判断需求复杂度,大需求建议切 `--staged` 模式 (每 stage
|
|
34
34
|
完停 review)。Fail-fast default:任一 stage fail 立即停, `harnessed resume` 续。Opt-in
|
|
35
|
-
`--staged` flag
|
|
35
|
+
`--staged` flag 重现 stage gate UX (每 stage 完停 user review)。
|
|
36
36
|
|
|
37
37
|
disciplines_applied: [karpathy, output-style, language, operational, priority, protocols]
|
|
38
38
|
tools_available:
|