jumbo-cli 2.8.0 → 2.10.0

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.
Files changed (53) hide show
  1. package/README.md +1 -0
  2. package/assets/skills/define-jumbo-goals/SKILL.md +2 -0
  3. package/assets/skills/jumbo-design-goal/SKILL.md +123 -0
  4. package/dist/application/context/relations/deactivate/DeactivateRelationCommandHandler.d.ts.map +1 -1
  5. package/dist/application/context/relations/deactivate/DeactivateRelationCommandHandler.js +5 -0
  6. package/dist/application/context/relations/deactivate/DeactivateRelationCommandHandler.js.map +1 -1
  7. package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
  8. package/dist/infrastructure/host/HostBuilder.js +4 -6
  9. package/dist/infrastructure/host/HostBuilder.js.map +1 -1
  10. package/dist/infrastructure/local/LocalDatabaseRebuildService.d.ts +9 -13
  11. package/dist/infrastructure/local/LocalDatabaseRebuildService.d.ts.map +1 -1
  12. package/dist/infrastructure/local/LocalDatabaseRebuildService.js +36 -29
  13. package/dist/infrastructure/local/LocalDatabaseRebuildService.js.map +1 -1
  14. package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts +25 -0
  15. package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts.map +1 -0
  16. package/dist/infrastructure/messaging/ProjectionBusFactory.js +242 -0
  17. package/dist/infrastructure/messaging/ProjectionBusFactory.js.map +1 -0
  18. package/dist/presentation/cli/animations/BrailleSpinner.d.ts +31 -0
  19. package/dist/presentation/cli/animations/BrailleSpinner.d.ts.map +1 -0
  20. package/dist/presentation/cli/animations/BrailleSpinner.js +67 -0
  21. package/dist/presentation/cli/animations/BrailleSpinner.js.map +1 -0
  22. package/dist/presentation/cli/animations/GlimmerEffect.d.ts +32 -0
  23. package/dist/presentation/cli/animations/GlimmerEffect.d.ts.map +1 -0
  24. package/dist/presentation/cli/animations/GlimmerEffect.js +55 -0
  25. package/dist/presentation/cli/animations/GlimmerEffect.js.map +1 -0
  26. package/dist/presentation/cli/animations/GradientPalette.d.ts +36 -0
  27. package/dist/presentation/cli/animations/GradientPalette.d.ts.map +1 -0
  28. package/dist/presentation/cli/animations/GradientPalette.js +133 -0
  29. package/dist/presentation/cli/animations/GradientPalette.js.map +1 -0
  30. package/dist/presentation/cli/commands/registry/generated-commands.d.ts.map +1 -1
  31. package/dist/presentation/cli/commands/registry/generated-commands.js +6 -0
  32. package/dist/presentation/cli/commands/registry/generated-commands.js.map +1 -1
  33. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.d.ts +45 -0
  34. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.d.ts.map +1 -0
  35. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js +100 -0
  36. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js.map +1 -0
  37. package/dist/presentation/cli/commands/work/refine/work.refine.d.ts +20 -0
  38. package/dist/presentation/cli/commands/work/refine/work.refine.d.ts.map +1 -0
  39. package/dist/presentation/cli/commands/work/refine/work.refine.js +181 -0
  40. package/dist/presentation/cli/commands/work/refine/work.refine.js.map +1 -0
  41. package/dist/presentation/cli/rendering/StyleConfig.d.ts +11 -0
  42. package/dist/presentation/cli/rendering/StyleConfig.d.ts.map +1 -1
  43. package/dist/presentation/cli/rendering/StyleConfig.js +12 -1
  44. package/dist/presentation/cli/rendering/StyleConfig.js.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/infrastructure/local/TemporarySequentialDatabaseRebuildService.d.ts +0 -43
  47. package/dist/infrastructure/local/TemporarySequentialDatabaseRebuildService.d.ts.map +0 -1
  48. package/dist/infrastructure/local/TemporarySequentialDatabaseRebuildService.js +0 -441
  49. package/dist/infrastructure/local/TemporarySequentialDatabaseRebuildService.js.map +0 -1
  50. package/dist/infrastructure/messaging/TemporarySequentialRebuildEventBus.d.ts +0 -37
  51. package/dist/infrastructure/messaging/TemporarySequentialRebuildEventBus.d.ts.map +0 -1
  52. package/dist/infrastructure/messaging/TemporarySequentialRebuildEventBus.js +0 -64
  53. package/dist/infrastructure/messaging/TemporarySequentialRebuildEventBus.js.map +0 -1
