agl 1.0.17 → 21.0.2
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/.smartconfig.json +55 -0
- package/changelog.md +1026 -0
- package/cli.js +14 -0
- package/dist_serve/bundle.js +44778 -0
- package/dist_serve/index.html +13 -0
- package/dist_ts/00_commitinfo_data.d.ts +8 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/dist_ts/classes.authmodels.d.ts +126 -0
- package/dist_ts/classes.authmodels.js +1422 -0
- package/dist_ts/classes.authstore.d.ts +160 -0
- package/dist_ts/classes.authstore.js +2483 -0
- package/dist_ts/classes.browserresourcehost.d.ts +85 -0
- package/dist_ts/classes.browserresourcehost.js +912 -0
- package/dist_ts/classes.cli.d.ts +21 -0
- package/dist_ts/classes.cli.js +1082 -0
- package/dist_ts/classes.config.d.ts +23 -0
- package/dist_ts/classes.config.js +267 -0
- package/dist_ts/classes.controller.d.ts +523 -0
- package/dist_ts/classes.controller.js +10611 -0
- package/dist_ts/classes.controllermanagement.d.ts +32 -0
- package/dist_ts/classes.controllermanagement.js +222 -0
- package/dist_ts/classes.draftmanager.d.ts +30 -0
- package/dist_ts/classes.draftmanager.js +179 -0
- package/dist_ts/classes.embeddeddb.d.ts +30 -0
- package/dist_ts/classes.embeddeddb.js +159 -0
- package/dist_ts/classes.flexframedtransport.d.ts +56 -0
- package/dist_ts/classes.flexframedtransport.js +275 -0
- package/dist_ts/classes.flexmodels.private.d.ts +231 -0
- package/dist_ts/classes.flexmodels.private.js +985 -0
- package/dist_ts/classes.flexmodels.public.d.ts +207 -0
- package/dist_ts/classes.flexmodels.public.js +885 -0
- package/dist_ts/classes.flexprojectionreader.d.ts +89 -0
- package/dist_ts/classes.flexprojectionreader.js +580 -0
- package/dist_ts/classes.flexservice.d.ts +196 -0
- package/dist_ts/classes.flexservice.js +3704 -0
- package/dist_ts/classes.flexstore.d.ts +174 -0
- package/dist_ts/classes.flexstore.js +3400 -0
- package/dist_ts/classes.flexsupervisor.d.ts +105 -0
- package/dist_ts/classes.flexsupervisor.js +1191 -0
- package/dist_ts/classes.gitreversion.d.ts +431 -0
- package/dist_ts/classes.gitreversion.js +10592 -0
- package/dist_ts/classes.harnessoperationmanager.d.ts +113 -0
- package/dist_ts/classes.harnessoperationmanager.js +602 -0
- package/dist_ts/classes.opencodeclient.d.ts +146 -0
- package/dist_ts/classes.opencodeclient.js +3003 -0
- package/dist_ts/classes.opencodesupervisor.d.ts +60 -0
- package/dist_ts/classes.opencodesupervisor.js +1003 -0
- package/dist_ts/classes.passkeymanager.d.ts +34 -0
- package/dist_ts/classes.passkeymanager.js +456 -0
- package/dist_ts/classes.processinspection.d.ts +50 -0
- package/dist_ts/classes.processinspection.js +484 -0
- package/dist_ts/classes.resourcecoordinator.d.ts +64 -0
- package/dist_ts/classes.resourcecoordinator.js +294 -0
- package/dist_ts/classes.sessionintelligencereader.d.ts +13 -0
- package/dist_ts/classes.sessionintelligencereader.js +40 -0
- package/dist_ts/classes.systemmetricssampler.d.ts +53 -0
- package/dist_ts/classes.systemmetricssampler.js +168 -0
- package/dist_ts/classes.terminalmanager.d.ts +95 -0
- package/dist_ts/classes.terminalmanager.js +981 -0
- package/dist_ts/classes.terminalresourcehost.d.ts +20 -0
- package/dist_ts/classes.terminalresourcehost.js +84 -0
- package/dist_ts/classes.upgradecoordinator.d.ts +244 -0
- package/dist_ts/classes.upgradecoordinator.js +2155 -0
- package/dist_ts/classes.upgradetransaction.d.ts +92 -0
- package/dist_ts/classes.upgradetransaction.js +2125 -0
- package/dist_ts/classes.uploadmanager.d.ts +24 -0
- package/dist_ts/classes.uploadmanager.js +210 -0
- package/dist_ts/classes.validation.d.ts +91 -0
- package/dist_ts/classes.validation.js +1087 -0
- package/dist_ts/flexharness.child.d.ts +1 -0
- package/dist_ts/flexharness.child.js +28 -0
- package/dist_ts/functions.canonicaldirectory.d.ts +21 -0
- package/dist_ts/functions.canonicaldirectory.js +144 -0
- package/dist_ts/functions.controllerdataroot.d.ts +15 -0
- package/dist_ts/functions.controllerdataroot.js +76 -0
- package/dist_ts/functions.embeddeddb.d.ts +2 -0
- package/dist_ts/functions.embeddeddb.js +21 -0
- package/dist_ts/functions.flexcredentialstore.d.ts +16 -0
- package/dist_ts/functions.flexcredentialstore.js +93 -0
- package/dist_ts/functions.opencodeauth.d.ts +3 -0
- package/dist_ts/functions.opencodeauth.js +31 -0
- package/dist_ts/functions.runtimeenvironment.d.ts +2 -0
- package/dist_ts/functions.runtimeenvironment.js +79 -0
- package/dist_ts/functions.upgradefollower.d.ts +3 -0
- package/dist_ts/functions.upgradefollower.js +95 -0
- package/dist_ts/index.d.ts +24 -0
- package/dist_ts/index.js +25 -0
- package/dist_ts/interfaces.auth.d.ts +181 -0
- package/dist_ts/interfaces.auth.js +82 -0
- package/dist_ts/interfaces.config.d.ts +34 -0
- package/dist_ts/interfaces.config.js +2 -0
- package/dist_ts/interfaces.flexipc.d.ts +939 -0
- package/dist_ts/interfaces.flexipc.js +1492 -0
- package/dist_ts/interfaces.gitreversion.d.ts +246 -0
- package/dist_ts/interfaces.gitreversion.js +2 -0
- package/dist_ts/interfaces.lifecycle.d.ts +37 -0
- package/dist_ts/interfaces.lifecycle.js +2 -0
- package/dist_ts/interfaces.opencode.d.ts +101 -0
- package/dist_ts/interfaces.opencode.js +3 -0
- package/dist_ts/interfaces.projects.d.ts +156 -0
- package/dist_ts/interfaces.projects.js +5 -0
- package/dist_ts/plugins.d.ts +36 -0
- package/dist_ts/plugins.js +40 -0
- package/dist_ts_interfaces/index.d.ts +2 -0
- package/dist_ts_interfaces/index.js +3 -0
- package/dist_ts_interfaces/interfaces.d.ts +747 -0
- package/dist_ts_interfaces/interfaces.js +47 -0
- package/dist_ts_interfaces/plugins.d.ts +4 -0
- package/dist_ts_interfaces/plugins.js +3 -0
- package/dist_ts_interfaces/requests.d.ts +806 -0
- package/dist_ts_interfaces/requests.js +2 -0
- package/dist_ts_migration/classes.documentmigrationrunner.d.ts +8 -0
- package/dist_ts_migration/classes.documentmigrationrunner.js +24 -0
- package/dist_ts_migration/classes.flexmigrationrunner.d.ts +11 -0
- package/dist_ts_migration/classes.flexmigrationrunner.js +25 -0
- package/dist_ts_migration/classes.flexpostharnessmigrationrunner.d.ts +10 -0
- package/dist_ts_migration/classes.flexpostharnessmigrationrunner.js +15 -0
- package/dist_ts_migration/classes.migrationrunner.d.ts +8 -0
- package/dist_ts_migration/classes.migrationrunner.js +34 -0
- package/dist_ts_migration/index.d.ts +12 -0
- package/dist_ts_migration/index.js +13 -0
- package/dist_ts_migration/v10_flexharnessv3migration.d.ts +11 -0
- package/dist_ts_migration/v10_flexharnessv3migration.js +23 -0
- package/dist_ts_migration/v13_flexprojectionorder.d.ts +11 -0
- package/dist_ts_migration/v13_flexprojectionorder.js +23 -0
- package/dist_ts_migration/v16_flexprovidercredentials.d.ts +22 -0
- package/dist_ts_migration/v16_flexprovidercredentials.js +149 -0
- package/dist_ts_migration/v18_resourcelayout.d.ts +22 -0
- package/dist_ts_migration/v18_resourcelayout.js +23 -0
- package/dist_ts_migration/v18_resourcelayoutmigration.d.ts +6 -0
- package/dist_ts_migration/v18_resourcelayoutmigration.js +61 -0
- package/dist_ts_migration/v19_flexprojectmanagement.d.ts +11 -0
- package/dist_ts_migration/v19_flexprojectmanagement.js +21 -0
- package/dist_ts_migration/v1_embeddeddatabaselocation.d.ts +28 -0
- package/dist_ts_migration/v1_embeddeddatabaselocation.js +415 -0
- package/dist_ts_migration/v22_projectfilesystemidentitymigration.d.ts +7 -0
- package/dist_ts_migration/v22_projectfilesystemidentitymigration.js +105 -0
- package/dist_ts_migration/v2_controllerdataroot.d.ts +130 -0
- package/dist_ts_migration/v2_controllerdataroot.js +1887 -0
- package/dist_ts_migration/v6_protocoldocumentmigration.d.ts +7 -0
- package/dist_ts_migration/v6_protocoldocumentmigration.js +100 -0
- package/dist_ts_migration/v6_protocoldocuments.d.ts +7 -0
- package/dist_ts_migration/v6_protocoldocuments.js +138 -0
- package/html/index.html +13 -0
- package/{LICENSE → license.md} +2 -2
- package/package.json +86 -48
- package/readme.md +480 -0
- package/readme.plan.md +188 -0
- package/ts/00_commitinfo_data.ts +8 -0
- package/ts/classes.authmodels.ts +1245 -0
- package/ts/classes.authstore.ts +3274 -0
- package/ts/classes.browserresourcehost.ts +1205 -0
- package/ts/classes.cli.ts +1254 -0
- package/ts/classes.config.ts +351 -0
- package/ts/classes.controller.ts +14426 -0
- package/ts/classes.controllermanagement.ts +330 -0
- package/ts/classes.draftmanager.ts +232 -0
- package/ts/classes.embeddeddb.ts +166 -0
- package/ts/classes.flexframedtransport.ts +283 -0
- package/ts/classes.flexmodels.private.ts +823 -0
- package/ts/classes.flexmodels.public.ts +732 -0
- package/ts/classes.flexprojectionreader.ts +816 -0
- package/ts/classes.flexservice.ts +4302 -0
- package/ts/classes.flexstore.ts +4565 -0
- package/ts/classes.flexsupervisor.ts +1453 -0
- package/ts/classes.gitreversion.ts +13353 -0
- package/ts/classes.harnessoperationmanager.ts +870 -0
- package/ts/classes.opencodeclient.ts +4110 -0
- package/ts/classes.opencodesupervisor.ts +1280 -0
- package/ts/classes.passkeymanager.ts +570 -0
- package/ts/classes.processinspection.ts +623 -0
- package/ts/classes.resourcecoordinator.ts +436 -0
- package/ts/classes.sessionintelligencereader.ts +52 -0
- package/ts/classes.systemmetricssampler.ts +215 -0
- package/ts/classes.terminalmanager.ts +1207 -0
- package/ts/classes.terminalresourcehost.ts +122 -0
- package/ts/classes.upgradecoordinator.ts +2675 -0
- package/ts/classes.upgradetransaction.ts +2900 -0
- package/ts/classes.uploadmanager.ts +240 -0
- package/ts/classes.validation.ts +1409 -0
- package/ts/flexharness.child.ts +35 -0
- package/ts/functions.canonicaldirectory.ts +213 -0
- package/ts/functions.controllerdataroot.ts +107 -0
- package/ts/functions.embeddeddb.ts +22 -0
- package/ts/functions.flexcredentialstore.ts +128 -0
- package/ts/functions.opencodeauth.ts +34 -0
- package/ts/functions.runtimeenvironment.ts +90 -0
- package/ts/functions.upgradefollower.ts +115 -0
- package/ts/index.ts +36 -6
- package/ts/interfaces.auth.ts +316 -0
- package/ts/interfaces.config.ts +37 -0
- package/ts/interfaces.flexipc.ts +2586 -0
- package/ts/interfaces.gitreversion.ts +336 -0
- package/ts/interfaces.lifecycle.ts +46 -0
- package/ts/interfaces.opencode.ts +153 -0
- package/ts/interfaces.projects.ts +182 -0
- package/ts/plugins.ts +64 -0
- package/ts_interfaces/index.ts +2 -0
- package/ts_interfaces/interfaces.ts +827 -0
- package/ts_interfaces/plugins.ts +15 -0
- package/ts_interfaces/requests.ts +1186 -0
- package/ts_migration/classes.documentmigrationrunner.ts +32 -0
- package/ts_migration/classes.flexmigrationrunner.ts +33 -0
- package/ts_migration/classes.flexpostharnessmigrationrunner.ts +22 -0
- package/ts_migration/classes.migrationrunner.ts +40 -0
- package/ts_migration/index.ts +12 -0
- package/ts_migration/v10_flexharnessv3migration.ts +35 -0
- package/ts_migration/v13_flexprojectionorder.ts +33 -0
- package/ts_migration/v16_flexprovidercredentials.ts +196 -0
- package/ts_migration/v18_resourcelayout.ts +55 -0
- package/ts_migration/v18_resourcelayoutmigration.ts +68 -0
- package/ts_migration/v19_flexprojectmanagement.ts +28 -0
- package/ts_migration/v1_embeddeddatabaselocation.ts +560 -0
- package/ts_migration/v22_projectfilesystemidentitymigration.ts +121 -0
- package/ts_migration/v2_controllerdataroot.ts +2349 -0
- package/ts_migration/v6_protocoldocumentmigration.ts +144 -0
- package/ts_migration/v6_protocoldocuments.ts +198 -0
- package/ts_web/00_commitinfo_data.ts +8 -0
- package/ts_web/classes.controllersocketclient.ts +517 -0
- package/ts_web/classes.sessiondraftsync.ts +390 -0
- package/ts_web/elements.harnesscontrollerapp.ts +11494 -0
- package/ts_web/index.ts +2 -0
- package/ts_web/plugins.ts +31 -0
- package/.gitlab-ci.yml +0 -71
- package/.npmignore +0 -5
- package/README.md +0 -40
- package/dist/cli.js +0 -2
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -9
- package/dist/mod_bundle/index.d.ts +0 -1
- package/dist/mod_bundle/index.js +0 -18
- package/dist/mod_bundle/mod.plugins.d.ts +0 -4
- package/dist/mod_bundle/mod.plugins.js +0 -11
- package/dist/mod_install/index.d.ts +0 -4
- package/dist/mod_install/index.js +0 -21
- package/dist/mod_install/mod.plugins.d.ts +0 -1
- package/dist/mod_install/mod.plugins.js +0 -7
- package/dist/mod_standard/index.d.ts +0 -4
- package/dist/mod_standard/index.js +0 -21
- package/dist/mod_standard/mod.browser.d.ts +0 -6
- package/dist/mod_standard/mod.browser.js +0 -14
- package/dist/mod_standard/mod.clean.d.ts +0 -4
- package/dist/mod_standard/mod.clean.js +0 -12
- package/dist/mod_standard/mod.compile.d.ts +0 -4
- package/dist/mod_standard/mod.compile.js +0 -21
- package/dist/mod_standard/mod.plugins.d.ts +0 -8
- package/dist/mod_standard/mod.plugins.js +0 -19
- package/dist/mod_standard/mod.test.d.ts +0 -4
- package/dist/mod_standard/mod.test.js +0 -12
- package/dist/plr.cli.d.ts +0 -3
- package/dist/plr.cli.js +0 -57
- package/dist/plr.config.d.ts +0 -11
- package/dist/plr.config.js +0 -26
- package/dist/plr.mods.d.ts +0 -17
- package/dist/plr.mods.js +0 -17
- package/dist/plr.paths.d.ts +0 -19
- package/dist/plr.paths.js +0 -26
- package/dist/plr.plugins.d.ts +0 -8
- package/dist/plr.plugins.js +0 -16
- package/npmextra.json +0 -10
- package/ts/mod_bundle/index.ts +0 -20
- package/ts/mod_bundle/mod.plugins.ts +0 -9
- package/ts/mod_install/index.ts +0 -20
- package/ts/mod_install/mod.plugins.ts +0 -1
- package/ts/mod_standard/index.ts +0 -23
- package/ts/mod_standard/mod.browser.ts +0 -17
- package/ts/mod_standard/mod.clean.ts +0 -13
- package/ts/mod_standard/mod.compile.ts +0 -23
- package/ts/mod_standard/mod.plugins.ts +0 -17
- package/ts/mod_standard/mod.test.ts +0 -13
- package/ts/plr.cli.ts +0 -60
- package/ts/plr.config.ts +0 -36
- package/ts/plr.mods.ts +0 -25
- package/ts/plr.paths.ts +0 -29
- package/ts/plr.plugins.ts +0 -17
- package/tslint.json +0 -3
- package/yarn.lock +0 -3464
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import type { IControllerProjectFilesystemIdentity } from './interfaces.projects.js';
|
|
2
|
+
import type { IGitReversionApplyRequest, IGitReversionCaptureRequest, IGitReversionMetadata, IGitReversionMetadataRequest, IGitReversionOptions, IGitReversionReleaseRequest, IGitReversionWorktreeDescriptor, IGitReversionWorktreeRemoveRequest, IGitReversionWorktreeRequest, TGitReversionApplyInspection, TGitReversionCaptureInspection, TGitReversionFinalizedOutcome } from './interfaces.gitreversion.js';
|
|
3
|
+
export declare const ensureGitReversionParentDirectory: (dataRootArg: string) => Promise<string>;
|
|
4
|
+
export declare class GitReversionConflictError extends Error {
|
|
5
|
+
constructor(messageArg?: string, optionsArg?: ErrorOptions);
|
|
6
|
+
}
|
|
7
|
+
export declare class GitReversionFencedError extends Error {
|
|
8
|
+
constructor(messageArg?: string, optionsArg?: ErrorOptions);
|
|
9
|
+
}
|
|
10
|
+
export declare class GitReversionRecoveryRequiredError extends Error {
|
|
11
|
+
constructor(messageArg?: string, optionsArg?: ErrorOptions);
|
|
12
|
+
}
|
|
13
|
+
export declare class GitReversionDirtyWorktreeError extends Error {
|
|
14
|
+
constructor(messageArg?: string);
|
|
15
|
+
}
|
|
16
|
+
export declare class ControllerGitReversion {
|
|
17
|
+
readonly protocolVersion: 2;
|
|
18
|
+
private readonly ownerId;
|
|
19
|
+
private readonly ownerKey;
|
|
20
|
+
private readonly rootDirectory;
|
|
21
|
+
private readonly limits;
|
|
22
|
+
private readonly maximumPrivateTreeEntries;
|
|
23
|
+
private readonly faultInjector?;
|
|
24
|
+
private readonly projects;
|
|
25
|
+
private readonly ownershipByCommonId;
|
|
26
|
+
private readonly ownershipWaiters;
|
|
27
|
+
private readonly ownershipWaitersByCommonId;
|
|
28
|
+
private readonly lockTails;
|
|
29
|
+
private readonly projectCatalogTails;
|
|
30
|
+
private readonly activeProjectCatalogOperations;
|
|
31
|
+
private readonly activeLockCohorts;
|
|
32
|
+
private readonly activeGitCommands;
|
|
33
|
+
private readonly unconfirmedGitChildren;
|
|
34
|
+
private readonly retainedGitProcessGroups;
|
|
35
|
+
private readonly gitCommandWaiters;
|
|
36
|
+
private readonly validatedRefNames;
|
|
37
|
+
private activeGitCommandPermits;
|
|
38
|
+
private readonly captureRecordBytes;
|
|
39
|
+
private captureAggregateBytes;
|
|
40
|
+
private captureMutationTail;
|
|
41
|
+
private readonly activeCaptureMutations;
|
|
42
|
+
private readonly privateIntentBytes;
|
|
43
|
+
private privateIntentAggregateBytes;
|
|
44
|
+
private readonly privateRefCharges;
|
|
45
|
+
private privateRefAggregateBytes;
|
|
46
|
+
private readonly metadataWriteReservations;
|
|
47
|
+
private readonly lifecycleRecordBytes;
|
|
48
|
+
private lifecycleAggregateBytes;
|
|
49
|
+
private readonly storeReservations;
|
|
50
|
+
private readonly pendingGenerationCleanups;
|
|
51
|
+
private readonly pendingTemporaryIndexCleanups;
|
|
52
|
+
private maintenanceCleanupPromise?;
|
|
53
|
+
private readonly pendingWorktreeRemovalProjectIds;
|
|
54
|
+
private readonly activeWorktreeRemovalRecoveryProjectIds;
|
|
55
|
+
private worktreeRemovalRecoveryTimer?;
|
|
56
|
+
private worktreeRemovalRecoveryTask?;
|
|
57
|
+
private metadataQuotaLoaded;
|
|
58
|
+
private metadataMutationTail;
|
|
59
|
+
private readonly activeMetadataMutations;
|
|
60
|
+
private readonly recoveredProjects;
|
|
61
|
+
private readonly projectRecoveryPromises;
|
|
62
|
+
private initializationPromise?;
|
|
63
|
+
private recoveryPromise?;
|
|
64
|
+
private recoverySucceeded;
|
|
65
|
+
private activeOperations;
|
|
66
|
+
private readonly operationDrainWaiters;
|
|
67
|
+
private readonly lifecycleAbortController;
|
|
68
|
+
private initialized;
|
|
69
|
+
private sealed;
|
|
70
|
+
private sealError?;
|
|
71
|
+
private closed;
|
|
72
|
+
private closePromise?;
|
|
73
|
+
constructor(optionsArg: IGitReversionOptions);
|
|
74
|
+
init(signalArg?: AbortSignal): Promise<void>;
|
|
75
|
+
registerProject(projectIdArg: string, directoryArg: string, identityArg: IControllerProjectFilesystemIdentity): void;
|
|
76
|
+
unregisterProject(projectIdArg: string): void;
|
|
77
|
+
recover(signalArg?: AbortSignal): Promise<void>;
|
|
78
|
+
close(): Promise<void>;
|
|
79
|
+
prepare(requestArg: IGitReversionCaptureRequest): Promise<void>;
|
|
80
|
+
inspectCapture(requestArg: IGitReversionCaptureRequest): Promise<TGitReversionCaptureInspection>;
|
|
81
|
+
finalize(requestArg: IGitReversionCaptureRequest): Promise<TGitReversionFinalizedOutcome>;
|
|
82
|
+
inspectApply(requestArg: IGitReversionApplyRequest): Promise<TGitReversionApplyInspection>;
|
|
83
|
+
apply(requestArg: IGitReversionApplyRequest): Promise<void>;
|
|
84
|
+
release(requestArg: IGitReversionReleaseRequest): Promise<void>;
|
|
85
|
+
private deleteFinalizedCapture;
|
|
86
|
+
releaseProjectCaptures(projectIdArg: string, signalArg?: AbortSignal): Promise<void>;
|
|
87
|
+
cleanupProjectWorktrees(projectIdArg: string, signalArg?: AbortSignal): Promise<void>;
|
|
88
|
+
listAffected(requestArg: IGitReversionMetadataRequest): Promise<Array<{
|
|
89
|
+
id: string;
|
|
90
|
+
label: string;
|
|
91
|
+
}>>;
|
|
92
|
+
getReversionMetadata(requestArg: IGitReversionMetadataRequest): Promise<IGitReversionMetadata>;
|
|
93
|
+
createDetachedSessionWorktree(requestArg: IGitReversionWorktreeRequest): Promise<IGitReversionWorktreeDescriptor>;
|
|
94
|
+
listDetachedSessionWorktrees(requestArg: IGitReversionWorktreeRequest): Promise<IGitReversionWorktreeDescriptor[]>;
|
|
95
|
+
removeDetachedSessionWorktree(requestArg: IGitReversionWorktreeRemoveRequest): Promise<void>;
|
|
96
|
+
compensateDetachedSessionWorktreeCreation(requestArg: IGitReversionWorktreeRemoveRequest): Promise<void>;
|
|
97
|
+
private withPublicOperation;
|
|
98
|
+
private waitForOperationsToDrain;
|
|
99
|
+
private projectRecoveryKey;
|
|
100
|
+
private invalidateRecovery;
|
|
101
|
+
private sealForGitProcessCleanup;
|
|
102
|
+
private retryPendingMaintenanceCleanups;
|
|
103
|
+
private hasRemovingWorktreeRecord;
|
|
104
|
+
private queueWorktreeRemovalRecovery;
|
|
105
|
+
private scheduleWorktreeRemovalRecovery;
|
|
106
|
+
private retryPendingWorktreeRemovalRecoveries;
|
|
107
|
+
private releaseStrandedMetadataReservations;
|
|
108
|
+
private ensureInitialized;
|
|
109
|
+
private cleanupUnenrolledGenerationResidue;
|
|
110
|
+
private ensureNonSourceOperationReady;
|
|
111
|
+
private assertNoPendingSourceRecovery;
|
|
112
|
+
private readCaptureSnapshot;
|
|
113
|
+
private readFinalizedCaptureSnapshot;
|
|
114
|
+
private ensureRecovery;
|
|
115
|
+
private recoverRegisteredProject;
|
|
116
|
+
private inspectProjectDurableRecoveryState;
|
|
117
|
+
private assertProjectCaptureLifecycleState;
|
|
118
|
+
private validateLimits;
|
|
119
|
+
private assertUsable;
|
|
120
|
+
private assertMaintenanceUsable;
|
|
121
|
+
private requireProject;
|
|
122
|
+
private captureKey;
|
|
123
|
+
private copyIdentity;
|
|
124
|
+
private captureIsDefinitivelyNew;
|
|
125
|
+
private assertApplyRequest;
|
|
126
|
+
private assertManifestIdentity;
|
|
127
|
+
private assertManifest;
|
|
128
|
+
private assertDiscoveryLimitCapture;
|
|
129
|
+
private assertDiscoveryLimitCaptureRecord;
|
|
130
|
+
private assertRepositoryIdentity;
|
|
131
|
+
private assertFilesystemIdentity;
|
|
132
|
+
private assertRepositoryBinding;
|
|
133
|
+
private assertSide;
|
|
134
|
+
private refNameHasSafeBytes;
|
|
135
|
+
private assertGitRefName;
|
|
136
|
+
private parseDirectRefOid;
|
|
137
|
+
private assertPrivateDirectRefName;
|
|
138
|
+
private fault;
|
|
139
|
+
private indexRoot;
|
|
140
|
+
private worktreeRoot;
|
|
141
|
+
private worktreeRecordRoot;
|
|
142
|
+
private worktreeRecordPathForRef;
|
|
143
|
+
private isWorktreeRecordTemporaryName;
|
|
144
|
+
private projectCatalogRoot;
|
|
145
|
+
private captureRecordRoot;
|
|
146
|
+
private lifecycleRoot;
|
|
147
|
+
private captureRoot;
|
|
148
|
+
private captureStoresRoot;
|
|
149
|
+
private captureStoreRoot;
|
|
150
|
+
private captureGitDirectory;
|
|
151
|
+
private generationRoot;
|
|
152
|
+
private generationDirectory;
|
|
153
|
+
private lifecyclePath;
|
|
154
|
+
private privateIntentRoot;
|
|
155
|
+
private privateIntentPath;
|
|
156
|
+
private countDirectoryEntries;
|
|
157
|
+
private syncDirectory;
|
|
158
|
+
private writeFileHandleChunk;
|
|
159
|
+
private syncRegularFile;
|
|
160
|
+
private readBoundedRegularFile;
|
|
161
|
+
private assertPrivateIntent;
|
|
162
|
+
private cleanupPrivateIntentTemporaryFiles;
|
|
163
|
+
private listPrivateIntents;
|
|
164
|
+
private listPrivateIntentsUnlocked;
|
|
165
|
+
private readPrivateIntent;
|
|
166
|
+
private writePrivateIntent;
|
|
167
|
+
private removePrivateIntent;
|
|
168
|
+
private assertLifecycleRecord;
|
|
169
|
+
private listLifecycleRecords;
|
|
170
|
+
private listLifecycleRecordsUnlocked;
|
|
171
|
+
private cleanupLifecycleTemporaryFiles;
|
|
172
|
+
private loadLifecycleQuota;
|
|
173
|
+
private writeLifecycleRecord;
|
|
174
|
+
private writeLifecycleRecordUnlocked;
|
|
175
|
+
private removeLifecycleRecord;
|
|
176
|
+
private removeLifecycleRecordUnlocked;
|
|
177
|
+
private lifecycleRecord;
|
|
178
|
+
private captureLifecycleClaim;
|
|
179
|
+
private hasCaptureLifecycleClaim;
|
|
180
|
+
private claimCaptureLifecycle;
|
|
181
|
+
private releaseCaptureLifecycleClaim;
|
|
182
|
+
private beginCaptureCreation;
|
|
183
|
+
private publishCaptureLifecycle;
|
|
184
|
+
private publishFinalizedCaptureRecord;
|
|
185
|
+
private assertPrivatePathAncestry;
|
|
186
|
+
private assertPrivateTreeNode;
|
|
187
|
+
private walkPrivateTree;
|
|
188
|
+
private inspectPrivateTree;
|
|
189
|
+
private chmodPrivateNode;
|
|
190
|
+
private removePrivateTree;
|
|
191
|
+
private removePrivateIntentsForCaptures;
|
|
192
|
+
private readLifecycleRecord;
|
|
193
|
+
private requireFinalizedCaptureLifecycle;
|
|
194
|
+
private claimLifecycleRecordForRecovery;
|
|
195
|
+
private deleteCaptureRootWithLifecycle;
|
|
196
|
+
private assertPrivateCaptureTree;
|
|
197
|
+
private reconcileActiveFinalizedCaptureLifecycle;
|
|
198
|
+
private recoverCaptureLifecycles;
|
|
199
|
+
private captureRecordPath;
|
|
200
|
+
private projectCatalogPath;
|
|
201
|
+
private assertDurableCaptureRecord;
|
|
202
|
+
private assertInitialFinalizedCaptureRecord;
|
|
203
|
+
private readDurableCaptureRecord;
|
|
204
|
+
private listDurableCaptureRecords;
|
|
205
|
+
private loadCaptureRecordQuota;
|
|
206
|
+
private cleanupCaptureRecordTemporaryFiles;
|
|
207
|
+
private withCaptureMutation;
|
|
208
|
+
private syncCaptureRecordRoot;
|
|
209
|
+
private writeDurableCaptureRecord;
|
|
210
|
+
private deleteDurableCaptureRecord;
|
|
211
|
+
private ensurePrivateDirectory;
|
|
212
|
+
private assertPrivateDirectory;
|
|
213
|
+
private rememberProjectRepositories;
|
|
214
|
+
private readProjectRepositoryCatalog;
|
|
215
|
+
private writeProjectRepositoryCatalog;
|
|
216
|
+
private deleteProjectRepositoryCatalog;
|
|
217
|
+
private withProjectCatalogLock;
|
|
218
|
+
private cleanupProjectCatalogTemporaryFiles;
|
|
219
|
+
private cleanupOwnedTemporaryIndexDirectory;
|
|
220
|
+
private cleanupRepositoryTemporaryIndexes;
|
|
221
|
+
private discoverProjectRepositories;
|
|
222
|
+
private tryRepositoryRoot;
|
|
223
|
+
private assertGitEntryTargetsGitDirectory;
|
|
224
|
+
private describeRepository;
|
|
225
|
+
private parseWorktreeRegistrations;
|
|
226
|
+
private worktreeTopologyHash;
|
|
227
|
+
private pathspec;
|
|
228
|
+
private estimateGenerationReservation;
|
|
229
|
+
private readPackIndexObjectCount;
|
|
230
|
+
private scanObjectDirectory;
|
|
231
|
+
private generationReservationKey;
|
|
232
|
+
private activeGenerationReservationKeys;
|
|
233
|
+
private scanCaptureStoreUsage;
|
|
234
|
+
private scanControllerStoreUsage;
|
|
235
|
+
private assertStoreReservationsWithinQuota;
|
|
236
|
+
private reserveStoreCapacity;
|
|
237
|
+
private resizeStoreReservation;
|
|
238
|
+
private reconcileStoreReservation;
|
|
239
|
+
private releaseStoreReservation;
|
|
240
|
+
private createGeneration;
|
|
241
|
+
private closureRoots;
|
|
242
|
+
private packIndexMaximumBytes;
|
|
243
|
+
private growGenerationReservation;
|
|
244
|
+
private removeGenerationLooseObjects;
|
|
245
|
+
private writeReachablePack;
|
|
246
|
+
private verifyReachableClosure;
|
|
247
|
+
private materializeGenerationClosure;
|
|
248
|
+
private verifyGeneration;
|
|
249
|
+
private removeGeneration;
|
|
250
|
+
private performGenerationCleanup;
|
|
251
|
+
private generationContext;
|
|
252
|
+
private enrollGenerationIds;
|
|
253
|
+
private deleteGenerationIds;
|
|
254
|
+
private scavengeUnenrolledGenerations;
|
|
255
|
+
private captureStableRepositories;
|
|
256
|
+
private captureSide;
|
|
257
|
+
private checkIndexSupport;
|
|
258
|
+
private checkPathSupport;
|
|
259
|
+
private assertPathOutputBound;
|
|
260
|
+
private captureOperationState;
|
|
261
|
+
private captureIgnorePolicy;
|
|
262
|
+
private fallbackTrees;
|
|
263
|
+
private assertTemporaryIndexBound;
|
|
264
|
+
private captureTrees;
|
|
265
|
+
private parseRefs;
|
|
266
|
+
private sidesEqual;
|
|
267
|
+
private semanticSidesEqual;
|
|
268
|
+
private captureRepositoryReason;
|
|
269
|
+
private createPreparedRecords;
|
|
270
|
+
private finalizeRecords;
|
|
271
|
+
private createFinalizationIntent;
|
|
272
|
+
private assertFinalizationIntent;
|
|
273
|
+
private validateFinalizationRecords;
|
|
274
|
+
private publishFinalization;
|
|
275
|
+
private recoverFinalizations;
|
|
276
|
+
private recoverFinalization;
|
|
277
|
+
private scanFinalizationRecords;
|
|
278
|
+
private assertUniqueFinalizationIntent;
|
|
279
|
+
private finalizationPublicationComplete;
|
|
280
|
+
private validatePublishedFinalization;
|
|
281
|
+
private fenceFinalization;
|
|
282
|
+
private findManifest;
|
|
283
|
+
private loadFinalizedCapture;
|
|
284
|
+
private assertFreshRepositoryBindings;
|
|
285
|
+
private recoverPendingApplyWals;
|
|
286
|
+
private fenceDiscoveredApplyWals;
|
|
287
|
+
private createState;
|
|
288
|
+
private replaceState;
|
|
289
|
+
private loadState;
|
|
290
|
+
private createApplyPlans;
|
|
291
|
+
private createApplySyntheticRoot;
|
|
292
|
+
private assertApplyPreconditions;
|
|
293
|
+
private verifyCapturedObjects;
|
|
294
|
+
private mergeTrees;
|
|
295
|
+
private preflightPlan;
|
|
296
|
+
private assertNoIgnoredCollision;
|
|
297
|
+
private verifyPlansUnchanged;
|
|
298
|
+
private applyPlan;
|
|
299
|
+
private materializePlanObjectsInSource;
|
|
300
|
+
private assertSourceKeep;
|
|
301
|
+
private removeSourceKeeps;
|
|
302
|
+
private sourceKeepQuarantinePath;
|
|
303
|
+
private reconcileSourceKeepQuarantine;
|
|
304
|
+
private removeSourceKeep;
|
|
305
|
+
private removeSourceKeepOwned;
|
|
306
|
+
private transitionWorktree;
|
|
307
|
+
private installIndex;
|
|
308
|
+
private applyRefs;
|
|
309
|
+
private verifyTargetPlans;
|
|
310
|
+
private sideMatchesTarget;
|
|
311
|
+
private writeInitialWal;
|
|
312
|
+
private updateWal;
|
|
313
|
+
private loadLatestApplyWal;
|
|
314
|
+
private assertWal;
|
|
315
|
+
private listLatestApplyWals;
|
|
316
|
+
private inspectApplyOperations;
|
|
317
|
+
private canonicalizeWalAttempt;
|
|
318
|
+
private persistRecoveryWal;
|
|
319
|
+
private assertCaptureState;
|
|
320
|
+
private reconcileStateForWal;
|
|
321
|
+
private recoverWal;
|
|
322
|
+
private compensate;
|
|
323
|
+
private rollForward;
|
|
324
|
+
private sideIsOperationCombination;
|
|
325
|
+
private treeIsCombination;
|
|
326
|
+
private treeEntries;
|
|
327
|
+
private fenceWal;
|
|
328
|
+
private selectContainingRepository;
|
|
329
|
+
private assertProjectDirectory;
|
|
330
|
+
private worktreeDescriptor;
|
|
331
|
+
private listWorktreeRecords;
|
|
332
|
+
private assertWorktreeRecord;
|
|
333
|
+
private assertWorktreeParentBinding;
|
|
334
|
+
private assertWorktreePathBinding;
|
|
335
|
+
private requireOwnedWorktreeRegistration;
|
|
336
|
+
private assertOwnedWorktreeDiscoveryRegistration;
|
|
337
|
+
private restoreOwnedWorktreeLock;
|
|
338
|
+
private addWorktreeCaptureParticipant;
|
|
339
|
+
private removeWorktreeRecord;
|
|
340
|
+
private recoverWorktrees;
|
|
341
|
+
private worktreeLockReason;
|
|
342
|
+
private listManifestCopies;
|
|
343
|
+
private metadataRepositories;
|
|
344
|
+
private repositoryBindingsEqual;
|
|
345
|
+
private acquireOwnership;
|
|
346
|
+
private releaseOwnership;
|
|
347
|
+
private grantOwnership;
|
|
348
|
+
private removeOwnershipWaiter;
|
|
349
|
+
private drainOwnershipWaiters;
|
|
350
|
+
private withLocks;
|
|
351
|
+
private privateRefChargeKey;
|
|
352
|
+
private captureKeyFromPrivateRef;
|
|
353
|
+
private hardenPrivateTree;
|
|
354
|
+
private assertPrivateDirectoryNode;
|
|
355
|
+
private listGenerationObjectDirectories;
|
|
356
|
+
private privateStoreConfig;
|
|
357
|
+
private privateDirectoryEntries;
|
|
358
|
+
private forEachPrivateDirectoryEntry;
|
|
359
|
+
private assertPrivateObjectDirectory;
|
|
360
|
+
private assertPrivateRefsDirectory;
|
|
361
|
+
private assertPrivateGitStore;
|
|
362
|
+
private assertPrivateGitStoreByFormat;
|
|
363
|
+
private ensurePrivateStore;
|
|
364
|
+
private privateGit;
|
|
365
|
+
private captureReadEnvironment;
|
|
366
|
+
private withMetadataMutation;
|
|
367
|
+
private setPrivateRefCharge;
|
|
368
|
+
private reserveMetadataWrite;
|
|
369
|
+
private releaseMetadataWrite;
|
|
370
|
+
private reconcileMetadataStoreReservation;
|
|
371
|
+
private consumeMetadataWriteReservation;
|
|
372
|
+
private prunePrivateMetadataStore;
|
|
373
|
+
private rebuildPrivateRefQuota;
|
|
374
|
+
private pinsForRecord;
|
|
375
|
+
private buildRecord;
|
|
376
|
+
private buildPublicationEntry;
|
|
377
|
+
private cleanupPublicationEntries;
|
|
378
|
+
private createPublicationIntent;
|
|
379
|
+
private executePublicationIntent;
|
|
380
|
+
private chargeForOid;
|
|
381
|
+
private recoverPublicationIntent;
|
|
382
|
+
private recoverPublicationIntentUnlocked;
|
|
383
|
+
private recoverDeletionIntent;
|
|
384
|
+
private recoverDeletionIntentUnlocked;
|
|
385
|
+
private executeDeletionIntent;
|
|
386
|
+
private releaseRepositoryCapture;
|
|
387
|
+
private recoverPrivateIntents;
|
|
388
|
+
private readWorktreeRecordByRef;
|
|
389
|
+
private cleanupWorktreeRecordTemporaryFiles;
|
|
390
|
+
private writeWorktreeRecord;
|
|
391
|
+
private listWorktreeRecordRefs;
|
|
392
|
+
private writeRecord;
|
|
393
|
+
private replaceRecord;
|
|
394
|
+
private putRecord;
|
|
395
|
+
private readRecord;
|
|
396
|
+
private readNulTerminatedBatchField;
|
|
397
|
+
private readExactBatchBytes;
|
|
398
|
+
private readBatchRecordsAt;
|
|
399
|
+
private readRecordAt;
|
|
400
|
+
private resolveRef;
|
|
401
|
+
private listDirectRefs;
|
|
402
|
+
private listRefs;
|
|
403
|
+
private deleteExactRef;
|
|
404
|
+
private deleteExpectedRef;
|
|
405
|
+
private captureRefRoot;
|
|
406
|
+
private manifestRef;
|
|
407
|
+
private captureWalRef;
|
|
408
|
+
private captureStateRef;
|
|
409
|
+
private capturePinsRef;
|
|
410
|
+
private finalizationCandidateRef;
|
|
411
|
+
private finalizationIntentRef;
|
|
412
|
+
private finalizationFenceRef;
|
|
413
|
+
private captureSideRef;
|
|
414
|
+
private repositoryIdentityRef;
|
|
415
|
+
private applyLatestRef;
|
|
416
|
+
private applyAttemptRef;
|
|
417
|
+
private applyDecisionRef;
|
|
418
|
+
private applyFenceRef;
|
|
419
|
+
private worktreeRef;
|
|
420
|
+
private worktreeRefRoot;
|
|
421
|
+
private temporaryIndexPath;
|
|
422
|
+
private removeTemporaryIndexPaths;
|
|
423
|
+
private canonicalCommitEnvironment;
|
|
424
|
+
private acquireGitCommandPermit;
|
|
425
|
+
private git;
|
|
426
|
+
private runGit;
|
|
427
|
+
private reapGitProcessGroup;
|
|
428
|
+
private reapRetainedGitProcessGroups;
|
|
429
|
+
}
|
|
430
|
+
export declare class ControllerGitReversionManager extends ControllerGitReversion {
|
|
431
|
+
}
|