@fenglimg/fabric-shared 2.2.0-rc.1 → 2.2.0-rc.3

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsLayer, c as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, d as AgentsMeta, L as LedgerEntry } from './index-J3Xn5h2J.js';
2
- export { e as AgentsActivationTier, g as AgentsMetaCountersEnvelope, h as AgentsMetaKnowledgeTypeCounters, i as AgentsMetaNodeActivation, j as AiLedgerEntry, k as AuditMode, C as ClientPaths, D as DefaultLayerFilter, F as FabricConfig, l as FabricLanguage, m as HumanLedgerEntry, M as McpPayloadLimits, R as RuleDescription, n as RuleDescriptionIndexItem, o as auditModeSchema, p as clientPathsSchema, q as defaultLayerFilterSchema, r as fabricLanguageSchema, s as mcpPayloadLimitsSchema, t as planContextTopKSchema, u as selectionTokenTtlMsSchema } from './index-J3Xn5h2J.js';
1
+ import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsLayer, c as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, F as FabricConfig, d as AgentsMeta, L as LedgerEntry } from './index-Dm4IJWwB.js';
2
+ export { e as AgentsActivationTier, g as AgentsMetaCountersEnvelope, h as AgentsMetaKnowledgeTypeCounters, i as AgentsMetaNodeActivation, j as AiLedgerEntry, k as AuditMode, C as ClientPaths, D as DefaultLayerFilter, l as FabricLanguage, m as HumanLedgerEntry, M as McpPayloadLimits, R as RuleDescription, n as RuleDescriptionIndexItem, o as auditModeSchema, p as clientPathsSchema, q as defaultLayerFilterSchema, r as fabricLanguageSchema, s as mcpPayloadLimitsSchema, t as planContextTopKSchema, u as selectionTokenTtlMsSchema } from './index-Dm4IJWwB.js';
3
3
  import { Translator } from './i18n/index.js';
4
4
  export { Locale, Messages, PROTECTED_TOKENS, ProtectedToken, TranslationKey, createTranslator, defaultMessages, detectNodeLocale, enMessages, normalizeLocale, resolveFabricLocale, zhCNMessages } from './i18n/index.js';
5
5
  import { z } from 'zod';
@@ -3056,6 +3056,17 @@ declare function listStoreKnowledge(store: MountedStoreDir): StoreKnowledgeRef[]
3056
3056
  declare function readKnowledgeAcrossStores(stores: MountedStoreDir[]): StoreKnowledgeRef[];
3057
3057
  declare function aggregatePendingAcrossStores(stores: MountedStoreDir[]): StoreKnowledgeRef[];
3058
3058
 
3059
+ declare function resolveGlobalRoot(): string;
3060
+ declare function globalConfigPath(globalRoot?: string): string;
3061
+ declare function loadGlobalConfig(globalRoot?: string): GlobalConfig | null;
3062
+ declare function saveGlobalConfig(config: GlobalConfig, globalRoot?: string): void;
3063
+
3064
+ declare function projectConfigPath(projectRoot: string): string;
3065
+ declare function loadProjectConfig(projectRoot: string): FabricConfig | null;
3066
+ declare function saveProjectConfig(config: FabricConfig, projectRoot: string): void;
3067
+
3068
+ declare function buildStoreResolveInput(projectRoot: string, globalRoot?: string): StoreResolveInput | null;
3069
+
3059
3070
  interface SecretFinding {
3060
3071
  rule: string;
3061
3072
  line: number;
@@ -8255,6 +8266,7 @@ declare const assistantTurnObservedEventSchema: z.ZodObject<{
8255
8266
  }[];
8256
8267
  skip_reason: string | null;
8257
8268
  }>, "many">>;
8269
+ cite_stores: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>;
8258
8270
  client: z.ZodOptional<z.ZodEnum<["cc", "codex", "cursor"]>>;
8259
8271
  turn_id: z.ZodString;
8260
8272
  envelope_index: z.ZodOptional<z.ZodNumber>;
