@hyperdrive.bot/gut 0.2.6-alpha.0 → 0.2.6

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
@@ -48,7 +48,7 @@ $ npm install -g @hyperdrive.bot/gut
48
48
  $ gut COMMAND
49
49
  running command...
50
50
  $ gut (--version)
51
- @hyperdrive.bot/gut/0.2.5 linux-x64 node-v22.22.3
51
+ @hyperdrive.bot/gut/0.2.6-alpha.0 linux-x64 node-v22.22.3
52
52
  $ gut --help [COMMAND]
53
53
  USAGE
54
54
  $ gut COMMAND
@@ -46,24 +46,7 @@ export default class Repos extends BaseCommand {
46
46
  });
47
47
  }
48
48
  if (entities.length === 0) {
49
- // HYP-64: empty result is a valid state, not an error. Previously this used
50
- // `this.error()` which exited with code 1 + stderr — confusing for scripts
51
- // that pipeline `gut repos | <cmd>` and treat empty as "nothing to do".
52
- if (flags.json) {
53
- this.log(JSON.stringify([], null, 2));
54
- }
55
- else {
56
- const filterHint = flags.type ? ` of type "${flags.type}"` : '';
57
- const accessibleHint = flags.accessible ? ' that exist on disk' : '';
58
- this.log(chalk.yellow(`No accessible repositories${filterHint}${accessibleHint} found.`));
59
- if (flags.accessible) {
60
- this.log(chalk.dim(' Hint: run `gut entity clone-all` to clone configured entities.'));
61
- }
62
- else if (flags.type) {
63
- this.log(chalk.dim(' Hint: run `gut entity list` to see all registered entity types.'));
64
- }
65
- }
66
- return;
49
+ this.error('No repositories found matching criteria');
67
50
  }
68
51
  // Collect repository information
69
52
  const repos = [];
@@ -44,13 +44,13 @@ export default class Ticket extends BaseCommand {
44
44
  this.log(chalk.bold('Configuration:'));
45
45
  this.log('');
46
46
  this.log(' Set these environment variables:');
47
- this.log(` ${chalk.cyan('GUT_API_ENDPOINT')} - API base URL (e.g., https://api.devsquad.com)`);
47
+ this.log(` ${chalk.cyan('GUT_API_ENDPOINT')} - API base URL (e.g., https://api.example.com)`);
48
48
  this.log(` ${chalk.cyan('GUT_TENANT_ID')} - Your tenant ID`);
49
49
  this.log(` ${chalk.cyan('GUT_AUTH_TOKEN')} - Authentication token (optional)`);
50
50
  this.log('');
51
51
  this.log(' Or create `.gut/api.json` in your workspace:');
52
52
  this.log(chalk.dim(' {'));
53
- this.log(chalk.dim(' "apiEndpoint": "https://api.devsquad.com",'));
53
+ this.log(chalk.dim(' "apiEndpoint": "https://api.example.com",'));
54
54
  this.log(chalk.dim(' "tenantId": "your-tenant-id"'));
55
55
  this.log(chalk.dim(' }'));
56
56
  this.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/gut",
3
- "version": "0.2.6-alpha.0",
3
+ "version": "0.2.6",
4
4
  "description": "Git Unified Tooling - Enhanced git with workspace intelligence for entity-based organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",