@loucompanion/forge-bridge 0.2.1-dev.4f11ffc822f9 → 0.2.1-dev.573a8a5fa582
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 -1
- package/dist/bridge/bridge.service.js +1 -9
- package/dist/bridge/bridge.types.d.ts +10 -0
- package/dist/bridge/bridge.types.js +2 -1
- package/dist/bridge/runner-host-capabilities.js +14 -1
- package/dist/bridge/windows-bash-resolution.d.ts +31 -0
- package/dist/bridge/windows-bash-resolution.js +153 -0
- package/dist/cli/cli.service.js +8 -40
- package/dist/cli/local-config.d.ts +10 -1
- package/dist/cli/local-config.js +32 -1
- package/dist/cli/provider-cli-advertising.d.ts +24 -0
- package/dist/cli/provider-cli-advertising.js +88 -0
- package/dist/runtime/host-load-admission.d.ts +5 -0
- package/dist/runtime/host-load-governor-config.d.ts +10 -1
- package/dist/runtime/host-load-governor-config.js +4 -1
- package/dist/runtime/host-load-governor.d.ts +8 -1
- package/dist/runtime/host-load-governor.js +33 -3
- package/dist/runtime/host-load-test-slot.js +7 -0
- package/dist/runtime/host-runtime-contract.js +6 -4
- package/dist/runtime/prepared-runtime-readiness.d.ts +12 -2
- package/dist/runtime/prepared-runtime-readiness.js +35 -11
- package/dist/sandbox/runtime.js +1 -1
- package/dist/session/provider-cli/pre-publication-repair.js +1 -0
- package/dist/session/provider-cli/provider-cli.merge-integrity.d.ts +6 -3
- package/dist/session/provider-cli/provider-cli.merge-integrity.js +29 -10
- package/dist/session/provider-cli/provider-cli.prompts.d.ts +10 -0
- package/dist/session/provider-cli/provider-cli.prompts.js +37 -0
- package/dist/session/provider-cli/provider-cli.service.js +9 -9
- package/dist/session/provider-cli/provider-cli.types.d.ts +7 -2
- package/dist/session/sandbox-host-capacity-gate.js +1 -1
- package/dist/session/session-host-project.d.ts +22 -0
- package/dist/session/session-host-project.js +98 -0
- package/dist/session/session.service.js +24 -70
- package/dist/session/session.types.d.ts +1 -0
- package/dist/session/session.types.js +2 -2
- package/dist/shared/provider-capabilities.d.ts +2 -0
- package/dist/shared/provider-capabilities.js +9 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worktree/wip-git.d.ts +25 -0
- package/dist/worktree/wip-git.js +64 -4
- package/dist/worktree/wip-refs.d.ts +23 -0
- package/dist/worktree/wip-refs.js +52 -2
- package/dist/worktree/wip-restore.d.ts +13 -0
- package/dist/worktree/wip-restore.js +159 -25
- package/dist/worktree/wip-snapshot.d.ts +5 -2
- package/dist/worktree/wip-snapshot.js +15 -13
- package/dist/worktree/worktree-origin-sync.d.ts +1 -0
- package/dist/worktree/worktree-origin-sync.js +1 -0
- package/dist/worktree/worktree-wip-events.d.ts +2 -0
- package/dist/worktree/worktree-wip-events.js +53 -3
- package/dist/worktree/worktree-wip.d.ts +7 -0
- package/dist/worktree/worktree-wip.js +17 -2
- package/dist/worktree/worktree.service.d.ts +1 -1
- package/dist/worktree/worktree.service.js +6 -3
- package/dist/worktree/worktree.types.d.ts +9 -0
- package/package.json +1 -1
|
@@ -26,6 +26,8 @@ export interface WorktreePrepareRequest {
|
|
|
26
26
|
readonly preserveExistingState?: boolean;
|
|
27
27
|
/** The session this worktree is prepared for; names its WIP snapshots and enables restoring one. */
|
|
28
28
|
readonly sessionId?: string | null;
|
|
29
|
+
/** Forge's issued attempt for this dispatch (sandbox.wipAttempt), stamped on its WIP refs: newest work wins. */
|
|
30
|
+
readonly wipAttempt?: number | null;
|
|
29
31
|
/** The attempt dependency installs reserve host capacity for (decision 0013). */
|
|
30
32
|
readonly hostLoadOwner?: {
|
|
31
33
|
readonly dispatchAttemptId: string | null;
|
|
@@ -45,8 +47,15 @@ export interface WorktreeHandle {
|
|
|
45
47
|
readonly hydratedPriorPhaseArtifactCount?: number;
|
|
46
48
|
readonly sessionId?: string | null;
|
|
47
49
|
readonly lane?: string;
|
|
50
|
+
/** Forge's issued attempt for the dispatch the worktree was prepared for; null from older servers. */
|
|
51
|
+
readonly wipAttempt?: number | null;
|
|
48
52
|
/** What happened to the story's saved WIP when this worktree was prepared. */
|
|
49
53
|
readonly wipRestore?: WipRestoreOutcome;
|
|
54
|
+
/**
|
|
55
|
+
* Recorded WIP re-apply conflicts the worktree still has (unresolvedWorktreeReapplyConflicts); the
|
|
56
|
+
* session defers the project start on them. Prepare fails when they cannot be read.
|
|
57
|
+
*/
|
|
58
|
+
readonly reapplyConflicts?: readonly string[];
|
|
50
59
|
/** Set when prepare moved a stale local branch or reused worktree up to origin's head. */
|
|
51
60
|
readonly originSync?: OriginSync;
|
|
52
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loucompanion/forge-bridge",
|
|
3
|
-
"version": "0.2.1-dev.
|
|
3
|
+
"version": "0.2.1-dev.573a8a5fa582",
|
|
4
4
|
"description": "Forge runner bridge CLI for connecting local developer machines to Forge dispatch.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|