@@ -1,37 +0,0 @@
1
- /**
2
- * TEMPORARY WORKAROUND - DO NOT USE IN PRODUCTION
3
- *
4
- * This event bus addresses a race condition during database rebuild where
5
- * cross-aggregate projection handlers
6
- * attempt to read from projections (e.g., goal_views) while primary handlers
7
- * are still writing to them.
8
- *
9
- * The root cause: InProcessEventBus executes handlers in parallel via Promise.all(),
10
- * which works fine during normal operations but causes issues during rebuild when
11
- * projections don't exist yet.
12
- *
13
- * This workaround forces sequential handler execution during rebuild only.
14
- * It does NOT fix the architectural issue that cross-aggregate projections
15
- * read from other projections instead of having events contain necessary data.
16
- *
17
- * REMOVAL PLAN:
18
- * This will be removed when Epic/Feature/Task redesign is complete, which will
19
- * address session continuity, goal continuity post-compaction, and portability
20
- * with a more robust event-driven architecture.
21
- *
22
- * @see LocalDatabaseRebuildService - Uses this during rebuild
23
- * @see InProcessEventBus - Normal parallel execution for regular operations
24
- */
25
- import { IEventBus } from "../../application/messaging/IEventBus.js";
26
- import { IEventHandler } from "../../application/messaging/IEventHandler.js";
27
- import { BaseEvent } from "../../domain/BaseEvent.js";
28
- /**
29
- * Event bus that executes handlers sequentially instead of in parallel.
30
- * Only use during database rebuild to avoid race conditions.
31
- */
32
- export declare class TemporarySequentialRebuildEventBus implements IEventBus {
33
- private handlers;
34
- subscribe(eventType: string, handler: IEventHandler): void;
35
- publish(event: BaseEvent): Promise<void>;
36
- }
37
- //# sourceMappingURL=TemporarySequentialRebuildEventBus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TemporarySequentialRebuildEventBus.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/messaging/TemporarySequentialRebuildEventBus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;GAGG;AACH,qBAAa,kCAAmC,YAAW,SAAS;IAClE,OAAO,CAAC,QAAQ,CAAsC;IAEtD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IAOpD,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;CAsB/C"}
@@ -1,64 +0,0 @@
1
- "use strict";
2
- /**
3
- * TEMPORARY WORKAROUND - DO NOT USE IN PRODUCTION
4
- *
5
- * This event bus addresses a race condition during database rebuild where
6
- * cross-aggregate projection handlers
7
- * attempt to read from projections (e.g., goal_views) while primary handlers
8
- * are still writing to them.
9
- *
10
- * The root cause: InProcessEventBus executes handlers in parallel via Promise.all(),
11
- * which works fine during normal operations but causes issues during rebuild when
12
- * projections don't exist yet.
13
- *
14
- * This workaround forces sequential handler execution during rebuild only.
15
- * It does NOT fix the architectural issue that cross-aggregate projections
16
- * read from other projections instead of having events contain necessary data.
17
- *
18
- * REMOVAL PLAN:
19
- * This will be removed when Epic/Feature/Task redesign is complete, which will
20
- * address session continuity, goal continuity post-compaction, and portability
21
- * with a more robust event-driven architecture.
22
- *
23
- * @see LocalDatabaseRebuildService - Uses this during rebuild
24
- * @see InProcessEventBus - Normal parallel execution for regular operations
25
- */
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.TemporarySequentialRebuildEventBus = void 0;
28
- /**
29
- * Event bus that executes handlers sequentially instead of in parallel.
30
- * Only use during database rebuild to avoid race conditions.
31
- */
32
- class TemporarySequentialRebuildEventBus {
33
- constructor() {
34
- this.handlers = new Map();
35
- }
36
- subscribe(eventType, handler) {
37
- if (!this.handlers.has(eventType)) {
38
- this.handlers.set(eventType, []);
39
- }
40
- this.handlers.get(eventType).push(handler);
41
- }
42
- async publish(event) {
43
- // Get handlers for specific event type
44
- const specificHandlers = this.handlers.get(event.type) || [];
45
- // Get wildcard handlers (subscribe to all events)
46
- const wildcardHandlers = this.handlers.get("*") || [];
47
- // Combine all matching handlers
48
- const allHandlers = [...specificHandlers, ...wildcardHandlers];
49
- // Execute handlers SEQUENTIALLY instead of in parallel
50
- // This ensures handler N completes before handler N+1 starts,
51
- // preventing cross-aggregate projections from reading stale data
52
- for (const handler of allHandlers) {
53
- try {
54
- await handler.handle(event);
55
- }
56
- catch (err) {
57
- // Log error but don't throw - projections can be rebuilt
58
- console.error(`Handler error for event ${event.type}:`, err);
59
- }
60
- }
61
- }
62
- }
63
- exports.TemporarySequentialRebuildEventBus = TemporarySequentialRebuildEventBus;
64
- //# sourceMappingURL=TemporarySequentialRebuildEventBus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TemporarySequentialRebuildEventBus.js","sourceRoot":"","sources":["../../../src/infrastructure/messaging/TemporarySequentialRebuildEventBus.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAMH;;;GAGG;AACH,MAAa,kCAAkC;IAA/C;QACU,aAAQ,GAAG,IAAI,GAAG,EAA2B,CAAC;IA+BxD,CAAC;IA7BC,SAAS,CAAC,SAAiB,EAAE,OAAsB;QACjD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;YAClC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;QACnC,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAAgB;QAC5B,uCAAuC;QACvC,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAE7D,kDAAkD;QAClD,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QAEtD,gCAAgC;QAChC,MAAM,WAAW,GAAG,CAAC,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAC,CAAC;QAE/D,uDAAuD;QACvD,8DAA8D;QAC9D,iEAAiE;QACjE,KAAK,MAAM,OAAO,IAAI,WAAW,EAAE,CAAC;YAClC,IAAI,CAAC;gBACH,MAAM,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,yDAAyD;gBACzD,OAAO,CAAC,KAAK,CAAC,2BAA2B,KAAK,CAAC,IAAI,GAAG,EAAE,GAAG,CAAC,CAAC;YAC/D,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAhCD,gFAgCC"}