@osfactory/har 0.20.0 → 0.22.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 +14 -0
- package/dist/index.js +1140 -529
- package/dist/templates/agent-skills/har-wt.md +11 -0
- package/dist/templates/har-boilerplate/agent-slot.sh +3 -1
- package/dist/templates/har-boilerplate/gitignore.template +3 -0
- package/dist/templates/har-boilerplate/launch.sh +10 -0
- package/dist/templates/har-boilerplate-cli/agent-slot.sh +3 -1
- package/dist/templates/har-boilerplate-cli/gitignore.template +3 -0
- package/dist/templates/har-boilerplate-cli/launch.sh +10 -0
- package/dist/templates/har-boilerplate-ios/agent-slot.sh +3 -1
- package/dist/templates/har-boilerplate-ios/gitignore.template +3 -0
- package/dist/templates/har-boilerplate-ios/launch.sh +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,10 @@ HAR is an open-source CLI and MCP control plane for project-owned development ha
|
|
|
14
14
|
|
|
15
15
|
HAR does not own the coding LLM and does not replace CI/CD. It gives agents a stable, machine-readable way to use the workflow your team already trusts.
|
|
16
16
|
|
|
17
|
+
Planning tools decide what to build. HAR binds that durable work identity to an
|
|
18
|
+
isolated execution attempt and verifiable evidence: runs, artifacts, telemetry,
|
|
19
|
+
and the exact Git tree that passed.
|
|
20
|
+
|
|
17
21
|
## How It Works
|
|
18
22
|
|
|
19
23
|
1. **Project-owned harness** — `.har/` contains editable scripts, docs, environment metadata, logs, artifacts, and optional stage definitions.
|
|
@@ -22,6 +26,9 @@ HAR does not own the coding LLM and does not replace CI/CD. It gives agents a st
|
|
|
22
26
|
4. **Generic stages** — setup, launch, verify, test, inspect, reset, teardown, and custom stages expose normalized status, logs, durations, artifacts, and URLs.
|
|
23
27
|
5. **Configurable agent slots** — parallel environment limits are defined in `.har/stages.json` (`agentSlots`) and `.har/harness.env`, not by the HAR CLI.
|
|
24
28
|
6. **Optional stage templates** — add workflows like Playwright with `har env add-stage playwright`. They compile to generic stages (`test`, `custom`, etc.), not hardcoded HAR APIs.
|
|
29
|
+
7. **Durable work evidence** — optionally launch with `--work-id` so slot sessions, retries, cost, and exact-tree validations remain attributable after teardown.
|
|
30
|
+
|
|
31
|
+

|
|
25
32
|
|
|
26
33
|
## Install
|
|
27
34
|
|
|
@@ -80,6 +87,13 @@ har env launch 1
|
|
|
80
87
|
har env verify 1
|
|
81
88
|
```
|
|
82
89
|
|
|
90
|
+
To correlate execution with an issue or ticket:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
har env launch 1 --work-id "github:acme/widget#123" --work-source github
|
|
94
|
+
har env complete 1
|
|
95
|
+
```
|
|
96
|
+
|
|
83
97
|
Shell fallback when the CLI is not installed: `./.har/setup-infra.sh`, `./.har/launch.sh 1`, `./.har/verify.sh 1`.
|
|
84
98
|
|
|
85
99
|
See [Harness profiles](#harness-profiles) above if your repo is a CLI/library or iOS app rather than a web app.
|