github-issue-tower-defence-management 2.45.0 → 2.45.2

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 (97) hide show
  1. package/README.md +3 -25
  2. package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js +0 -52
  3. package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js.map +1 -1
  4. package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js +4 -49
  5. package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js.map +1 -1
  6. package/bin/domain/usecases/NotifySilentLiveSessionsUseCase.js +1 -231
  7. package/bin/domain/usecases/NotifySilentLiveSessionsUseCase.js.map +1 -1
  8. package/bin/domain/usecases/StaleTaskPullRequestCloseUseCase.js +2 -0
  9. package/bin/domain/usecases/StaleTaskPullRequestCloseUseCase.js.map +1 -1
  10. package/package.json +1 -1
  11. package/types/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.d.ts.map +1 -1
  12. package/types/adapter/entry-points/handlers/notifySilentTmuxSessions.d.ts +1 -29
  13. package/types/adapter/entry-points/handlers/notifySilentTmuxSessions.d.ts.map +1 -1
  14. package/types/domain/usecases/NotifySilentLiveSessionsUseCase.d.ts +0 -45
  15. package/types/domain/usecases/NotifySilentLiveSessionsUseCase.d.ts.map +1 -1
  16. package/types/domain/usecases/StaleTaskPullRequestCloseUseCase.d.ts +4 -4
  17. package/types/domain/usecases/StaleTaskPullRequestCloseUseCase.d.ts.map +1 -1
  18. package/bin/adapter/repositories/ConfigurableSilentSessionMessageComposer.js +0 -71
  19. package/bin/adapter/repositories/ConfigurableSilentSessionMessageComposer.js.map +0 -1
  20. package/bin/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.js +0 -137
  21. package/bin/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.js.map +0 -1
  22. package/bin/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.js +0 -126
  23. package/bin/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.js.map +0 -1
  24. package/bin/adapter/repositories/FileSystemSubAgentLivenessResolver.js +0 -81
  25. package/bin/adapter/repositories/FileSystemSubAgentLivenessResolver.js.map +0 -1
  26. package/bin/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.js +0 -67
  27. package/bin/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.js.map +0 -1
  28. package/bin/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.js +0 -57
  29. package/bin/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.js.map +0 -1
  30. package/bin/adapter/repositories/NodeSubAgentProcessLister.js +0 -37
  31. package/bin/adapter/repositories/NodeSubAgentProcessLister.js.map +0 -1
  32. package/bin/adapter/repositories/ProcessListSessionSubAgentActivityRepository.js +0 -50
  33. package/bin/adapter/repositories/ProcessListSessionSubAgentActivityRepository.js.map +0 -1
  34. package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js +0 -382
  35. package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js.map +0 -1
  36. package/bin/domain/entities/LiveSessionActivitySnapshot.js +0 -3
  37. package/bin/domain/entities/LiveSessionActivitySnapshot.js.map +0 -1
  38. package/bin/domain/usecases/DefaultSilentSessionMessageComposer.js +0 -49
  39. package/bin/domain/usecases/DefaultSilentSessionMessageComposer.js.map +0 -1
  40. package/bin/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.js +0 -3
  41. package/bin/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.js.map +0 -1
  42. package/bin/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.js +0 -3
  43. package/bin/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.js.map +0 -1
  44. package/bin/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.js +0 -3
  45. package/bin/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.js.map +0 -1
  46. package/bin/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.js +0 -3
  47. package/bin/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.js.map +0 -1
  48. package/bin/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.js +0 -3
  49. package/bin/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.js.map +0 -1
  50. package/bin/domain/usecases/adapter-interfaces/SubAgentProcessLister.js +0 -3
  51. package/bin/domain/usecases/adapter-interfaces/SubAgentProcessLister.js.map +0 -1
  52. package/bin/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.js +0 -3
  53. package/bin/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.js.map +0 -1
  54. package/bin/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.js +0 -3
  55. package/bin/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.js.map +0 -1
  56. package/bin/domain/usecases/silentSessionReminderSentinel.js +0 -12
  57. package/bin/domain/usecases/silentSessionReminderSentinel.js.map +0 -1
  58. package/types/adapter/repositories/ConfigurableSilentSessionMessageComposer.d.ts +0 -18
  59. package/types/adapter/repositories/ConfigurableSilentSessionMessageComposer.d.ts.map +0 -1
  60. package/types/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.d.ts +0 -20
  61. package/types/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.d.ts.map +0 -1
  62. package/types/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts +0 -21
  63. package/types/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts.map +0 -1
  64. package/types/adapter/repositories/FileSystemSubAgentLivenessResolver.d.ts +0 -11
  65. package/types/adapter/repositories/FileSystemSubAgentLivenessResolver.d.ts.map +0 -1
  66. package/types/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.d.ts +0 -9
  67. package/types/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.d.ts.map +0 -1
  68. package/types/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.d.ts +0 -7
  69. package/types/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.d.ts.map +0 -1
  70. package/types/adapter/repositories/NodeSubAgentProcessLister.d.ts +0 -8
  71. package/types/adapter/repositories/NodeSubAgentProcessLister.d.ts.map +0 -1
  72. package/types/adapter/repositories/ProcessListSessionSubAgentActivityRepository.d.ts +0 -12
  73. package/types/adapter/repositories/ProcessListSessionSubAgentActivityRepository.d.ts.map +0 -1
  74. package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts +0 -21
  75. package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts.map +0 -1
  76. package/types/domain/entities/LiveSessionActivitySnapshot.d.ts +0 -12
  77. package/types/domain/entities/LiveSessionActivitySnapshot.d.ts.map +0 -1
  78. package/types/domain/usecases/DefaultSilentSessionMessageComposer.d.ts +0 -7
  79. package/types/domain/usecases/DefaultSilentSessionMessageComposer.d.ts.map +0 -1
  80. package/types/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.d.ts +0 -5
  81. package/types/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.d.ts.map +0 -1
  82. package/types/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.d.ts +0 -11
  83. package/types/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.d.ts.map +0 -1
  84. package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts +0 -19
  85. package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts.map +0 -1
  86. package/types/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.d.ts +0 -10
  87. package/types/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.d.ts.map +0 -1
  88. package/types/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.d.ts +0 -7
  89. package/types/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.d.ts.map +0 -1
  90. package/types/domain/usecases/adapter-interfaces/SubAgentProcessLister.d.ts +0 -8
  91. package/types/domain/usecases/adapter-interfaces/SubAgentProcessLister.d.ts.map +0 -1
  92. package/types/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.d.ts +0 -4
  93. package/types/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.d.ts.map +0 -1
  94. package/types/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.d.ts +0 -4
  95. package/types/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.d.ts.map +0 -1
  96. package/types/domain/usecases/silentSessionReminderSentinel.d.ts +0 -2
  97. package/types/domain/usecases/silentSessionReminderSentinel.d.ts.map +0 -1
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultSilentSessionMessageComposer = void 0;
4
- const silentSessionReminderSentinel_1 = require("./silentSessionReminderSentinel");
5
- const formatMinutes = (seconds) => {
6
- const minutes = Math.floor(seconds / 60);
7
- return `${minutes}m`;
8
- };
9
- const composeIdleSubAgentSection = (idleSubAgents) => {
10
- const lines = idleSubAgents.map((subAgent) => `- ${subAgent.label}: no output for ${formatMinutes(subAgent.silentSeconds)}`);
11
- return [
12
- `${silentSessionReminderSentinel_1.SILENT_SESSION_REMINDER_SENTINEL} This is an automated status check. The following sub-process(es) have produced no output for about the minutes shown, measured from their last tool activity:`,
13
- ...lines,
14
- 'For each one: if it is waiting on an external dependency (a continuous-integration run, an external API, or another process), no action is needed — please log one line noting the wait. If it appears stuck, please restart it, hand it off, or replace it.',
15
- ].join('\n');
16
- };
17
- const composeLongRunningSubAgentSection = (longRunningSubAgents) => {
18
- const lines = longRunningSubAgents.map((subAgent) => `- ${subAgent.label}: running for ${formatMinutes(subAgent.runningSeconds)}`);
19
- return [
20
- `${silentSessionReminderSentinel_1.SILENT_SESSION_REMINDER_SENTINEL} This is an automated status check. The following sub-process(es) have been running longer than a task usually takes:`,
21
- ...lines,
22
- 'If one is not making progress toward completion, consider breaking the task down, restarting it, handing it off, or replacing it. If it is progressing normally, no action is needed.',
23
- ].join('\n');
24
- };
25
- const composeUnconsumedResultSubAgentSection = (unconsumedResultSubAgents) => {
26
- const lines = unconsumedResultSubAgents.map((subAgent) => `- ${subAgent.label}: result unconsumed for ${formatMinutes(subAgent.silentSeconds)}`);
27
- return [
28
- `${silentSessionReminderSentinel_1.SILENT_SESSION_REMINDER_SENTINEL} This is an automated status check. The following sub-process(es) have finished and their results have been waiting unread for about the minutes shown:`,
29
- ...lines,
30
- 'For each one: please read its result, act on it, and then mark the sub-process as finished so it is no longer tracked as running. If you have already acted on the result, marking it finished is all that remains.',
31
- ].join('\n');
32
- };
33
- class DefaultSilentSessionMessageComposer {
34
- constructor() {
35
- this.composeSubAgentSection = (stallSections) => {
36
- const sections = [];
37
- if (stallSections.idleSubAgents.length > 0) {
38
- sections.push(composeIdleSubAgentSection(stallSections.idleSubAgents));
39
- }
40
- if (stallSections.longRunningSubAgents.length > 0) {
41
- sections.push(composeLongRunningSubAgentSection(stallSections.longRunningSubAgents));
42
- }
43
- return sections.join('\n\n');
44
- };
45
- this.composeSubAgentUnconsumedResultSection = (unconsumedResultSubAgents) => composeUnconsumedResultSubAgentSection(unconsumedResultSubAgents);
46
- }
47
- }
48
- exports.DefaultSilentSessionMessageComposer = DefaultSilentSessionMessageComposer;
49
- //# sourceMappingURL=DefaultSilentSessionMessageComposer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultSilentSessionMessageComposer.js","sourceRoot":"","sources":["../../../src/domain/usecases/DefaultSilentSessionMessageComposer.ts"],"names":[],"mappings":";;;AAKA,mFAAmF;AAEnF,MAAM,aAAa,GAAG,CAAC,OAAe,EAAU,EAAE;IAChD,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;IACzC,OAAO,GAAG,OAAO,GAAG,CAAC;AACvB,CAAC,CAAC;AAEF,MAAM,0BAA0B,GAAG,CACjC,aAAiC,EACzB,EAAE;IACV,MAAM,KAAK,GAAG,aAAa,CAAC,GAAG,CAC7B,CAAC,QAAQ,EAAE,EAAE,CACX,KAAK,QAAQ,CAAC,KAAK,mBAAmB,aAAa,CACjD,QAAQ,CAAC,aAAa,CACvB,EAAE,CACN,CAAC;IACF,OAAO;QACL,GAAG,gEAAgC,gKAAgK;QACnM,GAAG,KAAK;QACR,8PAA8P;KAC/P,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,iCAAiC,GAAG,CACxC,oBAAwC,EAChC,EAAE;IACV,MAAM,KAAK,GAAG,oBAAoB,CAAC,GAAG,CACpC,CAAC,QAAQ,EAAE,EAAE,CACX,KAAK,QAAQ,CAAC,KAAK,iBAAiB,aAAa,CAC/C,QAAQ,CAAC,cAAc,CACxB,EAAE,CACN,CAAC;IACF,OAAO;QACL,GAAG,gEAAgC,uHAAuH;QAC1J,GAAG,KAAK;QACR,uLAAuL;KACxL,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,sCAAsC,GAAG,CAC7C,yBAA6C,EACrC,EAAE;IACV,MAAM,KAAK,GAAG,yBAAyB,CAAC,GAAG,CACzC,CAAC,QAAQ,EAAE,EAAE,CACX,KAAK,QAAQ,CAAC,KAAK,2BAA2B,aAAa,CACzD,QAAQ,CAAC,aAAa,CACvB,EAAE,CACN,CAAC;IACF,OAAO;QACL,GAAG,gEAAgC,yJAAyJ;QAC5L,GAAG,KAAK;QACR,qNAAqN;KACtN,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC;AAEF,MAAa,mCAAmC;IAAhD;QACE,2BAAsB,GAAG,CAAC,aAAoC,EAAU,EAAE;YACxE,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC3C,QAAQ,CAAC,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;YACzE,CAAC;YACD,IAAI,aAAa,CAAC,oBAAoB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAClD,QAAQ,CAAC,IAAI,CACX,iCAAiC,CAAC,aAAa,CAAC,oBAAoB,CAAC,CACtE,CAAC;YACJ,CAAC;YACD,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC,CAAC;QAEF,2CAAsC,GAAG,CACvC,yBAA6C,EACrC,EAAE,CACV,sCAAsC,CAAC,yBAAyB,CAAC,CAAC;IACtE,CAAC;CAAA;AAlBD,kFAkBC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SessionSubAgentActivityRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionSubAgentActivityRepository.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SilentSessionCandidateStateRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionCandidateStateRepository.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SilentSessionHubTaskStatusCacheRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionHubTaskStatusCacheRepository.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SilentSessionMessageComposer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionMessageComposer.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SubAgentLivenessResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentLivenessResolver.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SubAgentProcessLister.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentProcessLister.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentProcessLister.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SubAgentSilentSecondsResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentSilentSecondsResolver.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SubAgentTranscriptDirectoryResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentTranscriptDirectoryResolver.js","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SILENT_SESSION_REMINDER_SENTINEL = void 0;
4
- // Stable, recognizable marker embedded in every monitor-injected silent-session
5
- // self-check reminder. It lets owner-reply detection distinguish a reminder that
6
- // the monitor injected into a session's transcript (which arrives as a user text
7
- // entry via `tmux send-keys`) from a genuine owner reply, so an injected reminder
8
- // is never miscounted as the owner answering an outstanding call-to-user. The tag
9
- // is bracketed and namespaced to make an accidental collision with genuine human
10
- // owner text effectively impossible.
11
- exports.SILENT_SESSION_REMINDER_SENTINEL = '[TDPM_SILENT_SESSION_SELF_CHECK_REMINDER]';
12
- //# sourceMappingURL=silentSessionReminderSentinel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"silentSessionReminderSentinel.js","sourceRoot":"","sources":["../../../src/domain/usecases/silentSessionReminderSentinel.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF,iFAAiF;AACjF,iFAAiF;AACjF,kFAAkF;AAClF,kFAAkF;AAClF,iFAAiF;AACjF,qCAAqC;AACxB,QAAA,gCAAgC,GAC3C,2CAA2C,CAAC"}
@@ -1,18 +0,0 @@
1
- import { SubAgentActivity } from '../../domain/entities/LiveSessionActivitySnapshot';
2
- import { SilentSessionMessageComposer, SubAgentStallSections } from '../../domain/usecases/adapter-interfaces/SilentSessionMessageComposer';
3
- export type SilentSessionMessageTemplates = {
4
- subAgentIdleMessageHeader: string | null;
5
- subAgentIdleMessageFooter: string | null;
6
- subAgentLongRunningMessageHeader: string | null;
7
- subAgentLongRunningMessageFooter: string | null;
8
- };
9
- export declare class ConfigurableSilentSessionMessageComposer implements SilentSessionMessageComposer {
10
- private readonly templates;
11
- private readonly fallback;
12
- constructor(templates: SilentSessionMessageTemplates, fallback: SilentSessionMessageComposer);
13
- composeSubAgentSection: (stallSections: SubAgentStallSections) => string;
14
- composeSubAgentUnconsumedResultSection: (unconsumedResultSubAgents: SubAgentActivity[]) => string;
15
- private composeIdleSection;
16
- private composeLongRunningSection;
17
- }
18
- //# sourceMappingURL=ConfigurableSilentSessionMessageComposer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigurableSilentSessionMessageComposer.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/ConfigurableSilentSessionMessageComposer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACtB,MAAM,uEAAuE,CAAC;AAQ/E,MAAM,MAAM,6BAA6B,GAAG;IAC1C,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,gCAAgC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChD,gCAAgC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjD,CAAC;AAOF,qBAAa,wCAAyC,YAAW,4BAA4B;IAEzF,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,SAAS,EAAE,6BAA6B,EACxC,QAAQ,EAAE,4BAA4B;IAGzD,sBAAsB,GAAI,eAAe,qBAAqB,KAAG,MAAM,CA4CrE;IAEF,sCAAsC,GACpC,2BAA2B,gBAAgB,EAAE,KAC5C,MAAM,CAGL;IAEJ,OAAO,CAAC,kBAAkB,CAkBxB;IAEF,OAAO,CAAC,yBAAyB,CAkB/B;CACH"}
@@ -1,20 +0,0 @@
1
- import { SilentSessionCandidateStateRepository } from '../../domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository';
2
- export declare const DEFAULT_STATE_RETENTION_WINDOW_SECONDS: number;
3
- export declare const defaultSilentSessionCandidateStateFilePath: () => string;
4
- export declare class FileSystemSilentSessionCandidateStateRepository implements SilentSessionCandidateStateRepository {
5
- private readonly stateFilePath;
6
- private readonly retentionWindowSeconds;
7
- constructor(stateFilePath?: string, retentionWindowSeconds?: number);
8
- loadRecentCandidateSessionNames: (params: {
9
- now: Date;
10
- recencyWindowSeconds: number;
11
- }) => Promise<Set<string>>;
12
- saveCandidateSessionNames: (params: {
13
- sessionNames: string[];
14
- now: Date;
15
- }) => Promise<void>;
16
- private readState;
17
- private readCandidateEntries;
18
- private writeState;
19
- }
20
- //# sourceMappingURL=FileSystemSilentSessionCandidateStateRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystemSilentSessionCandidateStateRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qCAAqC,EAAE,MAAM,gFAAgF,CAAC;AAWvI,eAAO,MAAM,sCAAsC,QAAU,CAAC;AAE9D,eAAO,MAAM,0CAA0C,QAAO,MACK,CAAC;AAUpE,qBAAa,+CAAgD,YAAW,qCAAqC;IAEzG,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,sBAAsB;gBADtB,aAAa,GAAE,MAAqD,EACpE,sBAAsB,GAAE,MAA+C;IAG1F,+BAA+B,GAAU,QAAQ;QAC/C,GAAG,EAAE,IAAI,CAAC;QACV,oBAAoB,EAAE,MAAM,CAAC;KAC9B,KAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAYtB;IAEF,yBAAyB,GAAU,QAAQ;QACzC,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,GAAG,EAAE,IAAI,CAAC;KACX,KAAG,OAAO,CAAC,IAAI,CAAC,CAqBf;IAEF,OAAO,CAAC,SAAS,CAiBf;IAEF,OAAO,CAAC,oBAAoB,CAqB1B;IAEF,OAAO,CAAC,UAAU,CAMhB;CACH"}
@@ -1,21 +0,0 @@
1
- import { Issue } from '../../domain/entities/Issue';
2
- import { SilentSessionHubTaskStatusCacheEntry, SilentSessionHubTaskStatusCacheRepository } from '../../domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository';
3
- export declare const DEFAULT_HUB_TASK_STATUS_RETENTION_WINDOW_SECONDS: number;
4
- export declare const defaultSilentSessionHubTaskStatusCacheFilePath: () => string;
5
- export declare class FileSystemSilentSessionHubTaskStatusCacheRepository implements SilentSessionHubTaskStatusCacheRepository {
6
- private readonly stateFilePath;
7
- private readonly retentionWindowSeconds;
8
- constructor(stateFilePath?: string, retentionWindowSeconds?: number);
9
- loadHubTaskStatus: (params: {
10
- url: string;
11
- }) => Promise<SilentSessionHubTaskStatusCacheEntry | null>;
12
- saveHubTaskStatus: (params: {
13
- url: string;
14
- state: Issue["state"];
15
- status: string | null;
16
- now: Date;
17
- }) => Promise<void>;
18
- private readEntries;
19
- private writeEntries;
20
- }
21
- //# sourceMappingURL=FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EACL,oCAAoC,EACpC,yCAAyC,EAC1C,MAAM,oFAAoF,CAAC;AAS5F,eAAO,MAAM,gDAAgD,QAAU,CAAC;AAExE,eAAO,MAAM,8CAA8C,QAAO,MACM,CAAC;AAEzE,qBAAa,mDAAoD,YAAW,yCAAyC;IAEjH,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,sBAAsB;gBADtB,aAAa,GAAE,MAAyD,EACxE,sBAAsB,GAAE,MAAyD;IAGpG,iBAAiB,GAAU,QAAQ;QACjC,GAAG,EAAE,MAAM,CAAC;KACb,KAAG,OAAO,CAAC,oCAAoC,GAAG,IAAI,CAAC,CAOtD;IAEF,iBAAiB,GAAU,QAAQ;QACjC,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,GAAG,EAAE,IAAI,CAAC;KACX,KAAG,OAAO,CAAC,IAAI,CAAC,CAoBf;IAEF,OAAO,CAAC,WAAW,CAwCjB;IAEF,OAAO,CAAC,YAAY,CAWlB;CACH"}
@@ -1,11 +0,0 @@
1
- import { SubAgentLivenessResolver } from '../../domain/usecases/adapter-interfaces/SubAgentLivenessResolver';
2
- export declare class FileSystemSubAgentLivenessResolver implements SubAgentLivenessResolver {
3
- private readonly runtimeRootDirectory;
4
- constructor(runtimeRootDirectory: string | null);
5
- resolveLiveSubAgentIds: (params: {
6
- sessionName: string;
7
- mainTranscriptPath: string | null;
8
- }) => Promise<Set<string> | null>;
9
- private resolveRunningSubAgentsFilePath;
10
- }
11
- //# sourceMappingURL=FileSystemSubAgentLivenessResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystemSubAgentLivenessResolver.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileSystemSubAgentLivenessResolver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mEAAmE,CAAC;AAI7G,qBAAa,kCAAmC,YAAW,wBAAwB;IACrE,OAAO,CAAC,QAAQ,CAAC,oBAAoB;gBAApB,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAEhE,sBAAsB,GAAU,QAAQ;QACtC,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;KACnC,KAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAqB7B;IAEF,OAAO,CAAC,+BAA+B,CAoBrC;CACH"}
@@ -1,9 +0,0 @@
1
- import { SubAgentSilentSecondsResolver } from '../../domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver';
2
- export declare class FileSystemSubAgentSilentSecondsResolver implements SubAgentSilentSecondsResolver {
3
- private readonly rootDirectory;
4
- private readonly now;
5
- constructor(rootDirectory: string | null, now: Date);
6
- resolveSilentSeconds: (label: string) => number;
7
- private toFileName;
8
- }
9
- //# sourceMappingURL=FileSystemSubAgentSilentSecondsResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystemSubAgentSilentSecondsResolver.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,wEAAwE,CAAC;AAEvH,qBAAa,uCAAwC,YAAW,6BAA6B;IAEzF,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG;gBADH,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,GAAG,EAAE,IAAI;IAG5B,oBAAoB,GAAI,OAAO,MAAM,KAAG,MAAM,CAkB5C;IAEF,OAAO,CAAC,UAAU,CAAwD;CAC3E"}
@@ -1,7 +0,0 @@
1
- import { SubAgentTranscriptDirectoryResolver } from '../../domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver';
2
- export declare class FileSystemSubAgentTranscriptDirectoryResolver implements SubAgentTranscriptDirectoryResolver {
3
- private readonly rootDirectory;
4
- constructor(rootDirectory: string | null);
5
- resolveSubAgentsDirectory: (_sessionName: string, mainTranscriptPath: string | null) => string | null;
6
- }
7
- //# sourceMappingURL=FileSystemSubAgentTranscriptDirectoryResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystemSubAgentTranscriptDirectoryResolver.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,8EAA8E,CAAC;AAEnI,qBAAa,6CAA8C,YAAW,mCAAmC;IAC3F,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,MAAM,GAAG,IAAI;IAEzD,yBAAyB,GACvB,cAAc,MAAM,EACpB,oBAAoB,MAAM,GAAG,IAAI,KAChC,MAAM,GAAG,IAAI,CAYd;CACH"}
@@ -1,8 +0,0 @@
1
- import { LocalCommandRunner } from '../../domain/usecases/adapter-interfaces/LocalCommandRunner';
2
- import { SubAgentProcess, SubAgentProcessLister } from '../../domain/usecases/adapter-interfaces/SubAgentProcessLister';
3
- export declare class NodeSubAgentProcessLister implements SubAgentProcessLister {
4
- private readonly localCommandRunner;
5
- constructor(localCommandRunner: LocalCommandRunner);
6
- listProcesses: () => Promise<SubAgentProcess[]>;
7
- }
8
- //# sourceMappingURL=NodeSubAgentProcessLister.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NodeSubAgentProcessLister.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/NodeSubAgentProcessLister.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EACL,eAAe,EACf,qBAAqB,EACtB,MAAM,gEAAgE,CAAC;AAExE,qBAAa,yBAA0B,YAAW,qBAAqB;IACzD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,kBAAkB;IAEnE,aAAa,QAAa,OAAO,CAAC,eAAe,EAAE,CAAC,CA6BlD;CACH"}
@@ -1,12 +0,0 @@
1
- import { SubAgentActivity } from '../../domain/entities/LiveSessionActivitySnapshot';
2
- import { SessionSubAgentActivityRepository } from '../../domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository';
3
- import { SubAgentProcessLister } from '../../domain/usecases/adapter-interfaces/SubAgentProcessLister';
4
- import { SubAgentSilentSecondsResolver } from '../../domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver';
5
- export declare class ProcessListSessionSubAgentActivityRepository implements SessionSubAgentActivityRepository {
6
- private readonly processLister;
7
- private readonly silentSecondsResolver;
8
- private readonly matchRegExp;
9
- constructor(matchPattern: string | null, processLister: SubAgentProcessLister, silentSecondsResolver: SubAgentSilentSecondsResolver);
10
- listSubAgentActivitiesBySessionName: (sessionNames: string[]) => Promise<Map<string, SubAgentActivity[]>>;
11
- }
12
- //# sourceMappingURL=ProcessListSessionSubAgentActivityRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProcessListSessionSubAgentActivityRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/ProcessListSessionSubAgentActivityRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,4EAA4E,CAAC;AAC/H,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,OAAO,EAAE,6BAA6B,EAAE,MAAM,wEAAwE,CAAC;AAEvH,qBAAa,4CAA6C,YAAW,iCAAiC;IAKlG,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IALxC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAgB;gBAG1C,YAAY,EAAE,MAAM,GAAG,IAAI,EACV,aAAa,EAAE,qBAAqB,EACpC,qBAAqB,EAAE,6BAA6B;IAQvE,mCAAmC,GACjC,cAAc,MAAM,EAAE,KACrB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAmCzC;CACH"}
@@ -1,21 +0,0 @@
1
- import { SubAgentActivity } from '../../domain/entities/LiveSessionActivitySnapshot';
2
- import { SessionSubAgentActivityRepository } from '../../domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository';
3
- import { SubAgentLivenessResolver } from '../../domain/usecases/adapter-interfaces/SubAgentLivenessResolver';
4
- import { SubAgentProcessLister } from '../../domain/usecases/adapter-interfaces/SubAgentProcessLister';
5
- import { SubAgentTranscriptDirectoryResolver } from '../../domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver';
6
- export declare const normalizeCommandFragment: (command: string) => string;
7
- export declare class TranscriptSessionSubAgentActivityRepository implements SessionSubAgentActivityRepository {
8
- private readonly directoryResolver;
9
- private readonly processLister;
10
- private readonly now;
11
- private readonly livenessResolver;
12
- private readonly runtimeRootDirectory;
13
- constructor(directoryResolver: SubAgentTranscriptDirectoryResolver, processLister: SubAgentProcessLister, now: Date, livenessResolver?: SubAgentLivenessResolver, runtimeRootDirectory?: string | null);
14
- listSubAgentActivitiesBySessionName: (sessionNames: string[], transcriptPathBySessionName: Map<string, string>) => Promise<Map<string, SubAgentActivity[]>>;
15
- private loadTerminalAgentIds;
16
- private resolveOutputFilePath;
17
- private collectActivities;
18
- private toActivity;
19
- private hasLiveMatchingProcess;
20
- }
21
- //# sourceMappingURL=TranscriptSessionSubAgentActivityRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TranscriptSessionSubAgentActivityRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/TranscriptSessionSubAgentActivityRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,4EAA4E,CAAC;AAC/H,OAAO,EAAE,wBAAwB,EAAE,MAAM,mEAAmE,CAAC;AAC7G,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,OAAO,EAAE,mCAAmC,EAAE,MAAM,8EAA8E,CAAC;AA2BnI,eAAO,MAAM,wBAAwB,GAAI,SAAS,MAAM,KAAG,MAIR,CAAC;AAiNpD,qBAAa,2CAA4C,YAAW,iCAAiC;IAEjG,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;gBAJpB,iBAAiB,EAAE,mCAAmC,EACtD,aAAa,EAAE,qBAAqB,EACpC,GAAG,EAAE,IAAI,EACT,gBAAgB,GAAE,wBAA8D,EAChF,oBAAoB,GAAE,MAAM,GAAG,IAAW;IAG7D,mCAAmC,GACjC,cAAc,MAAM,EAAE,EACtB,6BAA6B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAC/C,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC,CA0CzC;IAEF,OAAO,CAAC,oBAAoB,CAa1B;IAEF,OAAO,CAAC,qBAAqB,CAmB3B;IAEF,OAAO,CAAC,iBAAiB,CAyDvB;IAEF,OAAO,CAAC,UAAU,CAyChB;IAEF,OAAO,CAAC,sBAAsB,CAiB5B;CACH"}
@@ -1,12 +0,0 @@
1
- export type SubAgentActivity = {
2
- label: string;
3
- silentSeconds: number;
4
- runningSeconds: number;
5
- waitingOnExternalProcess: boolean;
6
- finishedResultUnconsumed: boolean;
7
- };
8
- export type LiveSessionActivitySnapshot = {
9
- sessionName: string;
10
- subAgents: SubAgentActivity[];
11
- };
12
- //# sourceMappingURL=LiveSessionActivitySnapshot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LiveSessionActivitySnapshot.d.ts","sourceRoot":"","sources":["../../../src/domain/entities/LiveSessionActivitySnapshot.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;IAClC,wBAAwB,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAC"}
@@ -1,7 +0,0 @@
1
- import { SubAgentActivity } from '../entities/LiveSessionActivitySnapshot';
2
- import { SilentSessionMessageComposer, SubAgentStallSections } from './adapter-interfaces/SilentSessionMessageComposer';
3
- export declare class DefaultSilentSessionMessageComposer implements SilentSessionMessageComposer {
4
- composeSubAgentSection: (stallSections: SubAgentStallSections) => string;
5
- composeSubAgentUnconsumedResultSection: (unconsumedResultSubAgents: SubAgentActivity[]) => string;
6
- }
7
- //# sourceMappingURL=DefaultSilentSessionMessageComposer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultSilentSessionMessageComposer.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/DefaultSilentSessionMessageComposer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACtB,MAAM,mDAAmD,CAAC;AAwD3D,qBAAa,mCAAoC,YAAW,4BAA4B;IACtF,sBAAsB,GAAI,eAAe,qBAAqB,KAAG,MAAM,CAWrE;IAEF,sCAAsC,GACpC,2BAA2B,gBAAgB,EAAE,KAC5C,MAAM,CAC2D;CACrE"}
@@ -1,5 +0,0 @@
1
- import { SubAgentActivity } from '../../entities/LiveSessionActivitySnapshot';
2
- export interface SessionSubAgentActivityRepository {
3
- listSubAgentActivitiesBySessionName: (sessionNames: string[], transcriptPathBySessionName: Map<string, string>) => Promise<Map<string, SubAgentActivity[]>>;
4
- }
5
- //# sourceMappingURL=SessionSubAgentActivityRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionSubAgentActivityRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,mCAAmC,EAAE,CACnC,YAAY,EAAE,MAAM,EAAE,EACtB,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAC7C,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;CAC/C"}
@@ -1,11 +0,0 @@
1
- export interface SilentSessionCandidateStateRepository {
2
- loadRecentCandidateSessionNames: (params: {
3
- now: Date;
4
- recencyWindowSeconds: number;
5
- }) => Promise<Set<string>>;
6
- saveCandidateSessionNames: (params: {
7
- sessionNames: string[];
8
- now: Date;
9
- }) => Promise<void>;
10
- }
11
- //# sourceMappingURL=SilentSessionCandidateStateRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionCandidateStateRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qCAAqC;IACpD,+BAA+B,EAAE,CAAC,MAAM,EAAE;QACxC,GAAG,EAAE,IAAI,CAAC;QACV,oBAAoB,EAAE,MAAM,CAAC;KAC9B,KAAK,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3B,yBAAyB,EAAE,CAAC,MAAM,EAAE;QAClC,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,GAAG,EAAE,IAAI,CAAC;KACX,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB"}
@@ -1,19 +0,0 @@
1
- import { Issue } from '../../entities/Issue';
2
- export type SilentSessionHubTaskStatusCacheEntry = {
3
- url: string;
4
- state: Issue['state'];
5
- status: string | null;
6
- recordedEpochSeconds: number;
7
- };
8
- export interface SilentSessionHubTaskStatusCacheRepository {
9
- loadHubTaskStatus: (params: {
10
- url: string;
11
- }) => Promise<SilentSessionHubTaskStatusCacheEntry | null>;
12
- saveHubTaskStatus: (params: {
13
- url: string;
14
- state: Issue['state'];
15
- status: string | null;
16
- now: Date;
17
- }) => Promise<void>;
18
- }
19
- //# sourceMappingURL=SilentSessionHubTaskStatusCacheRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionHubTaskStatusCacheRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,MAAM,MAAM,oCAAoC,GAAG;IACjD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,WAAW,yCAAyC;IACxD,iBAAiB,EAAE,CAAC,MAAM,EAAE;QAC1B,GAAG,EAAE,MAAM,CAAC;KACb,KAAK,OAAO,CAAC,oCAAoC,GAAG,IAAI,CAAC,CAAC;IAC3D,iBAAiB,EAAE,CAAC,MAAM,EAAE;QAC1B,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,GAAG,EAAE,IAAI,CAAC;KACX,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB"}
@@ -1,10 +0,0 @@
1
- import { SubAgentActivity } from '../../entities/LiveSessionActivitySnapshot';
2
- export type SubAgentStallSections = {
3
- idleSubAgents: SubAgentActivity[];
4
- longRunningSubAgents: SubAgentActivity[];
5
- };
6
- export interface SilentSessionMessageComposer {
7
- composeSubAgentSection: (sections: SubAgentStallSections) => string;
8
- composeSubAgentUnconsumedResultSection: (unconsumedResultSubAgents: SubAgentActivity[]) => string;
9
- }
10
- //# sourceMappingURL=SilentSessionMessageComposer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentSessionMessageComposer.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,oBAAoB,EAAE,gBAAgB,EAAE,CAAC;CAC1C,CAAC;AAEF,MAAM,WAAW,4BAA4B;IAC3C,sBAAsB,EAAE,CAAC,QAAQ,EAAE,qBAAqB,KAAK,MAAM,CAAC;IACpE,sCAAsC,EAAE,CACtC,yBAAyB,EAAE,gBAAgB,EAAE,KAC1C,MAAM,CAAC;CACb"}
@@ -1,7 +0,0 @@
1
- export interface SubAgentLivenessResolver {
2
- resolveLiveSubAgentIds: (params: {
3
- sessionName: string;
4
- mainTranscriptPath: string | null;
5
- }) => Promise<Set<string> | null>;
6
- }
7
- //# sourceMappingURL=SubAgentLivenessResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentLivenessResolver.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,sBAAsB,EAAE,CAAC,MAAM,EAAE;QAC/B,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;KACnC,KAAK,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;CACnC"}
@@ -1,8 +0,0 @@
1
- export type SubAgentProcess = {
2
- commandLine: string;
3
- elapsedSeconds: number;
4
- };
5
- export interface SubAgentProcessLister {
6
- listProcesses: () => Promise<SubAgentProcess[]>;
7
- }
8
- //# sourceMappingURL=SubAgentProcessLister.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentProcessLister.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentProcessLister.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;CACjD"}
@@ -1,4 +0,0 @@
1
- export interface SubAgentSilentSecondsResolver {
2
- resolveSilentSeconds: (label: string) => number;
3
- }
4
- //# sourceMappingURL=SubAgentSilentSecondsResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentSilentSecondsResolver.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACjD"}
@@ -1,4 +0,0 @@
1
- export interface SubAgentTranscriptDirectoryResolver {
2
- resolveSubAgentsDirectory: (sessionName: string, mainTranscriptPath: string | null) => string | null;
3
- }
4
- //# sourceMappingURL=SubAgentTranscriptDirectoryResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubAgentTranscriptDirectoryResolver.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mCAAmC;IAClD,yBAAyB,EAAE,CACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,KAC9B,MAAM,GAAG,IAAI,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export declare const SILENT_SESSION_REMINDER_SENTINEL = "[TDPM_SILENT_SESSION_SELF_CHECK_REMINDER]";
2
- //# sourceMappingURL=silentSessionReminderSentinel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"silentSessionReminderSentinel.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/silentSessionReminderSentinel.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gCAAgC,8CACA,CAAC"}