next-issue 2.5.8 → 2.5.9
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 +3 -1
- package/dist/agents.mjs +1 -0
- package/dist/github.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,7 +249,9 @@ Three levels of console output:
|
|
|
249
249
|
level and the extensions from your pi settings, except the `pi-next-issue`
|
|
250
250
|
extension. The implementer and the fixer get the default tools of your pi
|
|
251
251
|
settings, the `grep`, `find` and `ls` tools and the tools of your
|
|
252
|
-
extensions. The reviewer gets all of them except `edit` and `write`.
|
|
252
|
+
extensions. The reviewer gets all of them except `edit` and `write`. The
|
|
253
|
+
agents run with `GIT_OPTIONAL_LOCKS=0`, so a `git status` from an agent or
|
|
254
|
+
an extension does not hold the index lock while the harness commits.
|
|
253
255
|
|
|
254
256
|
## Configuration
|
|
255
257
|
|
package/dist/agents.mjs
CHANGED
|
@@ -17,6 +17,7 @@ export async function runAgent(recorder, request) {
|
|
|
17
17
|
const runtime = request.runtime ?? {};
|
|
18
18
|
const agentDir = runtime.agentDir ?? getAgentDir();
|
|
19
19
|
const started = Date.now();
|
|
20
|
+
process.env.GIT_OPTIONAL_LOCKS = '0';
|
|
20
21
|
log.event('agent.start', { model: request.model, timeoutMs: request.timeoutMs }, 'normal');
|
|
21
22
|
const resourceLoader = new DefaultResourceLoader({
|
|
22
23
|
cwd: request.cwd,
|
package/dist/github.mjs
CHANGED
|
@@ -62,7 +62,7 @@ export async function openIssues(repo, limit, labels) {
|
|
|
62
62
|
ISSUE_FIELDS,
|
|
63
63
|
]);
|
|
64
64
|
const parsed = JSON.parse(raw);
|
|
65
|
-
return parsed.map(toIssue)
|
|
65
|
+
return parsed.map(toIssue);
|
|
66
66
|
}
|
|
67
67
|
export async function viewIssue(repo, issue) {
|
|
68
68
|
const raw = await gh(repo, ['issue', 'view', String(issue), '--json', `${ISSUE_FIELDS},state`]);
|