next-issue 14.4.7 → 14.4.8

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/dist/cli.mjs CHANGED
@@ -60,7 +60,7 @@ async function main() {
60
60
  }
61
61
  function run(root, args, argv) {
62
62
  process.stderr.on('error', () => { });
63
- return startInWorker(root, args, argv.slice(1).filter((arg) => arg !== '--force'));
63
+ return startInWorker(root, args, argv.slice(1));
64
64
  }
65
65
  const STOPPED = {
66
66
  none: () => 'next-issue: no worker is running\n',
@@ -51,12 +51,15 @@ export function parseArgs(argv) {
51
51
  if (args.command !== undefined && args.command !== 'update' && args.scope !== undefined) {
52
52
  throw new Error(`${args.command} does not take --scope: it belongs to update`);
53
53
  }
54
- if (args.command === 'serve' && flag !== undefined) {
55
- throw new Error(`serve does not take ${flag}`);
56
- }
57
54
  if ((args.command === 'watch' || args.command === 'hunt') && args.on === undefined) {
58
55
  throw new Error(`${args.command} takes on or off`);
59
56
  }
57
+ if (args.command !== undefined && args.command !== 'init' && args.force) {
58
+ throw new Error(`${args.command} does not take --force: it belongs to init`);
59
+ }
60
+ if (args.command === 'serve' && flag !== undefined) {
61
+ throw new Error(`serve does not take ${flag}`);
62
+ }
60
63
  return args;
61
64
  }
62
65
  function onOffValue(name, value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "14.4.7",
3
+ "version": "14.4.8",
4
4
  "description": "Autonomous issue harness driven by the Claude Agent SDK",
5
5
  "keywords": [
6
6
  "github",