next-issue 7.8.26 → 7.8.27

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 CHANGED
@@ -606,7 +606,9 @@ Three levels of console output:
606
606
  ssh alias with `ssh -G`. The host `ssh.github.com` (GitHub's ssh over port 443) means `github.com`. Other hosts, such as GitLab, are not supported.
607
607
  - pi, logged in to a model provider. The agents use the model, the thinking
608
608
  level, the extensions and the skills from your pi settings, except the
609
- extension and the skills of `pi-next-issue`. The implementer and the fixer
609
+ extension and the skills of the `pi-next-issue` package. A repository
610
+ under a folder named `pi-next-issue` keeps its project extensions and
611
+ skills. The implementer and the fixer
610
612
  get the default tools of your pi settings, the `grep`, `find` and `ls` tools
611
613
  and the tools of your extensions. The reviewer gets all of them except
612
614
  `edit` and `write`. The agents run with `GIT_OPTIONAL_LOCKS=0`, so a
@@ -1,7 +1,10 @@
1
1
  import { join, sep } from 'node:path';
2
2
  import { createAgentSession, DefaultResourceLoader, ModelRuntime, SessionManager, } from '@earendil-works/pi-coding-agent';
3
3
  export function isOwnResource(path) {
4
- return path.split(sep).includes('pi-next-issue');
4
+ const parts = path.split(sep);
5
+ return parts.some((part, index) => part === 'pi-next-issue' &&
6
+ ((parts[index + 1] === 'index.ts' && index + 2 === parts.length) ||
7
+ parts[index + 1] === 'skills'));
5
8
  }
6
9
  export async function openSession(recorder, log, request, agentDir) {
7
10
  const runtime = request.runtime ?? {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "7.8.26",
3
+ "version": "7.8.27",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",