@gitgov/core 2.8.0 → 2.9.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.
@@ -1,4 +1,4 @@
1
- import { R as RecordStore, b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-B2OZbgoW.js';
1
+ import { R as RecordStore, b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-CFsl44em.js';
2
2
  import { C as ConfigStore, G as GitGovConfig, a as GitGovSession, I as IGitModule, f as CommitInfo, E as ExecOptions, c as ExecResult, d as ChangedFile, e as GetCommitHistoryOptions, g as CommitAuthor } from './index-LULVRsCZ.js';
3
3
  export { M as MemoryFileListerOptions } from './index-LULVRsCZ.js';
4
4
  import { S as SessionStore } from './session_store-I4Z6PW2c.js';
@@ -1,4 +1,4 @@
1
- import { b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-B2OZbgoW.js';
1
+ import { b as IRecordProjection, c as IndexData, P as ProjectionContext } from './record_projection.types-CFsl44em.js';
2
2
 
3
3
  type JsonValue = string | number | boolean | null | JsonValue[] | {
4
4
  [key: string]: JsonValue;
@@ -584,6 +584,18 @@ type EmbeddedMetadataRecord<T extends GitGovRecordPayload> = {
584
584
  * Defines the possible 'type' values for any record in the system.
585
585
  */
586
586
  type GitGovRecordType = "actor" | "agent" | "cycle" | "task" | "execution" | "feedback";
587
+ /**
588
+ * All valid record types as a readonly array, useful for iteration and validation.
589
+ */
590
+ declare const RECORD_TYPES: readonly GitGovRecordType[];
591
+ /**
592
+ * Canonical mapping from directory names to record types.
593
+ */
594
+ declare const DIR_TO_TYPE: Record<string, GitGovRecordType>;
595
+ /**
596
+ * Canonical mapping from record types to directory names (inverse of DIR_TO_TYPE).
597
+ */
598
+ declare const TYPE_TO_DIR: Record<GitGovRecordType, string>;
587
599
  /**
588
600
  * The canonical payload for any GitGovernance record.
589
601
  */
@@ -1210,4 +1222,4 @@ interface IRecordProjector {
1210
1222
  invalidateCache(): Promise<void>;
1211
1223
  }
1212
1224
 
1213
- export { type SystemDailyTickEvent as $, type ActorPayload as A, type RecordMetricsDependencies as B, type CyclePayload as C, DEFAULT_ID_ENCODER as D, type EmbeddedMetadataHeader as E, type FeedbackPayload as F, type GitGovRecord as G, type SystemStatus as H, type IdEncoder as I, type TaskHealthReport as J, type ActivityEvent as K, type ActorCreatedEvent as L, type ActorRevokedEvent as M, type AgentRegisteredEvent as N, type BaseEvent as O, type ProjectionContext as P, type CycleCreatedEvent as Q, type RecordStore as R, type Signature as S, type TaskPayload as T, type CycleStatusChangedEvent as U, type EventHandler as V, type EventMetadata as W, type EventSubscription as X, type ExecutionCreatedEvent as Y, type FeedbackCreatedEvent as Z, type GitGovEvent as _, type IRecordProjector as a, type TaskCreatedEvent as a0, type TaskStatusChangedEvent as a1, type RecordProjectorDependencies as a2, type IndexGenerationReport as a3, type IntegrityReport as a4, type AllRecords as a5, type DerivedStates as a6, type EnrichedTaskRecord as a7, type DerivedStateSets as a8, type IntegrityError as a9, type IntegrityWarning as aa, type IRecordProjection as b, type IndexData as c, type ActorRecord as d, type AgentPayload as e, type AgentRecord as f, type CycleRecord as g, type EmbeddedMetadataRecord as h, type ExecutionPayload as i, type ExecutionRecord as j, type FeedbackRecord as k, type GitGovActorRecord as l, type GitGovAgentRecord as m, type GitGovCycleRecord as n, GitGovError as o, type GitGovExecutionRecord as p, type GitGovFeedbackRecord as q, type GitGovRecordPayload as r, type GitGovRecordType as s, type GitGovTaskRecord as t, type TaskRecord as u, type RecordStores as v, type CollaborationMetrics as w, type IRecordMetrics as x, type ProductivityMetrics as y, RecordMetrics as z };
1225
+ export { type ExecutionCreatedEvent as $, type ActorPayload as A, type IRecordMetrics as B, type CyclePayload as C, DEFAULT_ID_ENCODER as D, type EmbeddedMetadataHeader as E, type FeedbackPayload as F, type GitGovRecord as G, type ProductivityMetrics as H, type IdEncoder as I, RecordMetrics as J, type RecordMetricsDependencies as K, type SystemStatus as L, type TaskHealthReport as M, type ActivityEvent as N, type ActorCreatedEvent as O, type ProjectionContext as P, type ActorRevokedEvent as Q, type RecordStore as R, type Signature as S, TYPE_TO_DIR as T, type AgentRegisteredEvent as U, type BaseEvent as V, type CycleCreatedEvent as W, type CycleStatusChangedEvent as X, type EventHandler as Y, type EventMetadata as Z, type EventSubscription as _, type IRecordProjector as a, type FeedbackCreatedEvent as a0, type GitGovEvent as a1, type SystemDailyTickEvent as a2, type TaskCreatedEvent as a3, type TaskStatusChangedEvent as a4, type RecordProjectorDependencies as a5, type IndexGenerationReport as a6, type IntegrityReport as a7, type AllRecords as a8, type DerivedStates as a9, type EnrichedTaskRecord as aa, type DerivedStateSets as ab, type IntegrityError as ac, type IntegrityWarning as ad, type IRecordProjection as b, type IndexData as c, type ActorRecord as d, type AgentPayload as e, type AgentRecord as f, type CycleRecord as g, DIR_TO_TYPE as h, type EmbeddedMetadataRecord as i, type ExecutionPayload as j, type ExecutionRecord as k, type FeedbackRecord as l, type GitGovActorRecord as m, type GitGovAgentRecord as n, type GitGovCycleRecord as o, GitGovError as p, type GitGovExecutionRecord as q, type GitGovFeedbackRecord as r, type GitGovRecordPayload as s, type GitGovRecordType as t, type GitGovTaskRecord as u, RECORD_TYPES as v, type TaskPayload as w, type TaskRecord as x, type RecordStores as y, type CollaborationMetrics as z };
@@ -1,5 +1,5 @@
1
1
  import { o as IConfigManager, C as ConfigStore, G as GitGovConfig, p as SyncConfig, q as SyncDefaults, m as AuditState, n as AuditStateUpdate, K as KeyProvider, k as ISessionManager, I as IGitModule } from './index-LULVRsCZ.js';
2
- import { O as BaseEvent, V as EventHandler, X as EventSubscription, _ as GitGovEvent, G as GitGovRecord, s as GitGovRecordType, R as RecordStore, a as IRecordProjector, A as ActorPayload, d as ActorRecord, v as RecordStores$1 } from './record_projection.types-B2OZbgoW.js';
2
+ import { V as BaseEvent, Y as EventHandler, _ as EventSubscription, a1 as GitGovEvent, G as GitGovRecord, t as GitGovRecordType, R as RecordStore, a as IRecordProjector, A as ActorPayload, d as ActorRecord, y as RecordStores$1 } from './record_projection.types-CFsl44em.js';
3
3
 
4
4
  /**
5
5
  * ConfigManager - Project Configuration Manager
@@ -815,4 +815,4 @@ interface ISyncStateModule {
815
815
  resolveConflict(options: SyncStateResolveOptions): Promise<SyncStateResolveResult>;
816
816
  }
817
817
 
818
- export { type AuditStateOptions as A, type AuditScope as B, ConfigManager as C, type ConflictFileDiff as D, EventBus as E, type FixRecordOptions as F, type ConflictInfo as G, type ConflictType as H, type ILintModule as I, type ExpectedFilesScope as J, type LintOptions as L, type RecordStores as R, type SyncStateModuleDependencies as S, type ValidationContext as V, type LintReport as a, type FixReport as b, type LintRecordContext as c, type LintResult as d, type ISyncStateModule as e, type StateDeltaFile as f, type ConflictDiff as g, type IntegrityViolation as h, type AuditStateReport as i, type SyncStatePushOptions as j, type SyncStatePushResult as k, type SyncStatePullOptions as l, type SyncStatePullResult as m, type SyncStateResolveOptions as n, type SyncStateResolveResult as o, type IEventStream as p, type IIdentityAdapter as q, eventBus as r, publishEvent as s, subscribeToEvent as t, type IdentityAdapterDependencies as u, type LintModuleDependencies as v, type FixResult as w, type LintSummary as x, type RecordEntry as y, type ValidatorType as z };
818
+ export { type AuditStateOptions as A, type ConflictFileDiff as B, ConfigManager as C, type ConflictInfo as D, EventBus as E, type FixRecordOptions as F, type ConflictType as G, type ExpectedFilesScope as H, type ILintModule as I, type SyncStateModuleDependencies as J, type LintOptions as L, type RecordStores as R, type SyncStatePushOptions as S, type ValidationContext as V, type LintReport as a, type FixReport as b, type LintRecordContext as c, type LintResult as d, type ISyncStateModule as e, type SyncStatePushResult as f, type SyncStatePullOptions as g, type SyncStatePullResult as h, type SyncStateResolveOptions as i, type SyncStateResolveResult as j, type StateDeltaFile as k, type ConflictDiff as l, type IntegrityViolation as m, type AuditStateReport as n, type IEventStream as o, type IIdentityAdapter as p, eventBus as q, publishEvent as r, subscribeToEvent as s, type IdentityAdapterDependencies as t, type LintModuleDependencies as u, type FixResult as v, type LintSummary as w, type RecordEntry as x, type ValidatorType as y, type AuditScope as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitgov/core",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "SDK for the GitGovernance ecosystem, providing a type-safe, local-first API to manage identities, agents, and workflows.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",