@imdeadpool/guardex 7.0.7 → 7.0.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/README.md CHANGED
@@ -412,6 +412,11 @@ npm pack --dry-run
412
412
 
413
413
  ## Release notes
414
414
 
415
+ ### v7.0.8
416
+
417
+ - **Added: repo toggle guidance in `gx` status/help output.** The command summary now shows a dedicated `REPO TOGGLE` section so operators can see the repo-local switch immediately: `GUARDEX_ON=0` disables Guardex for a repo and `GUARDEX_ON=1` turns it back on.
418
+ - **Changed: package metadata advanced to the next publishable release.** Bumped `@imdeadpool/guardex` from `7.0.7` to `7.0.8` so the current `main` branch state can be published without colliding with the existing release number.
419
+
415
420
  ### v7.0.7
416
421
 
417
422
  - **Fixed: next publish target now advances past npm.** Bumped `@imdeadpool/guardex` from `7.0.6` to `7.0.7` so the next `npm publish` does not collide with the already-published registry version.
@@ -320,10 +320,17 @@ function agentBotCatalogLines(indent = ' ') {
320
320
  );
321
321
  }
322
322
 
323
+ function repoToggleLines(indent = ' ') {
324
+ return [
325
+ `${indent}Set repo-root .env: ${GUARDEX_REPO_TOGGLE_ENV}=0 disables Guardex, ${GUARDEX_REPO_TOGGLE_ENV}=1 enables it again`,
326
+ ];
327
+ }
328
+
323
329
  function printToolLogsSummary() {
324
330
  const usageLine = ` $ ${SHORT_TOOL_NAME} <command> [options]`;
325
331
  const commandDetails = commandCatalogLines(' ');
326
332
  const agentBotDetails = agentBotCatalogLines(' ');
333
+ const repoToggleDetails = repoToggleLines(' ');
327
334
 
328
335
  if (!supportsAnsiColors()) {
329
336
  console.log(`${TOOL_NAME}-tools logs:`);
@@ -337,6 +344,10 @@ function printToolLogsSummary() {
337
344
  for (const line of agentBotDetails) {
338
345
  console.log(line);
339
346
  }
347
+ console.log(' REPO TOGGLE');
348
+ for (const line of repoToggleDetails) {
349
+ console.log(line);
350
+ }
340
351
  return;
341
352
  }
342
353
 
@@ -344,6 +355,7 @@ function printToolLogsSummary() {
344
355
  const usageHeader = colorize('USAGE', '1');
345
356
  const commandsHeader = colorize('COMMANDS', '1');
346
357
  const agentBotHeader = colorize('AGENT BOT', '1');
358
+ const repoToggleHeader = colorize('REPO TOGGLE', '1');
347
359
  const pipe = colorize('│', '90');
348
360
  const tee = colorize('├', '90');
349
361
  const corner = colorize('└', '90');
@@ -367,6 +379,14 @@ function printToolLogsSummary() {
367
379
  }
368
380
  console.log(` ${pipe}${line.slice(2)}`);
369
381
  }
382
+ console.log(` ${tee}─ ${repoToggleHeader}`);
383
+ for (const line of repoToggleDetails) {
384
+ if (!line) {
385
+ console.log(` ${pipe}`);
386
+ continue;
387
+ }
388
+ console.log(` ${pipe}${line.slice(2)}`);
389
+ }
370
390
  console.log(` ${corner}─ ${colorize(`Try '${TOOL_NAME} doctor' for one-step repair + verification.`, '2')}`);
371
391
  }
372
392
 
@@ -387,6 +407,9 @@ ${commandCatalogLines().join('\n')}
387
407
  AGENT BOT
388
408
  ${agentBotCatalogLines().join('\n')}
389
409
 
410
+ REPO TOGGLE
411
+ ${repoToggleLines().join('\n')}
412
+
390
413
  NOTES
391
414
  - No command = ${SHORT_TOOL_NAME} status. ${SHORT_TOOL_NAME} init is an alias of ${SHORT_TOOL_NAME} setup.
392
415
  - Global installs need Y/N approval; GitHub CLI (gh) is required for PR automation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imdeadpool/guardex",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "description": "GuardeX: the Guardian T-Rex for your repo, with hardened multi-agent git guardrails.",
5
5
  "license": "MIT",
6
6
  "preferGlobal": true,