github-issue-tower-defence-management 2.44.0 → 2.45.1
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 +3 -25
- package/bin/adapter/entry-points/console/ui-dist/assets/index-B2jKAS4W.js +88 -0
- package/bin/adapter/entry-points/console/ui-dist/index.html +1 -1
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js +0 -52
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js.map +1 -1
- package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js +4 -49
- package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js.map +1 -1
- package/bin/domain/usecases/NotifySilentLiveSessionsUseCase.js +1 -231
- package/bin/domain/usecases/NotifySilentLiveSessionsUseCase.js.map +1 -1
- package/package.json +1 -1
- package/types/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/notifySilentTmuxSessions.d.ts +1 -29
- package/types/adapter/entry-points/handlers/notifySilentTmuxSessions.d.ts.map +1 -1
- package/types/domain/usecases/NotifySilentLiveSessionsUseCase.d.ts +0 -45
- package/types/domain/usecases/NotifySilentLiveSessionsUseCase.d.ts.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/index-4vTDgjDI.js +0 -88
- package/bin/adapter/repositories/ConfigurableSilentSessionMessageComposer.js +0 -71
- package/bin/adapter/repositories/ConfigurableSilentSessionMessageComposer.js.map +0 -1
- package/bin/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.js +0 -137
- package/bin/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.js.map +0 -1
- package/bin/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.js +0 -126
- package/bin/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.js.map +0 -1
- package/bin/adapter/repositories/FileSystemSubAgentLivenessResolver.js +0 -81
- package/bin/adapter/repositories/FileSystemSubAgentLivenessResolver.js.map +0 -1
- package/bin/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.js +0 -67
- package/bin/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.js.map +0 -1
- package/bin/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.js +0 -57
- package/bin/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.js.map +0 -1
- package/bin/adapter/repositories/NodeSubAgentProcessLister.js +0 -37
- package/bin/adapter/repositories/NodeSubAgentProcessLister.js.map +0 -1
- package/bin/adapter/repositories/ProcessListSessionSubAgentActivityRepository.js +0 -50
- package/bin/adapter/repositories/ProcessListSessionSubAgentActivityRepository.js.map +0 -1
- package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js +0 -382
- package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js.map +0 -1
- package/bin/domain/entities/LiveSessionActivitySnapshot.js +0 -3
- package/bin/domain/entities/LiveSessionActivitySnapshot.js.map +0 -1
- package/bin/domain/usecases/DefaultSilentSessionMessageComposer.js +0 -49
- package/bin/domain/usecases/DefaultSilentSessionMessageComposer.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SubAgentProcessLister.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SubAgentProcessLister.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.js.map +0 -1
- package/bin/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.js +0 -3
- package/bin/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.js.map +0 -1
- package/bin/domain/usecases/silentSessionReminderSentinel.js +0 -12
- package/bin/domain/usecases/silentSessionReminderSentinel.js.map +0 -1
- package/types/adapter/repositories/ConfigurableSilentSessionMessageComposer.d.ts +0 -18
- package/types/adapter/repositories/ConfigurableSilentSessionMessageComposer.d.ts.map +0 -1
- package/types/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.d.ts +0 -20
- package/types/adapter/repositories/FileSystemSilentSessionCandidateStateRepository.d.ts.map +0 -1
- package/types/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts +0 -21
- package/types/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts.map +0 -1
- package/types/adapter/repositories/FileSystemSubAgentLivenessResolver.d.ts +0 -11
- package/types/adapter/repositories/FileSystemSubAgentLivenessResolver.d.ts.map +0 -1
- package/types/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.d.ts +0 -9
- package/types/adapter/repositories/FileSystemSubAgentSilentSecondsResolver.d.ts.map +0 -1
- package/types/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.d.ts +0 -7
- package/types/adapter/repositories/FileSystemSubAgentTranscriptDirectoryResolver.d.ts.map +0 -1
- package/types/adapter/repositories/NodeSubAgentProcessLister.d.ts +0 -8
- package/types/adapter/repositories/NodeSubAgentProcessLister.d.ts.map +0 -1
- package/types/adapter/repositories/ProcessListSessionSubAgentActivityRepository.d.ts +0 -12
- package/types/adapter/repositories/ProcessListSessionSubAgentActivityRepository.d.ts.map +0 -1
- package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts +0 -21
- package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts.map +0 -1
- package/types/domain/entities/LiveSessionActivitySnapshot.d.ts +0 -12
- package/types/domain/entities/LiveSessionActivitySnapshot.d.ts.map +0 -1
- package/types/domain/usecases/DefaultSilentSessionMessageComposer.d.ts +0 -7
- package/types/domain/usecases/DefaultSilentSessionMessageComposer.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.d.ts +0 -5
- package/types/domain/usecases/adapter-interfaces/SessionSubAgentActivityRepository.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.d.ts +0 -11
- package/types/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts +0 -19
- package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.d.ts +0 -10
- package/types/domain/usecases/adapter-interfaces/SilentSessionMessageComposer.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.d.ts +0 -7
- package/types/domain/usecases/adapter-interfaces/SubAgentLivenessResolver.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SubAgentProcessLister.d.ts +0 -8
- package/types/domain/usecases/adapter-interfaces/SubAgentProcessLister.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.d.ts +0 -4
- package/types/domain/usecases/adapter-interfaces/SubAgentSilentSecondsResolver.d.ts.map +0 -1
- package/types/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.d.ts +0 -4
- package/types/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.d.ts.map +0 -1
- package/types/domain/usecases/silentSessionReminderSentinel.d.ts +0 -2
- package/types/domain/usecases/silentSessionReminderSentinel.d.ts.map +0 -1
|
@@ -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
|
package/types/adapter/repositories/FileSystemSilentSessionHubTaskStatusCacheRepository.d.ts.map
DELETED
|
@@ -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
|
package/types/domain/usecases/adapter-interfaces/SilentSessionCandidateStateRepository.d.ts.map
DELETED
|
@@ -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"}
|
package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts
DELETED
|
@@ -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
|
package/types/domain/usecases/adapter-interfaces/SilentSessionHubTaskStatusCacheRepository.d.ts.map
DELETED
|
@@ -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 +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 +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 +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"}
|
package/types/domain/usecases/adapter-interfaces/SubAgentTranscriptDirectoryResolver.d.ts.map
DELETED
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"silentSessionReminderSentinel.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/silentSessionReminderSentinel.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gCAAgC,8CACA,CAAC"}
|