@gianfrancopiana/openclaw-autoresearch 1.0.6 → 1.0.8
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 +7 -4
- package/RELEASING.md +17 -6
- package/openclaw.plugin.json +1 -1
- package/package.json +14 -6
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,18 @@ 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
|
|
132
|
+
npm run smoke:registry-openclaw-host -- <published-version> /absolute/path/to/openclaw
|
|
130
133
|
```
|
|
131
134
|
|
|
132
135
|
Release instructions, including npm 2FA publishing, live in [`RELEASING.md`](RELEASING.md).
|
|
133
136
|
|
|
134
|
-
The local test shim supports typechecking and tests without a full OpenClaw host checkout. Runtime behavior depends on a real OpenClaw host.
|
|
137
|
+
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
138
|
|
|
136
139
|
## License
|
|
137
140
|
|
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,15 +16,21 @@
|
|
|
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
|
|
24
23
|
npm run release:verify
|
|
25
24
|
```
|
|
26
25
|
|
|
27
|
-
CI runs the same release verification,
|
|
28
|
-
publish
|
|
26
|
+
CI runs the same release verification, and `prepublishOnly` runs it again
|
|
27
|
+
before `npm publish`.
|
|
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
|
+
```
|
|
29
34
|
|
|
30
35
|
4. Publish:
|
|
31
36
|
|
|
@@ -35,7 +40,13 @@
|
|
|
35
40
|
|
|
36
41
|
Replace `123456` with the current code from your authenticator app.
|
|
37
42
|
|
|
38
|
-
5. Verify
|
|
43
|
+
5. Verify the published registry tarball against the same host:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm run smoke:registry-openclaw-host -- <published-version> /absolute/path/to/openclaw
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
6. Verify install:
|
|
39
50
|
|
|
40
51
|
```bash
|
|
41
52
|
openclaw plugins install @gianfrancopiana/openclaw-autoresearch
|
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.8",
|
|
4
4
|
"description": "Faithful OpenClaw port of pi-autoresearch.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -10,7 +10,10 @@
|
|
|
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
|
+
"prepublishOnly": "npm run release:verify",
|
|
15
|
+
"smoke:openclaw-host": "node ./scripts/smoke-openclaw-host.mjs",
|
|
16
|
+
"smoke:registry-openclaw-host": "node ./scripts/smoke-openclaw-registry.mjs"
|
|
14
17
|
},
|
|
15
18
|
"keywords": [
|
|
16
19
|
"openclaw",
|
|
@@ -49,7 +52,12 @@
|
|
|
49
52
|
"@sinclair/typebox": "0.34.48"
|
|
50
53
|
},
|
|
51
54
|
"peerDependencies": {
|
|
52
|
-
"openclaw": "
|
|
55
|
+
"openclaw": ">=2026.4.25"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"openclaw": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
53
61
|
},
|
|
54
62
|
"publishConfig": {
|
|
55
63
|
"access": "public"
|
|
@@ -59,13 +67,13 @@
|
|
|
59
67
|
"./index.ts"
|
|
60
68
|
],
|
|
61
69
|
"install": {
|
|
62
|
-
"minHostVersion": ">=2026.
|
|
70
|
+
"minHostVersion": ">=2026.4.25"
|
|
63
71
|
},
|
|
64
72
|
"compat": {
|
|
65
|
-
"pluginApi": ">=2026.
|
|
73
|
+
"pluginApi": ">=2026.4.25"
|
|
66
74
|
},
|
|
67
75
|
"build": {
|
|
68
|
-
"openclawVersion": "2026.
|
|
76
|
+
"openclawVersion": "2026.4.25"
|
|
69
77
|
}
|
|
70
78
|
}
|
|
71
79
|
}
|