github-issue-tower-defence-management 2.204.0 → 2.205.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.
- package/bin/adapter/entry-points/cli/index.js +4 -0
- package/bin/adapter/entry-points/cli/index.js.map +1 -1
- package/bin/adapter/entry-points/console/webServer.js +54 -2
- package/bin/adapter/entry-points/console/webServer.js.map +1 -1
- package/bin/adapter/repositories/FileOwnerCallFileRepository.js +47 -11
- package/bin/adapter/repositories/FileOwnerCallFileRepository.js.map +1 -1
- package/bin/adapter/repositories/GitHubRepositoryFileReader.js +49 -0
- package/bin/adapter/repositories/GitHubRepositoryFileReader.js.map +1 -0
- package/bin/adapter/repositories/OpenAiLiveSessionRepository.js +34 -95
- package/bin/adapter/repositories/OpenAiLiveSessionRepository.js.map +1 -1
- package/bin/adapter/repositories/OpenAiLiveSessionSideband.js +65 -0
- package/bin/adapter/repositories/OpenAiLiveSessionSideband.js.map +1 -0
- package/bin/adapter/repositories/ProcSshSessionHostRepository.js +3 -1
- package/bin/adapter/repositories/ProcSshSessionHostRepository.js.map +1 -1
- package/bin/adapter/repositories/TmuxSshSessionCommandRepository.js +19 -3
- package/bin/adapter/repositories/TmuxSshSessionCommandRepository.js.map +1 -1
- package/bin/adapter/voice-console/voiceConsoleLiveSessionConfig.js +297 -0
- package/bin/adapter/voice-console/voiceConsoleLiveSessionConfig.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsolePaging.js +25 -0
- package/bin/adapter/voice-console/voiceConsolePaging.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsolePendingAction.js +39 -0
- package/bin/adapter/voice-console/voiceConsolePendingAction.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsoleQueue.js +88 -0
- package/bin/adapter/voice-console/voiceConsoleQueue.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsoleSession.js +805 -0
- package/bin/adapter/voice-console/voiceConsoleSession.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsoleSideband.js +150 -0
- package/bin/adapter/voice-console/voiceConsoleSideband.js.map +1 -0
- package/bin/adapter/voice-console/voiceConsoleTaskDocument.js +52 -0
- package/bin/adapter/voice-console/voiceConsoleTaskDocument.js.map +1 -0
- package/bin/domain/usecases/liveSession/LiveSessionToolCall.js +82 -1
- package/bin/domain/usecases/liveSession/LiveSessionToolCall.js.map +1 -1
- package/bin/domain/usecases/liveSession/LiveSessionToolCallUseCase.js +58 -9
- package/bin/domain/usecases/liveSession/LiveSessionToolCallUseCase.js.map +1 -1
- package/package.json +1 -1
- package/types/adapter/entry-points/cli/index.d.ts.map +1 -1
- package/types/adapter/entry-points/console/webServer.d.ts +5 -0
- package/types/adapter/entry-points/console/webServer.d.ts.map +1 -1
- package/types/adapter/repositories/FileOwnerCallFileRepository.d.ts.map +1 -1
- package/types/adapter/repositories/GitHubRepositoryFileReader.d.ts +7 -0
- package/types/adapter/repositories/GitHubRepositoryFileReader.d.ts.map +1 -0
- package/types/adapter/repositories/OpenAiLiveSessionRepository.d.ts.map +1 -1
- package/types/adapter/repositories/OpenAiLiveSessionSideband.d.ts +20 -0
- package/types/adapter/repositories/OpenAiLiveSessionSideband.d.ts.map +1 -0
- package/types/adapter/repositories/ProcSshSessionHostRepository.d.ts.map +1 -1
- package/types/adapter/repositories/TmuxSshSessionCommandRepository.d.ts.map +1 -1
- package/types/adapter/voice-console/voiceConsoleLiveSessionConfig.d.ts +16 -0
- package/types/adapter/voice-console/voiceConsoleLiveSessionConfig.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsolePaging.d.ts +13 -0
- package/types/adapter/voice-console/voiceConsolePaging.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsolePendingAction.d.ts +24 -0
- package/types/adapter/voice-console/voiceConsolePendingAction.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsoleQueue.d.ts +15 -0
- package/types/adapter/voice-console/voiceConsoleQueue.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsoleSession.d.ts +66 -0
- package/types/adapter/voice-console/voiceConsoleSession.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsoleSideband.d.ts +24 -0
- package/types/adapter/voice-console/voiceConsoleSideband.d.ts.map +1 -0
- package/types/adapter/voice-console/voiceConsoleTaskDocument.d.ts +7 -0
- package/types/adapter/voice-console/voiceConsoleTaskDocument.d.ts.map +1 -0
- package/types/domain/usecases/adapter-interfaces/LiveSessionRepository.d.ts +1 -0
- package/types/domain/usecases/adapter-interfaces/LiveSessionRepository.d.ts.map +1 -1
- package/types/domain/usecases/adapter-interfaces/LiveSessionToolRepository.d.ts +6 -0
- package/types/domain/usecases/adapter-interfaces/LiveSessionToolRepository.d.ts.map +1 -1
- package/types/domain/usecases/liveSession/LiveSessionToolCall.d.ts +5 -0
- package/types/domain/usecases/liveSession/LiveSessionToolCall.d.ts.map +1 -1
- package/types/domain/usecases/liveSession/LiveSessionToolCallUseCase.d.ts +4 -1
- package/types/domain/usecases/liveSession/LiveSessionToolCallUseCase.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webServer.d.ts","sourceRoot":"","sources":["../../../../src/adapter/entry-points/console/webServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"webServer.d.ts","sourceRoot":"","sources":["../../../../src/adapter/entry-points/console/webServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAM7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,uEAAuE,CAAC;AAClH,OAAO,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,mEAAmE,CAAC;AAC1G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAInG,OAAO,EAAE,OAAO,EAAE,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,qBAAqB,KAC7B,OAAO,CAAC,IAAI,CAAC,MAAM,CAQlB,CAAC;AAEL,eAAO,MAAM,aAAa,GAAI,QAAQ,IAAI,CAAC,MAAM,KAAG,OAAO,CAAC,IAAI,CAU5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileOwnerCallFileRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileOwnerCallFileRepository.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,oEAAoE,CAAC;
|
|
1
|
+
{"version":3,"file":"FileOwnerCallFileRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/FileOwnerCallFileRepository.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,oEAAoE,CAAC;AA0E5E,qBAAa,2BAA4B,YAAW,uBAAuB;IAC7D,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,MAAM;IAE5C,qBAAqB,QAAO,gBAAgB,EAAE,CAiC5C;CACH"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class GitHubRepositoryFileReader {
|
|
2
|
+
private readonly fetchImplementation;
|
|
3
|
+
private readonly resolveToken;
|
|
4
|
+
constructor(fetchImplementation: typeof fetch, resolveToken: (owner: string) => string);
|
|
5
|
+
readFile(owner: string, repo: string, ref: string, filePath: string): Promise<string>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=GitHubRepositoryFileReader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitHubRepositoryFileReader.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/GitHubRepositoryFileReader.ts"],"names":[],"mappings":"AAuBA,qBAAa,0BAA0B;IAEnC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,mBAAmB,EAAE,OAAO,KAAK,EACjC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;IAGpD,QAAQ,CACZ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC;CAwBnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenAiLiveSessionRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/OpenAiLiveSessionRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"OpenAiLiveSessionRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/OpenAiLiveSessionRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,gEAAgE,CAAC;AAsFxE,qBAAa,2BAA4B,YAAW,qBAAqB;IAErE,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAE3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAHR,mBAAmB,GAAE,OAAO,KAAa,EACzC,UAAU,GAAE,MAAM,MAAM,GAAG,SAChB,EACX,QAAQ,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IACxB;IAGpB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAmD7E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { VoiceConsoleSendEvent } from '../voice-console/voiceConsoleSideband';
|
|
2
|
+
export type VoiceConsoleSocketEventType = 'message' | 'close' | 'error';
|
|
3
|
+
export type VoiceConsoleSocketListener = (event: {
|
|
4
|
+
data?: unknown;
|
|
5
|
+
}) => void;
|
|
6
|
+
export type VoiceConsoleSocket = {
|
|
7
|
+
send(data: string): void;
|
|
8
|
+
addEventListener(type: VoiceConsoleSocketEventType, listener: VoiceConsoleSocketListener): void;
|
|
9
|
+
};
|
|
10
|
+
export type VoiceConsoleSocketFactory = (url: string, headers: Record<string, string>) => VoiceConsoleSocket;
|
|
11
|
+
export type VoiceConsoleServerEventHandler = (event: unknown, send: VoiceConsoleSendEvent) => Promise<void>;
|
|
12
|
+
export declare class OpenAiLiveSessionSideband {
|
|
13
|
+
private readonly createSocket;
|
|
14
|
+
private readonly readApiKey;
|
|
15
|
+
private readonly logError;
|
|
16
|
+
constructor(createSocket?: VoiceConsoleSocketFactory, readApiKey?: () => string | undefined, logError?: (message: string) => void);
|
|
17
|
+
static attachUrl(sessionId: string): string;
|
|
18
|
+
attach(sessionId: string, handleServerEvent: VoiceConsoleServerEventHandler): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=OpenAiLiveSessionSideband.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenAiLiveSessionSideband.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/OpenAiLiveSessionSideband.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAKnF,MAAM,MAAM,2BAA2B,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAExE,MAAM,MAAM,0BAA0B,GAAG,CAAC,KAAK,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gBAAgB,CACd,IAAI,EAAE,2BAA2B,EACjC,QAAQ,EAAE,0BAA0B,GACnC,IAAI,CAAC;CACT,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CACtC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAC5B,kBAAkB,CAAC;AAExB,MAAM,MAAM,8BAA8B,GAAG,CAC3C,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,qBAAqB,KACxB,OAAO,CAAC,IAAI,CAAC,CAAC;AA2BnB,qBAAa,yBAAyB;IAElC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAE3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAHR,YAAY,GAAE,yBAA0D,EACxE,UAAU,GAAE,MAAM,MAAM,GAAG,SAChB,EACX,QAAQ,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IACxB;IAG1B,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAS3C,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,8BAA8B,GAChD,IAAI;CA4CR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProcSshSessionHostRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/ProcSshSessionHostRepository.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,qBAAqB,EACtB,MAAM,oEAAoE,CAAC;
|
|
1
|
+
{"version":3,"file":"ProcSshSessionHostRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/ProcSshSessionHostRepository.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,qBAAqB,EACtB,MAAM,oEAAoE,CAAC;AA8G5E,qBAAa,4BAA6B,YAAW,qBAAqB;IAEtE,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,aAAa;gBADb,mBAAmB,EAAE,MAAM,GAAG,IAAI,EAClC,aAAa,GAAE,MAA+B;IAGjE,sBAAsB,GAAI,UAAU,MAAM,KAAG,WAAW,CA+BtD;IAEF,OAAO,CAAC,yBAAyB,CAqB/B;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TmuxSshSessionCommandRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/TmuxSshSessionCommandRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,oEAAoE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CACxB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,kBAAkB,KACxB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"TmuxSshSessionCommandRepository.d.ts","sourceRoot":"","sources":["../../../src/adapter/repositories/TmuxSshSessionCommandRepository.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,oEAAoE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CACxB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,kBAAkB,KACxB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAuBjC,KAAK,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE7D,eAAO,MAAM,mBAAmB,GAC9B,SAAS,kBAAkB,KAC1B,iBAqDF,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,MACN,CAAC;AAEtC,eAAO,MAAM,aAAa,GACxB,MAAM,OAAO,CAAC,WAAW,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC,EAC9C,YAAY,iBAAiB,KAC5B,iBAmBF,CAAC;AAEF,qBAAa,+BAAgC,YAAW,wBAAwB;IAClE,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,GAAE,WAAgC;IAE1E,GAAG,GACD,MAAM,WAAW,EACjB,SAAS,kBAAkB,KAC1B,OAAO,CAAC,wBAAwB,CAAC,CAgClC;CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type VoiceConsoleToolParameters = {
|
|
2
|
+
type: 'object';
|
|
3
|
+
properties: Record<string, unknown>;
|
|
4
|
+
required?: string[];
|
|
5
|
+
additionalProperties: false;
|
|
6
|
+
};
|
|
7
|
+
export type VoiceConsoleToolDefinition = {
|
|
8
|
+
type: 'function';
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
parameters: VoiceConsoleToolParameters;
|
|
12
|
+
};
|
|
13
|
+
export declare const VOICE_CONSOLE_INSTRUCTIONS: string;
|
|
14
|
+
export declare const VOICE_CONSOLE_TOOL_DEFINITIONS: VoiceConsoleToolDefinition[];
|
|
15
|
+
export declare const VOICE_CONSOLE_TOOL_NAMES: string[];
|
|
16
|
+
//# sourceMappingURL=voiceConsoleLiveSessionConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsoleLiveSessionConfig.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsoleLiveSessionConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,oBAAoB,EAAE,KAAK,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,0BAA0B,CAAC;CACxC,CAAC;AAuCF,eAAO,MAAM,0BAA0B,QAY3B,CAAC;AAEb,eAAO,MAAM,8BAA8B,EAAE,0BAA0B,EAmRtE,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,MAAM,EACwB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const PAGE_CHARACTER_LIMIT = 3000;
|
|
2
|
+
export type PaginatedTextResult = {
|
|
3
|
+
ok: true;
|
|
4
|
+
page: number;
|
|
5
|
+
pageCount: number;
|
|
6
|
+
text: string;
|
|
7
|
+
} | {
|
|
8
|
+
ok: false;
|
|
9
|
+
error: 'page_out_of_range';
|
|
10
|
+
pageCount: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const paginateText: (text: string, page: number | undefined) => PaginatedTextResult;
|
|
13
|
+
//# sourceMappingURL=voiceConsolePaging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsolePaging.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsolePaging.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAC3B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC3D;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,mBAAmB,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAKjE,eAAO,MAAM,YAAY,GACvB,MAAM,MAAM,EACZ,MAAM,MAAM,GAAG,SAAS,KACvB,mBAiBF,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const OWNER_CONFIRMATION_REPLY = "\u306F\u3044";
|
|
2
|
+
export declare const normalizeSpeech: (speech: string) => string;
|
|
3
|
+
export type PreparedVoiceAction = {
|
|
4
|
+
actionId: string;
|
|
5
|
+
requestPath: string;
|
|
6
|
+
body: Record<string, unknown>;
|
|
7
|
+
readBack: string;
|
|
8
|
+
removesFromQueue: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type VoiceConsolePendingConfirmResult = {
|
|
11
|
+
ok: true;
|
|
12
|
+
action: PreparedVoiceAction;
|
|
13
|
+
} | {
|
|
14
|
+
ok: false;
|
|
15
|
+
error: 'no_pending_action' | 'action_id_mismatch' | 'owner_reply_not_yes';
|
|
16
|
+
};
|
|
17
|
+
export declare class VoiceConsolePendingActionStore {
|
|
18
|
+
private pending;
|
|
19
|
+
prepare(action: PreparedVoiceAction): void;
|
|
20
|
+
current(): PreparedVoiceAction | null;
|
|
21
|
+
confirm(actionId: string, ownerReply: string): VoiceConsolePendingConfirmResult;
|
|
22
|
+
cancel(): void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=voiceConsolePendingAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsolePendingAction.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsolePendingAction.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,iBAAO,CAAC;AAM7C,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,MACL,CAAC;AAE7C,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GACxC;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,mBAAmB,CAAA;CAAE,GACzC;IACE,EAAE,EAAE,KAAK,CAAC;IACV,KAAK,EAAE,mBAAmB,GAAG,oBAAoB,GAAG,qBAAqB,CAAC;CAC3E,CAAC;AAEN,qBAAa,8BAA8B;IACzC,OAAO,CAAC,OAAO,CAAoC;IAEnD,OAAO,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI;IAI1C,OAAO,IAAI,mBAAmB,GAAG,IAAI;IAIrC,OAAO,CACL,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,gCAAgC;IAenC,MAAM,IAAI,IAAI;CAGf"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ConsoleFieldOption, ConsoleListItem } from '../../domain/usecases/console/GenerateConsoleListsUseCase';
|
|
2
|
+
export declare const VOICE_CONSOLE_QUEUE_TABS: readonly ["todo-by-human", "prs"];
|
|
3
|
+
export type VoiceConsoleQueueTab = (typeof VOICE_CONSOLE_QUEUE_TABS)[number];
|
|
4
|
+
export type VoiceConsoleQueueEntry = {
|
|
5
|
+
pjcode: string;
|
|
6
|
+
tab: VoiceConsoleQueueTab;
|
|
7
|
+
item: ConsoleListItem;
|
|
8
|
+
statusOptions: ConsoleFieldOption[];
|
|
9
|
+
};
|
|
10
|
+
export type BuildVoiceConsoleQueueInput = {
|
|
11
|
+
consoleDataOutputDir: string;
|
|
12
|
+
projectPjcodes: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const buildVoiceConsoleQueue: (input: BuildVoiceConsoleQueueInput) => VoiceConsoleQueueEntry[];
|
|
15
|
+
//# sourceMappingURL=voiceConsoleQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsoleQueue.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsoleQueue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EAChB,MAAM,2DAA2D,CAAC;AAEnE,eAAO,MAAM,wBAAwB,mCAAoC,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,oBAAoB,CAAC;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,aAAa,EAAE,kBAAkB,EAAE,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAwCF,eAAO,MAAM,sBAAsB,GACjC,OAAO,2BAA2B,KACjC,sBAAsB,EAqBxB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { IssueRepository } from '../../domain/usecases/adapter-interfaces/IssueRepository';
|
|
2
|
+
export type VoiceConsoleOperationResponse = {
|
|
3
|
+
statusCode: number;
|
|
4
|
+
body: unknown;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceConsoleSessionDeps = {
|
|
7
|
+
consoleDataOutputDir: string | null;
|
|
8
|
+
projectPjcodes: string[];
|
|
9
|
+
resolveIssueRepository: (issueOrPullRequestUrl: string) => IssueRepository;
|
|
10
|
+
searchIssues: (query: string) => Promise<unknown[]>;
|
|
11
|
+
getAuthenticatedUserLogin: () => Promise<string>;
|
|
12
|
+
readRepositoryFile: (owner: string, repo: string, ref: string, filePath: string) => Promise<string>;
|
|
13
|
+
runOperation: (requestPath: string, body: Record<string, unknown>) => Promise<VoiceConsoleOperationResponse>;
|
|
14
|
+
newActionId: () => string;
|
|
15
|
+
logError: (message: string) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare class VoiceConsoleSession {
|
|
18
|
+
private readonly deps;
|
|
19
|
+
private entries;
|
|
20
|
+
private loaded;
|
|
21
|
+
private index;
|
|
22
|
+
private readonly removedKeys;
|
|
23
|
+
private readonly pendingActions;
|
|
24
|
+
private pendingTargetKey;
|
|
25
|
+
private ownerSpeech;
|
|
26
|
+
private assistantSpeech;
|
|
27
|
+
private pendingTargetTitle;
|
|
28
|
+
private readBackState;
|
|
29
|
+
constructor(deps: VoiceConsoleSessionDeps);
|
|
30
|
+
recordAssistantSpeech(delta: string): void;
|
|
31
|
+
recordOwnerSpeech(delta: string): void;
|
|
32
|
+
callTool(name: string, argumentsJson: string): Promise<string>;
|
|
33
|
+
private dispatch;
|
|
34
|
+
private ensureQueueLoaded;
|
|
35
|
+
private reloadQueue;
|
|
36
|
+
private applyEntries;
|
|
37
|
+
private removeQueueEntry;
|
|
38
|
+
private currentEntry;
|
|
39
|
+
private requireCurrentEntry;
|
|
40
|
+
private describeEntry;
|
|
41
|
+
private queueOverview;
|
|
42
|
+
private moveToNextTask;
|
|
43
|
+
private moveToPreviousTask;
|
|
44
|
+
private jumpToTask;
|
|
45
|
+
private currentTaskSummary;
|
|
46
|
+
private currentTaskDetail;
|
|
47
|
+
private readGithubUrl;
|
|
48
|
+
private readPullRequest;
|
|
49
|
+
private currentPullRequestUrl;
|
|
50
|
+
private readRepositoryFileTool;
|
|
51
|
+
private searchIssuesTool;
|
|
52
|
+
private stageAction;
|
|
53
|
+
private triageBody;
|
|
54
|
+
private requireStatusOption;
|
|
55
|
+
private prepareOk;
|
|
56
|
+
private prepareCommentAndMoveToAwaitingWorkspace;
|
|
57
|
+
private prepareCommentOnly;
|
|
58
|
+
private prepareClose;
|
|
59
|
+
private prepareSnooze;
|
|
60
|
+
private prepareSetStatus;
|
|
61
|
+
private prepareMoveToInTmuxByHuman;
|
|
62
|
+
private preparePullRequestReview;
|
|
63
|
+
private confirmPendingAction;
|
|
64
|
+
private cancelPendingAction;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=voiceConsoleSession.d.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
+
export type VoiceConsoleToolCaller = {
|
|
2
|
+
callTool(name: string, argumentsJson: string): Promise<string>;
|
|
3
|
+
};
|
|
4
|
+
export type VoiceConsoleSidebandSession = VoiceConsoleToolCaller & {
|
|
5
|
+
recordAssistantSpeech(delta: string): void;
|
|
6
|
+
recordOwnerSpeech(delta: string): void;
|
|
7
|
+
};
|
|
8
|
+
export type VoiceConsoleSendEvent = (event: Record<string, unknown>) => void;
|
|
9
|
+
export declare class VoiceConsoleSidebandHandler {
|
|
10
|
+
private readonly session;
|
|
11
|
+
private readonly send;
|
|
12
|
+
private readonly logError;
|
|
13
|
+
private readonly seenEventIds;
|
|
14
|
+
private readonly seenCallIds;
|
|
15
|
+
private readonly pendingResponses;
|
|
16
|
+
private currentResponseId;
|
|
17
|
+
private processing;
|
|
18
|
+
constructor(session: VoiceConsoleSidebandSession, send: VoiceConsoleSendEvent, logError: (message: string) => void);
|
|
19
|
+
handleServerEvent(event: unknown): Promise<void>;
|
|
20
|
+
private processServerEvent;
|
|
21
|
+
private collectFunctionCall;
|
|
22
|
+
private submitResponse;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=voiceConsoleSideband.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsoleSideband.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsoleSideband.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;AA+F7E,qBAAa,2BAA2B;IAQpC,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAT3B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAqB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAsC;IACvE,OAAO,CAAC,iBAAiB,CAAuB;IAChD,OAAO,CAAC,UAAU,CAAoC;gBAGnC,OAAO,EAAE,2BAA2B,EACpC,IAAI,EAAE,qBAAqB,EAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI;IAKtD,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;YAYlC,kBAAkB;YAsClB,mBAAmB;IAqBjC,OAAO,CAAC,cAAc;CAiBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConsoleTaskDocument.d.ts","sourceRoot":"","sources":["../../../src/adapter/voice-console/voiceConsoleTaskDocument.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAoDF,eAAO,MAAM,0BAA0B,GACrC,UAAU,uBAAuB,EAAE,KAClC,MAAM,GAAG,IAOX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSessionRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/LiveSessionRepository.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAC/B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"LiveSessionRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/LiveSessionRepository.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAC/B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,GACzB;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACxE"}
|
|
@@ -45,6 +45,12 @@ export type SessionReadCommand = {
|
|
|
45
45
|
} | {
|
|
46
46
|
kind: 'listDirectory';
|
|
47
47
|
path: string;
|
|
48
|
+
} | {
|
|
49
|
+
kind: 'gitTopLevel';
|
|
50
|
+
folderPath: string;
|
|
51
|
+
} | {
|
|
52
|
+
kind: 'gitTrackedFiles';
|
|
53
|
+
topLevelPath: string;
|
|
48
54
|
};
|
|
49
55
|
export type SessionReadCommandResult = {
|
|
50
56
|
kind: 'exited';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSessionToolRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/LiveSessionToolRepository.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,qBAAqB,EAAE,MAAM,gBAAgB,EAAE,CAAC;CACjD;AAED,MAAM,WAAW,uBAAuB;IACtC,kBAAkB,EAAE,MAAM,MAAM,EAAE,CAAC;CACpC;AAED,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5C,MAAM,WAAW,qBAAqB;IACpC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,WAAW,CAAC;CAC3D;AAED,MAAM,MAAM,kBAAkB,GAC1B;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAChD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"LiveSessionToolRepository.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/adapter-interfaces/LiveSessionToolRepository.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,qBAAq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CAAC;AAEtD,MAAM,MAAM,wBAAwB,GAChC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACpD;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC;AAE5B,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,CACH,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,kBAAkB,KACxB,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACxC"}
|
|
@@ -32,4 +32,9 @@ export declare const joinSessionFolderPath: (folderRealPath: string, relativePat
|
|
|
32
32
|
export declare const isPathInsideFolder: (folderRealPath: string, targetRealPath: string) => boolean;
|
|
33
33
|
export declare const isBinaryText: (text: string) => boolean;
|
|
34
34
|
export declare const lastScreenLines: (text: string, lineCount: number) => string;
|
|
35
|
+
export declare const isCredentialLikePath: (components: readonly string[]) => boolean;
|
|
36
|
+
export declare const pathComponentsOf: (realPath: string) => string[];
|
|
37
|
+
export declare const directChildrenOfTrackedPaths: (trackedPaths: readonly string[], directoryComponents: readonly string[]) => string[];
|
|
38
|
+
export declare const componentsBelowFolder: (folderRealPath: string, targetRealPath: string) => string[];
|
|
39
|
+
export declare const isFolderRefusedForFileRead: (folderRealPath: string, homeRealPath: string) => boolean;
|
|
35
40
|
//# sourceMappingURL=LiveSessionToolCall.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSessionToolCall.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/liveSession/LiveSessionToolCall.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oCAAoC,QAAY,CAAC;AAE9D,eAAO,MAAM,kCAAkC,QAAW,CAAC;AAE3D,eAAO,MAAM,qCAAqC,QAAW,CAAC;AAE9D,eAAO,MAAM,sCAAsC,KAAK,CAAC;AAEzD,eAAO,MAAM,kCAAkC,MAAM,CAAC;AAEtD,eAAO,MAAM,uBAAuB;;;;;C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M,EAAE,WAAW,MAAM,KAAG,MAOjE,CAAC;AAqDF,eAAO,MAAM,oBAAoB,GAAI,YAAY,SAAS,MAAM,EAAE,KAAG,OAE1B,CAAC;AAE5C,eAAO,MAAM,gBAAgB,GAAI,UAAU,MAAM,KAAG,MAAM,EACH,CAAC;AAExD,eAAO,MAAM,4BAA4B,GACvC,cAAc,SAAS,MAAM,EAAE,EAC/B,qBAAqB,SAAS,MAAM,EAAE,KACrC,MAAM,EAeR,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,gBAAgB,MAAM,EACtB,gBAAgB,MAAM,KACrB,MAAM,EAUR,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,gBAAgB,MAAM,EACtB,cAAc,MAAM,KACnB,OAOF,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { IssueRepository } from '../adapter-interfaces/IssueRepository';
|
|
|
3
3
|
import { LiveSessionToolCallInput, LiveSessionToolCallOutcome, LiveSessionToolCallRunner } from './LiveSessionToolCall';
|
|
4
4
|
export type LiveSessionIssueReader = Pick<IssueRepository, 'getIssueByUrl' | 'getIssueOrPullRequestBody' | 'getIssueOrPullRequestComments'>;
|
|
5
5
|
export type LiveSessionToolCallDependencies = {
|
|
6
|
+
localHomeDirectory: string;
|
|
6
7
|
ownerCalls: OwnerCallFileRepository;
|
|
7
8
|
knownIssueUrls: KnownIssueUrlRepository;
|
|
8
9
|
hosts: SessionHostRepository;
|
|
@@ -21,7 +22,9 @@ export declare class LiveSessionToolCallUseCase implements LiveSessionToolCallRu
|
|
|
21
22
|
private issueUrlOf;
|
|
22
23
|
private locateSession;
|
|
23
24
|
private realPathOf;
|
|
24
|
-
private
|
|
25
|
+
private commandStdout;
|
|
26
|
+
private trackedPathsOf;
|
|
27
|
+
private listTrackedDirectory;
|
|
25
28
|
private readFileText;
|
|
26
29
|
}
|
|
27
30
|
//# sourceMappingURL=LiveSessionToolCallUseCase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSessionToolCallUseCase.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/liveSession/LiveSessionToolCallUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EAExB,qBAAqB,EAEtB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAOL,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,
|
|
1
|
+
{"version":3,"file":"LiveSessionToolCallUseCase.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/liveSession/LiveSessionToolCallUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EAExB,qBAAqB,EAEtB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAOL,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EAa1B,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,eAAe,EACb,eAAe,GACf,2BAA2B,GAC3B,+BAA+B,CAClC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,uBAAuB,CAAC;IACpC,cAAc,EAAE,uBAAuB,CAAC;IACxC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,MAAM,EAAE,sBAAsB,CAAC;CAChC,CAAC;AAwGF,qBAAa,0BAA2B,YAAW,yBAAyB;IAC9D,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,+BAA+B;IAE1E,GAAG,GACD,OAAO,wBAAwB,KAC9B,OAAO,CAAC,0BAA0B,CAAC,CAapC;IAEF,OAAO,CAAC,mBAAmB,CAkBvB;IAEJ,OAAO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