@@ -8285,6 +8297,7 @@ declare const assistantTurnObservedEventSchema: z.ZodObject<{
8285
8297
  turn_id: string;
8286
8298
  correlation_id?: string | undefined;
8287
8299
  session_id?: string | undefined;
8300
+ cite_stores?: (string | null)[] | undefined;
8288
8301
  client?: "cursor" | "cc" | "codex" | undefined;
8289
8302
  envelope_index?: number | undefined;
8290
8303
  }, {
@@ -8307,6 +8320,7 @@ declare const assistantTurnObservedEventSchema: z.ZodObject<{
8307
8320
  }[];
8308
8321
  skip_reason: string | null;
8309
8322
  }[] | undefined;
8323
+ cite_stores?: (string | null)[] | undefined;
8310
8324
  client?: "cursor" | "cc" | "codex" | undefined;
8311
8325
  envelope_index?: number | undefined;
8312
8326
  }>;
@@ -8942,6 +8956,127 @@ declare const clientCapabilitySnapshotEventSchema: z.ZodObject<{
8942
8956
  correlation_id?: string | undefined;
8943
8957
  session_id?: string | undefined;
8944
8958
  }>;
8959
+ declare const sessionEndedEventSchema: z.ZodObject<{
8960
+ event_type: z.ZodLiteral<"session_ended">;
8961
+ kind: z.ZodLiteral<"fabric-event">;
8962
+ id: z.ZodString;
8963
+ ts: z.ZodNumber;
8964
+ schema_version: z.ZodLiteral<1>;
8965
+ correlation_id: z.ZodOptional<z.ZodString>;
8966
+ session_id: z.ZodOptional<z.ZodString>;
8967
+ }, "strip", z.ZodTypeAny, {
8968
+ id: string;
8969
+ ts: number;
8970
+ schema_version: 1;
8971
+ kind: "fabric-event";
8972
+ event_type: "session_ended";
8973
+ correlation_id?: string | undefined;
8974
+ session_id?: string | undefined;
8975
+ }, {
8976
+ id: string;
8977
+ ts: number;
8978
+ schema_version: 1;
8979
+ kind: "fabric-event";
8980
+ event_type: "session_ended";
8981
+ correlation_id?: string | undefined;
8982
+ session_id?: string | undefined;
8983
+ }>;
8984
+ declare const fileMutatedEventSchema: z.ZodObject<{
8985
+ event_type: z.ZodLiteral<"file_mutated">;
8986
+ path: z.ZodString;
8987
+ tool_call_id: z.ZodString;
8988
+ tool_name: z.ZodOptional<z.ZodString>;
8989
+ source_event_id: z.ZodOptional<z.ZodString>;
8990
+ store_id: z.ZodOptional<z.ZodString>;
8991
+ kind: z.ZodLiteral<"fabric-event">;
8992
+ id: z.ZodString;
8993
+ ts: z.ZodNumber;
8994
+ schema_version: z.ZodLiteral<1>;
8995
+ correlation_id: z.ZodOptional<z.ZodString>;
8996
+ session_id: z.ZodOptional<z.ZodString>;
8997
+ }, "strip", z.ZodTypeAny, {
8998
+ path: string;
8999
+ id: string;
9000
+ ts: number;
9001
+ schema_version: 1;
9002
+ kind: "fabric-event";
9003
+ event_type: "file_mutated";
9004
+ tool_call_id: string;
9005
+ correlation_id?: string | undefined;
9006
+ session_id?: string | undefined;
9007
+ tool_name?: string | undefined;
9008
+ source_event_id?: string | undefined;
9009
+ store_id?: string | undefined;
9010
+ }, {
9011
+ path: string;
9012
+ id: string;
9013
+ ts: number;
9014
+ schema_version: 1;
9015
+ kind: "fabric-event";
9016
+ event_type: "file_mutated";
9017
+ tool_call_id: string;
9018
+ correlation_id?: string | undefined;
9019
+ session_id?: string | undefined;
9020
+ tool_name?: string | undefined;
9021
+ source_event_id?: string | undefined;
9022
+ store_id?: string | undefined;
9023
+ }>;
9024
+ declare const precompactObservedEventSchema: z.ZodObject<{
9025
+ event_type: z.ZodLiteral<"precompact_observed">;
9026
+ kind: z.ZodLiteral<"fabric-event">;
9027
+ id: z.ZodString;
9028
+ ts: z.ZodNumber;
9029
+ schema_version: z.ZodLiteral<1>;
9030
+ correlation_id: z.ZodOptional<z.ZodString>;
9031
+ session_id: z.ZodOptional<z.ZodString>;
9032
+ }, "strip", z.ZodTypeAny, {
9033
+ id: string;
9034
+ ts: number;
9035
+ schema_version: 1;
9036
+ kind: "fabric-event";
9037
+ event_type: "precompact_observed";
9038
+ correlation_id?: string | undefined;
9039
+ session_id?: string | undefined;
9040
+ }, {
9041
+ id: string;
9042
+ ts: number;
9043
+ schema_version: 1;
9044
+ kind: "fabric-event";
9045
+ event_type: "precompact_observed";
9046
+ correlation_id?: string | undefined;
9047
+ session_id?: string | undefined;
9048
+ }>;
9049
+ declare const graphEdgeCandidateRequestedEventSchema: z.ZodObject<{
9050
+ event_type: z.ZodLiteral<"graph_edge_candidate_requested">;
9051
+ stable_id: z.ZodString;
9052
+ store: z.ZodOptional<z.ZodString>;
9053
+ kind: z.ZodLiteral<"fabric-event">;
9054
+ id: z.ZodString;
9055
+ ts: z.ZodNumber;
9056
+ schema_version: z.ZodLiteral<1>;
9057
+ correlation_id: z.ZodOptional<z.ZodString>;
9058
+ session_id: z.ZodOptional<z.ZodString>;
9059
+ }, "strip", z.ZodTypeAny, {
9060
+ id: string;
9061
+ stable_id: string;
9062
+ ts: number;
9063
+ schema_version: 1;
9064
+ kind: "fabric-event";
9065
+ event_type: "graph_edge_candidate_requested";
9066
+ correlation_id?: string | undefined;
9067
+ session_id?: string | undefined;
9068
+ store?: string | undefined;
9069
+ }, {
9070
+ id: string;
9071
+ stable_id: string;
9072
+ ts: number;
9073
+ schema_version: 1;
9074
+ kind: "fabric-event";
9075
+ event_type: "graph_edge_candidate_requested";
9076
+ correlation_id?: string | undefined;
9077
+ session_id?: string | undefined;
9078
+ store?: string | undefined;
9079
+ }>;
8945
9080
  declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
