@loucompanion/forge-bridge 0.1.1-dev.af36c7fa102b → 0.1.1-dev.e52b249f07a8
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/dist/bridge/bridge.service.js +29 -1
- package/dist/bridge/bridge.types.d.ts +9 -0
- package/dist/cli/cli.service.js +7 -0
- package/dist/cli/local-config.js +18 -1
- package/dist/session/phase-completion.d.ts +37 -1
- package/dist/session/phase-completion.js +1013 -83
- package/dist/session/provider-cli/provider-cli.base.d.ts +1 -2
- package/dist/session/provider-cli/provider-cli.service.d.ts +5 -4
- package/dist/session/provider-cli/provider-cli.service.js +1075 -116
- package/dist/session/provider-cli/provider-cli.types.d.ts +1 -0
- package/dist/session/provider-cli/provider-usage.d.ts +25 -0
- package/dist/session/provider-cli/provider-usage.js +64 -0
- package/dist/session/qa-sidecar-validation.d.ts +3 -0
- package/dist/session/qa-sidecar-validation.js +44 -0
- package/dist/session/session.service.js +12 -14
- package/dist/session/session.types.d.ts +38 -0
- package/dist/session/session.types.js +96 -2
- package/dist/shared/cursor-agent/cursor-agent.launch.d.ts +9 -0
- package/dist/shared/cursor-agent/cursor-agent.launch.js +66 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worktree/artifact-injector.js +1 -4
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ProviderCliRunContext, ProviderCliRunResult } from "./provider-cli.types.js";
|
|
2
|
-
import type { RunOnceDispatchPacket, RunnerDispatchEvent } from "../session.types.js";
|
|
3
2
|
export interface ProviderCliService {
|
|
4
3
|
runImplementation(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
5
4
|
runConflictResolve(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
6
|
-
runQa(
|
|
5
|
+
runQa(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
7
6
|
}
|
|
@@ -2,7 +2,7 @@ import { GitClient } from "../../shared/git/git.js";
|
|
|
2
2
|
import { type CompletionToolRuntime } from "../phase-completion.js";
|
|
3
3
|
import type { ProviderCliService } from "./provider-cli.base.js";
|
|
4
4
|
import type { ProviderCliRunContext, ProviderCliRunResult } from "./provider-cli.types.js";
|
|
5
|
-
import type { RunOnceDispatchPacket
|
|
5
|
+
import type { RunOnceDispatchPacket } from "../session.types.js";
|
|
6
6
|
export interface ProviderCliCommand {
|
|
7
7
|
readonly command: string;
|
|
8
8
|
readonly args: readonly string[];
|
|
@@ -11,6 +11,7 @@ export interface ProviderProcessRunRequest {
|
|
|
11
11
|
readonly command: string;
|
|
12
12
|
readonly args: readonly string[];
|
|
13
13
|
readonly cwd: string;
|
|
14
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
14
15
|
}
|
|
15
16
|
export interface ProviderProcessRunResult {
|
|
16
17
|
readonly exitCode: number;
|
|
@@ -30,21 +31,21 @@ export declare class RoutingProviderCliService implements ProviderCliService {
|
|
|
30
31
|
constructor(realProvider?: ProviderCliService, deterministicProvider?: ProviderCliService);
|
|
31
32
|
runImplementation(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
32
33
|
runConflictResolve(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
33
|
-
runQa(
|
|
34
|
+
runQa(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
34
35
|
}
|
|
35
36
|
export declare class ProcessBackedProviderCliService implements ProviderCliService {
|
|
36
37
|
private readonly processRunner;
|
|
37
38
|
private readonly git;
|
|
38
39
|
constructor(processRunner?: ProviderProcessRunner, git?: GitClient);
|
|
39
40
|
runImplementation(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
40
|
-
runQa(
|
|
41
|
+
runQa(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
41
42
|
runConflictResolve(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
42
43
|
}
|
|
43
44
|
export declare class DeterministicProviderCliService implements ProviderCliService {
|
|
44
45
|
private readonly git;
|
|
45
46
|
constructor(git?: GitClient);
|
|
46
47
|
runImplementation(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
47
|
-
runQa(
|
|
48
|
+
runQa(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
48
49
|
runConflictResolve(context: ProviderCliRunContext): Promise<ProviderCliRunResult>;
|
|
49
50
|
}
|
|
50
51
|
export declare class StreamingProviderProcessRunner implements ProviderProcessRunner {
|