opencode-autoresearch 3.3.0 → 3.3.1
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/.opencode-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/VERSION +1 -1
- package/dist/cli.js +8 -8
- package/dist/cli.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/helpers.d.ts +6 -1
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.js +77 -4
- package/dist/helpers.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/run-manager.d.ts.map +1 -1
- package/dist/run-manager.js +6 -6
- package/dist/run-manager.js.map +1 -1
- package/docs/ARCHITECTURE.md +2 -1
- package/docs/QUICKSTART.md +103 -0
- package/docs/superpowers/plans/2026-05-03-install-release-security.md +855 -0
- package/docs/superpowers/specs/2026-05-03-install-release-security-design.md +80 -0
- package/hooks/verify-package.sh +1 -1
- package/package.json +3 -2
- package/plugins/autoresearch.ts +13 -0
- package/AGENTS.md +0 -42
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Quick Start Guide
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install -g opencode-autoresearch
|
|
7
|
+
autoresearch doctor
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Basic Usage
|
|
11
|
+
|
|
12
|
+
### 1. Initialize a run
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
autoresearch init \
|
|
16
|
+
--goal "Improve response time" \
|
|
17
|
+
--metric "response_time_ms" \
|
|
18
|
+
--direction "lower" \
|
|
19
|
+
--verify "npm test"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 2. Check status
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
autoresearch status
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 3. Record an iteration
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
autoresearch record \
|
|
32
|
+
--decision keep \
|
|
33
|
+
--metric-value "120" \
|
|
34
|
+
--verify-status pass \
|
|
35
|
+
--change-summary "Optimized database queries" \
|
|
36
|
+
--labels "perf,database"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 4. View history
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
autoresearch history
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 5. Complete the run
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
autoresearch complete
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Background Runs
|
|
52
|
+
|
|
53
|
+
For overnight or long-running improvements:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
autoresearch init \
|
|
57
|
+
--goal "Refactor codebase" \
|
|
58
|
+
--metric "complexity" \
|
|
59
|
+
--direction "lower" \
|
|
60
|
+
--verify "npm test" \
|
|
61
|
+
--mode background \
|
|
62
|
+
--iterations 20
|
|
63
|
+
|
|
64
|
+
autoresearch launch
|
|
65
|
+
# ... work on other things ...
|
|
66
|
+
autoresearch status
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Self-Improvement
|
|
70
|
+
|
|
71
|
+
Run AutoResearch on itself:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
autoresearch init \
|
|
75
|
+
--goal "Improve test coverage" \
|
|
76
|
+
--metric "test_count" \
|
|
77
|
+
--direction "higher" \
|
|
78
|
+
--verify "npm test" \
|
|
79
|
+
--mode background
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Shell Completion
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Bash
|
|
86
|
+
autoresearch completion --shell bash >> ~/.bashrc
|
|
87
|
+
|
|
88
|
+
# Zsh
|
|
89
|
+
autoresearch completion --shell zsh >> ~/.zshrc
|
|
90
|
+
|
|
91
|
+
# Fish
|
|
92
|
+
autoresearch completion --shell fish >> ~/.config/fish/completions/autoresearch.fish
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Exporting Results
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# JSON export
|
|
99
|
+
autoresearch export --format json > results.json
|
|
100
|
+
|
|
101
|
+
# Markdown report
|
|
102
|
+
autoresearch report > report.md
|
|
103
|
+
```
|