@gitgov/core 2.7.1 → 2.8.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/dist/src/{agent_runner-DijNVjaF.d.ts → agent_runner-D3G5zzGv.d.ts} +2 -2
- package/dist/src/fs.d.ts +20 -8
- package/dist/src/fs.js +537 -825
- package/dist/src/fs.js.map +1 -1
- package/dist/src/github.d.ts +115 -115
- package/dist/src/github.js +1594 -1596
- package/dist/src/github.js.map +1 -1
- package/dist/src/index.d.ts +617 -1212
- package/dist/src/index.js +550 -1176
- package/dist/src/index.js.map +1 -1
- package/dist/src/memory.d.ts +1 -1
- package/dist/src/prisma.d.ts +3 -1
- package/dist/src/prisma.js +7 -2
- package/dist/src/prisma.js.map +1 -1
- package/dist/src/{record_projection.types-D9NkQbL_.d.ts → record_projection.types-B2OZbgoW.d.ts} +127 -166
- package/dist/src/{sync_state-C2a2RuBQ.d.ts → sync_state-GmqG3pLj.d.ts} +7 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as SessionStore } from './session_store-I4Z6PW2c.js';
|
|
2
2
|
import { k as ISessionManager, a as GitGovSession, A as ActorState, S as SyncPreferencesUpdate, K as KeyProvider, h as FileLister, F as FsFileListerOptions, i as FileListOptions, j as FileStats, G as GitGovConfig } from './index-LULVRsCZ.js';
|
|
3
|
-
import { q as IIdentityAdapter, u as IdentityAdapterDependencies, S as SyncStateModuleDependencies, p as IEventStream } from './sync_state-
|
|
4
|
-
import { A as ActorPayload, d as ActorRecord, G as GitGovRecord,
|
|
3
|
+
import { q as IIdentityAdapter, u as IdentityAdapterDependencies, S as SyncStateModuleDependencies, p as IEventStream } from './sync_state-GmqG3pLj.js';
|
|
4
|
+
import { A as ActorPayload, d as ActorRecord, G as GitGovRecord, j as ExecutionRecord, v as RecordStores, f as AgentRecord } from './record_projection.types-B2OZbgoW.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* SessionManager - Local Session State Manager
|
package/dist/src/fs.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as RecordStore, I as IdEncoder, a as IRecordProjector, G as GitGovRecord, b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-
|
|
2
|
-
export { D as DEFAULT_ID_ENCODER } from './record_projection.types-
|
|
1
|
+
import { R as RecordStore, I as IdEncoder, a as IRecordProjector, G as GitGovRecord, b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-B2OZbgoW.js';
|
|
2
|
+
export { D as DEFAULT_ID_ENCODER } from './record_projection.types-B2OZbgoW.js';
|
|
3
3
|
import { C as ConfigStore, G as GitGovConfig, a as GitGovSession, I as IGitModule, b as GitModuleDependencies, E as ExecOptions, c as ExecResult, d as ChangedFile, e as GetCommitHistoryOptions, f as CommitInfo, g as CommitAuthor } from './index-LULVRsCZ.js';
|
|
4
4
|
export { F as FsFileListerOptions } from './index-LULVRsCZ.js';
|
|
5
|
-
import { C as ConfigManager, I as ILintModule, L as LintOptions, a as LintReport, F as FixRecordOptions, b as FixReport, R as RecordStores, c as LintRecordContext, d as LintResult, e as ISyncStateModule, S as SyncStateModuleDependencies, f as StateDeltaFile, g as ConflictDiff, h as IntegrityViolation, A as AuditStateOptions, i as AuditStateReport, j as SyncStatePushOptions, k as SyncStatePushResult, l as SyncStatePullOptions, m as SyncStatePullResult, n as SyncStateResolveOptions, o as SyncStateResolveResult, p as IEventStream } from './sync_state-
|
|
5
|
+
import { C as ConfigManager, I as ILintModule, L as LintOptions, a as LintReport, F as FixRecordOptions, b as FixReport, R as RecordStores, c as LintRecordContext, d as LintResult, e as ISyncStateModule, S as SyncStateModuleDependencies, f as StateDeltaFile, g as ConflictDiff, h as IntegrityViolation, A as AuditStateOptions, i as AuditStateReport, j as SyncStatePushOptions, k as SyncStatePushResult, l as SyncStatePullOptions, m as SyncStatePullResult, n as SyncStateResolveOptions, o as SyncStateResolveResult, p as IEventStream } from './sync_state-GmqG3pLj.js';
|
|
6
6
|
import { S as SessionStore } from './session_store-I4Z6PW2c.js';
|
|
7
|
-
import { S as SessionManager, I as IProjectInitializer, E as EnvironmentValidation, F as FsWorktreeSyncStateDependencies, a as FsWorktreeSyncStateConfig, b as IAgentRunner, P as ProtocolHandlerRegistry, A as AgentRunnerDependencies, R as RunOptions, c as AgentResponse } from './agent_runner-
|
|
8
|
-
export { f as FsFileLister, d as FsKeyProvider, e as FsKeyProviderOptions } from './agent_runner-
|
|
7
|
+
import { S as SessionManager, I as IProjectInitializer, E as EnvironmentValidation, F as FsWorktreeSyncStateDependencies, a as FsWorktreeSyncStateConfig, b as IAgentRunner, P as ProtocolHandlerRegistry, A as AgentRunnerDependencies, R as RunOptions, c as AgentResponse } from './agent_runner-D3G5zzGv.js';
|
|
8
|
+
export { f as FsFileLister, d as FsKeyProvider, e as FsKeyProviderOptions } from './agent_runner-D3G5zzGv.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Serializer for FsRecordStore - allows custom serialization
|
|
@@ -314,7 +314,7 @@ declare class FsLintModule implements IFsLintModule {
|
|
|
314
314
|
*/
|
|
315
315
|
lintRecord(record: GitGovRecord, context: LintRecordContext): LintResult[];
|
|
316
316
|
/**
|
|
317
|
-
* Delegates to LintModule.lintRecordReferences() for
|
|
317
|
+
* Delegates to LintModule.lintRecordReferences() for reference validation.
|
|
318
318
|
*/
|
|
319
319
|
lintRecordReferences(record: GitGovRecord, context: LintRecordContext): LintResult[];
|
|
320
320
|
/**
|
|
@@ -1248,13 +1248,19 @@ declare class FsWorktreeSyncStateModule implements ISyncStateModule {
|
|
|
1248
1248
|
getWorktreePath(): string;
|
|
1249
1249
|
/** [WTSYNC-A1..A6] Ensures worktree exists and is healthy */
|
|
1250
1250
|
ensureWorktree(): Promise<void>;
|
|
1251
|
+
/**
|
|
1252
|
+
* [WTSYNC-A7] Remove .gitignore from state branch if it exists.
|
|
1253
|
+
* The worktree module filters files in code (shouldSyncFile()), not via .gitignore.
|
|
1254
|
+
* Legacy state branches initialized by FsSyncState may have a .gitignore — remove it.
|
|
1255
|
+
*/
|
|
1256
|
+
private removeLegacyGitignore;
|
|
1251
1257
|
/** Check worktree health */
|
|
1252
1258
|
private checkWorktreeHealth;
|
|
1253
1259
|
/** Remove worktree cleanly */
|
|
1254
1260
|
private removeWorktree;
|
|
1255
|
-
/** [WTSYNC-B1..
|
|
1261
|
+
/** [WTSYNC-B1..B16] Push local state to remote */
|
|
1256
1262
|
pushState(options: SyncStatePushOptions): Promise<SyncStatePushResult>;
|
|
1257
|
-
/** [WTSYNC-C1..
|
|
1263
|
+
/** [WTSYNC-C1..C9] Pull remote state */
|
|
1258
1264
|
pullState(options?: SyncStatePullOptions): Promise<SyncStatePullResult>;
|
|
1259
1265
|
/** [WTSYNC-D1..D7] Resolve rebase conflict */
|
|
1260
1266
|
resolveConflict(options: SyncStateResolveOptions): Promise<SyncStateResolveResult>;
|
|
@@ -1280,6 +1286,12 @@ declare class FsWorktreeSyncStateModule implements ISyncStateModule {
|
|
|
1280
1286
|
private execGit;
|
|
1281
1287
|
/** Execute git command in worktree context (throws on non-zero exit) */
|
|
1282
1288
|
private execInWorktree;
|
|
1289
|
+
/**
|
|
1290
|
+
* [WTSYNC-B16] Check if local gitgov-state has commits not present on remote.
|
|
1291
|
+
* Returns { ahead: true } if local has unpushed commits or remote branch doesn't exist.
|
|
1292
|
+
* Also returns { remoteExists } to let caller decide whether reconciliation is needed.
|
|
1293
|
+
*/
|
|
1294
|
+
private isLocalAheadOfRemote;
|
|
1283
1295
|
/** Calculate file delta (uncommitted changes in worktree) */
|
|
1284
1296
|
private calculateFileDelta;
|
|
1285
1297
|
/** [WTSYNC-B4/B9/B10/B11] Stage only syncable files from delta (adds, mods, and deletions) */
|