8946
9081
  event_type: z.ZodLiteral<"knowledge_context_planned">;
8947
9082
  target_paths: z.ZodArray<z.ZodString, "many">;
@@ -10296,6 +10431,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10296
10431
  }[];
10297
10432
  skip_reason: string | null;
10298
10433
  }>, "many">>;
10434
+ cite_stores: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>;
10299
10435
  client: z.ZodOptional<z.ZodEnum<["cc", "codex", "cursor"]>>;
10300
10436
  turn_id: z.ZodString;
10301
10437
  envelope_index: z.ZodOptional<z.ZodNumber>;
@@ -10326,6 +10462,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10326
10462
  turn_id: string;
10327
10463
  correlation_id?: string | undefined;
10328
10464
  session_id?: string | undefined;
10465
+ cite_stores?: (string | null)[] | undefined;
10329
10466
  client?: "cursor" | "cc" | "codex" | undefined;
10330
10467
  envelope_index?: number | undefined;
10331
10468
  }, {
@@ -10348,6 +10485,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10348
10485
  }[];
10349
10486
  skip_reason: string | null;
10350
10487
  }[] | undefined;
10488
+ cite_stores?: (string | null)[] | undefined;
10351
10489
  client?: "cursor" | "cc" | "codex" | undefined;
10352
10490
  envelope_index?: number | undefined;
