@sparkleideas/claims 3.0.0-alpha.10 → 3.0.0-alpha.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkleideas/claims",
3
- "version": "3.0.0-alpha.10",
3
+ "version": "3.0.0-alpha.12",
4
4
  "description": "Issue claiming and work coordination module for Claude Flow V3",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -67,7 +67,7 @@
67
67
  "vitest": "^4.0.16"
68
68
  },
69
69
  "peerDependencies": {
70
- "@sparkleideas/shared": "^3.0.0-alpha.1"
70
+ "@sparkleideas/shared": "*"
71
71
  },
72
72
  "peerDependenciesMeta": {
73
73
  "@claude-flow/shared": {
@@ -314,7 +314,7 @@ const claimCommand: Command = {
314
314
 
315
315
  if (!issueId) {
316
316
  output.printError('Issue ID is required');
317
- output.printInfo('Usage: @sparkleideas/claude-flow issues claim <issueId>');
317
+ output.printInfo('Usage: claude-flow issues claim <issueId>');
318
318
  return { success: false, exitCode: 1 };
319
319
  }
320
320
 
@@ -402,7 +402,7 @@ const releaseCommand: Command = {
402
402
 
403
403
  if (!issueId) {
404
404
  output.printError('Issue ID is required');
405
- output.printInfo('Usage: @sparkleideas/claude-flow issues release <issueId>');
405
+ output.printInfo('Usage: claude-flow issues release <issueId>');
406
406
  return { success: false, exitCode: 1 };
407
407
  }
408
408
 
@@ -475,7 +475,7 @@ const handoffCommand: Command = {
475
475
 
476
476
  if (!issueId) {
477
477
  output.printError('Issue ID is required');
478
- output.printInfo('Usage: @sparkleideas/claude-flow issues handoff <issueId> --to <target>');
478
+ output.printInfo('Usage: claude-flow issues handoff <issueId> --to <target>');
479
479
  return { success: false, exitCode: 1 };
480
480
  }
481
481
 
@@ -585,7 +585,7 @@ const statusCommand: Command = {
585
585
 
586
586
  if (!issueId) {
587
587
  output.printError('Issue ID is required');
588
- output.printInfo('Usage: @sparkleideas/claude-flow issues status <issueId> [options]');
588
+ output.printInfo('Usage: claude-flow issues status <issueId> [options]');
589
589
  return { success: false, exitCode: 1 };
590
590
  }
591
591
 
@@ -872,7 +872,7 @@ const stealableCommand: Command = {
872
872
  output.writeln();
873
873
  output.printInfo(`Showing ${result.claims.length} of ${result.total} stealable issues`);
874
874
  output.writeln();
875
- output.printInfo('Use "@sparkleideas/claude-flow issues steal <issueId>" to take over an issue');
875
+ output.printInfo('Use "claude-flow issues steal <issueId>" to take over an issue');
876
876
 
877
877
  return { success: true, data: result };
878
878
  } catch (error) {
@@ -911,7 +911,7 @@ const stealCommand: Command = {
911
911
 
912
912
  if (!issueId) {
913
913
  output.printError('Issue ID is required');
914
- output.printInfo('Usage: @sparkleideas/claude-flow issues steal <issueId>');
914
+ output.printInfo('Usage: claude-flow issues steal <issueId>');
915
915
  return { success: false, exitCode: 1 };
916
916
  }
917
917
 
@@ -991,7 +991,7 @@ const markStealableCommand: Command = {
991
991
 
992
992
  if (!issueId) {
993
993
  output.printError('Issue ID is required');
994
- output.printInfo('Usage: @sparkleideas/claude-flow issues mark-stealable <issueId>');
994
+ output.printInfo('Usage: claude-flow issues mark-stealable <issueId>');
995
995
  return { success: false, exitCode: 1 };
996
996
  }
997
997
 
@@ -1055,7 +1055,7 @@ const contestCommand: Command = {
1055
1055
 
1056
1056
  if (!issueId) {
1057
1057
  output.printError('Issue ID is required');
1058
- output.printInfo('Usage: @sparkleideas/claude-flow issues contest <issueId> --reason "..."');
1058
+ output.printInfo('Usage: claude-flow issues contest <issueId> --reason "..."');
1059
1059
  return { success: false, exitCode: 1 };
1060
1060
  }
1061
1061
 
@@ -1382,30 +1382,30 @@ export const issuesCommand: Command = {
1382
1382
  ],
1383
1383
  options: [],
1384
1384
  examples: [
1385
- { command: '@sparkleideas/claude-flow issues list --available', description: 'List unclaimed issues' },
1386
- { command: '@sparkleideas/claude-flow issues list --mine', description: 'List my claims' },
1387
- { command: '@sparkleideas/claude-flow issues claim GH-123', description: 'Claim an issue' },
1388
- { command: '@sparkleideas/claude-flow issues release GH-123', description: 'Release a claim' },
1389
- { command: '@sparkleideas/claude-flow issues handoff GH-123 --to agent:coder-1', description: 'Request handoff to agent' },
1390
- { command: '@sparkleideas/claude-flow issues handoff GH-123 --to human:alice', description: 'Request handoff to human' },
1391
- { command: '@sparkleideas/claude-flow issues status GH-123 --blocked "Waiting for API"', description: 'Mark as blocked' },
1392
- { command: '@sparkleideas/claude-flow issues status GH-123 --review-requested', description: 'Request review' },
1393
- { command: '@sparkleideas/claude-flow issues board', description: 'View who is working on what' },
1394
- { command: '@sparkleideas/claude-flow issues stealable', description: 'List stealable issues' },
1395
- { command: '@sparkleideas/claude-flow issues steal GH-123', description: 'Steal an issue' },
1396
- { command: '@sparkleideas/claude-flow issues mark-stealable GH-123', description: 'Mark my claim as stealable' },
1397
- { command: '@sparkleideas/claude-flow issues contest GH-123 -r "I was actively working on it"', description: 'Contest a steal' },
1398
- { command: '@sparkleideas/claude-flow issues load', description: 'View agent load distribution' },
1399
- { command: '@sparkleideas/claude-flow issues load --agent coder-1', description: 'View specific agent load' },
1400
- { command: '@sparkleideas/claude-flow issues rebalance --dry-run', description: 'Preview rebalancing' },
1401
- { command: '@sparkleideas/claude-flow issues rebalance', description: 'Trigger swarm rebalancing' }
1385
+ { command: 'claude-flow issues list --available', description: 'List unclaimed issues' },
1386
+ { command: 'claude-flow issues list --mine', description: 'List my claims' },
1387
+ { command: 'claude-flow issues claim GH-123', description: 'Claim an issue' },
1388
+ { command: 'claude-flow issues release GH-123', description: 'Release a claim' },
1389
+ { command: 'claude-flow issues handoff GH-123 --to agent:coder-1', description: 'Request handoff to agent' },
1390
+ { command: 'claude-flow issues handoff GH-123 --to human:alice', description: 'Request handoff to human' },
1391
+ { command: 'claude-flow issues status GH-123 --blocked "Waiting for API"', description: 'Mark as blocked' },
1392
+ { command: 'claude-flow issues status GH-123 --review-requested', description: 'Request review' },
1393
+ { command: 'claude-flow issues board', description: 'View who is working on what' },
1394
+ { command: 'claude-flow issues stealable', description: 'List stealable issues' },
1395
+ { command: 'claude-flow issues steal GH-123', description: 'Steal an issue' },
1396
+ { command: 'claude-flow issues mark-stealable GH-123', description: 'Mark my claim as stealable' },
1397
+ { command: 'claude-flow issues contest GH-123 -r "I was actively working on it"', description: 'Contest a steal' },
1398
+ { command: 'claude-flow issues load', description: 'View agent load distribution' },
1399
+ { command: 'claude-flow issues load --agent coder-1', description: 'View specific agent load' },
1400
+ { command: 'claude-flow issues rebalance --dry-run', description: 'Preview rebalancing' },
1401
+ { command: 'claude-flow issues rebalance', description: 'Trigger swarm rebalancing' }
1402
1402
  ],
1403
1403
  action: async (ctx: CommandContext): Promise<CommandResult> => {
1404
1404
  // Show help if no subcommand
1405
1405
  output.writeln();
1406
1406
  output.writeln(output.bold('Issue Claims Management'));
1407
1407
  output.writeln();
1408
- output.writeln('Usage: @sparkleideas/claude-flow issues <subcommand> [options]');
1408
+ output.writeln('Usage: claude-flow issues <subcommand> [options]');
1409
1409
  output.writeln();
1410
1410
 
1411
1411
  output.writeln(output.bold('Core Commands'));
@@ -1435,7 +1435,7 @@ export const issuesCommand: Command = {
1435
1435
  ]);
1436
1436
 
1437
1437
  output.writeln();
1438
- output.writeln('Run "@sparkleideas/claude-flow issues <subcommand> --help" for subcommand help');
1438
+ output.writeln('Run "claude-flow issues <subcommand> --help" for subcommand help');
1439
1439
 
1440
1440
  return { success: true };
1441
1441
  }