@gitgov/core 1.10.1 → 1.11.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/index.d.ts +1087 -415
- package/dist/src/index.js +882 -23
- package/dist/src/index.js.map +1 -1
- package/package.json +2 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -765,39 +765,39 @@ declare class GitGovError extends Error {
|
|
|
765
765
|
constructor(message: string, code: string);
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
type index$
|
|
769
|
-
type index$
|
|
770
|
-
type index$
|
|
771
|
-
type index$
|
|
772
|
-
type index$
|
|
773
|
-
type index$
|
|
774
|
-
type index$
|
|
775
|
-
type index$
|
|
776
|
-
type index$
|
|
777
|
-
type index$
|
|
778
|
-
type index$
|
|
779
|
-
type index$
|
|
780
|
-
type index$
|
|
781
|
-
type index$
|
|
782
|
-
type index$
|
|
783
|
-
type index$
|
|
784
|
-
type index$
|
|
785
|
-
type index$
|
|
786
|
-
type index$
|
|
787
|
-
type index$
|
|
788
|
-
declare const index$
|
|
789
|
-
type index$
|
|
790
|
-
type index$
|
|
791
|
-
type index$
|
|
792
|
-
type index$
|
|
793
|
-
type index$
|
|
794
|
-
type index$
|
|
795
|
-
type index$
|
|
796
|
-
type index$
|
|
797
|
-
type index$
|
|
798
|
-
type index$
|
|
799
|
-
declare namespace index$
|
|
800
|
-
export { type index$
|
|
768
|
+
type index$o_ActorPayload = ActorPayload;
|
|
769
|
+
type index$o_ActorRecord = ActorRecord;
|
|
770
|
+
type index$o_AgentPayload = AgentPayload;
|
|
771
|
+
type index$o_AgentRecord<TMetadata = object> = AgentRecord<TMetadata>;
|
|
772
|
+
type index$o_ChangelogPayload = ChangelogPayload;
|
|
773
|
+
type index$o_ChangelogRecord = ChangelogRecord;
|
|
774
|
+
type index$o_CustomRecord = CustomRecord;
|
|
775
|
+
type index$o_CyclePayload = CyclePayload;
|
|
776
|
+
type index$o_CycleRecord = CycleRecord;
|
|
777
|
+
type index$o_EmbeddedMetadataHeader = EmbeddedMetadataHeader;
|
|
778
|
+
type index$o_EmbeddedMetadataRecord<T extends GitGovRecordPayload> = EmbeddedMetadataRecord<T>;
|
|
779
|
+
type index$o_ExecutionPayload = ExecutionPayload;
|
|
780
|
+
type index$o_ExecutionRecord<TMetadata = object> = ExecutionRecord<TMetadata>;
|
|
781
|
+
type index$o_FeedbackPayload = FeedbackPayload;
|
|
782
|
+
type index$o_FeedbackRecord<TMetadata = object> = FeedbackRecord<TMetadata>;
|
|
783
|
+
type index$o_GitGovActorRecord = GitGovActorRecord;
|
|
784
|
+
type index$o_GitGovAgentRecord = GitGovAgentRecord;
|
|
785
|
+
type index$o_GitGovChangelogRecord = GitGovChangelogRecord;
|
|
786
|
+
type index$o_GitGovCycleRecord = GitGovCycleRecord;
|
|
787
|
+
type index$o_GitGovError = GitGovError;
|
|
788
|
+
declare const index$o_GitGovError: typeof GitGovError;
|
|
789
|
+
type index$o_GitGovExecutionRecord = GitGovExecutionRecord;
|
|
790
|
+
type index$o_GitGovFeedbackRecord = GitGovFeedbackRecord;
|
|
791
|
+
type index$o_GitGovRecord = GitGovRecord;
|
|
792
|
+
type index$o_GitGovRecordPayload = GitGovRecordPayload;
|
|
793
|
+
type index$o_GitGovRecordType = GitGovRecordType;
|
|
794
|
+
type index$o_GitGovTaskRecord = GitGovTaskRecord;
|
|
795
|
+
type index$o_Signature = Signature;
|
|
796
|
+
type index$o_TaskPayload = TaskPayload;
|
|
797
|
+
type index$o_TaskRecord = TaskRecord;
|
|
798
|
+
type index$o_WorkflowMethodologyRecord = WorkflowMethodologyRecord;
|
|
799
|
+
declare namespace index$o {
|
|
800
|
+
export { type index$o_ActorPayload as ActorPayload, type index$o_ActorRecord as ActorRecord, type index$o_AgentPayload as AgentPayload, type index$o_AgentRecord as AgentRecord, type index$o_ChangelogPayload as ChangelogPayload, type index$o_ChangelogRecord as ChangelogRecord, type index$o_CustomRecord as CustomRecord, type index$o_CyclePayload as CyclePayload, type index$o_CycleRecord as CycleRecord, type index$o_EmbeddedMetadataHeader as EmbeddedMetadataHeader, type index$o_EmbeddedMetadataRecord as EmbeddedMetadataRecord, type index$o_ExecutionPayload as ExecutionPayload, type index$o_ExecutionRecord as ExecutionRecord, type index$o_FeedbackPayload as FeedbackPayload, type index$o_FeedbackRecord as FeedbackRecord, type index$o_GitGovActorRecord as GitGovActorRecord, type index$o_GitGovAgentRecord as GitGovAgentRecord, type index$o_GitGovChangelogRecord as GitGovChangelogRecord, type index$o_GitGovCycleRecord as GitGovCycleRecord, index$o_GitGovError as GitGovError, type index$o_GitGovExecutionRecord as GitGovExecutionRecord, type index$o_GitGovFeedbackRecord as GitGovFeedbackRecord, type index$o_GitGovRecord as GitGovRecord, type index$o_GitGovRecordPayload as GitGovRecordPayload, type index$o_GitGovRecordType as GitGovRecordType, type index$o_GitGovTaskRecord as GitGovTaskRecord, type index$o_Signature as Signature, type index$o_TaskPayload as TaskPayload, type index$o_TaskRecord as TaskRecord, type index$o_WorkflowMethodologyRecord as WorkflowMethodologyRecord };
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
type StorablePayload$1 = Exclude<GitGovRecordPayload, CustomRecord>;
|
|
@@ -830,11 +830,11 @@ declare class RecordStore<T extends StorablePayload$1> {
|
|
|
830
830
|
exists(recordId: string): Promise<boolean>;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
type index$
|
|
834
|
-
type index$
|
|
835
|
-
declare const index$
|
|
836
|
-
declare namespace index$
|
|
837
|
-
export { type index$
|
|
833
|
+
type index$n_FsDependencies = FsDependencies;
|
|
834
|
+
type index$n_RecordStore<T extends StorablePayload$1> = RecordStore<T>;
|
|
835
|
+
declare const index$n_RecordStore: typeof RecordStore;
|
|
836
|
+
declare namespace index$n {
|
|
837
|
+
export { type index$n_FsDependencies as FsDependencies, index$n_RecordStore as RecordStore };
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
/**
|
|
@@ -1194,31 +1194,31 @@ declare function publishEvent(event: GitGovEvent): void;
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
declare function subscribeToEvent<T extends GitGovEvent>(eventType: T['type'], handler: EventHandler<T>): EventSubscription;
|
|
1196
1196
|
|
|
1197
|
-
type index$
|
|
1198
|
-
type index$
|
|
1199
|
-
type index$
|
|
1200
|
-
type index$
|
|
1201
|
-
type index$
|
|
1202
|
-
type index$
|
|
1203
|
-
type index$
|
|
1204
|
-
type index$
|
|
1205
|
-
type index$
|
|
1206
|
-
declare const index$
|
|
1207
|
-
type index$
|
|
1208
|
-
type index$
|
|
1209
|
-
type index$
|
|
1210
|
-
type index$
|
|
1211
|
-
type index$
|
|
1212
|
-
type index$
|
|
1213
|
-
type index$
|
|
1214
|
-
type index$
|
|
1215
|
-
type index$
|
|
1216
|
-
type index$
|
|
1217
|
-
declare const index$
|
|
1218
|
-
declare const index$
|
|
1219
|
-
declare const index$
|
|
1220
|
-
declare namespace index$
|
|
1221
|
-
export { type index$
|
|
1197
|
+
type index$m_ActivityEvent = ActivityEvent;
|
|
1198
|
+
type index$m_ActorCreatedEvent = ActorCreatedEvent;
|
|
1199
|
+
type index$m_ActorRevokedEvent = ActorRevokedEvent;
|
|
1200
|
+
type index$m_AgentRegisteredEvent = AgentRegisteredEvent;
|
|
1201
|
+
type index$m_BaseEvent = BaseEvent;
|
|
1202
|
+
type index$m_ChangelogCreatedEvent = ChangelogCreatedEvent;
|
|
1203
|
+
type index$m_CycleCreatedEvent = CycleCreatedEvent;
|
|
1204
|
+
type index$m_CycleStatusChangedEvent = CycleStatusChangedEvent;
|
|
1205
|
+
type index$m_EventBus = EventBus;
|
|
1206
|
+
declare const index$m_EventBus: typeof EventBus;
|
|
1207
|
+
type index$m_EventHandler<T extends BaseEvent = BaseEvent> = EventHandler<T>;
|
|
1208
|
+
type index$m_EventMetadata = EventMetadata;
|
|
1209
|
+
type index$m_EventSubscription = EventSubscription;
|
|
1210
|
+
type index$m_ExecutionCreatedEvent = ExecutionCreatedEvent;
|
|
1211
|
+
type index$m_FeedbackCreatedEvent = FeedbackCreatedEvent;
|
|
1212
|
+
type index$m_GitGovEvent = GitGovEvent;
|
|
1213
|
+
type index$m_IEventStream = IEventStream;
|
|
1214
|
+
type index$m_SystemDailyTickEvent = SystemDailyTickEvent;
|
|
1215
|
+
type index$m_TaskCreatedEvent = TaskCreatedEvent;
|
|
1216
|
+
type index$m_TaskStatusChangedEvent = TaskStatusChangedEvent;
|
|
1217
|
+
declare const index$m_eventBus: typeof eventBus;
|
|
1218
|
+
declare const index$m_publishEvent: typeof publishEvent;
|
|
1219
|
+
declare const index$m_subscribeToEvent: typeof subscribeToEvent;
|
|
1220
|
+
declare namespace index$m {
|
|
1221
|
+
export { type index$m_ActivityEvent as ActivityEvent, type index$m_ActorCreatedEvent as ActorCreatedEvent, type index$m_ActorRevokedEvent as ActorRevokedEvent, type index$m_AgentRegisteredEvent as AgentRegisteredEvent, type index$m_BaseEvent as BaseEvent, type index$m_ChangelogCreatedEvent as ChangelogCreatedEvent, type index$m_CycleCreatedEvent as CycleCreatedEvent, type index$m_CycleStatusChangedEvent as CycleStatusChangedEvent, index$m_EventBus as EventBus, type index$m_EventHandler as EventHandler, type index$m_EventMetadata as EventMetadata, type index$m_EventSubscription as EventSubscription, type index$m_ExecutionCreatedEvent as ExecutionCreatedEvent, type index$m_FeedbackCreatedEvent as FeedbackCreatedEvent, type index$m_GitGovEvent as GitGovEvent, type index$m_IEventStream as IEventStream, type index$m_SystemDailyTickEvent as SystemDailyTickEvent, type index$m_TaskCreatedEvent as TaskCreatedEvent, type index$m_TaskStatusChangedEvent as TaskStatusChangedEvent, index$m_eventBus as eventBus, index$m_publishEvent as publishEvent, index$m_subscribeToEvent as subscribeToEvent };
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
1224
|
/**
|
|
@@ -1298,12 +1298,12 @@ declare class IdentityAdapter implements IIdentityAdapter {
|
|
|
1298
1298
|
listAgentRecords(): Promise<AgentRecord[]>;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
type index$
|
|
1302
|
-
type index$
|
|
1303
|
-
declare const index$
|
|
1304
|
-
type index$
|
|
1305
|
-
declare namespace index$
|
|
1306
|
-
export { type index$
|
|
1301
|
+
type index$l_IIdentityAdapter = IIdentityAdapter;
|
|
1302
|
+
type index$l_IdentityAdapter = IdentityAdapter;
|
|
1303
|
+
declare const index$l_IdentityAdapter: typeof IdentityAdapter;
|
|
1304
|
+
type index$l_IdentityAdapterDependencies = IdentityAdapterDependencies;
|
|
1305
|
+
declare namespace index$l {
|
|
1306
|
+
export { type index$l_IIdentityAdapter as IIdentityAdapter, index$l_IdentityAdapter as IdentityAdapter, type index$l_IdentityAdapterDependencies as IdentityAdapterDependencies };
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
1309
|
/**
|
|
@@ -1421,13 +1421,13 @@ declare class FeedbackAdapter implements IFeedbackAdapter {
|
|
|
1421
1421
|
private buildThread;
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
|
-
type index$
|
|
1425
|
-
declare const index$
|
|
1426
|
-
type index$
|
|
1427
|
-
type index$
|
|
1428
|
-
type index$
|
|
1429
|
-
declare namespace index$
|
|
1430
|
-
export { index$
|
|
1424
|
+
type index$k_FeedbackAdapter = FeedbackAdapter;
|
|
1425
|
+
declare const index$k_FeedbackAdapter: typeof FeedbackAdapter;
|
|
1426
|
+
type index$k_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
|
|
1427
|
+
type index$k_FeedbackThread = FeedbackThread;
|
|
1428
|
+
type index$k_IFeedbackAdapter = IFeedbackAdapter;
|
|
1429
|
+
declare namespace index$k {
|
|
1430
|
+
export { index$k_FeedbackAdapter as FeedbackAdapter, type index$k_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$k_FeedbackThread as FeedbackThread, type index$k_IFeedbackAdapter as IFeedbackAdapter };
|
|
1431
1431
|
}
|
|
1432
1432
|
|
|
1433
1433
|
/**
|
|
@@ -1515,12 +1515,12 @@ declare class ExecutionAdapter implements IExecutionAdapter {
|
|
|
1515
1515
|
private isFirstExecutionForTask;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
|
-
type index$
|
|
1519
|
-
declare const index$
|
|
1520
|
-
type index$
|
|
1521
|
-
type index$
|
|
1522
|
-
declare namespace index$
|
|
1523
|
-
export { index$
|
|
1518
|
+
type index$j_ExecutionAdapter = ExecutionAdapter;
|
|
1519
|
+
declare const index$j_ExecutionAdapter: typeof ExecutionAdapter;
|
|
1520
|
+
type index$j_ExecutionAdapterDependencies = ExecutionAdapterDependencies;
|
|
1521
|
+
type index$j_IExecutionAdapter = IExecutionAdapter;
|
|
1522
|
+
declare namespace index$j {
|
|
1523
|
+
export { index$j_ExecutionAdapter as ExecutionAdapter, type index$j_ExecutionAdapterDependencies as ExecutionAdapterDependencies, type index$j_IExecutionAdapter as IExecutionAdapter };
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
1526
|
/**
|
|
@@ -1613,13 +1613,13 @@ declare class ChangelogAdapter implements IChangelogAdapter {
|
|
|
1613
1613
|
getChangelogsByEntity(entityId: string, _entityType?: string): Promise<ChangelogRecord[]>;
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
1616
|
-
type index$
|
|
1617
|
-
declare const index$
|
|
1618
|
-
type index$
|
|
1619
|
-
type index$
|
|
1620
|
-
type index$
|
|
1621
|
-
declare namespace index$
|
|
1622
|
-
export { index$
|
|
1616
|
+
type index$i_ChangelogAdapter = ChangelogAdapter;
|
|
1617
|
+
declare const index$i_ChangelogAdapter: typeof ChangelogAdapter;
|
|
1618
|
+
type index$i_ChangelogAdapterDependencies = ChangelogAdapterDependencies;
|
|
1619
|
+
type index$i_ChangelogListOptions = ChangelogListOptions;
|
|
1620
|
+
type index$i_IChangelogAdapter = IChangelogAdapter;
|
|
1621
|
+
declare namespace index$i {
|
|
1622
|
+
export { index$i_ChangelogAdapter as ChangelogAdapter, type index$i_ChangelogAdapterDependencies as ChangelogAdapterDependencies, type index$i_ChangelogListOptions as ChangelogListOptions, type index$i_IChangelogAdapter as IChangelogAdapter };
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
/**
|
|
@@ -1804,16 +1804,16 @@ declare class MetricsAdapter implements IMetricsAdapter {
|
|
|
1804
1804
|
calculateAgentExecutionTime(_executions: ExecutionRecord[]): number;
|
|
1805
1805
|
}
|
|
1806
1806
|
|
|
1807
|
-
type index$
|
|
1808
|
-
type index$
|
|
1809
|
-
type index$
|
|
1810
|
-
declare const index$
|
|
1811
|
-
type index$
|
|
1812
|
-
type index$
|
|
1813
|
-
type index$
|
|
1814
|
-
type index$
|
|
1815
|
-
declare namespace index$
|
|
1816
|
-
export { type index$
|
|
1807
|
+
type index$h_CollaborationMetrics = CollaborationMetrics;
|
|
1808
|
+
type index$h_IMetricsAdapter = IMetricsAdapter;
|
|
1809
|
+
type index$h_MetricsAdapter = MetricsAdapter;
|
|
1810
|
+
declare const index$h_MetricsAdapter: typeof MetricsAdapter;
|
|
1811
|
+
type index$h_MetricsAdapterDependencies = MetricsAdapterDependencies;
|
|
1812
|
+
type index$h_ProductivityMetrics = ProductivityMetrics;
|
|
1813
|
+
type index$h_SystemStatus = SystemStatus;
|
|
1814
|
+
type index$h_TaskHealthReport = TaskHealthReport;
|
|
1815
|
+
declare namespace index$h {
|
|
1816
|
+
export { type index$h_CollaborationMetrics as CollaborationMetrics, type index$h_IMetricsAdapter as IMetricsAdapter, index$h_MetricsAdapter as MetricsAdapter, type index$h_MetricsAdapterDependencies as MetricsAdapterDependencies, type index$h_ProductivityMetrics as ProductivityMetrics, type index$h_SystemStatus as SystemStatus, type index$h_TaskHealthReport as TaskHealthReport };
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
1819
|
/**
|
|
@@ -1845,6 +1845,14 @@ interface GitGovConfig {
|
|
|
1845
1845
|
defaultIgnoredPatterns?: string[];
|
|
1846
1846
|
};
|
|
1847
1847
|
};
|
|
1848
|
+
audit?: {
|
|
1849
|
+
/** Commit SHA of last full audit (for incremental mode) */
|
|
1850
|
+
lastFullAuditCommit?: string;
|
|
1851
|
+
/** ISO 8601 timestamp of last full audit */
|
|
1852
|
+
lastFullAuditTimestamp?: string;
|
|
1853
|
+
/** Number of findings in last full audit */
|
|
1854
|
+
lastFullAuditFindingsCount?: number;
|
|
1855
|
+
};
|
|
1848
1856
|
};
|
|
1849
1857
|
}
|
|
1850
1858
|
/**
|
|
@@ -1864,6 +1872,14 @@ interface ActorState {
|
|
|
1864
1872
|
syncStatus?: SyncStatus;
|
|
1865
1873
|
[key: string]: any;
|
|
1866
1874
|
}
|
|
1875
|
+
/**
|
|
1876
|
+
* Audit state stored in config.json for incremental mode
|
|
1877
|
+
*/
|
|
1878
|
+
interface AuditState {
|
|
1879
|
+
lastFullAuditCommit: string | null;
|
|
1880
|
+
lastFullAuditTimestamp: string | null;
|
|
1881
|
+
lastFullAuditFindingsCount: number | null;
|
|
1882
|
+
}
|
|
1867
1883
|
interface GitGovSession {
|
|
1868
1884
|
cloud?: {
|
|
1869
1885
|
sessionToken?: string;
|
|
@@ -2015,6 +2031,20 @@ declare class ConfigManager {
|
|
|
2015
2031
|
ignoredPatterns: string[];
|
|
2016
2032
|
}>;
|
|
2017
2033
|
}): Promise<void>;
|
|
2034
|
+
/**
|
|
2035
|
+
* Get audit state from config.json
|
|
2036
|
+
* Returns last full audit commit and timestamp for incremental mode
|
|
2037
|
+
*/
|
|
2038
|
+
getAuditState(): Promise<AuditState>;
|
|
2039
|
+
/**
|
|
2040
|
+
* Update audit state in config.json after a full audit
|
|
2041
|
+
* This is used to enable incremental audits
|
|
2042
|
+
*/
|
|
2043
|
+
updateAuditState(auditState: {
|
|
2044
|
+
lastFullAuditCommit: string;
|
|
2045
|
+
lastFullAuditTimestamp: string;
|
|
2046
|
+
lastFullAuditFindingsCount: number;
|
|
2047
|
+
}): Promise<void>;
|
|
2018
2048
|
/**
|
|
2019
2049
|
* Finds the project root by searching upwards for a .git directory.
|
|
2020
2050
|
* Caches the result for subsequent calls.
|
|
@@ -2043,15 +2073,16 @@ declare class ConfigManager {
|
|
|
2043
2073
|
*/
|
|
2044
2074
|
declare function createConfigManager(projectRoot?: string): ConfigManager;
|
|
2045
2075
|
|
|
2046
|
-
type index$
|
|
2047
|
-
type index$
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
type index$
|
|
2051
|
-
type index$
|
|
2052
|
-
|
|
2053
|
-
declare
|
|
2054
|
-
|
|
2076
|
+
type index$g_ActorState = ActorState;
|
|
2077
|
+
type index$g_AuditState = AuditState;
|
|
2078
|
+
type index$g_ConfigManager = ConfigManager;
|
|
2079
|
+
declare const index$g_ConfigManager: typeof ConfigManager;
|
|
2080
|
+
type index$g_GitGovConfig = GitGovConfig;
|
|
2081
|
+
type index$g_GitGovSession = GitGovSession;
|
|
2082
|
+
type index$g_SyncStatus = SyncStatus;
|
|
2083
|
+
declare const index$g_createConfigManager: typeof createConfigManager;
|
|
2084
|
+
declare namespace index$g {
|
|
2085
|
+
export { type index$g_ActorState as ActorState, type index$g_AuditState as AuditState, index$g_ConfigManager as ConfigManager, type index$g_GitGovConfig as GitGovConfig, type index$g_GitGovSession as GitGovSession, type index$g_SyncStatus as SyncStatus, index$g_createConfigManager as createConfigManager };
|
|
2055
2086
|
}
|
|
2056
2087
|
|
|
2057
2088
|
type TaskStatus = TaskRecord['status'];
|
|
@@ -2123,12 +2154,12 @@ declare class WorkflowMethodologyAdapter implements IWorkflowMethodology {
|
|
|
2123
2154
|
getAvailableTransitions(from: TaskStatus): Promise<TransitionRule[]>;
|
|
2124
2155
|
}
|
|
2125
2156
|
|
|
2126
|
-
type index$
|
|
2127
|
-
type index$
|
|
2128
|
-
declare const index$
|
|
2129
|
-
type index$
|
|
2130
|
-
declare namespace index$
|
|
2131
|
-
export { type index$
|
|
2157
|
+
type index$f_IWorkflowMethodology = IWorkflowMethodology;
|
|
2158
|
+
type index$f_WorkflowMethodologyAdapter = WorkflowMethodologyAdapter;
|
|
2159
|
+
declare const index$f_WorkflowMethodologyAdapter: typeof WorkflowMethodologyAdapter;
|
|
2160
|
+
type index$f_WorkflowMethodologyAdapterDependencies = WorkflowMethodologyAdapterDependencies;
|
|
2161
|
+
declare namespace index$f {
|
|
2162
|
+
export { type index$f_IWorkflowMethodology as IWorkflowMethodology, type ValidationContext$1 as ValidationContext, index$f_WorkflowMethodologyAdapter as WorkflowMethodologyAdapter, type index$f_WorkflowMethodologyAdapterDependencies as WorkflowMethodologyAdapterDependencies };
|
|
2132
2163
|
}
|
|
2133
2164
|
|
|
2134
2165
|
/**
|
|
@@ -2361,13 +2392,13 @@ declare class BacklogAdapter implements IBacklogAdapter {
|
|
|
2361
2392
|
processChanges(_changes: unknown[]): Promise<ExecutionRecord[]>;
|
|
2362
2393
|
}
|
|
2363
2394
|
|
|
2364
|
-
type index$
|
|
2365
|
-
declare const index$
|
|
2366
|
-
type index$
|
|
2367
|
-
type index$
|
|
2368
|
-
type index$
|
|
2369
|
-
declare namespace index$
|
|
2370
|
-
export { index$
|
|
2395
|
+
type index$e_BacklogAdapter = BacklogAdapter;
|
|
2396
|
+
declare const index$e_BacklogAdapter: typeof BacklogAdapter;
|
|
2397
|
+
type index$e_BacklogAdapterConfig = BacklogAdapterConfig;
|
|
2398
|
+
type index$e_BacklogAdapterDependencies = BacklogAdapterDependencies;
|
|
2399
|
+
type index$e_IBacklogAdapter = IBacklogAdapter;
|
|
2400
|
+
declare namespace index$e {
|
|
2401
|
+
export { index$e_BacklogAdapter as BacklogAdapter, type index$e_BacklogAdapterConfig as BacklogAdapterConfig, type index$e_BacklogAdapterDependencies as BacklogAdapterDependencies, type index$e_IBacklogAdapter as IBacklogAdapter };
|
|
2371
2402
|
}
|
|
2372
2403
|
|
|
2373
2404
|
/**
|
|
@@ -2726,21 +2757,21 @@ declare class FileIndexerAdapter implements IIndexerAdapter {
|
|
|
2726
2757
|
private getTimestampFromId;
|
|
2727
2758
|
}
|
|
2728
2759
|
|
|
2729
|
-
type index$
|
|
2730
|
-
type index$
|
|
2731
|
-
type index$
|
|
2732
|
-
type index$
|
|
2733
|
-
type index$
|
|
2734
|
-
declare const index$
|
|
2735
|
-
type index$
|
|
2736
|
-
type index$
|
|
2737
|
-
type index$
|
|
2738
|
-
type index$
|
|
2739
|
-
type index$
|
|
2740
|
-
type index$
|
|
2741
|
-
type index$
|
|
2742
|
-
declare namespace index$
|
|
2743
|
-
export { type index$
|
|
2760
|
+
type index$d_AllRecords = AllRecords;
|
|
2761
|
+
type index$d_DerivedStateSets = DerivedStateSets;
|
|
2762
|
+
type index$d_DerivedStates = DerivedStates;
|
|
2763
|
+
type index$d_EnrichedTaskRecord = EnrichedTaskRecord;
|
|
2764
|
+
type index$d_FileIndexerAdapter = FileIndexerAdapter;
|
|
2765
|
+
declare const index$d_FileIndexerAdapter: typeof FileIndexerAdapter;
|
|
2766
|
+
type index$d_IIndexerAdapter = IIndexerAdapter;
|
|
2767
|
+
type index$d_IndexData = IndexData;
|
|
2768
|
+
type index$d_IndexGenerationReport = IndexGenerationReport;
|
|
2769
|
+
type index$d_IndexerAdapterDependencies = IndexerAdapterDependencies;
|
|
2770
|
+
type index$d_IntegrityError = IntegrityError;
|
|
2771
|
+
type index$d_IntegrityReport = IntegrityReport;
|
|
2772
|
+
type index$d_IntegrityWarning = IntegrityWarning;
|
|
2773
|
+
declare namespace index$d {
|
|
2774
|
+
export { type index$d_AllRecords as AllRecords, type index$d_DerivedStateSets as DerivedStateSets, type index$d_DerivedStates as DerivedStates, type index$d_EnrichedTaskRecord as EnrichedTaskRecord, index$d_FileIndexerAdapter as FileIndexerAdapter, type index$d_IIndexerAdapter as IIndexerAdapter, type index$d_IndexData as IndexData, type index$d_IndexGenerationReport as IndexGenerationReport, type index$d_IndexerAdapterDependencies as IndexerAdapterDependencies, type index$d_IntegrityError as IntegrityError, type index$d_IntegrityReport as IntegrityReport, type index$d_IntegrityWarning as IntegrityWarning };
|
|
2744
2775
|
}
|
|
2745
2776
|
|
|
2746
2777
|
/**
|
|
@@ -3418,31 +3449,31 @@ declare class RebaseNotInProgressError extends GitError {
|
|
|
3418
3449
|
* @module git
|
|
3419
3450
|
*/
|
|
3420
3451
|
|
|
3421
|
-
type index$
|
|
3422
|
-
declare const index$
|
|
3423
|
-
type index$
|
|
3424
|
-
type index$
|
|
3425
|
-
type index$
|
|
3426
|
-
type index$
|
|
3427
|
-
type index$
|
|
3428
|
-
type index$
|
|
3429
|
-
declare const index$
|
|
3430
|
-
type index$
|
|
3431
|
-
type index$
|
|
3432
|
-
declare const index$
|
|
3433
|
-
type index$
|
|
3434
|
-
declare const index$
|
|
3435
|
-
type index$
|
|
3436
|
-
declare const index$
|
|
3437
|
-
type index$
|
|
3438
|
-
type index$
|
|
3439
|
-
declare const index$
|
|
3440
|
-
type index$
|
|
3441
|
-
declare const index$
|
|
3442
|
-
type index$
|
|
3443
|
-
declare const index$
|
|
3444
|
-
declare namespace index$
|
|
3445
|
-
export { index$
|
|
3452
|
+
type index$c_BranchNotFoundError = BranchNotFoundError;
|
|
3453
|
+
declare const index$c_BranchNotFoundError: typeof BranchNotFoundError;
|
|
3454
|
+
type index$c_ChangedFile = ChangedFile;
|
|
3455
|
+
type index$c_CommitAuthor = CommitAuthor;
|
|
3456
|
+
type index$c_CommitInfo = CommitInfo;
|
|
3457
|
+
type index$c_ExecOptions = ExecOptions;
|
|
3458
|
+
type index$c_ExecResult = ExecResult;
|
|
3459
|
+
type index$c_FileNotFoundError = FileNotFoundError;
|
|
3460
|
+
declare const index$c_FileNotFoundError: typeof FileNotFoundError;
|
|
3461
|
+
type index$c_GetCommitHistoryOptions = GetCommitHistoryOptions;
|
|
3462
|
+
type index$c_GitCommandError = GitCommandError;
|
|
3463
|
+
declare const index$c_GitCommandError: typeof GitCommandError;
|
|
3464
|
+
type index$c_GitError = GitError;
|
|
3465
|
+
declare const index$c_GitError: typeof GitError;
|
|
3466
|
+
type index$c_GitModule = GitModule;
|
|
3467
|
+
declare const index$c_GitModule: typeof GitModule;
|
|
3468
|
+
type index$c_GitModuleDependencies = GitModuleDependencies;
|
|
3469
|
+
type index$c_MergeConflictError = MergeConflictError;
|
|
3470
|
+
declare const index$c_MergeConflictError: typeof MergeConflictError;
|
|
3471
|
+
type index$c_RebaseConflictError = RebaseConflictError;
|
|
3472
|
+
declare const index$c_RebaseConflictError: typeof RebaseConflictError;
|
|
3473
|
+
type index$c_RebaseNotInProgressError = RebaseNotInProgressError;
|
|
3474
|
+
declare const index$c_RebaseNotInProgressError: typeof RebaseNotInProgressError;
|
|
3475
|
+
declare namespace index$c {
|
|
3476
|
+
export { index$c_BranchNotFoundError as BranchNotFoundError, type index$c_ChangedFile as ChangedFile, type index$c_CommitAuthor as CommitAuthor, type index$c_CommitInfo as CommitInfo, type index$c_ExecOptions as ExecOptions, type index$c_ExecResult as ExecResult, index$c_FileNotFoundError as FileNotFoundError, type index$c_GetCommitHistoryOptions as GetCommitHistoryOptions, index$c_GitCommandError as GitCommandError, index$c_GitError as GitError, index$c_GitModule as GitModule, type index$c_GitModuleDependencies as GitModuleDependencies, index$c_MergeConflictError as MergeConflictError, index$c_RebaseConflictError as RebaseConflictError, index$c_RebaseNotInProgressError as RebaseNotInProgressError };
|
|
3446
3477
|
}
|
|
3447
3478
|
|
|
3448
3479
|
/**
|
|
@@ -3586,82 +3617,82 @@ declare class ProjectAdapter implements IProjectAdapter {
|
|
|
3586
3617
|
private setupGitIntegration;
|
|
3587
3618
|
}
|
|
3588
3619
|
|
|
3589
|
-
type index$
|
|
3590
|
-
type index$
|
|
3591
|
-
type index$
|
|
3592
|
-
declare const index$
|
|
3593
|
-
type index$
|
|
3594
|
-
type index$
|
|
3595
|
-
type index$
|
|
3596
|
-
type index$
|
|
3597
|
-
type index$
|
|
3598
|
-
type index$
|
|
3599
|
-
type index$
|
|
3600
|
-
declare namespace index$
|
|
3601
|
-
export { type index$
|
|
3620
|
+
type index$b_EnvironmentValidation = EnvironmentValidation;
|
|
3621
|
+
type index$b_IProjectAdapter = IProjectAdapter;
|
|
3622
|
+
type index$b_ProjectAdapter = ProjectAdapter;
|
|
3623
|
+
declare const index$b_ProjectAdapter: typeof ProjectAdapter;
|
|
3624
|
+
type index$b_ProjectAdapterDependencies = ProjectAdapterDependencies;
|
|
3625
|
+
type index$b_ProjectContext = ProjectContext;
|
|
3626
|
+
type index$b_ProjectInfo = ProjectInfo;
|
|
3627
|
+
type index$b_ProjectInitOptions = ProjectInitOptions;
|
|
3628
|
+
type index$b_ProjectInitResult = ProjectInitResult;
|
|
3629
|
+
type index$b_ProjectReport = ProjectReport;
|
|
3630
|
+
type index$b_TemplateProcessingResult = TemplateProcessingResult;
|
|
3631
|
+
declare namespace index$b {
|
|
3632
|
+
export { type index$b_EnvironmentValidation as EnvironmentValidation, type index$b_IProjectAdapter as IProjectAdapter, index$b_ProjectAdapter as ProjectAdapter, type index$b_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$b_ProjectContext as ProjectContext, type index$b_ProjectInfo as ProjectInfo, type index$b_ProjectInitOptions as ProjectInitOptions, type index$b_ProjectInitResult as ProjectInitResult, type index$b_ProjectReport as ProjectReport, type index$b_TemplateProcessingResult as TemplateProcessingResult };
|
|
3602
3633
|
}
|
|
3603
3634
|
|
|
3604
|
-
type index$
|
|
3605
|
-
type index$
|
|
3606
|
-
declare const index$
|
|
3607
|
-
type index$
|
|
3608
|
-
type index$
|
|
3609
|
-
type index$
|
|
3610
|
-
declare const index$
|
|
3611
|
-
type index$
|
|
3612
|
-
type index$
|
|
3613
|
-
type index$
|
|
3614
|
-
type index$
|
|
3615
|
-
type index$
|
|
3616
|
-
type index$
|
|
3617
|
-
type index$
|
|
3618
|
-
type index$
|
|
3619
|
-
declare const index$
|
|
3620
|
-
type index$
|
|
3621
|
-
type index$
|
|
3622
|
-
declare const index$
|
|
3623
|
-
type index$
|
|
3624
|
-
type index$
|
|
3625
|
-
type index$
|
|
3626
|
-
declare const index$
|
|
3627
|
-
type index$
|
|
3628
|
-
type index$
|
|
3629
|
-
type index$
|
|
3630
|
-
type index$
|
|
3631
|
-
type index$
|
|
3632
|
-
type index$
|
|
3633
|
-
type index$
|
|
3634
|
-
type index$
|
|
3635
|
-
type index$
|
|
3636
|
-
type index$
|
|
3637
|
-
declare const index$
|
|
3638
|
-
type index$
|
|
3639
|
-
type index$
|
|
3640
|
-
type index$
|
|
3641
|
-
type index$
|
|
3642
|
-
type index$
|
|
3643
|
-
type index$
|
|
3644
|
-
type index$
|
|
3645
|
-
type index$
|
|
3646
|
-
declare const index$
|
|
3647
|
-
type index$
|
|
3648
|
-
type index$
|
|
3649
|
-
type index$
|
|
3650
|
-
declare const index$
|
|
3651
|
-
type index$
|
|
3652
|
-
type index$
|
|
3653
|
-
type index$
|
|
3654
|
-
type index$
|
|
3655
|
-
type index$
|
|
3656
|
-
type index$
|
|
3657
|
-
type index$
|
|
3658
|
-
type index$
|
|
3659
|
-
type index$
|
|
3660
|
-
type index$
|
|
3661
|
-
declare const index$
|
|
3662
|
-
type index$
|
|
3663
|
-
declare namespace index$
|
|
3664
|
-
export { type index$
|
|
3635
|
+
type index$a_AllRecords = AllRecords;
|
|
3636
|
+
type index$a_BacklogAdapter = BacklogAdapter;
|
|
3637
|
+
declare const index$a_BacklogAdapter: typeof BacklogAdapter;
|
|
3638
|
+
type index$a_BacklogAdapterConfig = BacklogAdapterConfig;
|
|
3639
|
+
type index$a_BacklogAdapterDependencies = BacklogAdapterDependencies;
|
|
3640
|
+
type index$a_ChangelogAdapter = ChangelogAdapter;
|
|
3641
|
+
declare const index$a_ChangelogAdapter: typeof ChangelogAdapter;
|
|
3642
|
+
type index$a_ChangelogAdapterDependencies = ChangelogAdapterDependencies;
|
|
3643
|
+
type index$a_ChangelogListOptions = ChangelogListOptions;
|
|
3644
|
+
type index$a_CollaborationMetrics = CollaborationMetrics;
|
|
3645
|
+
type index$a_DerivedStateSets = DerivedStateSets;
|
|
3646
|
+
type index$a_DerivedStates = DerivedStates;
|
|
3647
|
+
type index$a_EnrichedTaskRecord = EnrichedTaskRecord;
|
|
3648
|
+
type index$a_EnvironmentValidation = EnvironmentValidation;
|
|
3649
|
+
type index$a_ExecutionAdapter = ExecutionAdapter;
|
|
3650
|
+
declare const index$a_ExecutionAdapter: typeof ExecutionAdapter;
|
|
3651
|
+
type index$a_ExecutionAdapterDependencies = ExecutionAdapterDependencies;
|
|
3652
|
+
type index$a_FeedbackAdapter = FeedbackAdapter;
|
|
3653
|
+
declare const index$a_FeedbackAdapter: typeof FeedbackAdapter;
|
|
3654
|
+
type index$a_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
|
|
3655
|
+
type index$a_FeedbackThread = FeedbackThread;
|
|
3656
|
+
type index$a_FileIndexerAdapter = FileIndexerAdapter;
|
|
3657
|
+
declare const index$a_FileIndexerAdapter: typeof FileIndexerAdapter;
|
|
3658
|
+
type index$a_IBacklogAdapter = IBacklogAdapter;
|
|
3659
|
+
type index$a_IChangelogAdapter = IChangelogAdapter;
|
|
3660
|
+
type index$a_IExecutionAdapter = IExecutionAdapter;
|
|
3661
|
+
type index$a_IFeedbackAdapter = IFeedbackAdapter;
|
|
3662
|
+
type index$a_IIdentityAdapter = IIdentityAdapter;
|
|
3663
|
+
type index$a_IIndexerAdapter = IIndexerAdapter;
|
|
3664
|
+
type index$a_IMetricsAdapter = IMetricsAdapter;
|
|
3665
|
+
type index$a_IProjectAdapter = IProjectAdapter;
|
|
3666
|
+
type index$a_IWorkflowMethodology = IWorkflowMethodology;
|
|
3667
|
+
type index$a_IdentityAdapter = IdentityAdapter;
|
|
3668
|
+
declare const index$a_IdentityAdapter: typeof IdentityAdapter;
|
|
3669
|
+
type index$a_IdentityAdapterDependencies = IdentityAdapterDependencies;
|
|
3670
|
+
type index$a_IndexData = IndexData;
|
|
3671
|
+
type index$a_IndexGenerationReport = IndexGenerationReport;
|
|
3672
|
+
type index$a_IndexerAdapterDependencies = IndexerAdapterDependencies;
|
|
3673
|
+
type index$a_IntegrityError = IntegrityError;
|
|
3674
|
+
type index$a_IntegrityReport = IntegrityReport;
|
|
3675
|
+
type index$a_IntegrityWarning = IntegrityWarning;
|
|
3676
|
+
type index$a_MetricsAdapter = MetricsAdapter;
|
|
3677
|
+
declare const index$a_MetricsAdapter: typeof MetricsAdapter;
|
|
3678
|
+
type index$a_MetricsAdapterDependencies = MetricsAdapterDependencies;
|
|
3679
|
+
type index$a_ProductivityMetrics = ProductivityMetrics;
|
|
3680
|
+
type index$a_ProjectAdapter = ProjectAdapter;
|
|
3681
|
+
declare const index$a_ProjectAdapter: typeof ProjectAdapter;
|
|
3682
|
+
type index$a_ProjectAdapterDependencies = ProjectAdapterDependencies;
|
|
3683
|
+
type index$a_ProjectContext = ProjectContext;
|
|
3684
|
+
type index$a_ProjectInfo = ProjectInfo;
|
|
3685
|
+
type index$a_ProjectInitOptions = ProjectInitOptions;
|
|
3686
|
+
type index$a_ProjectInitResult = ProjectInitResult;
|
|
3687
|
+
type index$a_ProjectReport = ProjectReport;
|
|
3688
|
+
type index$a_SystemStatus = SystemStatus;
|
|
3689
|
+
type index$a_TaskHealthReport = TaskHealthReport;
|
|
3690
|
+
type index$a_TemplateProcessingResult = TemplateProcessingResult;
|
|
3691
|
+
type index$a_WorkflowMethodologyAdapter = WorkflowMethodologyAdapter;
|
|
3692
|
+
declare const index$a_WorkflowMethodologyAdapter: typeof WorkflowMethodologyAdapter;
|
|
3693
|
+
type index$a_WorkflowMethodologyAdapterDependencies = WorkflowMethodologyAdapterDependencies;
|
|
3694
|
+
declare namespace index$a {
|
|
3695
|
+
export { type index$a_AllRecords as AllRecords, index$a_BacklogAdapter as BacklogAdapter, type index$a_BacklogAdapterConfig as BacklogAdapterConfig, type index$a_BacklogAdapterDependencies as BacklogAdapterDependencies, index$a_ChangelogAdapter as ChangelogAdapter, type index$a_ChangelogAdapterDependencies as ChangelogAdapterDependencies, type index$a_ChangelogListOptions as ChangelogListOptions, type index$a_CollaborationMetrics as CollaborationMetrics, type index$a_DerivedStateSets as DerivedStateSets, type index$a_DerivedStates as DerivedStates, type index$a_EnrichedTaskRecord as EnrichedTaskRecord, type index$a_EnvironmentValidation as EnvironmentValidation, index$a_ExecutionAdapter as ExecutionAdapter, type index$a_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$a_FeedbackAdapter as FeedbackAdapter, type index$a_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$a_FeedbackThread as FeedbackThread, index$a_FileIndexerAdapter as FileIndexerAdapter, type index$a_IBacklogAdapter as IBacklogAdapter, type index$a_IChangelogAdapter as IChangelogAdapter, type index$a_IExecutionAdapter as IExecutionAdapter, type index$a_IFeedbackAdapter as IFeedbackAdapter, type index$a_IIdentityAdapter as IIdentityAdapter, type index$a_IIndexerAdapter as IIndexerAdapter, type index$a_IMetricsAdapter as IMetricsAdapter, type index$a_IProjectAdapter as IProjectAdapter, type index$a_IWorkflowMethodology as IWorkflowMethodology, index$a_IdentityAdapter as IdentityAdapter, type index$a_IdentityAdapterDependencies as IdentityAdapterDependencies, type index$a_IndexData as IndexData, type index$a_IndexGenerationReport as IndexGenerationReport, type index$a_IndexerAdapterDependencies as IndexerAdapterDependencies, type index$a_IntegrityError as IntegrityError, type index$a_IntegrityReport as IntegrityReport, type index$a_IntegrityWarning as IntegrityWarning, index$a_MetricsAdapter as MetricsAdapter, type index$a_MetricsAdapterDependencies as MetricsAdapterDependencies, type index$a_ProductivityMetrics as ProductivityMetrics, index$a_ProjectAdapter as ProjectAdapter, type index$a_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$a_ProjectContext as ProjectContext, type index$a_ProjectInfo as ProjectInfo, type index$a_ProjectInitOptions as ProjectInitOptions, type index$a_ProjectInitResult as ProjectInitResult, type index$a_ProjectReport as ProjectReport, type index$a_SystemStatus as SystemStatus, type index$a_TaskHealthReport as TaskHealthReport, type index$a_TemplateProcessingResult as TemplateProcessingResult, type ValidationContext$1 as ValidationContext, index$a_WorkflowMethodologyAdapter as WorkflowMethodologyAdapter, type index$a_WorkflowMethodologyAdapterDependencies as WorkflowMethodologyAdapterDependencies };
|
|
3665
3696
|
}
|
|
3666
3697
|
|
|
3667
3698
|
/**
|
|
@@ -3701,12 +3732,12 @@ declare function verifySignatures(record: {
|
|
|
3701
3732
|
payload: GitGovRecordPayload;
|
|
3702
3733
|
}, getActorPublicKey: (keyId: string) => Promise<string | null>): Promise<boolean>;
|
|
3703
3734
|
|
|
3704
|
-
declare const index$
|
|
3705
|
-
declare const index$
|
|
3706
|
-
declare const index$
|
|
3707
|
-
declare const index$
|
|
3708
|
-
declare namespace index$
|
|
3709
|
-
export { index$
|
|
3735
|
+
declare const index$9_calculatePayloadChecksum: typeof calculatePayloadChecksum;
|
|
3736
|
+
declare const index$9_generateKeys: typeof generateKeys;
|
|
3737
|
+
declare const index$9_signPayload: typeof signPayload;
|
|
3738
|
+
declare const index$9_verifySignatures: typeof verifySignatures;
|
|
3739
|
+
declare namespace index$9 {
|
|
3740
|
+
export { index$9_calculatePayloadChecksum as calculatePayloadChecksum, index$9_generateKeys as generateKeys, index$9_signPayload as signPayload, index$9_verifySignatures as verifySignatures };
|
|
3710
3741
|
}
|
|
3711
3742
|
|
|
3712
3743
|
/**
|
|
@@ -3897,28 +3928,28 @@ declare function createTestSignature(keyId?: string, role?: string, notes?: stri
|
|
|
3897
3928
|
*/
|
|
3898
3929
|
declare function createEmbeddedMetadataRecord<T extends GitGovRecordPayload>(payload: T, options?: CreateEmbeddedMetadataOptions): EmbeddedMetadataRecord<T>;
|
|
3899
3930
|
|
|
3900
|
-
type index$
|
|
3901
|
-
type index$
|
|
3902
|
-
declare const index$
|
|
3903
|
-
declare const index$
|
|
3904
|
-
declare const index$
|
|
3905
|
-
declare const index$
|
|
3906
|
-
declare const index$
|
|
3907
|
-
declare const index$
|
|
3908
|
-
declare const index$
|
|
3909
|
-
declare const index$
|
|
3910
|
-
declare const index$
|
|
3911
|
-
declare const index$
|
|
3912
|
-
declare const index$
|
|
3913
|
-
declare const index$
|
|
3914
|
-
declare const index$
|
|
3915
|
-
declare const index$
|
|
3916
|
-
declare const index$
|
|
3917
|
-
declare const index$
|
|
3918
|
-
declare const index$
|
|
3919
|
-
declare const index$
|
|
3920
|
-
declare namespace index$
|
|
3921
|
-
export { type index$
|
|
3931
|
+
type index$8_CreateEmbeddedMetadataOptions = CreateEmbeddedMetadataOptions;
|
|
3932
|
+
type index$8_SignatureConfig = SignatureConfig;
|
|
3933
|
+
declare const index$8_createActorRecord: typeof createActorRecord;
|
|
3934
|
+
declare const index$8_createAgentRecord: typeof createAgentRecord;
|
|
3935
|
+
declare const index$8_createChangelogRecord: typeof createChangelogRecord;
|
|
3936
|
+
declare const index$8_createCycleRecord: typeof createCycleRecord;
|
|
3937
|
+
declare const index$8_createDefaultWorkflowMethodologyConfig: typeof createDefaultWorkflowMethodologyConfig;
|
|
3938
|
+
declare const index$8_createEmbeddedMetadataRecord: typeof createEmbeddedMetadataRecord;
|
|
3939
|
+
declare const index$8_createExecutionRecord: typeof createExecutionRecord;
|
|
3940
|
+
declare const index$8_createFeedbackRecord: typeof createFeedbackRecord;
|
|
3941
|
+
declare const index$8_createTaskRecord: typeof createTaskRecord;
|
|
3942
|
+
declare const index$8_createTestSignature: typeof createTestSignature;
|
|
3943
|
+
declare const index$8_createWorkflowMethodologyConfig: typeof createWorkflowMethodologyConfig;
|
|
3944
|
+
declare const index$8_loadActorRecord: typeof loadActorRecord;
|
|
3945
|
+
declare const index$8_loadAgentRecord: typeof loadAgentRecord;
|
|
3946
|
+
declare const index$8_loadChangelogRecord: typeof loadChangelogRecord;
|
|
3947
|
+
declare const index$8_loadCycleRecord: typeof loadCycleRecord;
|
|
3948
|
+
declare const index$8_loadExecutionRecord: typeof loadExecutionRecord;
|
|
3949
|
+
declare const index$8_loadFeedbackRecord: typeof loadFeedbackRecord;
|
|
3950
|
+
declare const index$8_loadTaskRecord: typeof loadTaskRecord;
|
|
3951
|
+
declare namespace index$8 {
|
|
3952
|
+
export { type index$8_CreateEmbeddedMetadataOptions as CreateEmbeddedMetadataOptions, type index$8_SignatureConfig as SignatureConfig, index$8_createActorRecord as createActorRecord, index$8_createAgentRecord as createAgentRecord, index$8_createChangelogRecord as createChangelogRecord, index$8_createCycleRecord as createCycleRecord, index$8_createDefaultWorkflowMethodologyConfig as createDefaultWorkflowMethodologyConfig, index$8_createEmbeddedMetadataRecord as createEmbeddedMetadataRecord, index$8_createExecutionRecord as createExecutionRecord, index$8_createFeedbackRecord as createFeedbackRecord, index$8_createTaskRecord as createTaskRecord, index$8_createTestSignature as createTestSignature, index$8_createWorkflowMethodologyConfig as createWorkflowMethodologyConfig, index$8_loadActorRecord as loadActorRecord, index$8_loadAgentRecord as loadAgentRecord, index$8_loadChangelogRecord as loadChangelogRecord, index$8_loadCycleRecord as loadCycleRecord, index$8_loadExecutionRecord as loadExecutionRecord, index$8_loadFeedbackRecord as loadFeedbackRecord, index$8_loadTaskRecord as loadTaskRecord };
|
|
3922
3953
|
}
|
|
3923
3954
|
|
|
3924
3955
|
type StorablePayload = Exclude<GitGovRecordPayload, CustomRecord>;
|
|
@@ -4584,22 +4615,22 @@ declare class LintModule implements ILintModule {
|
|
|
4584
4615
|
* ```
|
|
4585
4616
|
*/
|
|
4586
4617
|
|
|
4587
|
-
type index$
|
|
4588
|
-
type index$
|
|
4589
|
-
type index$
|
|
4590
|
-
type index$
|
|
4591
|
-
type index$
|
|
4592
|
-
type index$
|
|
4593
|
-
declare const index$
|
|
4594
|
-
type index$
|
|
4595
|
-
type index$
|
|
4596
|
-
type index$
|
|
4597
|
-
type index$
|
|
4598
|
-
type index$
|
|
4599
|
-
type index$
|
|
4600
|
-
type index$
|
|
4601
|
-
declare namespace index$
|
|
4602
|
-
export { type index$
|
|
4618
|
+
type index$7_FileSystem = FileSystem;
|
|
4619
|
+
type index$7_FixOptions = FixOptions;
|
|
4620
|
+
type index$7_FixReport = FixReport;
|
|
4621
|
+
type index$7_FixResult = FixResult;
|
|
4622
|
+
type index$7_ILintModule = ILintModule;
|
|
4623
|
+
type index$7_LintModule = LintModule;
|
|
4624
|
+
declare const index$7_LintModule: typeof LintModule;
|
|
4625
|
+
type index$7_LintModuleDependencies = LintModuleDependencies;
|
|
4626
|
+
type index$7_LintOptions = LintOptions;
|
|
4627
|
+
type index$7_LintReport = LintReport;
|
|
4628
|
+
type index$7_LintResult = LintResult;
|
|
4629
|
+
type index$7_LintSummary = LintSummary;
|
|
4630
|
+
type index$7_ValidationContext = ValidationContext;
|
|
4631
|
+
type index$7_ValidatorType = ValidatorType;
|
|
4632
|
+
declare namespace index$7 {
|
|
4633
|
+
export { type index$7_FileSystem as FileSystem, type index$7_FixOptions as FixOptions, type index$7_FixReport as FixReport, type index$7_FixResult as FixResult, type index$7_ILintModule as ILintModule, index$7_LintModule as LintModule, type index$7_LintModuleDependencies as LintModuleDependencies, type index$7_LintOptions as LintOptions, type index$7_LintReport as LintReport, type index$7_LintResult as LintResult, type index$7_LintSummary as LintSummary, type index$7_ValidationContext as ValidationContext, type index$7_ValidatorType as ValidatorType };
|
|
4603
4634
|
}
|
|
4604
4635
|
|
|
4605
4636
|
type LogLevel = "debug" | "info" | "warn" | "error" | "silent";
|
|
@@ -4612,12 +4643,12 @@ interface Logger {
|
|
|
4612
4643
|
declare function createLogger(prefix?: string, level?: LogLevel): Logger;
|
|
4613
4644
|
declare const logger: Logger;
|
|
4614
4645
|
|
|
4615
|
-
type index$
|
|
4616
|
-
type index$
|
|
4617
|
-
declare const index$
|
|
4618
|
-
declare const index$
|
|
4619
|
-
declare namespace index$
|
|
4620
|
-
export { type index$
|
|
4646
|
+
type index$6_LogLevel = LogLevel;
|
|
4647
|
+
type index$6_Logger = Logger;
|
|
4648
|
+
declare const index$6_createLogger: typeof createLogger;
|
|
4649
|
+
declare const index$6_logger: typeof logger;
|
|
4650
|
+
declare namespace index$6 {
|
|
4651
|
+
export { type index$6_LogLevel as LogLevel, type index$6_Logger as Logger, index$6_createLogger as createLogger, index$6_logger as logger };
|
|
4621
4652
|
}
|
|
4622
4653
|
|
|
4623
4654
|
/**
|
|
@@ -8386,21 +8417,21 @@ declare class DetailedValidationError extends GitGovError {
|
|
|
8386
8417
|
}>);
|
|
8387
8418
|
}
|
|
8388
8419
|
|
|
8389
|
-
type index$
|
|
8390
|
-
declare const index$
|
|
8391
|
-
type index$
|
|
8392
|
-
declare const index$
|
|
8393
|
-
type index$
|
|
8394
|
-
type index$
|
|
8395
|
-
declare const index$
|
|
8396
|
-
type index$
|
|
8397
|
-
declare const index$
|
|
8398
|
-
declare const index$
|
|
8399
|
-
declare const index$
|
|
8400
|
-
declare const index$
|
|
8401
|
-
declare const index$
|
|
8402
|
-
declare namespace index$
|
|
8403
|
-
export { index$
|
|
8420
|
+
type index$5_DetailedValidationError = DetailedValidationError;
|
|
8421
|
+
declare const index$5_DetailedValidationError: typeof DetailedValidationError;
|
|
8422
|
+
type index$5_GitGovError = GitGovError;
|
|
8423
|
+
declare const index$5_GitGovError: typeof GitGovError;
|
|
8424
|
+
type index$5_SchemaName = SchemaName;
|
|
8425
|
+
type index$5_SchemaValidationCache = SchemaValidationCache;
|
|
8426
|
+
declare const index$5_SchemaValidationCache: typeof SchemaValidationCache;
|
|
8427
|
+
type index$5_SchemaValidationError = SchemaValidationError;
|
|
8428
|
+
declare const index$5_SchemaValidationError: typeof SchemaValidationError;
|
|
8429
|
+
declare const index$5_Schemas: typeof Schemas;
|
|
8430
|
+
declare const index$5_getSchema: typeof getSchema;
|
|
8431
|
+
declare const index$5_getSchemaNames: typeof getSchemaNames;
|
|
8432
|
+
declare const index$5_hasSchema: typeof hasSchema;
|
|
8433
|
+
declare namespace index$5 {
|
|
8434
|
+
export { index$5_DetailedValidationError as DetailedValidationError, index$5_GitGovError as GitGovError, type index$5_SchemaName as SchemaName, index$5_SchemaValidationCache as SchemaValidationCache, index$5_SchemaValidationError as SchemaValidationError, index$5_Schemas as Schemas, index$5_getSchema as getSchema, index$5_getSchemaNames as getSchemaNames, index$5_hasSchema as hasSchema };
|
|
8404
8435
|
}
|
|
8405
8436
|
|
|
8406
8437
|
/**
|
|
@@ -8557,7 +8588,7 @@ interface IntegrityViolation {
|
|
|
8557
8588
|
/**
|
|
8558
8589
|
* Verification scope for state audit
|
|
8559
8590
|
*/
|
|
8560
|
-
type AuditScope = "current" | "state-branch" | "all";
|
|
8591
|
+
type AuditScope$1 = "current" | "state-branch" | "all";
|
|
8561
8592
|
/**
|
|
8562
8593
|
* Scope for expected files verification
|
|
8563
8594
|
*/
|
|
@@ -8567,7 +8598,7 @@ type ExpectedFilesScope = "head" | "all-commits";
|
|
|
8567
8598
|
*/
|
|
8568
8599
|
interface AuditStateOptions {
|
|
8569
8600
|
/** Verification scope: which Records to verify (default: "all") */
|
|
8570
|
-
scope?: AuditScope;
|
|
8601
|
+
scope?: AuditScope$1;
|
|
8571
8602
|
/** Verify signatures in Records (default: true) */
|
|
8572
8603
|
verifySignatures?: boolean;
|
|
8573
8604
|
/** Verify checksums of Records (default: true) */
|
|
@@ -8618,7 +8649,7 @@ interface AuditStateReport {
|
|
|
8618
8649
|
/** Indicates if the audit passed without violations */
|
|
8619
8650
|
passed: boolean;
|
|
8620
8651
|
/** Scope used for the audit */
|
|
8621
|
-
scope: AuditScope;
|
|
8652
|
+
scope: AuditScope$1;
|
|
8622
8653
|
/** Total commits analyzed */
|
|
8623
8654
|
totalCommits: number;
|
|
8624
8655
|
/** Rebase commits found */
|
|
@@ -9031,56 +9062,55 @@ declare function isNoRebaseInProgressError(error: unknown): error is NoRebaseInP
|
|
|
9031
9062
|
declare function isStateBranchSetupError(error: unknown): error is StateBranchSetupError;
|
|
9032
9063
|
declare function isCryptoModuleRequiredError(error: unknown): error is CryptoModuleRequiredError;
|
|
9033
9064
|
|
|
9034
|
-
type index$
|
|
9035
|
-
type index$
|
|
9036
|
-
type index$
|
|
9037
|
-
type index$
|
|
9038
|
-
type index$
|
|
9039
|
-
type index$
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
type index$
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
type index$
|
|
9046
|
-
type index$
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
type index$
|
|
9054
|
-
type index$
|
|
9055
|
-
type index$
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
type index$
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
type index$
|
|
9066
|
-
type index$
|
|
9067
|
-
type index$
|
|
9068
|
-
type index$
|
|
9069
|
-
type index$
|
|
9070
|
-
type index$
|
|
9071
|
-
type index$
|
|
9072
|
-
|
|
9073
|
-
declare const index$
|
|
9074
|
-
declare const index$
|
|
9075
|
-
declare const index$
|
|
9076
|
-
declare const index$
|
|
9077
|
-
declare const index$
|
|
9078
|
-
declare const index$
|
|
9079
|
-
declare const index$
|
|
9080
|
-
declare const index$
|
|
9081
|
-
declare
|
|
9082
|
-
|
|
9083
|
-
export { type index$2_AuditScope as AuditScope, type index$2_AuditStateOptions as AuditStateOptions, type index$2_AuditStateReport as AuditStateReport, type index$2_ConflictDiff as ConflictDiff, type index$2_ConflictFileDiff as ConflictFileDiff, type index$2_ConflictInfo as ConflictInfo, index$2_ConflictMarkersPresentError as ConflictMarkersPresentError, type index$2_ConflictType as ConflictType, index$2_CryptoModuleRequiredError as CryptoModuleRequiredError, type index$2_ExpectedFilesScope as ExpectedFilesScope, type index$2_IntegrityViolation as IntegrityViolation, index$2_IntegrityViolationError as IntegrityViolationError, index$2_NoRebaseInProgressError as NoRebaseInProgressError, index$2_PullScheduler as PullScheduler, type index$2_PullSchedulerConfig as PullSchedulerConfig, type index$2_PullSchedulerDependencies as PullSchedulerDependencies, type index$2_PullSchedulerResult as PullSchedulerResult, index$2_PushFromStateBranchError as PushFromStateBranchError, index$2_StateBranchSetupError as StateBranchSetupError, type index$2_StateDeltaFile as StateDeltaFile, index$2_SyncError as SyncError, index$2_SyncModule as SyncModule, type index$2_SyncModuleDependencies as SyncModuleDependencies, type index$2_SyncPullOptions as SyncPullOptions, type index$2_SyncPullResult as SyncPullResult, type index$2_SyncPushOptions as SyncPushOptions, type index$2_SyncPushResult as SyncPushResult, type index$2_SyncResolveOptions as SyncResolveOptions, type index$2_SyncResolveResult as SyncResolveResult, index$2_UncommittedChangesError as UncommittedChangesError, index$2_isConflictMarkersPresentError as isConflictMarkersPresentError, index$2_isCryptoModuleRequiredError as isCryptoModuleRequiredError, index$2_isIntegrityViolationError as isIntegrityViolationError, index$2_isNoRebaseInProgressError as isNoRebaseInProgressError, index$2_isPushFromStateBranchError as isPushFromStateBranchError, index$2_isStateBranchSetupError as isStateBranchSetupError, index$2_isSyncError as isSyncError, index$2_isUncommittedChangesError as isUncommittedChangesError };
|
|
9065
|
+
type index$4_AuditStateOptions = AuditStateOptions;
|
|
9066
|
+
type index$4_AuditStateReport = AuditStateReport;
|
|
9067
|
+
type index$4_ConflictDiff = ConflictDiff;
|
|
9068
|
+
type index$4_ConflictFileDiff = ConflictFileDiff;
|
|
9069
|
+
type index$4_ConflictInfo = ConflictInfo;
|
|
9070
|
+
type index$4_ConflictMarkersPresentError = ConflictMarkersPresentError;
|
|
9071
|
+
declare const index$4_ConflictMarkersPresentError: typeof ConflictMarkersPresentError;
|
|
9072
|
+
type index$4_ConflictType = ConflictType;
|
|
9073
|
+
type index$4_CryptoModuleRequiredError = CryptoModuleRequiredError;
|
|
9074
|
+
declare const index$4_CryptoModuleRequiredError: typeof CryptoModuleRequiredError;
|
|
9075
|
+
type index$4_ExpectedFilesScope = ExpectedFilesScope;
|
|
9076
|
+
type index$4_IntegrityViolation = IntegrityViolation;
|
|
9077
|
+
type index$4_IntegrityViolationError = IntegrityViolationError;
|
|
9078
|
+
declare const index$4_IntegrityViolationError: typeof IntegrityViolationError;
|
|
9079
|
+
type index$4_NoRebaseInProgressError = NoRebaseInProgressError;
|
|
9080
|
+
declare const index$4_NoRebaseInProgressError: typeof NoRebaseInProgressError;
|
|
9081
|
+
type index$4_PullScheduler = PullScheduler;
|
|
9082
|
+
declare const index$4_PullScheduler: typeof PullScheduler;
|
|
9083
|
+
type index$4_PullSchedulerConfig = PullSchedulerConfig;
|
|
9084
|
+
type index$4_PullSchedulerDependencies = PullSchedulerDependencies;
|
|
9085
|
+
type index$4_PullSchedulerResult = PullSchedulerResult;
|
|
9086
|
+
type index$4_PushFromStateBranchError = PushFromStateBranchError;
|
|
9087
|
+
declare const index$4_PushFromStateBranchError: typeof PushFromStateBranchError;
|
|
9088
|
+
type index$4_StateBranchSetupError = StateBranchSetupError;
|
|
9089
|
+
declare const index$4_StateBranchSetupError: typeof StateBranchSetupError;
|
|
9090
|
+
type index$4_StateDeltaFile = StateDeltaFile;
|
|
9091
|
+
type index$4_SyncError = SyncError;
|
|
9092
|
+
declare const index$4_SyncError: typeof SyncError;
|
|
9093
|
+
type index$4_SyncModule = SyncModule;
|
|
9094
|
+
declare const index$4_SyncModule: typeof SyncModule;
|
|
9095
|
+
type index$4_SyncModuleDependencies = SyncModuleDependencies;
|
|
9096
|
+
type index$4_SyncPullOptions = SyncPullOptions;
|
|
9097
|
+
type index$4_SyncPullResult = SyncPullResult;
|
|
9098
|
+
type index$4_SyncPushOptions = SyncPushOptions;
|
|
9099
|
+
type index$4_SyncPushResult = SyncPushResult;
|
|
9100
|
+
type index$4_SyncResolveOptions = SyncResolveOptions;
|
|
9101
|
+
type index$4_SyncResolveResult = SyncResolveResult;
|
|
9102
|
+
type index$4_UncommittedChangesError = UncommittedChangesError;
|
|
9103
|
+
declare const index$4_UncommittedChangesError: typeof UncommittedChangesError;
|
|
9104
|
+
declare const index$4_isConflictMarkersPresentError: typeof isConflictMarkersPresentError;
|
|
9105
|
+
declare const index$4_isCryptoModuleRequiredError: typeof isCryptoModuleRequiredError;
|
|
9106
|
+
declare const index$4_isIntegrityViolationError: typeof isIntegrityViolationError;
|
|
9107
|
+
declare const index$4_isNoRebaseInProgressError: typeof isNoRebaseInProgressError;
|
|
9108
|
+
declare const index$4_isPushFromStateBranchError: typeof isPushFromStateBranchError;
|
|
9109
|
+
declare const index$4_isStateBranchSetupError: typeof isStateBranchSetupError;
|
|
9110
|
+
declare const index$4_isSyncError: typeof isSyncError;
|
|
9111
|
+
declare const index$4_isUncommittedChangesError: typeof isUncommittedChangesError;
|
|
9112
|
+
declare namespace index$4 {
|
|
9113
|
+
export { type AuditScope$1 as AuditScope, type index$4_AuditStateOptions as AuditStateOptions, type index$4_AuditStateReport as AuditStateReport, type index$4_ConflictDiff as ConflictDiff, type index$4_ConflictFileDiff as ConflictFileDiff, type index$4_ConflictInfo as ConflictInfo, index$4_ConflictMarkersPresentError as ConflictMarkersPresentError, type index$4_ConflictType as ConflictType, index$4_CryptoModuleRequiredError as CryptoModuleRequiredError, type index$4_ExpectedFilesScope as ExpectedFilesScope, type index$4_IntegrityViolation as IntegrityViolation, index$4_IntegrityViolationError as IntegrityViolationError, index$4_NoRebaseInProgressError as NoRebaseInProgressError, index$4_PullScheduler as PullScheduler, type index$4_PullSchedulerConfig as PullSchedulerConfig, type index$4_PullSchedulerDependencies as PullSchedulerDependencies, type index$4_PullSchedulerResult as PullSchedulerResult, index$4_PushFromStateBranchError as PushFromStateBranchError, index$4_StateBranchSetupError as StateBranchSetupError, type index$4_StateDeltaFile as StateDeltaFile, index$4_SyncError as SyncError, index$4_SyncModule as SyncModule, type index$4_SyncModuleDependencies as SyncModuleDependencies, type index$4_SyncPullOptions as SyncPullOptions, type index$4_SyncPullResult as SyncPullResult, type index$4_SyncPushOptions as SyncPushOptions, type index$4_SyncPushResult as SyncPushResult, type index$4_SyncResolveOptions as SyncResolveOptions, type index$4_SyncResolveResult as SyncResolveResult, index$4_UncommittedChangesError as UncommittedChangesError, index$4_isConflictMarkersPresentError as isConflictMarkersPresentError, index$4_isCryptoModuleRequiredError as isCryptoModuleRequiredError, index$4_isIntegrityViolationError as isIntegrityViolationError, index$4_isNoRebaseInProgressError as isNoRebaseInProgressError, index$4_isPushFromStateBranchError as isPushFromStateBranchError, index$4_isStateBranchSetupError as isStateBranchSetupError, index$4_isSyncError as isSyncError, index$4_isUncommittedChangesError as isUncommittedChangesError };
|
|
9084
9114
|
}
|
|
9085
9115
|
|
|
9086
9116
|
/**
|
|
@@ -9287,46 +9317,46 @@ declare function validateWorkflowMethodologyConfigBusinessRules(config: Workflow
|
|
|
9287
9317
|
}>;
|
|
9288
9318
|
};
|
|
9289
9319
|
|
|
9290
|
-
type index$
|
|
9291
|
-
declare const index$
|
|
9292
|
-
declare const index$
|
|
9293
|
-
declare const index$
|
|
9294
|
-
declare const index$
|
|
9295
|
-
declare const index$
|
|
9296
|
-
declare const index$
|
|
9297
|
-
declare const index$
|
|
9298
|
-
declare const index$
|
|
9299
|
-
declare const index$
|
|
9300
|
-
declare const index$
|
|
9301
|
-
declare const index$
|
|
9302
|
-
declare const index$
|
|
9303
|
-
declare const index$
|
|
9304
|
-
declare const index$
|
|
9305
|
-
declare const index$
|
|
9306
|
-
declare const index$
|
|
9307
|
-
declare const index$
|
|
9308
|
-
declare const index$
|
|
9309
|
-
declare const index$
|
|
9310
|
-
declare const index$
|
|
9311
|
-
declare const index$
|
|
9312
|
-
declare const index$
|
|
9313
|
-
declare const index$
|
|
9314
|
-
declare const index$
|
|
9315
|
-
declare const index$
|
|
9316
|
-
declare const index$
|
|
9317
|
-
declare const index$
|
|
9318
|
-
declare const index$
|
|
9319
|
-
declare const index$
|
|
9320
|
-
declare const index$
|
|
9321
|
-
declare const index$
|
|
9322
|
-
declare const index$
|
|
9323
|
-
declare const index$
|
|
9324
|
-
declare const index$
|
|
9325
|
-
declare const index$
|
|
9326
|
-
declare const index$
|
|
9327
|
-
declare const index$
|
|
9328
|
-
declare namespace index$
|
|
9329
|
-
export { type index$
|
|
9320
|
+
type index$3_ValidationResult = ValidationResult;
|
|
9321
|
+
declare const index$3_isActorRecord: typeof isActorRecord;
|
|
9322
|
+
declare const index$3_isAgentRecord: typeof isAgentRecord;
|
|
9323
|
+
declare const index$3_isChangelogRecord: typeof isChangelogRecord;
|
|
9324
|
+
declare const index$3_isCycleRecord: typeof isCycleRecord;
|
|
9325
|
+
declare const index$3_isEmbeddedMetadataRecord: typeof isEmbeddedMetadataRecord;
|
|
9326
|
+
declare const index$3_isExecutionRecord: typeof isExecutionRecord;
|
|
9327
|
+
declare const index$3_isFeedbackRecord: typeof isFeedbackRecord;
|
|
9328
|
+
declare const index$3_isTaskRecord: typeof isTaskRecord;
|
|
9329
|
+
declare const index$3_isWorkflowMethodologyConfig: typeof isWorkflowMethodologyConfig;
|
|
9330
|
+
declare const index$3_validateActorRecordDetailed: typeof validateActorRecordDetailed;
|
|
9331
|
+
declare const index$3_validateActorRecordSchema: typeof validateActorRecordSchema;
|
|
9332
|
+
declare const index$3_validateAgentActorRelationship: typeof validateAgentActorRelationship;
|
|
9333
|
+
declare const index$3_validateAgentRecordDetailed: typeof validateAgentRecordDetailed;
|
|
9334
|
+
declare const index$3_validateAgentRecordSchema: typeof validateAgentRecordSchema;
|
|
9335
|
+
declare const index$3_validateChangelogRecordDetailed: typeof validateChangelogRecordDetailed;
|
|
9336
|
+
declare const index$3_validateChangelogRecordSchema: typeof validateChangelogRecordSchema;
|
|
9337
|
+
declare const index$3_validateCycleRecordDetailed: typeof validateCycleRecordDetailed;
|
|
9338
|
+
declare const index$3_validateCycleRecordSchema: typeof validateCycleRecordSchema;
|
|
9339
|
+
declare const index$3_validateEmbeddedMetadataDetailed: typeof validateEmbeddedMetadataDetailed;
|
|
9340
|
+
declare const index$3_validateEmbeddedMetadataSchema: typeof validateEmbeddedMetadataSchema;
|
|
9341
|
+
declare const index$3_validateExecutionRecordDetailed: typeof validateExecutionRecordDetailed;
|
|
9342
|
+
declare const index$3_validateExecutionRecordSchema: typeof validateExecutionRecordSchema;
|
|
9343
|
+
declare const index$3_validateFeedbackRecordDetailed: typeof validateFeedbackRecordDetailed;
|
|
9344
|
+
declare const index$3_validateFeedbackRecordSchema: typeof validateFeedbackRecordSchema;
|
|
9345
|
+
declare const index$3_validateFullActorRecord: typeof validateFullActorRecord;
|
|
9346
|
+
declare const index$3_validateFullAgentRecord: typeof validateFullAgentRecord;
|
|
9347
|
+
declare const index$3_validateFullChangelogRecord: typeof validateFullChangelogRecord;
|
|
9348
|
+
declare const index$3_validateFullCycleRecord: typeof validateFullCycleRecord;
|
|
9349
|
+
declare const index$3_validateFullEmbeddedMetadataRecord: typeof validateFullEmbeddedMetadataRecord;
|
|
9350
|
+
declare const index$3_validateFullExecutionRecord: typeof validateFullExecutionRecord;
|
|
9351
|
+
declare const index$3_validateFullFeedbackRecord: typeof validateFullFeedbackRecord;
|
|
9352
|
+
declare const index$3_validateFullTaskRecord: typeof validateFullTaskRecord;
|
|
9353
|
+
declare const index$3_validateTaskRecordDetailed: typeof validateTaskRecordDetailed;
|
|
9354
|
+
declare const index$3_validateTaskRecordSchema: typeof validateTaskRecordSchema;
|
|
9355
|
+
declare const index$3_validateWorkflowMethodologyConfigBusinessRules: typeof validateWorkflowMethodologyConfigBusinessRules;
|
|
9356
|
+
declare const index$3_validateWorkflowMethodologyConfigDetailed: typeof validateWorkflowMethodologyConfigDetailed;
|
|
9357
|
+
declare const index$3_validateWorkflowMethodologyConfigSchema: typeof validateWorkflowMethodologyConfigSchema;
|
|
9358
|
+
declare namespace index$3 {
|
|
9359
|
+
export { type index$3_ValidationResult as ValidationResult, index$3_isActorRecord as isActorRecord, index$3_isAgentRecord as isAgentRecord, index$3_isChangelogRecord as isChangelogRecord, index$3_isCycleRecord as isCycleRecord, index$3_isEmbeddedMetadataRecord as isEmbeddedMetadataRecord, index$3_isExecutionRecord as isExecutionRecord, index$3_isFeedbackRecord as isFeedbackRecord, index$3_isTaskRecord as isTaskRecord, index$3_isWorkflowMethodologyConfig as isWorkflowMethodologyConfig, index$3_validateActorRecordDetailed as validateActorRecordDetailed, index$3_validateActorRecordSchema as validateActorRecordSchema, index$3_validateAgentActorRelationship as validateAgentActorRelationship, index$3_validateAgentRecordDetailed as validateAgentRecordDetailed, index$3_validateAgentRecordSchema as validateAgentRecordSchema, index$3_validateChangelogRecordDetailed as validateChangelogRecordDetailed, index$3_validateChangelogRecordSchema as validateChangelogRecordSchema, index$3_validateCycleRecordDetailed as validateCycleRecordDetailed, index$3_validateCycleRecordSchema as validateCycleRecordSchema, index$3_validateEmbeddedMetadataDetailed as validateEmbeddedMetadataDetailed, index$3_validateEmbeddedMetadataSchema as validateEmbeddedMetadataSchema, index$3_validateExecutionRecordDetailed as validateExecutionRecordDetailed, index$3_validateExecutionRecordSchema as validateExecutionRecordSchema, index$3_validateFeedbackRecordDetailed as validateFeedbackRecordDetailed, index$3_validateFeedbackRecordSchema as validateFeedbackRecordSchema, index$3_validateFullActorRecord as validateFullActorRecord, index$3_validateFullAgentRecord as validateFullAgentRecord, index$3_validateFullChangelogRecord as validateFullChangelogRecord, index$3_validateFullCycleRecord as validateFullCycleRecord, index$3_validateFullEmbeddedMetadataRecord as validateFullEmbeddedMetadataRecord, index$3_validateFullExecutionRecord as validateFullExecutionRecord, index$3_validateFullFeedbackRecord as validateFullFeedbackRecord, index$3_validateFullTaskRecord as validateFullTaskRecord, index$3_validateTaskRecordDetailed as validateTaskRecordDetailed, index$3_validateTaskRecordSchema as validateTaskRecordSchema, index$3_validateWorkflowMethodologyConfigBusinessRules as validateWorkflowMethodologyConfigBusinessRules, index$3_validateWorkflowMethodologyConfigDetailed as validateWorkflowMethodologyConfigDetailed, index$3_validateWorkflowMethodologyConfigSchema as validateWorkflowMethodologyConfigSchema };
|
|
9330
9360
|
}
|
|
9331
9361
|
|
|
9332
9362
|
interface DiagramNode {
|
|
@@ -9596,28 +9626,670 @@ declare class DiagramGenerator {
|
|
|
9596
9626
|
};
|
|
9597
9627
|
}
|
|
9598
9628
|
|
|
9599
|
-
type
|
|
9600
|
-
declare const
|
|
9601
|
-
type
|
|
9602
|
-
declare const
|
|
9603
|
-
type
|
|
9604
|
-
type
|
|
9605
|
-
declare const
|
|
9606
|
-
type
|
|
9607
|
-
declare const
|
|
9608
|
-
type
|
|
9609
|
-
type
|
|
9610
|
-
type
|
|
9611
|
-
declare const
|
|
9612
|
-
type
|
|
9613
|
-
declare const
|
|
9614
|
-
type
|
|
9615
|
-
declare const
|
|
9616
|
-
type
|
|
9617
|
-
type
|
|
9618
|
-
declare const
|
|
9629
|
+
type index$2_CircularDependencyError = CircularDependencyError;
|
|
9630
|
+
declare const index$2_CircularDependencyError: typeof CircularDependencyError;
|
|
9631
|
+
type index$2_ContentSanitizer = ContentSanitizer;
|
|
9632
|
+
declare const index$2_ContentSanitizer: typeof ContentSanitizer;
|
|
9633
|
+
type index$2_DiagramEdge = DiagramEdge;
|
|
9634
|
+
type index$2_DiagramGenerator = DiagramGenerator;
|
|
9635
|
+
declare const index$2_DiagramGenerator: typeof DiagramGenerator;
|
|
9636
|
+
type index$2_DiagramMetrics = DiagramMetrics;
|
|
9637
|
+
declare const index$2_DiagramMetrics: typeof DiagramMetrics;
|
|
9638
|
+
type index$2_DiagramNode = DiagramNode;
|
|
9639
|
+
type index$2_DiagramOptions = DiagramOptions;
|
|
9640
|
+
type index$2_MermaidRenderer = MermaidRenderer;
|
|
9641
|
+
declare const index$2_MermaidRenderer: typeof MermaidRenderer;
|
|
9642
|
+
type index$2_MermaidValidator = MermaidValidator;
|
|
9643
|
+
declare const index$2_MermaidValidator: typeof MermaidValidator;
|
|
9644
|
+
type index$2_RelationshipAnalyzer = RelationshipAnalyzer;
|
|
9645
|
+
declare const index$2_RelationshipAnalyzer: typeof RelationshipAnalyzer;
|
|
9646
|
+
type index$2_RelationshipGraph = RelationshipGraph;
|
|
9647
|
+
type index$2_RenderingError = RenderingError;
|
|
9648
|
+
declare const index$2_RenderingError: typeof RenderingError;
|
|
9649
|
+
declare namespace index$2 {
|
|
9650
|
+
export { index$2_CircularDependencyError as CircularDependencyError, index$2_ContentSanitizer as ContentSanitizer, type index$2_DiagramEdge as DiagramEdge, index$2_DiagramGenerator as DiagramGenerator, index$2_DiagramMetrics as DiagramMetrics, type index$2_DiagramNode as DiagramNode, type index$2_DiagramOptions as DiagramOptions, index$2_MermaidRenderer as MermaidRenderer, index$2_MermaidValidator as MermaidValidator, index$2_RelationshipAnalyzer as RelationshipAnalyzer, type index$2_RelationshipGraph as RelationshipGraph, index$2_RenderingError as RenderingError };
|
|
9651
|
+
}
|
|
9652
|
+
|
|
9653
|
+
/**
|
|
9654
|
+
* Finding categories detectable by the module.
|
|
9655
|
+
* Includes PII, secrets, logging, and data transfer.
|
|
9656
|
+
*/
|
|
9657
|
+
type FindingCategory = "pii-email" | "pii-phone" | "pii-financial" | "pii-health" | "pii-generic" | "hardcoded-secret" | "logging-pii" | "tracking-cookie" | "tracking-analytics-id" | "unencrypted-storage" | "third-party-transfer" | "unknown-risk";
|
|
9658
|
+
/**
|
|
9659
|
+
* Severity levels for remediation prioritization.
|
|
9660
|
+
*/
|
|
9661
|
+
type FindingSeverity = "critical" | "high" | "medium" | "low" | "info";
|
|
9662
|
+
/**
|
|
9663
|
+
* Identifier of the detector that generated the finding.
|
|
9664
|
+
*/
|
|
9665
|
+
type DetectorName = "regex" | "heuristic" | "llm";
|
|
9666
|
+
/**
|
|
9667
|
+
* PII/secrets detection result in source code.
|
|
9668
|
+
* Includes metadata for deduplication and traceability.
|
|
9669
|
+
*/
|
|
9670
|
+
interface GdprFinding {
|
|
9671
|
+
/** Unique UUID of the finding */
|
|
9672
|
+
id: string;
|
|
9673
|
+
/** Rule ID that detected it (e.g., "PII-001", "SEC-002") */
|
|
9674
|
+
ruleId: string;
|
|
9675
|
+
/** Semantic category of the finding */
|
|
9676
|
+
category: FindingCategory;
|
|
9677
|
+
/** Severity for prioritization */
|
|
9678
|
+
severity: FindingSeverity;
|
|
9679
|
+
/** Relative path to repo */
|
|
9680
|
+
file: string;
|
|
9681
|
+
/** Line number (1-based) */
|
|
9682
|
+
line: number;
|
|
9683
|
+
/** Optional column */
|
|
9684
|
+
column?: number;
|
|
9685
|
+
/** Sanitized affected code (max 300 chars) */
|
|
9686
|
+
snippet: string;
|
|
9687
|
+
/** Problem description */
|
|
9688
|
+
message: string;
|
|
9689
|
+
/** Remediation suggestion */
|
|
9690
|
+
suggestion?: string;
|
|
9691
|
+
/** Legal reference (e.g., "GDPR Art. 5(1)(f)") */
|
|
9692
|
+
legalReference?: string;
|
|
9693
|
+
/** Detector that generated the finding */
|
|
9694
|
+
detector: DetectorName;
|
|
9695
|
+
/** SHA256 for deduplication: hash(ruleId:file:line) */
|
|
9696
|
+
fingerprint: string;
|
|
9697
|
+
/** Confidence level 0-1 */
|
|
9698
|
+
confidence: number;
|
|
9699
|
+
}
|
|
9700
|
+
/**
|
|
9701
|
+
* Configuration to enable/disable detectors.
|
|
9702
|
+
*/
|
|
9703
|
+
interface DetectorConfig {
|
|
9704
|
+
/** Whether the detector is enabled */
|
|
9705
|
+
enabled: boolean;
|
|
9706
|
+
/** Specific rule IDs to use (optional, default: all) */
|
|
9707
|
+
rules?: string[];
|
|
9708
|
+
}
|
|
9709
|
+
/**
|
|
9710
|
+
* Interface for local detectors (regex, heuristic).
|
|
9711
|
+
* Process file content and return findings.
|
|
9712
|
+
*/
|
|
9713
|
+
interface Detector {
|
|
9714
|
+
/** Unique name of the detector */
|
|
9715
|
+
name: DetectorName;
|
|
9716
|
+
/**
|
|
9717
|
+
* Detects PII/secrets in file content.
|
|
9718
|
+
* @param content - File content as string
|
|
9719
|
+
* @param filePath - Relative path to include in findings
|
|
9720
|
+
* @returns Array of detected findings
|
|
9721
|
+
*/
|
|
9722
|
+
detect(content: string, filePath: string): Promise<GdprFinding[]>;
|
|
9723
|
+
}
|
|
9724
|
+
/**
|
|
9725
|
+
* Code snippet sent to LLM for semantic analysis.
|
|
9726
|
+
* Includes context from adjacent lines.
|
|
9727
|
+
*/
|
|
9728
|
+
interface CodeSnippet {
|
|
9729
|
+
/** File path */
|
|
9730
|
+
file: string;
|
|
9731
|
+
/** Start line of context */
|
|
9732
|
+
lineStart: number;
|
|
9733
|
+
/** End line of context */
|
|
9734
|
+
lineEnd: number;
|
|
9735
|
+
/** Detected language (typescript, python, etc.) */
|
|
9736
|
+
language: string;
|
|
9737
|
+
/** Snippet content (typically 5 lines) */
|
|
9738
|
+
content: string;
|
|
9739
|
+
/** Tags from heuristic detector that flagged it */
|
|
9740
|
+
heuristicTags: string[];
|
|
9741
|
+
}
|
|
9742
|
+
/** Quota type for LLM usage control */
|
|
9743
|
+
type QuotaType = "unlimited" | "trial" | "usage-based";
|
|
9744
|
+
/**
|
|
9745
|
+
* Remote LLM detector configuration.
|
|
9746
|
+
*/
|
|
9747
|
+
interface LlmDetectorConfig {
|
|
9748
|
+
/** Whether LLM detector is enabled */
|
|
9749
|
+
enabled: boolean;
|
|
9750
|
+
/** Analysis endpoint URL */
|
|
9751
|
+
endpoint: string;
|
|
9752
|
+
/** Model to use (claude-3-haiku, claude-3-sonnet) */
|
|
9753
|
+
model?: string;
|
|
9754
|
+
/** Max snippets per request (default: 50) */
|
|
9755
|
+
maxSnippetsPerRequest?: number;
|
|
9756
|
+
/** Applicable quota type */
|
|
9757
|
+
quotaType: QuotaType;
|
|
9758
|
+
/** Remaining uses for trial/usage-based */
|
|
9759
|
+
remainingUses?: number;
|
|
9760
|
+
/** ISO expiration date for trial */
|
|
9761
|
+
expiresAt?: string;
|
|
9762
|
+
}
|
|
9763
|
+
/**
|
|
9764
|
+
* Interface for remote LLM detectors.
|
|
9765
|
+
* Receive pre-filtered snippets in batch.
|
|
9766
|
+
*/
|
|
9767
|
+
interface LlmDetector {
|
|
9768
|
+
/**
|
|
9769
|
+
* Analyzes snippets with LLM for semantic detection.
|
|
9770
|
+
* @param snippets - Pre-filtered candidates by heuristic
|
|
9771
|
+
* @returns Findings confirmed by LLM analysis
|
|
9772
|
+
*/
|
|
9773
|
+
analyzeSnippets(snippets: CodeSnippet[]): Promise<GdprFinding[]>;
|
|
9774
|
+
}
|
|
9775
|
+
/**
|
|
9776
|
+
* Complete PII Detector module configuration.
|
|
9777
|
+
* Allows enabling/disabling each detector individually.
|
|
9778
|
+
*/
|
|
9779
|
+
interface PiiDetectorConfig {
|
|
9780
|
+
/** Regex detector configuration (Free tier) */
|
|
9781
|
+
regex?: DetectorConfig;
|
|
9782
|
+
/** Heuristic detector configuration (Trial+ tier) */
|
|
9783
|
+
heuristic?: DetectorConfig;
|
|
9784
|
+
/** LLM detector configuration (Premium tier) */
|
|
9785
|
+
llm?: LlmDetectorConfig;
|
|
9786
|
+
}
|
|
9787
|
+
/**
|
|
9788
|
+
* Regex detection rule definition.
|
|
9789
|
+
*/
|
|
9790
|
+
interface RegexRule {
|
|
9791
|
+
/** Unique rule ID (e.g., "PII-001") */
|
|
9792
|
+
id: string;
|
|
9793
|
+
/** Regex pattern with global flag */
|
|
9794
|
+
pattern: RegExp;
|
|
9795
|
+
/** Resulting finding category */
|
|
9796
|
+
category: FindingCategory;
|
|
9797
|
+
/** Resulting finding severity */
|
|
9798
|
+
severity: FindingSeverity;
|
|
9799
|
+
/** Descriptive problem message */
|
|
9800
|
+
message: string;
|
|
9801
|
+
/** Remediation suggestion */
|
|
9802
|
+
suggestion?: string;
|
|
9803
|
+
/** Applicable legal reference */
|
|
9804
|
+
legalReference?: string;
|
|
9805
|
+
}
|
|
9806
|
+
/**
|
|
9807
|
+
* Finding structure returned by LLM API.
|
|
9808
|
+
* Normalized to GdprFinding in normalizeFindings().
|
|
9809
|
+
*/
|
|
9810
|
+
interface LlmRawFinding {
|
|
9811
|
+
file: string;
|
|
9812
|
+
line: number;
|
|
9813
|
+
ruleId?: string;
|
|
9814
|
+
category: string;
|
|
9815
|
+
severity: "critical" | "high" | "medium" | "low" | "info";
|
|
9816
|
+
message: string;
|
|
9817
|
+
suggestion?: string;
|
|
9818
|
+
legalReference?: string;
|
|
9819
|
+
snippet?: string;
|
|
9820
|
+
confidence?: number;
|
|
9821
|
+
}
|
|
9822
|
+
|
|
9823
|
+
/**
|
|
9824
|
+
* PII Detector Module - Central component for sensitive data detection.
|
|
9825
|
+
*
|
|
9826
|
+
* Architecture: Two-phase detection
|
|
9827
|
+
* - Phase 1: Local detection (regex + heuristic) - always runs
|
|
9828
|
+
* - Phase 2: Remote LLM analysis - only for low-confidence candidates
|
|
9829
|
+
*
|
|
9830
|
+
* Implements EARS-14: Execute Phase 1 before Phase 2
|
|
9831
|
+
* Implements EARS-16: Deduplicate by SHA256 fingerprint
|
|
9832
|
+
* Implements EARS-17: Work with local-only detection when no LLM
|
|
9833
|
+
* Implements EARS-23: Truncate snippets to 300 chars
|
|
9834
|
+
*/
|
|
9835
|
+
declare class PiiDetectorModule {
|
|
9836
|
+
private localDetectors;
|
|
9837
|
+
private llmDetector?;
|
|
9838
|
+
private llmConfig?;
|
|
9839
|
+
/**
|
|
9840
|
+
* Constructs the module with graceful degradation.
|
|
9841
|
+
* Without config -> only RegexDetector (Free tier).
|
|
9842
|
+
*/
|
|
9843
|
+
constructor(config?: PiiDetectorConfig);
|
|
9844
|
+
/**
|
|
9845
|
+
* Detects PII and secrets in file content.
|
|
9846
|
+
*
|
|
9847
|
+
* Flow:
|
|
9848
|
+
* 1. Run all enabled local detectors (Phase 1)
|
|
9849
|
+
* 2. Extract candidates with confidence < 0.8
|
|
9850
|
+
* 3. If LLM enabled and quota OK, analyze candidates (Phase 2)
|
|
9851
|
+
* 4. Merge and deduplicate by fingerprint
|
|
9852
|
+
*/
|
|
9853
|
+
detect(content: string, filePath: string): Promise<GdprFinding[]>;
|
|
9854
|
+
/**
|
|
9855
|
+
* Runs all local detectors and collects findings.
|
|
9856
|
+
*/
|
|
9857
|
+
private runLocalDetectors;
|
|
9858
|
+
/**
|
|
9859
|
+
* Extracts CodeSnippets from low-confidence findings for LLM analysis.
|
|
9860
|
+
* Includes 2 lines of context before and after.
|
|
9861
|
+
* Implements EARS-15: Extract candidates with confidence < 0.8
|
|
9862
|
+
*/
|
|
9863
|
+
private extractCandidates;
|
|
9864
|
+
/**
|
|
9865
|
+
* Checks if LLM quota is available.
|
|
9866
|
+
* Implements EARS-20: Reject when trial expired
|
|
9867
|
+
* Implements EARS-21: Reject when remainingUses is zero
|
|
9868
|
+
*/
|
|
9869
|
+
private checkQuota;
|
|
9870
|
+
/**
|
|
9871
|
+
* Decrements quota after successful LLM call.
|
|
9872
|
+
* Implements EARS-22: Decrement remainingUses after successful call
|
|
9873
|
+
*/
|
|
9874
|
+
private decrementQuota;
|
|
9875
|
+
/**
|
|
9876
|
+
* Deduplicates findings by SHA256 fingerprint.
|
|
9877
|
+
*/
|
|
9878
|
+
private deduplicateByFingerprint;
|
|
9879
|
+
/**
|
|
9880
|
+
* Detects programming language based on file extension.
|
|
9881
|
+
*/
|
|
9882
|
+
private detectLanguage;
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9885
|
+
/**
|
|
9886
|
+
* Regex-based detector for PII and secrets.
|
|
9887
|
+
* Tier: Free (always available)
|
|
9888
|
+
* Confidence: 1.0 (deterministic)
|
|
9889
|
+
*/
|
|
9890
|
+
declare class RegexDetector implements Detector {
|
|
9891
|
+
readonly name: "regex";
|
|
9892
|
+
private rules;
|
|
9893
|
+
constructor(ruleIds?: string[]);
|
|
9894
|
+
detect(content: string, filePath: string): Promise<GdprFinding[]>;
|
|
9895
|
+
}
|
|
9896
|
+
|
|
9897
|
+
/**
|
|
9898
|
+
* Heuristic detector for complex PII patterns.
|
|
9899
|
+
* Tier: Trial+ (requires enablement)
|
|
9900
|
+
* Confidence: 0.5-0.7 (probabilistic)
|
|
9901
|
+
*/
|
|
9902
|
+
declare class HeuristicDetector implements Detector {
|
|
9903
|
+
readonly name: "heuristic";
|
|
9904
|
+
detect(content: string, filePath: string): Promise<GdprFinding[]>;
|
|
9905
|
+
}
|
|
9906
|
+
|
|
9907
|
+
/**
|
|
9908
|
+
* HTTP-based LLM detector for semantic PII analysis.
|
|
9909
|
+
* Tier: Premium (requires API key and quota)
|
|
9910
|
+
* Confidence: 0.9 (LLM-confirmed)
|
|
9911
|
+
*
|
|
9912
|
+
* Implements EARS-24: Reads API key from GITGOV_LLM_API_KEY env var
|
|
9913
|
+
* Implements EARS-25: Uses Bearer token authentication
|
|
9914
|
+
*/
|
|
9915
|
+
declare class HttpLlmDetector implements LlmDetector {
|
|
9916
|
+
private endpoint;
|
|
9917
|
+
private apiKey;
|
|
9918
|
+
constructor(endpoint: string, apiKey: string);
|
|
9919
|
+
/**
|
|
9920
|
+
* Analyzes code snippets with LLM for semantic PII detection.
|
|
9921
|
+
* Implements EARS-18: Send candidates to LLM when quota available
|
|
9922
|
+
* Implements EARS-19: Normalize LLM response to GdprFinding format
|
|
9923
|
+
*/
|
|
9924
|
+
analyzeSnippets(snippets: CodeSnippet[]): Promise<GdprFinding[]>;
|
|
9925
|
+
/**
|
|
9926
|
+
* Normalizes raw LLM findings to GdprFinding format.
|
|
9927
|
+
*/
|
|
9928
|
+
private normalizeFindings;
|
|
9929
|
+
}
|
|
9930
|
+
|
|
9931
|
+
declare const REGEX_RULES: RegexRule[];
|
|
9932
|
+
|
|
9933
|
+
type index$1_CodeSnippet = CodeSnippet;
|
|
9934
|
+
type index$1_Detector = Detector;
|
|
9935
|
+
type index$1_DetectorConfig = DetectorConfig;
|
|
9936
|
+
type index$1_DetectorName = DetectorName;
|
|
9937
|
+
type index$1_FindingCategory = FindingCategory;
|
|
9938
|
+
type index$1_FindingSeverity = FindingSeverity;
|
|
9939
|
+
type index$1_GdprFinding = GdprFinding;
|
|
9940
|
+
type index$1_HeuristicDetector = HeuristicDetector;
|
|
9941
|
+
declare const index$1_HeuristicDetector: typeof HeuristicDetector;
|
|
9942
|
+
type index$1_HttpLlmDetector = HttpLlmDetector;
|
|
9943
|
+
declare const index$1_HttpLlmDetector: typeof HttpLlmDetector;
|
|
9944
|
+
type index$1_LlmDetector = LlmDetector;
|
|
9945
|
+
type index$1_LlmDetectorConfig = LlmDetectorConfig;
|
|
9946
|
+
type index$1_LlmRawFinding = LlmRawFinding;
|
|
9947
|
+
type index$1_PiiDetectorConfig = PiiDetectorConfig;
|
|
9948
|
+
type index$1_PiiDetectorModule = PiiDetectorModule;
|
|
9949
|
+
declare const index$1_PiiDetectorModule: typeof PiiDetectorModule;
|
|
9950
|
+
type index$1_QuotaType = QuotaType;
|
|
9951
|
+
declare const index$1_REGEX_RULES: typeof REGEX_RULES;
|
|
9952
|
+
type index$1_RegexDetector = RegexDetector;
|
|
9953
|
+
declare const index$1_RegexDetector: typeof RegexDetector;
|
|
9954
|
+
type index$1_RegexRule = RegexRule;
|
|
9955
|
+
declare namespace index$1 {
|
|
9956
|
+
export { type index$1_CodeSnippet as CodeSnippet, type index$1_Detector as Detector, type index$1_DetectorConfig as DetectorConfig, type index$1_DetectorName as DetectorName, type index$1_FindingCategory as FindingCategory, type index$1_FindingSeverity as FindingSeverity, type index$1_GdprFinding as GdprFinding, index$1_HeuristicDetector as HeuristicDetector, index$1_HttpLlmDetector as HttpLlmDetector, type index$1_LlmDetector as LlmDetector, type index$1_LlmDetectorConfig as LlmDetectorConfig, type index$1_LlmRawFinding as LlmRawFinding, type index$1_PiiDetectorConfig as PiiDetectorConfig, index$1_PiiDetectorModule as PiiDetectorModule, type index$1_QuotaType as QuotaType, index$1_REGEX_RULES as REGEX_RULES, index$1_RegexDetector as RegexDetector, type index$1_RegexRule as RegexRule };
|
|
9957
|
+
}
|
|
9958
|
+
|
|
9959
|
+
/**
|
|
9960
|
+
* What to audit.
|
|
9961
|
+
* - code: Source code in the repository (MVP)
|
|
9962
|
+
* - jira: Jira issues (future)
|
|
9963
|
+
* - gitgov: GitGovernance records (future)
|
|
9964
|
+
*/
|
|
9965
|
+
type AuditTarget = "code" | "jira" | "gitgov";
|
|
9966
|
+
/**
|
|
9967
|
+
* Scope for code auditing.
|
|
9968
|
+
* - diff: Only files modified since last baseline (default)
|
|
9969
|
+
* - full: All files in repo (without saving baseline)
|
|
9970
|
+
* - baseline: All files + save commit as new baseline
|
|
9971
|
+
*/
|
|
9972
|
+
type CodeScope = "diff" | "full" | "baseline";
|
|
9973
|
+
/**
|
|
9974
|
+
* Scope for Jira auditing (future).
|
|
9975
|
+
* - all: All issues
|
|
9976
|
+
* - sprint: Only current sprint issues
|
|
9977
|
+
* - stale: Issues without activity > 30 days
|
|
9978
|
+
* - backlog: Unassigned backlog issues
|
|
9979
|
+
*/
|
|
9980
|
+
type JiraScope = "all" | "sprint" | "stale" | "backlog";
|
|
9981
|
+
/**
|
|
9982
|
+
* Scope for GitGov records auditing (future).
|
|
9983
|
+
* - all: All records
|
|
9984
|
+
* - tasks: Only TaskRecords
|
|
9985
|
+
* - cycles: Only CycleRecords
|
|
9986
|
+
*/
|
|
9987
|
+
type GitgovScope = "all" | "tasks" | "cycles";
|
|
9988
|
+
/**
|
|
9989
|
+
* Union of all possible scopes depending on target.
|
|
9990
|
+
*/
|
|
9991
|
+
type AuditScope = CodeScope | JiraScope | GitgovScope;
|
|
9992
|
+
/**
|
|
9993
|
+
* How to group findings in output.
|
|
9994
|
+
*/
|
|
9995
|
+
type GroupByOption = "file" | "severity" | "category";
|
|
9996
|
+
/**
|
|
9997
|
+
* Output format for the report.
|
|
9998
|
+
*/
|
|
9999
|
+
type OutputFormat = "text" | "json" | "sarif";
|
|
10000
|
+
/**
|
|
10001
|
+
* Minimum severity level to fail the audit.
|
|
10002
|
+
*/
|
|
10003
|
+
type FailOnSeverity = "critical" | "high" | "medium" | "low" | "none";
|
|
10004
|
+
/**
|
|
10005
|
+
* Metadata stored in FeedbackRecord for waivers.
|
|
10006
|
+
* Uses the generic metadata<T> field of FeedbackRecord.
|
|
10007
|
+
*/
|
|
10008
|
+
interface WaiverMetadata {
|
|
10009
|
+
/** SHA256 fingerprint for matching */
|
|
10010
|
+
fingerprint: string;
|
|
10011
|
+
/** Rule ID (e.g., "PII-001", "SEC-002") */
|
|
10012
|
+
ruleId: string;
|
|
10013
|
+
/** File path of the original finding */
|
|
10014
|
+
file: string;
|
|
10015
|
+
/** Line number of the original finding */
|
|
10016
|
+
line: number;
|
|
10017
|
+
/** Optional expiration date (ISO string) */
|
|
10018
|
+
expiresAt?: string;
|
|
10019
|
+
/** Optional related TaskRecord ID */
|
|
10020
|
+
relatedTaskId?: string;
|
|
10021
|
+
}
|
|
10022
|
+
/**
|
|
10023
|
+
* Active waiver loaded from FeedbackRecord.
|
|
10024
|
+
*/
|
|
10025
|
+
interface ActiveWaiver {
|
|
10026
|
+
/** Fingerprint for matching with findings */
|
|
10027
|
+
fingerprint: string;
|
|
10028
|
+
/** Original rule ID */
|
|
10029
|
+
ruleId: string;
|
|
10030
|
+
/** Expiration date (undefined = permanent) */
|
|
10031
|
+
expiresAt?: Date;
|
|
10032
|
+
/** Original FeedbackRecord with metadata */
|
|
10033
|
+
feedback: FeedbackRecord<WaiverMetadata>;
|
|
10034
|
+
}
|
|
10035
|
+
/**
|
|
10036
|
+
* Interface for loading active waivers.
|
|
10037
|
+
*/
|
|
10038
|
+
interface IWaiverReader {
|
|
10039
|
+
/** Loads all active (non-expired) waivers */
|
|
10040
|
+
loadActiveWaivers(): Promise<ActiveWaiver[]>;
|
|
10041
|
+
/** Checks if a specific fingerprint has an active waiver */
|
|
10042
|
+
hasActiveWaiver(fingerprint: string): Promise<boolean>;
|
|
10043
|
+
}
|
|
10044
|
+
/**
|
|
10045
|
+
* Scope configuration for file selection.
|
|
10046
|
+
*/
|
|
10047
|
+
interface ScopeConfig {
|
|
10048
|
+
/** Glob patterns to include */
|
|
10049
|
+
include: string[];
|
|
10050
|
+
/** Glob patterns to exclude */
|
|
10051
|
+
exclude: string[];
|
|
10052
|
+
/** Commit SHA to compare against for incremental mode (optional) */
|
|
10053
|
+
changedSince?: string;
|
|
10054
|
+
}
|
|
10055
|
+
/**
|
|
10056
|
+
* Options for running an audit.
|
|
10057
|
+
*/
|
|
10058
|
+
interface AuditOptions {
|
|
10059
|
+
/** File include/exclude configuration */
|
|
10060
|
+
scope: ScopeConfig;
|
|
10061
|
+
/** Base directory for file scanning (defaults to cwd) */
|
|
10062
|
+
baseDir?: string;
|
|
10063
|
+
}
|
|
10064
|
+
/**
|
|
10065
|
+
* Aggregated summary of findings.
|
|
10066
|
+
*/
|
|
10067
|
+
interface AuditSummary {
|
|
10068
|
+
/** Total findings (post-waiver) */
|
|
10069
|
+
total: number;
|
|
10070
|
+
/** Count by severity */
|
|
10071
|
+
bySeverity: Record<FindingSeverity, number>;
|
|
10072
|
+
/** Count by category */
|
|
10073
|
+
byCategory: Partial<Record<FindingCategory, number>>;
|
|
10074
|
+
/** Count by detector */
|
|
10075
|
+
byDetector: Record<DetectorName, number>;
|
|
10076
|
+
}
|
|
10077
|
+
/**
|
|
10078
|
+
* Waiver application status.
|
|
10079
|
+
*/
|
|
10080
|
+
interface WaiverStatus {
|
|
10081
|
+
/** Findings with active waiver (excluded from result) */
|
|
10082
|
+
acknowledged: number;
|
|
10083
|
+
/** New findings without waiver */
|
|
10084
|
+
new: number;
|
|
10085
|
+
}
|
|
10086
|
+
/**
|
|
10087
|
+
* Complete audit result.
|
|
10088
|
+
*/
|
|
10089
|
+
interface AuditResult {
|
|
10090
|
+
/** Detected findings (post-waiver) */
|
|
10091
|
+
findings: GdprFinding[];
|
|
10092
|
+
/** Aggregated summary */
|
|
10093
|
+
summary: AuditSummary;
|
|
10094
|
+
/** Number of files scanned */
|
|
10095
|
+
scannedFiles: number;
|
|
10096
|
+
/** Number of lines scanned */
|
|
10097
|
+
scannedLines: number;
|
|
10098
|
+
/** Duration in milliseconds */
|
|
10099
|
+
duration: number;
|
|
10100
|
+
/** Detectors used in this scan */
|
|
10101
|
+
detectors: DetectorName[];
|
|
10102
|
+
/** Waiver status */
|
|
10103
|
+
waivers: WaiverStatus;
|
|
10104
|
+
}
|
|
10105
|
+
/**
|
|
10106
|
+
* Injectable dependencies for SourceAuditorModule.
|
|
10107
|
+
* ScopeSelector and ScoringEngine are internal.
|
|
10108
|
+
*/
|
|
10109
|
+
interface SourceAuditorDependencies {
|
|
10110
|
+
/** PII/secrets detection module */
|
|
10111
|
+
piiDetector: PiiDetectorModule;
|
|
10112
|
+
/** Waiver reader for loading active waivers */
|
|
10113
|
+
waiverReader: IWaiverReader;
|
|
10114
|
+
}
|
|
10115
|
+
/**
|
|
10116
|
+
* Options for creating a waiver.
|
|
10117
|
+
*/
|
|
10118
|
+
interface CreateWaiverOptions {
|
|
10119
|
+
/** Finding to waive */
|
|
10120
|
+
finding: GdprFinding;
|
|
10121
|
+
/** ExecutionRecord where it was detected */
|
|
10122
|
+
executionId: string;
|
|
10123
|
+
/** Human-readable justification */
|
|
10124
|
+
justification: string;
|
|
10125
|
+
/** Optional expiration date (ISO string) */
|
|
10126
|
+
expiresAt?: string;
|
|
10127
|
+
/** Optional related TaskRecord ID */
|
|
10128
|
+
relatedTaskId?: string;
|
|
10129
|
+
}
|
|
10130
|
+
|
|
10131
|
+
/**
|
|
10132
|
+
* Source Auditor Module - Main audit pipeline for source code.
|
|
10133
|
+
*
|
|
10134
|
+
* Pipeline: Scope -> Detect -> Filter -> Score -> Output
|
|
10135
|
+
*
|
|
10136
|
+
* Orchestrates the complete flow: file selection, PII/secrets detection,
|
|
10137
|
+
* waiver filtering, scoring, and structured result generation.
|
|
10138
|
+
*/
|
|
10139
|
+
declare class SourceAuditorModule {
|
|
10140
|
+
private deps;
|
|
10141
|
+
private scopeSelector;
|
|
10142
|
+
private scoringEngine;
|
|
10143
|
+
/**
|
|
10144
|
+
* Creates module instance with injected dependencies.
|
|
10145
|
+
* ScopeSelector and ScoringEngine are internal components.
|
|
10146
|
+
*/
|
|
10147
|
+
constructor(deps: SourceAuditorDependencies);
|
|
10148
|
+
/**
|
|
10149
|
+
* Executes complete source code audit.
|
|
10150
|
+
* Pipeline: Scope -> Detect -> Filter -> Score -> Output
|
|
10151
|
+
*/
|
|
10152
|
+
audit(options: AuditOptions): Promise<AuditResult>;
|
|
10153
|
+
/**
|
|
10154
|
+
* Runs detection on all files, processing in batches for large file counts.
|
|
10155
|
+
*/
|
|
10156
|
+
private runDetection;
|
|
10157
|
+
/**
|
|
10158
|
+
* Creates batches of files for processing.
|
|
10159
|
+
*/
|
|
10160
|
+
private createBatches;
|
|
10161
|
+
/**
|
|
10162
|
+
* Filters findings that already have active waivers.
|
|
10163
|
+
* @returns new findings and count of acknowledged
|
|
10164
|
+
*/
|
|
10165
|
+
private filterByWaivers;
|
|
10166
|
+
/**
|
|
10167
|
+
* Calculates summary of findings by severity, category, and detector.
|
|
10168
|
+
*/
|
|
10169
|
+
private calculateSummary;
|
|
10170
|
+
/**
|
|
10171
|
+
* Creates empty result for when no files are selected.
|
|
10172
|
+
*/
|
|
10173
|
+
private createEmptyResult;
|
|
10174
|
+
}
|
|
10175
|
+
|
|
10176
|
+
/**
|
|
10177
|
+
* Internal component for selecting files based on glob patterns.
|
|
10178
|
+
* Not injectable - instantiated internally by SourceAuditorModule.
|
|
10179
|
+
*/
|
|
10180
|
+
declare class ScopeSelector {
|
|
10181
|
+
/**
|
|
10182
|
+
* Selects files matching include patterns, excluding those matching exclude patterns.
|
|
10183
|
+
* Automatically respects .gitignore patterns from the project root.
|
|
10184
|
+
* If scope.changedSince is set, only returns files changed since that commit.
|
|
10185
|
+
* @param scope - Include and exclude glob patterns, optional changedSince commit
|
|
10186
|
+
* @param baseDir - Base directory for file search
|
|
10187
|
+
* @returns Array of file paths relative to baseDir
|
|
10188
|
+
*/
|
|
10189
|
+
selectFiles(scope: ScopeConfig, baseDir: string): Promise<string[]>;
|
|
10190
|
+
/**
|
|
10191
|
+
* Selects files changed since a specific commit (incremental mode).
|
|
10192
|
+
* Includes: git diff, modified files, untracked files.
|
|
10193
|
+
*/
|
|
10194
|
+
private selectChangedFiles;
|
|
10195
|
+
/**
|
|
10196
|
+
* Reads .gitignore and converts patterns to glob format.
|
|
10197
|
+
* Returns empty array if .gitignore doesn't exist.
|
|
10198
|
+
*/
|
|
10199
|
+
private loadGitignorePatterns;
|
|
10200
|
+
/**
|
|
10201
|
+
* Parses .gitignore content into glob patterns.
|
|
10202
|
+
* Handles comments, empty lines, and directory patterns.
|
|
10203
|
+
*/
|
|
10204
|
+
private parseGitignore;
|
|
10205
|
+
}
|
|
10206
|
+
|
|
10207
|
+
/**
|
|
10208
|
+
* Internal component for applying scoring rules to findings.
|
|
10209
|
+
* Not injectable - instantiated internally by SourceAuditorModule.
|
|
10210
|
+
*
|
|
10211
|
+
* Currently a pass-through; scoring rules will be added in future cycles.
|
|
10212
|
+
*/
|
|
10213
|
+
declare class ScoringEngine {
|
|
10214
|
+
/**
|
|
10215
|
+
* Applies scoring rules to findings.
|
|
10216
|
+
* Currently returns findings unchanged (future enhancement).
|
|
10217
|
+
* @param findings - Findings to score
|
|
10218
|
+
* @returns Scored findings (same as input for now)
|
|
10219
|
+
*/
|
|
10220
|
+
score(findings: GdprFinding[]): GdprFinding[];
|
|
10221
|
+
}
|
|
10222
|
+
|
|
10223
|
+
/**
|
|
10224
|
+
* Reads active waivers from FeedbackRecords.
|
|
10225
|
+
* Uses FeedbackAdapter for access to feedback data.
|
|
10226
|
+
*/
|
|
10227
|
+
declare class WaiverReader implements IWaiverReader {
|
|
10228
|
+
private feedbackAdapter;
|
|
10229
|
+
constructor(feedbackAdapter: IFeedbackAdapter);
|
|
10230
|
+
/**
|
|
10231
|
+
* Loads all active waivers (non-expired).
|
|
10232
|
+
* Filters by type: "approval" and metadata.fingerprint present.
|
|
10233
|
+
*/
|
|
10234
|
+
loadActiveWaivers(): Promise<ActiveWaiver[]>;
|
|
10235
|
+
/**
|
|
10236
|
+
* Checks if a specific finding has an active waiver.
|
|
10237
|
+
*/
|
|
10238
|
+
hasActiveWaiver(fingerprint: string): Promise<boolean>;
|
|
10239
|
+
/**
|
|
10240
|
+
* Gets waivers for a specific ExecutionRecord.
|
|
10241
|
+
*/
|
|
10242
|
+
getWaiversForExecution(executionId: string): Promise<ActiveWaiver[]>;
|
|
10243
|
+
}
|
|
10244
|
+
|
|
10245
|
+
/**
|
|
10246
|
+
* Creates waivers as FeedbackRecords with structured metadata.
|
|
10247
|
+
* Uses FeedbackAdapter for signature and event handling.
|
|
10248
|
+
*/
|
|
10249
|
+
declare class WaiverWriter {
|
|
10250
|
+
private feedbackAdapter;
|
|
10251
|
+
constructor(feedbackAdapter: IFeedbackAdapter);
|
|
10252
|
+
/**
|
|
10253
|
+
* Creates a waiver for a specific finding.
|
|
10254
|
+
* The waiver is stored as FeedbackRecord with type: "approval".
|
|
10255
|
+
*/
|
|
10256
|
+
createWaiver(options: CreateWaiverOptions, actorId: string): Promise<void>;
|
|
10257
|
+
/**
|
|
10258
|
+
* Creates waivers in batch for multiple findings.
|
|
10259
|
+
*/
|
|
10260
|
+
createWaiversBatch(findings: GdprFinding[], executionId: string, justification: string, actorId: string): Promise<void>;
|
|
10261
|
+
}
|
|
10262
|
+
|
|
10263
|
+
type index_ActiveWaiver = ActiveWaiver;
|
|
10264
|
+
type index_AuditOptions = AuditOptions;
|
|
10265
|
+
type index_AuditResult = AuditResult;
|
|
10266
|
+
type index_AuditScope = AuditScope;
|
|
10267
|
+
type index_AuditSummary = AuditSummary;
|
|
10268
|
+
type index_AuditTarget = AuditTarget;
|
|
10269
|
+
type index_CodeScope = CodeScope;
|
|
10270
|
+
type index_CreateWaiverOptions = CreateWaiverOptions;
|
|
10271
|
+
type index_FailOnSeverity = FailOnSeverity;
|
|
10272
|
+
type index_GitgovScope = GitgovScope;
|
|
10273
|
+
type index_GroupByOption = GroupByOption;
|
|
10274
|
+
type index_IWaiverReader = IWaiverReader;
|
|
10275
|
+
type index_JiraScope = JiraScope;
|
|
10276
|
+
type index_OutputFormat = OutputFormat;
|
|
10277
|
+
type index_ScopeConfig = ScopeConfig;
|
|
10278
|
+
type index_ScopeSelector = ScopeSelector;
|
|
10279
|
+
declare const index_ScopeSelector: typeof ScopeSelector;
|
|
10280
|
+
type index_ScoringEngine = ScoringEngine;
|
|
10281
|
+
declare const index_ScoringEngine: typeof ScoringEngine;
|
|
10282
|
+
type index_SourceAuditorDependencies = SourceAuditorDependencies;
|
|
10283
|
+
type index_SourceAuditorModule = SourceAuditorModule;
|
|
10284
|
+
declare const index_SourceAuditorModule: typeof SourceAuditorModule;
|
|
10285
|
+
type index_WaiverMetadata = WaiverMetadata;
|
|
10286
|
+
type index_WaiverReader = WaiverReader;
|
|
10287
|
+
declare const index_WaiverReader: typeof WaiverReader;
|
|
10288
|
+
type index_WaiverStatus = WaiverStatus;
|
|
10289
|
+
type index_WaiverWriter = WaiverWriter;
|
|
10290
|
+
declare const index_WaiverWriter: typeof WaiverWriter;
|
|
9619
10291
|
declare namespace index {
|
|
9620
|
-
export {
|
|
10292
|
+
export { type index_ActiveWaiver as ActiveWaiver, type index_AuditOptions as AuditOptions, type index_AuditResult as AuditResult, type index_AuditScope as AuditScope, type index_AuditSummary as AuditSummary, type index_AuditTarget as AuditTarget, type index_CodeScope as CodeScope, type index_CreateWaiverOptions as CreateWaiverOptions, type index_FailOnSeverity as FailOnSeverity, type index_GitgovScope as GitgovScope, type index_GroupByOption as GroupByOption, type index_IWaiverReader as IWaiverReader, type index_JiraScope as JiraScope, type index_OutputFormat as OutputFormat, type index_ScopeConfig as ScopeConfig, index_ScopeSelector as ScopeSelector, index_ScoringEngine as ScoringEngine, type index_SourceAuditorDependencies as SourceAuditorDependencies, index_SourceAuditorModule as SourceAuditorModule, type index_WaiverMetadata as WaiverMetadata, index_WaiverReader as WaiverReader, type index_WaiverStatus as WaiverStatus, index_WaiverWriter as WaiverWriter };
|
|
9621
10293
|
}
|
|
9622
10294
|
|
|
9623
|
-
export { index$
|
|
10295
|
+
export { index$a as Adapters, index$e as BacklogAdapter, index$i as ChangelogAdapter, index$g as Config, index$9 as Crypto, index$2 as DiagramGenerator, index$m as EventBus, index$j as ExecutionAdapter, index$8 as Factories, index$k as FeedbackAdapter, index$c as Git, index$l as IdentityAdapter, index$d as IndexerAdapter, index$7 as Lint, index$6 as Logger, index$h as MetricsAdapter, index$1 as PiiDetector, index$b as ProjectAdapter, index$o as Records, index$5 as Schemas, index as SourceAuditor, index$n as Store, index$4 as Sync, index$3 as Validation, index$f as WorkflowMethodologyAdapter };
|