10353
10491
  }>, z.ZodObject<{
@@ -10965,6 +11103,123 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10965
11103
  client: "cursor" | "cc" | "codex";
10966
11104
  correlation_id?: string | undefined;
10967
11105
  session_id?: string | undefined;
11106
+ }>, z.ZodObject<{
11107
+ event_type: z.ZodLiteral<"session_ended">;
11108
+ kind: z.ZodLiteral<"fabric-event">;
11109
+ id: z.ZodString;
11110
+ ts: z.ZodNumber;
11111
+ schema_version: z.ZodLiteral<1>;
11112
+ correlation_id: z.ZodOptional<z.ZodString>;
11113
+ session_id: z.ZodOptional<z.ZodString>;
11114
+ }, "strip", z.ZodTypeAny, {
11115
+ id: string;
11116
+ ts: number;
11117
+ schema_version: 1;
11118
+ kind: "fabric-event";
11119
+ event_type: "session_ended";
11120
+ correlation_id?: string | undefined;
11121
+ session_id?: string | undefined;
11122
+ }, {
11123
+ id: string;
11124
+ ts: number;
11125
+ schema_version: 1;
11126
+ kind: "fabric-event";
11127
+ event_type: "session_ended";
11128
+ correlation_id?: string | undefined;
11129
+ session_id?: string | undefined;
11130
+ }>, z.ZodObject<{
11131
+ event_type: z.ZodLiteral<"file_mutated">;
11132
+ path: z.ZodString;
11133
+ tool_call_id: z.ZodString;
11134
+ tool_name: z.ZodOptional<z.ZodString>;
11135
+ source_event_id: z.ZodOptional<z.ZodString>;
11136
+ store_id: z.ZodOptional<z.ZodString>;
11137
+ kind: z.ZodLiteral<"fabric-event">;
11138
+ id: z.ZodString;
11139
+ ts: z.ZodNumber;
11140
+ schema_version: z.ZodLiteral<1>;
11141
+ correlation_id: z.ZodOptional<z.ZodString>;
11142
+ session_id: z.ZodOptional<z.ZodString>;
11143
+ }, "strip", z.ZodTypeAny, {
11144
+ path: string;
11145
+ id: string;
11146
+ ts: number;
11147
+ schema_version: 1;
11148
+ kind: "fabric-event";
11149
+ event_type: "file_mutated";
11150
+ tool_call_id: string;
11151
+ correlation_id?: string | undefined;
11152
+ session_id?: string | undefined;
11153
+ tool_name?: string | undefined;
11154
+ source_event_id?: string | undefined;
11155
+ store_id?: string | undefined;
11156
+ }, {
11157
+ path: string;
11158
+ id: string;
11159
+ ts: number;
11160
+ schema_version: 1;
11161
+ kind: "fabric-event";
11162
+ event_type: "file_mutated";
11163
+ tool_call_id: string;
11164
+ correlation_id?: string | undefined;
11165
+ session_id?: string | undefined;
11166
+ tool_name?: string | undefined;
11167
+ source_event_id?: string | undefined;
11168
+ store_id?: string | undefined;
11169
+ }>, z.ZodObject<{
11170
+ event_type: z.ZodLiteral<"precompact_observed">;
11171
+ kind: z.ZodLiteral<"fabric-event">;
11172
+ id: z.ZodString;
11173
+ ts: z.ZodNumber;
11174
+ schema_version: z.ZodLiteral<1>;
11175
+ correlation_id: z.ZodOptional<z.ZodString>;
11176
+ session_id: z.ZodOptional<z.ZodString>;
11177
+ }, "strip", z.ZodTypeAny, {
11178
+ id: string;
11179
+ ts: number;
11180
+ schema_version: 1;
11181
+ kind: "fabric-event";
11182
+ event_type: "precompact_observed";
11183
+ correlation_id?: string | undefined;
11184
+ session_id?: string | undefined;
11185
+ }, {
11186
+ id: string;
11187
+ ts: number;
11188
+ schema_version: 1;
11189
+ kind: "fabric-event";
11190
+ event_type: "precompact_observed";
11191
+ correlation_id?: string | undefined;
11192
+ session_id?: string | undefined;
11193
+ }>, z.ZodObject<{
11194
+ event_type: z.ZodLiteral<"graph_edge_candidate_requested">;
11195
+ stable_id: z.ZodString;
11196
+ store: z.ZodOptional<z.ZodString>;
11197
+ kind: z.ZodLiteral<"fabric-event">;
11198
+ id: z.ZodString;
11199
+ ts: z.ZodNumber;
11200
+ schema_version: z.ZodLiteral<1>;
11201
+ correlation_id: z.ZodOptional<z.ZodString>;
11202
+ session_id: z.ZodOptional<z.ZodString>;
11203
+ }, "strip", z.ZodTypeAny, {
11204
+ id: string;
11205
+ stable_id: string;
11206
+ ts: number;
11207
+ schema_version: 1;
11208
+ kind: "fabric-event";
11209
+ event_type: "graph_edge_candidate_requested";
11210
+ correlation_id?: string | undefined;
11211
+ session_id?: string | undefined;
11212
+ store?: string | undefined;
11213
+ }, {
11214
+ id: string;
11215
+ stable_id: string;
11216
+ ts: number;
11217
+ schema_version: 1;
11218
+ kind: "fabric-event";
11219
+ event_type: "graph_edge_candidate_requested";
11220
+ correlation_id?: string | undefined;
11221
+ session_id?: string | undefined;
11222
+ store?: string | undefined;
10968
11223
  }>]>;
