next-issue 17.2.3 → 17.2.5
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 +23 -23
- package/dist/cli/skills.mjs +1 -1
- package/dist/shared/setup.mjs +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,29 +52,29 @@ npx -y next-issue@latest init
|
|
|
52
52
|
|
|
53
53
|
It writes `.next-issue/config.json` with the defaults, or keeps the file when it is there already, and installs the skills. A field that is not in the file keeps its default. See [Configuration](https://github.com/ravshansbox/next-issue/blob/main/packages/next-issue/docs/behaviour.md#configuration) for the details.
|
|
54
54
|
|
|
55
|
-
| Field | Default
|
|
56
|
-
| ----------------------- |
|
|
57
|
-
| `agentTimeoutMinutes` | `30`
|
|
58
|
-
| `checkGraceSeconds` | `60`
|
|
59
|
-
| `checkIntervalSeconds` | `15`
|
|
60
|
-
| `checkTimeoutMinutes` | `60`
|
|
61
|
-
| `checksTimeoutMinutes` | `30`
|
|
62
|
-
| `commandTimeoutMinutes` | `10`
|
|
63
|
-
| `concurrency` | `1`
|
|
64
|
-
| `diffMaxChars` | `60000`
|
|
65
|
-
| `huntCap` | `1`
|
|
66
|
-
| `ignoredChecks` | `[]`
|
|
67
|
-
| `issueLimit` | `100`
|
|
68
|
-
| `keepRunDays` | `7`
|
|
69
|
-
| `labels` | see the details
|
|
70
|
-
| `logMaxChars` | `20000`
|
|
71
|
-
| `maxCiFixes` | `5`
|
|
72
|
-
| `maxCommitFixes` | `10`
|
|
73
|
-
| `maxReviewRounds` | `5`
|
|
74
|
-
| `models` | `null` per role
|
|
75
|
-
| `remote` | `origin`
|
|
76
|
-
| `setupCommand` | from the lock file | A shell command that installs the dependencies in a worktree |
|
|
77
|
-
| `setupTimeoutMinutes` | `15`
|
|
55
|
+
| Field | Default | Effect |
|
|
56
|
+
| ----------------------- | ------------------------------------ | ------------------------------------------------------------------- |
|
|
57
|
+
| `agentTimeoutMinutes` | `30` | The limit for one agent call |
|
|
58
|
+
| `checkGraceSeconds` | `60` | The time to wait for checks to show on the base branch |
|
|
59
|
+
| `checkIntervalSeconds` | `15` | The time between two reads of the checks |
|
|
60
|
+
| `checkTimeoutMinutes` | `60` | The limit for one wait for the checks |
|
|
61
|
+
| `checksTimeoutMinutes` | `30` | The limit for one script of the local gate |
|
|
62
|
+
| `commandTimeoutMinutes` | `10` | The limit for one `git` or `gh` command |
|
|
63
|
+
| `concurrency` | `1` | The most issues that an agent works on at the same time |
|
|
64
|
+
| `diffMaxChars` | `60000` | The maximum length of the diff that the reviewer reads |
|
|
65
|
+
| `huntCap` | `1` | The number of waiting ready issues below which the hunter hunts |
|
|
66
|
+
| `ignoredChecks` | `[]` | Names of checks on the base branch that do not count |
|
|
67
|
+
| `issueLimit` | `100` | The most open issues to read, oldest first |
|
|
68
|
+
| `keepRunDays` | `7` | The number of days to keep the run files; `0` keeps them all |
|
|
69
|
+
| `labels` | see the details | The names of the labels that the harness reads and sets |
|
|
70
|
+
| `logMaxChars` | `20000` | The maximum length of the failed check logs for the fixer |
|
|
71
|
+
| `maxCiFixes` | `5` | The budget for check fixes per issue |
|
|
72
|
+
| `maxCommitFixes` | `10` | The budget for fixes of a commit that a git hook stopped, per issue |
|
|
73
|
+
| `maxReviewRounds` | `5` | The budget for review rounds per issue |
|
|
74
|
+
| `models` | `null` per role | The Claude model ID per agent role |
|
|
75
|
+
| `remote` | `origin` | The git remote for the repository and the branches |
|
|
76
|
+
| `setupCommand` | from the lock file or `package.json` | A shell command that installs the dependencies in a worktree |
|
|
77
|
+
| `setupTimeoutMinutes` | `15` | The limit for the setup command |
|
|
78
78
|
|
|
79
79
|
## Commands and options
|
|
80
80
|
|
package/dist/cli/skills.mjs
CHANGED
|
@@ -142,7 +142,7 @@ export async function refreshSkills(root) {
|
|
|
142
142
|
export async function untrackSkills(root) {
|
|
143
143
|
const folders = [];
|
|
144
144
|
for (const folder of PROJECT_SKILL_FOLDERS) {
|
|
145
|
-
if (await isTracked(root, folder)) {
|
|
145
|
+
if ((await isTracked(root, folder)) && (await isOwnSkill(join(root, folder)))) {
|
|
146
146
|
folders.push(folder);
|
|
147
147
|
}
|
|
148
148
|
}
|
package/dist/shared/setup.mjs
CHANGED
|
@@ -27,6 +27,9 @@ export async function detectSetupCommand(root) {
|
|
|
27
27
|
}
|
|
28
28
|
return command;
|
|
29
29
|
}
|
|
30
|
+
if (await exists(join(root, 'package.json'))) {
|
|
31
|
+
return 'npm install --no-package-lock';
|
|
32
|
+
}
|
|
30
33
|
return undefined;
|
|
31
34
|
}
|
|
32
35
|
export const SCRIPTS = ['format', 'lint', 'typecheck', 'test'];
|