autopilot-code 0.10.0 → 2.0.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 +11 -4
- package/package.json +1 -1
- package/scripts/run_autopilot.py +293 -139
- package/templates/autopilot.json +0 -1
- package/scripts/run_opencode_issue.sh +0 -679
package/README.md
CHANGED
|
@@ -35,17 +35,25 @@ Autopilot supports multiple agent types:
|
|
|
35
35
|
}
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
###
|
|
38
|
+
### Runner Configuration
|
|
39
|
+
|
|
40
|
+
**IMPORTANT**: The new Python runner is now the default. The legacy bash script is deprecated and will be removed in a future version.
|
|
39
41
|
|
|
40
42
|
The new runner provides enhanced progress tracking and session continuity:
|
|
41
43
|
|
|
42
44
|
```json
|
|
43
45
|
{
|
|
44
|
-
"useNewRunner": true,
|
|
45
46
|
"enablePlanningStep": true
|
|
46
47
|
}
|
|
47
48
|
```
|
|
48
49
|
|
|
50
|
+
**Deprecation Timeline**:
|
|
51
|
+
- **Current release**: New runner is default, deprecation warnings added
|
|
52
|
+
- **+1 minor release**: More prominent warnings for legacy runner
|
|
53
|
+
- **+1 major release**: Bash script will be removed entirely
|
|
54
|
+
|
|
55
|
+
If you see a deprecation warning, it means you're using the legacy bash runner. To migrate, remove `"useNewRunner": false` from your config (or set to `true`).
|
|
56
|
+
|
|
49
57
|
### Understanding Step Labels
|
|
50
58
|
|
|
51
59
|
When using the new runner, issues progress through these labels:
|
|
@@ -95,7 +103,6 @@ Example:
|
|
|
95
103
|
Notes:
|
|
96
104
|
- `repo` must be the GitHub `owner/name`.
|
|
97
105
|
- `agent` (optional, default `"opencode"`): set to `"opencode"` or `"claude"` to choose which coding agent to use.
|
|
98
|
-
- `useNewRunner` (optional, default `false`): enable the new runner with step labels and session continuity.
|
|
99
106
|
- `autoMerge` (optional, default `true`): if `true`, autopilot will automatically merge PRs after checks pass.
|
|
100
107
|
- `mergeMethod` (optional, default `"squash"`): merge strategy to use. Options: `"squash"`, `"merge"`, or `"rebase"`.
|
|
101
108
|
- `allowedMergeUsers` (required when `autoMerge=true`): list of GitHub usernames allowed to auto-merge. The runner verifies the authenticated GitHub user is in this list before merging.
|
|
@@ -105,7 +112,7 @@ Notes:
|
|
|
105
112
|
- `conflictResolutionMaxAttempts` (optional, default `3`): maximum number of attempts to resolve merge conflicts.
|
|
106
113
|
- `autoFixChecks` (optional, default `true`): if `true`, autopilot will attempt to automatically fix failing CI checks.
|
|
107
114
|
- `autoFixChecksMaxAttempts` (optional, default `3`): maximum number of attempts to fix failing checks.
|
|
108
|
-
- `enablePlanningStep` (optional, default `true`): if `true`, add an explicit planning phase before implementation
|
|
115
|
+
- `enablePlanningStep` (optional, default `true`): if `true`, add an explicit planning phase before implementation.
|
|
109
116
|
- `agentPath` (optional): custom path to agent executable (defaults to searching PATH).
|
|
110
117
|
|
|
111
118
|
## Workflow (labels)
|