10969
11224
  type KnowledgeContextPlannedEvent = z.infer<typeof knowledgeContextPlannedEventSchema>;
10970
11225
  type KnowledgeSelectionEvent = z.infer<typeof knowledgeSelectionEventSchema>;
@@ -11020,7 +11275,11 @@ type SkillPhaseTransitionEvent = z.infer<typeof skillPhaseTransitionEventSchema>
11020
11275
  type SkillTriggerCandidateEvent = z.infer<typeof skillTriggerCandidateEventSchema>;
11021
11276
  type LlmJudgeRunEvent = z.infer<typeof llmJudgeRunEventSchema>;
11022
11277
  type ClientCapabilitySnapshotEvent = z.infer<typeof clientCapabilitySnapshotEventSchema>;
11023
- type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | BootstrapMarkerMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeLayerChangedEvent | KnowledgeIdRedirectEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeUnarchivedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent | HookSurfaceEmittedEvent | HookSignalEmittedEvent | McpStdioTraceEvent | PayloadGuardObservedEvent | SkillInvocationStartedEvent | SkillInvocationCompletedEvent | SkillPhaseTransitionEvent | SkillTriggerCandidateEvent | LlmJudgeRunEvent | ClientCapabilitySnapshotEvent;
11278
+ type SessionEndedEvent = z.infer<typeof sessionEndedEventSchema>;
11279
+ type FileMutatedEvent = z.infer<typeof fileMutatedEventSchema>;
11280
+ type PrecompactObservedEvent = z.infer<typeof precompactObservedEventSchema>;
11281
+ type GraphEdgeCandidateRequestedEvent = z.infer<typeof graphEdgeCandidateRequestedEventSchema>;
11282
+ type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | BootstrapMarkerMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeLayerChangedEvent | KnowledgeIdRedirectEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeUnarchivedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent | HookSurfaceEmittedEvent | HookSignalEmittedEvent | McpStdioTraceEvent | PayloadGuardObservedEvent | SkillInvocationStartedEvent | SkillInvocationCompletedEvent | SkillPhaseTransitionEvent | SkillTriggerCandidateEvent | LlmJudgeRunEvent | ClientCapabilitySnapshotEvent | SessionEndedEvent | FileMutatedEvent | PrecompactObservedEvent | GraphEdgeCandidateRequestedEvent;
11024
11283
  type EventLedgerEventType = EventLedgerEvent["event_type"];
11025
11284
  type EventLedgerEventInputFor<T extends EventLedgerEvent> = T extends EventLedgerEvent ? Omit<T, "kind" | "id" | "ts" | "schema_version" | "correlation_id" | "session_id"> & Partial<Pick<T, "id" | "ts" | "correlation_id" | "session_id">> : never;
11026
11285
  type EventLedgerEventInput = EventLedgerEventInputFor<EventLedgerEvent>;
@@ -11102,4 +11361,4 @@ declare function resolveRetrievalBudget(overrides?: RetrievalBudgetOverrides): R
11102
11361
  /** Exposed for tests / introspection — the raw profile table. */
11103
11362
  declare function retrievalBudgetProfile(profile: RetrievalBudgetProfile): ResolvedRetrievalBudget;
11104
11363
 
