@loucompanion/forge-bridge 0.1.1-dev.9acab970e5d1 → 0.1.1-dev.ac656b52f9c6
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.d.ts +1 -0
- package/dist/bridge/bridge.service.js +146 -17
- package/dist/bridge/bridge.types.d.ts +4 -2
- package/dist/cli/cli.service.js +225 -10
- package/dist/cli/local-config.d.ts +1 -0
- package/dist/cli/local-config.js +18 -3
- package/dist/config.js +1 -1
- package/dist/session/phase-completion.d.ts +8 -4
- package/dist/session/phase-completion.js +551 -19
- package/dist/session/provider-cli/provider-cli.base.d.ts +3 -1
- package/dist/session/provider-cli/provider-cli.service.d.ts +9 -1
- package/dist/session/provider-cli/provider-cli.service.js +870 -197
- package/dist/session/provider-cli/provider-cli.types.d.ts +5 -0
- package/dist/session/session.service.js +41 -4
- package/dist/session/session.types.d.ts +75 -0
- package/dist/session/session.types.js +143 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worktree/artifact-injector.js +52 -4
- package/dist/worktree/worktree.service.d.ts +1 -0
- package/dist/worktree/worktree.service.js +128 -3
- package/dist/worktree/worktree.types.d.ts +6 -1
- package/package.json +8 -3
|
@@ -2,7 +2,8 @@ import type { RunOnceDispatchPacket, RunnerDispatchArtifact } from "./session.ty
|
|
|
2
2
|
import type { WorktreeHandle } from "../worktree/worktree.types.js";
|
|
3
3
|
export type DevelopCompletionPhase = "implementation" | "self_review" | "validation";
|
|
4
4
|
export type DebugCompletionPhase = "debug_repro" | "debug_root_cause" | "debug_fix" | "debug_regression";
|
|
5
|
-
export type
|
|
5
|
+
export type ArchitectCompletionPhase = "architect";
|
|
6
|
+
export type CompletionPhase = DevelopCompletionPhase | "qa" | DebugCompletionPhase | ArchitectCompletionPhase;
|
|
6
7
|
export type QaCompletionGate = "qa_plan" | "qa_regression" | "qa_api" | "qa_manual_web" | "qa_bug_repro" | "qa_findings" | "qa_verdict";
|
|
7
8
|
export interface CompletionToolRuntime {
|
|
8
9
|
readonly serverName: string;
|
|
@@ -28,6 +29,7 @@ export interface CompletionToolServerConfig {
|
|
|
28
29
|
readonly developCycle?: boolean;
|
|
29
30
|
readonly qaCycle?: boolean;
|
|
30
31
|
readonly debugCycle?: boolean;
|
|
32
|
+
readonly architectCycle?: boolean;
|
|
31
33
|
}
|
|
32
34
|
export interface CompletionToolCallResult {
|
|
33
35
|
readonly content: readonly {
|
|
@@ -65,6 +67,7 @@ export declare function normalizeCompletionPhase(value: string | null | undefine
|
|
|
65
67
|
export declare function usesDevelopCycleCompletion(dispatch: RunOnceDispatchPacket): boolean;
|
|
66
68
|
export declare function usesQaCycleCompletion(dispatch: RunOnceDispatchPacket): boolean;
|
|
67
69
|
export declare function usesDebugCycleCompletion(dispatch: RunOnceDispatchPacket): boolean;
|
|
70
|
+
export declare function usesArchitectCycleCompletion(dispatch: RunOnceDispatchPacket): boolean;
|
|
68
71
|
export declare function completionToolNamesForPhase(phase: CompletionPhase): readonly string[];
|
|
69
72
|
export declare function completionToolNamesForQaGate(gate: QaCompletionGate): readonly string[];
|
|
70
73
|
export declare function completionToolNamesForDebugGate(gate: DebugCompletionPhase): readonly string[];
|
|
@@ -72,8 +75,9 @@ export declare function expectedCompletionToolName(phase: CompletionPhase): stri
|
|
|
72
75
|
export declare function expectedQaCompletionToolName(gate: QaCompletionGate): string;
|
|
73
76
|
export declare function expectedDebugCompletionToolName(gate: DebugCompletionPhase): string;
|
|
74
77
|
export declare function artifactRootFor(worktreePath: string, workItemId: string): string;
|
|
75
|
-
export declare function
|
|
76
|
-
export declare function
|
|
78
|
+
export declare function artifactRootForOwner(worktreePath: string, ownerType: string, ownerId: string): string;
|
|
79
|
+
export declare function completionArtifactJsonPath(worktreePath: string, workItemId: string, phase: CompletionPhase, ownerType?: string | null, ownerId?: string | null): string;
|
|
80
|
+
export declare function completionArtifactReportPath(worktreePath: string, workItemId: string, phase: CompletionPhase, ownerType?: string | null, ownerId?: string | null): string;
|
|
77
81
|
export declare function prepareCompletionToolRuntime(options: CompletionToolRuntimeOptions): Promise<CompletionToolRuntime>;
|
|
78
82
|
export declare function buildCompletionToolServerArgs(config: CompletionToolServerConfig): readonly string[];
|
|
79
83
|
export declare function codexMcpConfigArgs(runtime: CompletionToolRuntime): readonly string[];
|
|
@@ -99,7 +103,7 @@ export declare class CompletionToolServerSession {
|
|
|
99
103
|
private advanceAfterDebugGate;
|
|
100
104
|
}
|
|
101
105
|
export declare function writeCompletionArtifact(config: CompletionToolServerConfig, toolName: string, input: unknown): Promise<CompletionArtifactReference>;
|
|
102
|
-
export declare function readCompletionArtifact(worktreePath: string, workItemId: string, phase: CompletionPhase): Promise<RunnerDispatchArtifact | null>;
|
|
106
|
+
export declare function readCompletionArtifact(worktreePath: string, workItemId: string, phase: CompletionPhase, ownerType?: string | null, ownerId?: string | null): Promise<RunnerDispatchArtifact | null>;
|
|
103
107
|
export declare function runCompletionMcpServer(config: CompletionToolServerConfig): Promise<void>;
|
|
104
108
|
export declare function parseCompletionMcpArgs(argv: readonly string[]): {
|
|
105
109
|
readonly ok: true;
|