@gianfrancopiana/openclaw-autoresearch 1.0.6 → 1.0.7
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 +6 -4
- package/RELEASING.md +8 -3
- package/openclaw.plugin.json +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Three tools drive the loop:
|
|
|
16
16
|
| `run_experiment` | Executes a shell command, times it, captures stdout/stderr, parses `METRIC name=number` lines, and opens a pending experiment window that must be logged before another run can start. |
|
|
17
17
|
| `log_experiment` | Records the pending run. The first logged run in a segment is tagged as the baseline automatically. `keep` auto-commits to git. `discard`/`crash` log without committing, and `discard` now requires an `idea` note that is appended to `autoresearch.ideas.md`. If the prior `run_experiment` captured the primary metric, `log_experiment` can infer `commit` and `metric` automatically. After 3+ runs in a segment, it also reports a confidence score for the best improvement versus noise. |
|
|
18
18
|
|
|
19
|
-
Each tool also accepts an optional `cwd` so callers can target a nested
|
|
19
|
+
In OpenClaw sessions, the plugin uses the host-provided `workspaceDir` as the normal repo root. Each tool also accepts an optional `cwd` so callers can explicitly target a nested or non-session repo when needed.
|
|
20
20
|
|
|
21
21
|
All state lives in six repo-root files:
|
|
22
22
|
|
|
@@ -33,7 +33,7 @@ The design is file-first: any agent can pick up the repo-root files and continue
|
|
|
33
33
|
|
|
34
34
|
## Install
|
|
35
35
|
|
|
36
|
-
Requires OpenClaw `2026.
|
|
36
|
+
Requires OpenClaw `2026.4.25` or newer.
|
|
37
37
|
Needs bash, git, and a git repo.
|
|
38
38
|
|
|
39
39
|
Use OpenClaw's plugin installer:
|
|
@@ -72,7 +72,7 @@ after restart. OpenClaw reads the package metadata, loads the root
|
|
|
72
72
|
Verify:
|
|
73
73
|
|
|
74
74
|
- skill: `autoresearch-create`
|
|
75
|
-
- tools: `init_experiment`, `run_experiment`, `log_experiment`
|
|
75
|
+
- tools: `init_experiment`, `run_experiment`, `log_experiment`, `autoresearch_status`
|
|
76
76
|
- command: `/autoresearch` (recommended)
|
|
77
77
|
- direct skill fallback: `/skill autoresearch-create`
|
|
78
78
|
|
|
@@ -123,15 +123,17 @@ This port preserves upstream semantics, names, and file contracts while adapting
|
|
|
123
123
|
|
|
124
124
|
```bash
|
|
125
125
|
npm install --include=dev
|
|
126
|
+
npm run check:release-metadata
|
|
126
127
|
npm run typecheck
|
|
127
128
|
npm test
|
|
128
129
|
npm run validate
|
|
129
130
|
npm run release:verify
|
|
131
|
+
npm run smoke:openclaw-host -- /absolute/path/to/openclaw
|
|
130
132
|
```
|
|
131
133
|
|
|
132
134
|
Release instructions, including npm 2FA publishing, live in [`RELEASING.md`](RELEASING.md).
|
|
133
135
|
|
|
134
|
-
The local test shim supports typechecking and tests without a full OpenClaw host checkout. Runtime behavior depends on a real OpenClaw host.
|
|
136
|
+
The local test shim supports typechecking and tests without a full OpenClaw host checkout. Runtime behavior depends on a real OpenClaw host, so run the host smoke against a current checkout before release.
|
|
135
137
|
|
|
136
138
|
## License
|
|
137
139
|
|
package/RELEASING.md
CHANGED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## Release
|
|
9
9
|
|
|
10
|
-
1. Update the package version in `package.json
|
|
11
|
-
2. Sync the plugin manifest metadata:
|
|
10
|
+
1. Update the package version in `package.json`, then sync generated metadata:
|
|
12
11
|
|
|
13
12
|
```bash
|
|
14
13
|
npm run sync:release-metadata
|
|
@@ -17,7 +16,7 @@
|
|
|
17
16
|
If you change the minimum supported OpenClaw version, keep
|
|
18
17
|
`openclaw.install`, `openclaw.compat`, and `openclaw.build` aligned too.
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
2. Run the release checks:
|
|
21
20
|
|
|
22
21
|
```bash
|
|
23
22
|
npm install
|
|
@@ -27,6 +26,12 @@
|
|
|
27
26
|
CI runs the same release verification, so metadata drift should fail before
|
|
28
27
|
publish.
|
|
29
28
|
|
|
29
|
+
3. Smoke-test against a current local OpenClaw checkout:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm run smoke:openclaw-host -- /absolute/path/to/openclaw
|
|
33
|
+
```
|
|
34
|
+
|
|
30
35
|
4. Publish:
|
|
31
36
|
|
|
32
37
|
```bash
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gianfrancopiana/openclaw-autoresearch",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Faithful OpenClaw port of pi-autoresearch.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
11
11
|
"test": "vitest run",
|
|
12
12
|
"validate": "npm run check:release-metadata && npm run typecheck && npm run test",
|
|
13
|
-
"release:verify": "npm run validate && npm pack --dry-run"
|
|
13
|
+
"release:verify": "npm run validate && npm pack --dry-run",
|
|
14
|
+
"smoke:openclaw-host": "node ./scripts/smoke-openclaw-host.mjs"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"openclaw",
|
|
@@ -59,13 +60,13 @@
|
|
|
59
60
|
"./index.ts"
|
|
60
61
|
],
|
|
61
62
|
"install": {
|
|
62
|
-
"minHostVersion": ">=2026.
|
|
63
|
+
"minHostVersion": ">=2026.4.25"
|
|
63
64
|
},
|
|
64
65
|
"compat": {
|
|
65
|
-
"pluginApi": ">=2026.
|
|
66
|
+
"pluginApi": ">=2026.4.25"
|
|
66
67
|
},
|
|
67
68
|
"build": {
|
|
68
|
-
"openclawVersion": "2026.
|
|
69
|
+
"openclawVersion": "2026.4.25"
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|