11105
- export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type BootstrapMarkerMigratedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type ClientCapabilitySnapshotEvent, type CodexSkillPathMigratedEvent, type CrossStoreLintInput, type CrossStoreRefViolation, DEFAULT_RETRIEVAL_BUDGET_PROFILE, type DebugBundle, type DebugBundleInput, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EntryLayer, type EntryScopeMetadata, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, type FabricConfigSchemaShape, type FabricEvent, type FailureStage, type FailureTrace, type FindStoreExecutableViolationsOptions, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, GLOBAL_BINDINGS_DIR, GLOBAL_REF_PATTERN, GLOBAL_STATE_DIR, type GlobalConfig, type GlobalRef, type HookSignalEmittedEvent, type HookSurfaceEmittedEvent, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InitStoreOptions, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, KNOWN_SCOPE_PREFIXES, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeIdRedirectEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeProvenance, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, type KnowledgeUnarchivedEvent, Layer, type LedgerAppendedEvent, LedgerEntry, type LlmJudgeRunEvent, type LocalKnowledgeId, type LockApprovedEvent, type LockDriftEvent, MCP_STORE_AWARE_CONTRACTS, MCP_STORE_AWARE_TOOLS, type McpConfigMigratedEvent, type McpEventLedgerEvent, type McpStdioTraceEvent, type McpStoreAwareContract, type McpStoreAwareTool, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, type MountedStore, type MountedStoreDir, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, PARITY_CLIENTS, PARITY_SURFACES, PERSONAL_SCOPE, PERSONAL_STORE_SENTINEL, PROJECT_ROOT_SIGNALS, type PanelFieldGroup, type PanelFieldMeta, type ParityCapability, type ParityClient, type ParityClientExpectation, type ParityMatrix, type ParitySurface, type ParseCiteLineResult, type ParsedGlobalRef, type PayloadGuardObservedEvent, type PendingAutoArchivedEvent, type ProjectRootGoldenCase, type ProjectRootResolution, type ProjectRootResolver, type ProjectRootSignal, type ProjectRootSignals, type QualifiedCandidate, type QualifiedIdResolution, REDACTION_PLACEHOLDER_PREFIX, type ReadSetEntry, type ReadSetGoldenCase, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type RequiredStoreEntry, type ResolutionCandidate, type ResolutionResult, type ResolutionWarning, type ResolveOptions, type ResolvedBindingsSnapshot, type ResolvedEntry, type ResolvedRetrievalBudget, ResolverNotImplementedError, type RetrievalBudgetOverrides, type RetrievalBudgetProfile, SCOPE_COORDINATE_PATTERN, STORES_ROOT_DIR, STORE_GITIGNORE, STORE_KNOWLEDGE_TYPE_DIRS, STORE_LAYOUT, STORE_PENDING_DIR, STORE_RESOLVER_WARNING_CODES, STORE_UUID_PATTERN, type ScanRecommendationInput, type ScopeCoordinate, type SecretFinding, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, type SkillInvocationCompletedEvent, type SkillInvocationStartedEvent, type SkillPhaseTransitionEvent, type SkillTriggerCandidateEvent, StableId, type StoreAwareEntry, type StoreCounters, type StoreExplain, type StoreIdentity, type StoreKnowledgeRef, type StoreLayout, type StoreReadSet, type StoreResolveInput, type StoreResolver, type StoreResolverWarning, type StoreResolverWarningCode, type StoreVisibility, Translator, UID_SEGMENT_PATTERN, type Uid, type ValidateResult, type WriteBindingsSnapshotOptions, type WriteTarget, type WrittenToStore, addMountedStore, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aggregatePendingAcrossStores, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema, bindRequiredStore, bindingsSnapshotPath, bootstrapMarkerMigratedEventSchema, buildDebugBundle, buildFailureTrace, buildScanRecommendations, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, clientCapabilitySnapshotEventSchema, codexSkillPathMigratedEventSchema, createProjectRootResolver, createStoreResolver, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, detachMountedStore, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, entryScopeMetadataSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, explainStore, fabricConfigSchema, fabricEventSchema, findMountedStore, findStoreExecutableViolations, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, formatGlobalRef, getPanelFieldByKey, getPanelFields, globalConfigSchema, globalRefSchema, hasSecrets, hookSignalEmittedEventSchema, hookSurfaceEmittedEventSchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, initStore, installDiffAppliedEventSchema, isKnowledgeStableId, isPersonalLeakIntoSharedStore, isPersonalScope, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeIdRedirectEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeProvenanceSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, knowledgeUnarchivedEventSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lintCrossStoreReferences, listStoreKnowledge, llmJudgeRunEventSchema, localKnowledgeIdSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, mcpStdioTraceEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, mountedStoreSchema, normalizeCiteTag, onboardSlotSchema, parityCapabilitySchema, parityClientExpectationSchema, parityClientSchema, parityMatrixSchema, paritySurfaceSchema, parseCiteLine, parseGlobalRef, payloadGuardObservedEventSchema, pendingAutoArchivedEventSchema, projectRootGoldenCaseSchema, projectRootGoldenFileSchema, projectRootResolutionSchema, projectRootSignalSchema, projectRootSignalsSchema, readBindingsSnapshot, readKnowledgeAcrossStores, readSetEntrySchema, readSetGoldenCaseSchema, readSetGoldenFileSchema, readStoreIdentity, reapplyCompletedEventSchema, recognizeStoreDir, redactSecrets, relevanceMigrationRunEventSchema, requiredStoreEntrySchema, resolveCandidates, resolveRetrievalBudget, resolveStoreQualifiedId, resolvedBindingsSnapshotSchema, retrievalBudgetProfile, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, scanForSecrets, scopeCoordinateSchema, scopeRoot, scrubRemoteUrl, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, skillInvocationCompletedEventSchema, skillInvocationStartedEventSchema, skillPhaseTransitionEventSchema, skillTriggerCandidateEventSchema, storeAwareEntrySchema, storeCountersSchema, storeIdentitySchema, storeKnowledgeTypeDir, storeReadSetSchema, storeRelativePath, storeResolveInputSchema, storeResolverWarningCodeSchema, storeResolverWarningSchema, storeUuidSchema, tokenize, uidSchema, withDerivedAgentsMetaNodeDefaults, writeBindingsSnapshot, writeTargetSchema, writtenToStoreSchema };
11364
+ export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type BootstrapMarkerMigratedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type ClientCapabilitySnapshotEvent, type CodexSkillPathMigratedEvent, type CrossStoreLintInput, type CrossStoreRefViolation, DEFAULT_RETRIEVAL_BUDGET_PROFILE, type DebugBundle, type DebugBundleInput, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EntryLayer, type EntryScopeMetadata, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, FabricConfig, type FabricConfigSchemaShape, type FabricEvent, type FailureStage, type FailureTrace, type FileMutatedEvent, type FindStoreExecutableViolationsOptions, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, GLOBAL_BINDINGS_DIR, GLOBAL_REF_PATTERN, GLOBAL_STATE_DIR, type GlobalConfig, type GlobalRef, type GraphEdgeCandidateRequestedEvent, type HookSignalEmittedEvent, type HookSurfaceEmittedEvent, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InitStoreOptions, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, KNOWN_SCOPE_PREFIXES, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeIdRedirectEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeProvenance, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, type KnowledgeUnarchivedEvent, Layer, type LedgerAppendedEvent, LedgerEntry, type LlmJudgeRunEvent, type LocalKnowledgeId, type LockApprovedEvent, type LockDriftEvent, MCP_STORE_AWARE_CONTRACTS, MCP_STORE_AWARE_TOOLS, type McpConfigMigratedEvent, type McpEventLedgerEvent, type McpStdioTraceEvent, type McpStoreAwareContract, type McpStoreAwareTool, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, type MountedStore, type MountedStoreDir, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, PARITY_CLIENTS, PARITY_SURFACES, PERSONAL_SCOPE, PERSONAL_STORE_SENTINEL, PROJECT_ROOT_SIGNALS, type PanelFieldGroup, type PanelFieldMeta, type ParityCapability, type ParityClient, type ParityClientExpectation, type ParityMatrix, type ParitySurface, type ParseCiteLineResult, type ParsedGlobalRef, type PayloadGuardObservedEvent, type PendingAutoArchivedEvent, type PrecompactObservedEvent, type ProjectRootGoldenCase, type ProjectRootResolution, type ProjectRootResolver, type ProjectRootSignal, type ProjectRootSignals, type QualifiedCandidate, type QualifiedIdResolution, REDACTION_PLACEHOLDER_PREFIX, type ReadSetEntry, type ReadSetGoldenCase, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type RequiredStoreEntry, type ResolutionCandidate, type ResolutionResult, type ResolutionWarning, type ResolveOptions, type ResolvedBindingsSnapshot, type ResolvedEntry, type ResolvedRetrievalBudget, ResolverNotImplementedError, type RetrievalBudgetOverrides, type RetrievalBudgetProfile, SCOPE_COORDINATE_PATTERN, STORES_ROOT_DIR, STORE_GITIGNORE, STORE_KNOWLEDGE_TYPE_DIRS, STORE_LAYOUT, STORE_PENDING_DIR, STORE_RESOLVER_WARNING_CODES, STORE_UUID_PATTERN, type ScanRecommendationInput, type ScopeCoordinate, type SecretFinding, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, type SessionEndedEvent, type SkillInvocationCompletedEvent, type SkillInvocationStartedEvent, type SkillPhaseTransitionEvent, type SkillTriggerCandidateEvent, StableId, type StoreAwareEntry, type StoreCounters, type StoreExplain, type StoreIdentity, type StoreKnowledgeRef, type StoreLayout, type StoreReadSet, type StoreResolveInput, type StoreResolver, type StoreResolverWarning, type StoreResolverWarningCode, type StoreVisibility, Translator, UID_SEGMENT_PATTERN, type Uid, type ValidateResult, type WriteBindingsSnapshotOptions, type WriteTarget, type WrittenToStore, addMountedStore, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aggregatePendingAcrossStores, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema, bindRequiredStore, bindingsSnapshotPath, bootstrapMarkerMigratedEventSchema, buildDebugBundle, buildFailureTrace, buildScanRecommendations, buildStoreResolveInput, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, clientCapabilitySnapshotEventSchema, codexSkillPathMigratedEventSchema, createProjectRootResolver, createStoreResolver, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, detachMountedStore, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, entryScopeMetadataSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, explainStore, fabricConfigSchema, fabricEventSchema, fileMutatedEventSchema, findMountedStore, findStoreExecutableViolations, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, formatGlobalRef, getPanelFieldByKey, getPanelFields, globalConfigPath, globalConfigSchema, globalRefSchema, graphEdgeCandidateRequestedEventSchema, hasSecrets, hookSignalEmittedEventSchema, hookSurfaceEmittedEventSchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, initStore, installDiffAppliedEventSchema, isKnowledgeStableId, isPersonalLeakIntoSharedStore, isPersonalScope, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeIdRedirectEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeProvenanceSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, knowledgeUnarchivedEventSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lintCrossStoreReferences, listStoreKnowledge, llmJudgeRunEventSchema, loadGlobalConfig, loadProjectConfig, localKnowledgeIdSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, mcpStdioTraceEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, mountedStoreSchema, normalizeCiteTag, onboardSlotSchema, parityCapabilitySchema, parityClientExpectationSchema, parityClientSchema, parityMatrixSchema, paritySurfaceSchema, parseCiteLine, parseGlobalRef, payloadGuardObservedEventSchema, pendingAutoArchivedEventSchema, precompactObservedEventSchema, projectConfigPath, projectRootGoldenCaseSchema, projectRootGoldenFileSchema, projectRootResolutionSchema, projectRootSignalSchema, projectRootSignalsSchema, readBindingsSnapshot, readKnowledgeAcrossStores, readSetEntrySchema, readSetGoldenCaseSchema, readSetGoldenFileSchema, readStoreIdentity, reapplyCompletedEventSchema, recognizeStoreDir, redactSecrets, relevanceMigrationRunEventSchema, requiredStoreEntrySchema, resolveCandidates, resolveGlobalRoot, resolveRetrievalBudget, resolveStoreQualifiedId, resolvedBindingsSnapshotSchema, retrievalBudgetProfile, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, saveGlobalConfig, saveProjectConfig, scanForSecrets, scopeCoordinateSchema, scopeRoot, scrubRemoteUrl, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, sessionEndedEventSchema, skillInvocationCompletedEventSchema, skillInvocationStartedEventSchema, skillPhaseTransitionEventSchema, skillTriggerCandidateEventSchema, storeAwareEntrySchema, storeCountersSchema, storeIdentitySchema, storeKnowledgeTypeDir, storeReadSetSchema, storeRelativePath, storeResolveInputSchema, storeResolverWarningCodeSchema, storeResolverWarningSchema, storeUuidSchema, tokenize, uidSchema, withDerivedAgentsMetaNodeDefaults, writeBindingsSnapshot, writeTargetSchema, writtenToStoreSchema };