@fenglimg/fabric-shared 2.0.0-rc.33 → 2.0.0-rc.35

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.
@@ -85,7 +85,7 @@ var planContextInputSchema = z2.object({
85
85
  client_hash: z2.string().optional().describe("Revision hash from a prior fab_plan_context response; enables stale detection"),
86
86
  correlation_id: z2.string().optional().describe("Optional caller-provided correlation id for Event Ledger records"),
87
87
  session_id: z2.string().optional().describe(
88
- "Recommended: pass the current client session id (Claude Code: $session_id; Codex: corresponding identifier) \u2014 enables cross-session debt tracking in fab doctor and accurate archive-hint cross-session count. Falls back gracefully if omitted."
88
+ "Recommended: pass the current client session id (Claude Code: $session_id; Codex: corresponding identifier) \u2014 enables cross-session debt tracking in fabric doctor and accurate archive-hint cross-session count. Falls back gracefully if omitted."
89
89
  ),
90
90
  // v2.0-rc.5 A3 (TASK-007): `include_deprecated` removed — it was a no-op
91
91
  // placeholder (MaturitySchema has no `deprecated` value). When the maturity
@@ -313,8 +313,8 @@ var _FabExtractKnowledgeInputBaseSchema = z2.object({
313
313
  ),
314
314
  // v2.0.0-rc.23 TASK-014 (F8c): optional onboard-slot tag. The S5 slot
315
315
  // mechanism reintroduces a Skill-orchestrated "project tone" capture
316
- // surface after F8a deleted the auto-`fab scan` baseline pipeline.
317
- // fabric-archive's first-run phase reads `fab onboard-coverage` to
316
+ // surface after F8a deleted the auto-`fabric scan` baseline pipeline.
317
+ // fabric-archive's first-run phase reads `fabric onboard-coverage` to
318
318
  // discover unclaimed slots, then propagates the chosen slot label here
319
319
  // so the resulting pending entry counts toward coverage.
320
320
  //
@@ -17,10 +17,10 @@ declare function detectNodeLocale(): Locale;
17
17
  * 1. Read `<projectRoot>/.fabric/fabric-config.json` and inspect
18
18
  * `fabric_language`.
19
19
  * 2. If the value is `"en"` or `"zh-CN"` (the two concrete Locale members),
20
- * return it verbatim — this is the eager-resolved value `fab init` is
20
+ * return it verbatim — this is the eager-resolved value `fabric init` is
21
21
  * supposed to write back per KT-DEC-9004.
22
22
  * 3. If the value is `"match-existing"` or `"zh-CN-hybrid"` (placeholders
23
- * that should NEVER survive `fab init` per KT-DEC-9004's invariant),
23
+ * that should NEVER survive `fabric init` per KT-DEC-9004's invariant),
24
24
  * emit a `console.warn` and fall through to `detectNodeLocale()`.
25
25
  * 4. If the file is missing, unreadable, malformed JSON, or `fabric_language`
26
26
  * is absent / has any other shape, silently fall through to
@@ -7,7 +7,7 @@ import {
7
7
  normalizeLocale,
8
8
  resolveFabricLocale,
9
9
  zhCNMessages
10
- } from "../chunk-Z7UPW75I.js";
10
+ } from "../chunk-S2OX6ZUS.js";
11
11
  export {
12
12
  PROTECTED_TOKENS,
13
13
  createTranslator,
@@ -176,6 +176,9 @@ declare const fabricConfigSchema: z.ZodObject<{
176
176
  archive_digest_max_sessions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
177
177
  review_topic_result_cap: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
178
178
  review_stale_pending_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
179
+ reverse_unarchive_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
180
+ reverse_unarchive_dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
181
+ cite_evict_interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
179
182
  fabric_event_retention_days: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>;
180
183
  onboard_slots_opted_out: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
181
184
  hint_broad_top_k: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -210,6 +213,9 @@ declare const fabricConfigSchema: z.ZodObject<{
210
213
  archive_digest_max_sessions: number;
211
214
  review_topic_result_cap: number;
212
215
  review_stale_pending_days: number;
216
+ reverse_unarchive_enabled: boolean;
217
+ reverse_unarchive_dry_run: boolean;
218
+ cite_evict_interval: number;
213
219
  onboard_slots_opted_out: string[];
214
220
  hint_broad_top_k: number;
215
221
  hint_narrow_top_k: number;
@@ -268,6 +274,9 @@ declare const fabricConfigSchema: z.ZodObject<{
268
274
  archive_digest_max_sessions?: number | undefined;
269
275
  review_topic_result_cap?: number | undefined;
270
276
  review_stale_pending_days?: number | undefined;
277
+ reverse_unarchive_enabled?: boolean | undefined;
278
+ reverse_unarchive_dry_run?: boolean | undefined;
279
+ cite_evict_interval?: number | undefined;
271
280
  fabric_event_retention_days?: 7 | 30 | 90 | undefined;
272
281
  onboard_slots_opted_out?: string[] | undefined;
273
282
  hint_broad_top_k?: number | undefined;
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-Crx0-0-9.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 selectionTokenTtlMsSchema } from './index-Crx0-0-9.js';
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-BjssYQb3.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 selectionTokenTtlMsSchema } from './index-BjssYQb3.js';
3
3
  export { Locale, Messages, PROTECTED_TOKENS, ProtectedToken, TranslationKey, Translator, createTranslator, defaultMessages, detectNodeLocale, enMessages, normalizeLocale, resolveFabricLocale, zhCNMessages } from './i18n/index.js';
4
4
  import { z } from 'zod';
5
5
  import { Layer, KnowledgeType, StableId } from './schemas/api-contracts.js';
@@ -1344,7 +1344,7 @@ interface PanelFieldMeta {
1344
1344
  format_for_display(value: unknown): string;
1345
1345
  }
1346
1346
  /**
1347
- * Returns the per-field metadata array driving the `fab config` clack panel.
1347
+ * Returns the per-field metadata array driving the `fabric config` clack panel.
1348
1348
  * Group A (2) + Group B (8) + Group C (1) = 11 entries.
1349
1349
  */
1350
1350
  declare function getPanelFields(): readonly PanelFieldMeta[];
@@ -4997,7 +4997,7 @@ declare const editIntentCheckedEventSchema: z.ZodObject<{
4997
4997
  compliant: z.ZodBoolean;
4998
4998
  intent: z.ZodString;
4999
4999
  ledger_entry_id: z.ZodString;
5000
- ledger_source: z.ZodOptional<z.ZodEnum<["ai", "human"]>>;
5000
+ ledger_source: z.ZodOptional<z.ZodEnum<["ai", "human", "hook"]>>;
5001
5001
  commit_sha: z.ZodOptional<z.ZodString>;
5002
5002
  parent_sha: z.ZodOptional<z.ZodString>;
5003
5003
  parent_ledger_entry_id: z.ZodOptional<z.ZodString>;
@@ -5030,7 +5030,7 @@ declare const editIntentCheckedEventSchema: z.ZodObject<{
5030
5030
  parent_sha?: string | undefined;
5031
5031
  parent_ledger_entry_id?: string | undefined;
5032
5032
  diff_stat?: string | undefined;
5033
- ledger_source?: "ai" | "human" | undefined;
5033
+ ledger_source?: "ai" | "human" | "hook" | undefined;
5034
5034
  }, {
5035
5035
  path: string;
5036
5036
  id: string;
@@ -5050,7 +5050,7 @@ declare const editIntentCheckedEventSchema: z.ZodObject<{
5050
5050
  parent_sha?: string | undefined;
5051
5051
  parent_ledger_entry_id?: string | undefined;
5052
5052
  diff_stat?: string | undefined;
5053
- ledger_source?: "ai" | "human" | undefined;
5053
+ ledger_source?: "ai" | "human" | "hook" | undefined;
5054
5054
  }>;
5055
5055
  declare const knowledgeDriftDetectedEventSchema: z.ZodObject<{
5056
5056
  event_type: z.ZodLiteral<"knowledge_drift_detected">;
@@ -5843,6 +5843,46 @@ declare const knowledgeArchiveAttemptedEventSchema: z.ZodObject<{
5843
5843
  session_id?: string | undefined;
5844
5844
  reason?: string | undefined;
5845
5845
  }>;
5846
+ declare const knowledgeUnarchivedEventSchema: z.ZodObject<{
5847
+ event_type: z.ZodLiteral<"knowledge_unarchived">;
5848
+ stable_id: z.ZodOptional<z.ZodString>;
5849
+ timestamp: z.ZodString;
5850
+ reason: z.ZodOptional<z.ZodString>;
5851
+ archive_path: z.ZodOptional<z.ZodString>;
5852
+ restored_to: z.ZodOptional<z.ZodString>;
5853
+ kind: z.ZodLiteral<"fabric-event">;
5854
+ id: z.ZodString;
5855
+ ts: z.ZodNumber;
5856
+ schema_version: z.ZodLiteral<1>;
5857
+ correlation_id: z.ZodOptional<z.ZodString>;
5858
+ session_id: z.ZodOptional<z.ZodString>;
5859
+ }, "strip", z.ZodTypeAny, {
5860
+ id: string;
5861
+ ts: number;
5862
+ schema_version: 1;
5863
+ kind: "fabric-event";
5864
+ event_type: "knowledge_unarchived";
5865
+ timestamp: string;
5866
+ stable_id?: string | undefined;
5867
+ correlation_id?: string | undefined;
5868
+ session_id?: string | undefined;
5869
+ reason?: string | undefined;
5870
+ archive_path?: string | undefined;
5871
+ restored_to?: string | undefined;
5872
+ }, {
5873
+ id: string;
5874
+ ts: number;
5875
+ schema_version: 1;
5876
+ kind: "fabric-event";
5877
+ event_type: "knowledge_unarchived";
5878
+ timestamp: string;
5879
+ stable_id?: string | undefined;
5880
+ correlation_id?: string | undefined;
5881
+ session_id?: string | undefined;
5882
+ reason?: string | undefined;
5883
+ archive_path?: string | undefined;
5884
+ restored_to?: string | undefined;
5885
+ }>;
5846
5886
  declare const knowledgeDeferredEventSchema: z.ZodObject<{
5847
5887
  event_type: z.ZodLiteral<"knowledge_deferred">;
5848
5888
  stable_id: z.ZodOptional<z.ZodString>;
@@ -6283,10 +6323,10 @@ declare const eventsRotatedEventSchema: z.ZodObject<{
6283
6323
  schema_version: 1;
6284
6324
  kind: "fabric-event";
6285
6325
  event_type: "events_rotated";
6326
+ archive_path: string;
6286
6327
  cutoff_ts: string;
6287
6328
  archived_count: number;
6288
6329
  kept_count: number;
6289
- archive_path: string;
6290
6330
  correlation_id?: string | undefined;
6291
6331
  session_id?: string | undefined;
6292
6332
  }, {
@@ -6295,10 +6335,10 @@ declare const eventsRotatedEventSchema: z.ZodObject<{
6295
6335
  schema_version: 1;
6296
6336
  kind: "fabric-event";
6297
6337
  event_type: "events_rotated";
6338
+ archive_path: string;
6298
6339
  cutoff_ts: string;
6299
6340
  archived_count: number;
6300
6341
  kept_count: number;
6301
- archive_path: string;
6302
6342
  correlation_id?: string | undefined;
6303
6343
  session_id?: string | undefined;
6304
6344
  }>;
@@ -6597,7 +6637,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
6597
6637
  compliant: z.ZodBoolean;
6598
6638
  intent: z.ZodString;
6599
6639
  ledger_entry_id: z.ZodString;
6600
- ledger_source: z.ZodOptional<z.ZodEnum<["ai", "human"]>>;
6640
+ ledger_source: z.ZodOptional<z.ZodEnum<["ai", "human", "hook"]>>;
6601
6641
  commit_sha: z.ZodOptional<z.ZodString>;
6602
6642
  parent_sha: z.ZodOptional<z.ZodString>;
6603
6643
  parent_ledger_entry_id: z.ZodOptional<z.ZodString>;
@@ -6630,7 +6670,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
6630
6670
  parent_sha?: string | undefined;
6631
6671
  parent_ledger_entry_id?: string | undefined;
6632
6672
  diff_stat?: string | undefined;
6633
- ledger_source?: "ai" | "human" | undefined;
6673
+ ledger_source?: "ai" | "human" | "hook" | undefined;
6634
6674
  }, {
6635
6675
  path: string;
6636
6676
  id: string;
@@ -6650,7 +6690,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
6650
6690
  parent_sha?: string | undefined;
6651
6691
  parent_ledger_entry_id?: string | undefined;
6652
6692
  diff_stat?: string | undefined;
6653
- ledger_source?: "ai" | "human" | undefined;
6693
+ ledger_source?: "ai" | "human" | "hook" | undefined;
6654
6694
  }>, z.ZodObject<{
6655
6695
  event_type: z.ZodLiteral<"knowledge_drift_detected">;
6656
6696
  revision: z.ZodOptional<z.ZodString>;
@@ -7420,6 +7460,45 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
7420
7460
  correlation_id?: string | undefined;
7421
7461
  session_id?: string | undefined;
7422
7462
  reason?: string | undefined;
7463
+ }>, z.ZodObject<{
7464
+ event_type: z.ZodLiteral<"knowledge_unarchived">;
7465
+ stable_id: z.ZodOptional<z.ZodString>;
7466
+ timestamp: z.ZodString;
7467
+ reason: z.ZodOptional<z.ZodString>;
7468
+ archive_path: z.ZodOptional<z.ZodString>;
7469
+ restored_to: z.ZodOptional<z.ZodString>;
7470
+ kind: z.ZodLiteral<"fabric-event">;
7471
+ id: z.ZodString;
7472
+ ts: z.ZodNumber;
7473
+ schema_version: z.ZodLiteral<1>;
7474
+ correlation_id: z.ZodOptional<z.ZodString>;
7475
+ session_id: z.ZodOptional<z.ZodString>;
7476
+ }, "strip", z.ZodTypeAny, {
7477
+ id: string;
7478
+ ts: number;
7479
+ schema_version: 1;
7480
+ kind: "fabric-event";
7481
+ event_type: "knowledge_unarchived";
7482
+ timestamp: string;
7483
+ stable_id?: string | undefined;
7484
+ correlation_id?: string | undefined;
7485
+ session_id?: string | undefined;
7486
+ reason?: string | undefined;
7487
+ archive_path?: string | undefined;
7488
+ restored_to?: string | undefined;
7489
+ }, {
7490
+ id: string;
7491
+ ts: number;
7492
+ schema_version: 1;
7493
+ kind: "fabric-event";
7494
+ event_type: "knowledge_unarchived";
7495
+ timestamp: string;
7496
+ stable_id?: string | undefined;
7497
+ correlation_id?: string | undefined;
7498
+ session_id?: string | undefined;
7499
+ reason?: string | undefined;
7500
+ archive_path?: string | undefined;
7501
+ restored_to?: string | undefined;
7423
7502
  }>, z.ZodObject<{
7424
7503
  event_type: z.ZodLiteral<"knowledge_deferred">;
7425
7504
  stable_id: z.ZodOptional<z.ZodString>;
@@ -7885,10 +7964,10 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
7885
7964
  schema_version: 1;
7886
7965
  kind: "fabric-event";
7887
7966
  event_type: "events_rotated";
7967
+ archive_path: string;
7888
7968
  cutoff_ts: string;
7889
7969
  archived_count: number;
7890
7970
  kept_count: number;
7891
- archive_path: string;
7892
7971
  correlation_id?: string | undefined;
7893
7972
  session_id?: string | undefined;
7894
7973
  }, {
@@ -7897,10 +7976,10 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
7897
7976
  schema_version: 1;
7898
7977
  kind: "fabric-event";
7899
7978
  event_type: "events_rotated";
7979
+ archive_path: string;
7900
7980
  cutoff_ts: string;
7901
7981
  archived_count: number;
7902
7982
  kept_count: number;
7903
- archive_path: string;
7904
7983
  correlation_id?: string | undefined;
7905
7984
  session_id?: string | undefined;
7906
7985
  }>, z.ZodObject<{
@@ -8035,6 +8114,7 @@ type KnowledgeSlugRenamedEvent = z.infer<typeof knowledgeSlugRenamedEventSchema>
8035
8114
  type KnowledgeDemotedEvent = z.infer<typeof knowledgeDemotedEventSchema>;
8036
8115
  type KnowledgeArchivedEvent = z.infer<typeof knowledgeArchivedEventSchema>;
8037
8116
  type KnowledgeArchiveAttemptedEvent = z.infer<typeof knowledgeArchiveAttemptedEventSchema>;
8117
+ type KnowledgeUnarchivedEvent = z.infer<typeof knowledgeUnarchivedEventSchema>;
8038
8118
  type KnowledgeDeferredEvent = z.infer<typeof knowledgeDeferredEventSchema>;
8039
8119
  type KnowledgeRejectedEvent = z.infer<typeof knowledgeRejectedEventSchema>;
8040
8120
  type KnowledgeConsumedEvent = z.infer<typeof knowledgeConsumedEventSchema>;
@@ -8051,7 +8131,7 @@ type EventsRotatedEvent = z.infer<typeof eventsRotatedEventSchema>;
8051
8131
  type ServeLockClearedEvent = z.infer<typeof serveLockClearedEventSchema>;
8052
8132
  type KnowledgeEnrichedEvent = z.infer<typeof knowledgeEnrichedEventSchema>;
8053
8133
  type SessionArchiveAttemptedEvent = z.infer<typeof sessionArchiveAttemptedEventSchema>;
8054
- type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | BootstrapMarkerMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeLayerChangedEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent;
8134
+ type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | BootstrapMarkerMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeLayerChangedEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeUnarchivedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent;
8055
8135
  type EventLedgerEventType = EventLedgerEvent["event_type"];
8056
8136
  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;
8057
8137
  type EventLedgerEventInput = EventLedgerEventInputFor<EventLedgerEvent>;
@@ -8086,4 +8166,4 @@ interface ParseCiteLineResult {
8086
8166
  */
8087
8167
  declare function parseCiteLine(raw: string): ParseCiteLineResult;
8088
8168
 
8089
- 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 CodexSkillPathMigratedEvent, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, type FabricConfigSchemaShape, type FabricEvent, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, Layer, type LedgerAppendedEvent, LedgerEntry, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, type PanelFieldGroup, type PanelFieldMeta, type ParseCiteLineResult, type PendingAutoArchivedEvent, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, StableId, type ValidateResult, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema, bootstrapMarkerMigratedEventSchema, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, codexSkillPathMigratedEventSchema, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, fabricConfigSchema, fabricEventSchema, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, getPanelFieldByKey, getPanelFields, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, installDiffAppliedEventSchema, isKnowledgeStableId, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, onboardSlotSchema, parseCiteLine, pendingAutoArchivedEventSchema, reapplyCompletedEventSchema, relevanceMigrationRunEventSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, withDerivedAgentsMetaNodeDefaults };
8169
+ 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 CodexSkillPathMigratedEvent, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, type FabricConfigSchemaShape, type FabricEvent, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, type KnowledgeUnarchivedEvent, Layer, type LedgerAppendedEvent, LedgerEntry, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, type PanelFieldGroup, type PanelFieldMeta, type ParseCiteLineResult, type PendingAutoArchivedEvent, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, StableId, type ValidateResult, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, allocateKnowledgeId, assistantTurnObservedEventSchema, bootstrapMarkerMigratedEventSchema, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, codexSkillPathMigratedEventSchema, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, fabricConfigSchema, fabricEventSchema, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, getPanelFieldByKey, getPanelFields, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, installDiffAppliedEventSchema, isKnowledgeStableId, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, knowledgeUnarchivedEventSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, onboardSlotSchema, parseCiteLine, pendingAutoArchivedEventSchema, reapplyCompletedEventSchema, relevanceMigrationRunEventSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, withDerivedAgentsMetaNodeDefaults };
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  LEGACY_KB_MARKER_BEGIN,
7
7
  LEGACY_KB_MARKER_END,
8
8
  LEGACY_KB_REGEX
9
- } from "./chunk-4OQXR6JW.js";
9
+ } from "./chunk-COWUGYWC.js";
10
10
  import {
11
11
  PROTECTED_TOKENS,
12
12
  createTranslator,
@@ -16,7 +16,7 @@ import {
16
16
  normalizeLocale,
17
17
  resolveFabricLocale,
18
18
  zhCNMessages
19
- } from "./chunk-Z7UPW75I.js";
19
+ } from "./chunk-S2OX6ZUS.js";
20
20
  import {
21
21
  FabExtractKnowledgeInputSchema,
22
22
  FabExtractKnowledgeInputShape,
@@ -58,7 +58,7 @@ import {
58
58
  planContextInputSchema,
59
59
  planContextOutputSchema,
60
60
  structuredWarningSchema
61
- } from "./chunk-Y2YBFL2G.js";
61
+ } from "./chunk-Z26SD627.js";
62
62
  import "./chunk-LXNCAKJZ.js";
63
63
 
64
64
  // src/schemas/agents-meta.ts
@@ -470,6 +470,25 @@ var fabricConfigSchema = z5.object({
470
470
  // 7d Signal-B trigger because review specifically targets the long
471
471
  // tail. Large repos with slower cadence can raise to 30.
472
472
  review_stale_pending_days: z5.number().int().positive().optional().default(14),
473
+ // v2.0.0-rc.34 TASK-05: reverse-unarchive opt-in. When true, callers of the
474
+ // `unarchiveKnowledge` primitive (and any future doctor auto-detect lint built
475
+ // on top) will execute the file move + ledger emit. When false (default),
476
+ // the same callers MUST short-circuit before any mutation — the primitive is
477
+ // shipped but inert until explicitly enabled. Opt-in posture mirrors the
478
+ // archive-flow precedent: destructive-ish file moves stay behind a flag.
479
+ reverse_unarchive_enabled: z5.boolean().optional().default(false),
480
+ // v2.0.0-rc.34 TASK-05: forces `unarchiveKnowledge` into dry-run mode even
481
+ // when called with `options.dryRun=false`. Lets operators preview a
482
+ // restoration pass before flipping `reverse_unarchive_enabled` to true.
483
+ reverse_unarchive_dry_run: z5.boolean().optional().default(false),
484
+ // v2.0.0-rc.34 TASK-06: long-session cite-policy evict window in user-prompt
485
+ // turns. UserPromptSubmit hook (Claude Code only) maintains a per-session
486
+ // counter and re-injects the cite contract reminder via
487
+ // hookSpecificOutput.additionalContext when `turn_count % interval === 0`.
488
+ // Default 0 = OFF (opt-in). Recommend 10-20 for active sessions; 5 for
489
+ // high-contract-criticality projects. Other strategies (time-based,
490
+ // token-budget) deferred to rc.35 per plan locked-decisions 2026-05-26.
491
+ cite_evict_interval: z5.number().int().min(0).optional().default(0),
473
492
  // v2.0.0-rc.22 Scope A T3: sliding-window retention (in days) for the
474
493
  // event ledger rotation primitive (`rotateEventLedgerIfNeeded`). Lines
475
494
  // whose `ts` is older than `now - fabric_event_retention_days * 86_400_000`
@@ -485,12 +504,12 @@ var fabricConfigSchema = z5.object({
485
504
  fabric_event_retention_days: z5.union([z5.literal(7), z5.literal(30), z5.literal(90)]).optional(),
486
505
  // v2.0.0-rc.23 TASK-014 (F8c): onboard slot opt-out list. Tracks slot
487
506
  // names the user explicitly dismissed during fabric-archive's first-run
488
- // onboard phase (or via `fab config dismiss-slot <slot>`). Dismissed
489
- // slots are excluded from `fab onboard-coverage`'s `missing` set and the
507
+ // onboard phase (or via `fabric config dismiss-slot <slot>`). Dismissed
508
+ // slots are excluded from `fabric onboard-coverage`'s `missing` set and the
490
509
  // doctor `Onboard coverage` advisory's recompute, so the user is never
491
510
  // re-prompted for slots they consciously declined.
492
511
  //
493
- // Re-opening a dismissed slot requires `fab config onboard-reset <slot>`
512
+ // Re-opening a dismissed slot requires `fabric config onboard-reset <slot>`
494
513
  // — a deliberate two-command UX to keep the dismiss intent reversible
495
514
  // but never silently undone. Schema is intentionally `z.array(z.string())`
496
515
  // rather than `z.array(onboardSlotSchema)` so historical configs survive
@@ -937,7 +956,11 @@ var editIntentCheckedEventSchema = z10.object({
937
956
  compliant: z10.boolean(),
938
957
  intent: z10.string(),
939
958
  ledger_entry_id: z10.string(),
940
- ledger_source: z10.enum(["ai", "human"]).optional(),
959
+ // rc.35 TASK-07 (P0-2): add "hook" — emitted by the PreToolUse narrow hook
960
+ // for every Edit/Write/MultiEdit fire so cite-coverage doctor metrics see
961
+ // actual edit signals (previously editsTouched was permanently 0 because
962
+ // no production caller of appendLedgerEntry existed).
963
+ ledger_source: z10.enum(["ai", "human", "hook"]).optional(),
941
964
  commit_sha: z10.string().optional(),
942
965
  parent_sha: z10.string().optional(),
943
966
  parent_ledger_entry_id: z10.string().optional(),
@@ -1137,6 +1160,17 @@ var knowledgeArchiveAttemptedEventSchema = z10.object({
1137
1160
  timestamp: z10.string().datetime(),
1138
1161
  reason: z10.string().optional()
1139
1162
  });
1163
+ var knowledgeUnarchivedEventSchema = z10.object({
1164
+ ...eventLedgerEnvelopeSchema,
1165
+ event_type: z10.literal("knowledge_unarchived"),
1166
+ stable_id: z10.string().optional(),
1167
+ timestamp: z10.string().datetime(),
1168
+ reason: z10.string().optional(),
1169
+ // Pre-move archive path (e.g. ".fabric/.archive/decisions/KT-D-0007--single-cjs-hook.md").
1170
+ archive_path: z10.string().optional(),
1171
+ // Post-move canonical path (e.g. ".fabric/knowledge/team/decisions/KT-D-0007--single-cjs-hook.md").
1172
+ restored_to: z10.string().optional()
1173
+ });
1140
1174
  var knowledgeDeferredEventSchema = z10.object({
1141
1175
  ...eventLedgerEnvelopeSchema,
1142
1176
  event_type: z10.literal("knowledge_deferred"),
@@ -1286,7 +1320,7 @@ var eventLedgerEventSchema = z10.discriminatedUnion("event_type", [
1286
1320
  eventLedgerTruncatedEventSchema,
1287
1321
  mcpConfigMigratedEventSchema,
1288
1322
  // v2.0.0-rc.19 TASK-004: bootstrap_marker_migrated — one-time fabric:knowledge-base
1289
- // → fabric:bootstrap marker rewrite emitted per file by `fab doctor --fix`.
1323
+ // → fabric:bootstrap marker rewrite emitted per file by `fabric doctor --fix`.
1290
1324
  bootstrapMarkerMigratedEventSchema,
1291
1325
  metaReconciledOnStartupEventSchema,
1292
1326
  metaReconciledEventSchema,
@@ -1304,6 +1338,8 @@ var eventLedgerEventSchema = z10.discriminatedUnion("event_type", [
1304
1338
  knowledgeDemotedEventSchema,
1305
1339
  knowledgeArchivedEventSchema,
1306
1340
  knowledgeArchiveAttemptedEventSchema,
1341
+ // v2.0.0-rc.34 TASK-05: reverse of knowledge_archived
1342
+ knowledgeUnarchivedEventSchema,
1307
1343
  knowledgeDeferredEventSchema,
1308
1344
  knowledgeRejectedEventSchema,
1309
1345
  // v2.0 rc.5 TASK-014: knowledge_consumed (consumption tracking)
@@ -1339,18 +1375,18 @@ var eventLedgerEventSchema = z10.discriminatedUnion("event_type", [
1339
1375
  // stale entries to events.archive/events-rotated-YYYY-MM-DD.jsonl.
1340
1376
  eventsRotatedEventSchema,
1341
1377
  // v2.0.0-rc.23 TASK-010 (e): serve_lock_cleared — emitted by
1342
- // `fab doctor --fix` when a stale `.fabric/.serve.lock` with a dead PID is
1378
+ // `fabric doctor --fix` when a stale `.fabric/.serve.lock` with a dead PID is
1343
1379
  // unlinked.
1344
1380
  serveLockClearedEventSchema,
1345
1381
  // v2.0.0-rc.23 TASK-007 (a-C2): knowledge_enriched — emitted by
1346
- // `fab doctor --enrich-descriptions` once per modified canonical knowledge
1382
+ // `fabric doctor --enrich-descriptions` once per modified canonical knowledge
1347
1383
  // file when one or more of the four rc.23 description-grade frontmatter
1348
1384
  // fields is back-filled.
1349
1385
  knowledgeEnrichedEventSchema,
1350
1386
  // v2.0.0-rc.25 TASK-01: session_archive_attempted — emitted by the
1351
1387
  // fabric-archive skill at the end of every invocation. Drives Phase 0.0
1352
1388
  // cross-session digest, outcome-based rescan filter (skips user_dismissed),
1353
- // covered_through_ts watermark, and `fab doctor --archive-history`.
1389
+ // covered_through_ts watermark, and `fabric doctor --archive-history`.
1354
1390
  sessionArchiveAttemptedEventSchema
1355
1391
  ]);
1356
1392
 
@@ -1573,6 +1609,7 @@ export {
1573
1609
  knowledgeTestIndexSchema,
1574
1610
  knowledgeTestLinkSchema,
1575
1611
  knowledgeTestOrphanAnnotationSchema,
1612
+ knowledgeUnarchivedEventSchema,
1576
1613
  ledgerAppendedEventSchema,
1577
1614
  ledgerEntrySchema,
1578
1615
  ledgerQuerySchema,
@@ -36,7 +36,7 @@ import {
36
36
  planContextInputSchema,
37
37
  planContextOutputSchema,
38
38
  structuredWarningSchema
39
- } from "../chunk-Y2YBFL2G.js";
39
+ } from "../chunk-Z26SD627.js";
40
40
  export {
41
41
  FabExtractKnowledgeInputSchema,
42
42
  FabExtractKnowledgeInputShape,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Canonical Fabric bootstrap content + marker constants — single source of truth
3
- * consumed by both `fab install` (writer) and the server-side doctor (drift
3
+ * consumed by both `fabric install` (writer) and the server-side doctor (drift
4
4
  * comparator). Mirrors the rc.18 banner-i18n shared-module pattern: shared
5
5
  * constants in `packages/shared` so the cross-package boundary stays clean
6
6
  * (server has zero dep on cli).
@@ -46,11 +46,11 @@ declare const LEGACY_KB_REGEX: RegExp;
46
46
  /**
47
47
  * Canonical bootstrap body — byte-locked per rc.19 locked clarification 3.
48
48
  * Rendered into the managed block between {@link BOOTSTRAP_MARKER_BEGIN} and
49
- * {@link BOOTSTRAP_MARKER_END} by `fab install` across all three supported
49
+ * {@link BOOTSTRAP_MARKER_END} by `fabric install` across all three supported
50
50
  * clients (Claude Code, Cursor, Codex CLI).
51
51
  *
52
52
  * Length guarantee: ≥ 800 bytes (rc.24: grew from ≥400 with cite-contract syntax).
53
53
  */
54
- declare const BOOTSTRAP_CANONICAL = "# Fabric Bootstrap\n\n\u672C\u9879\u76EE\u4F7F\u7528 Fabric \u7BA1\u7406\u8DE8\u5BA2\u6237\u7AEF AI \u77E5\u8BC6\u4E0E\u884C\u4E3A\u89C4\u5219\u3002\u672C\u6587\u4EF6\u7531 `fab install` \u540C\u6B65\u5230\u4E09\u7AEF managed block,**\u4E0D\u8981\u624B\u52A8\u7F16\u8F91\u4E09\u7AEF\u7684 block**,\u53EA\u6539\u8FD9\u91CC + \u91CD\u8DD1 `fab install`\u3002\n\n## \u884C\u4E3A\u89C4\u5219\n- **\u4FEE\u6539\u4EFB\u4F55\u6587\u4EF6\u524D**:\u4E24\u6B65\u8C03\u7528\u2014\u2014\u5148 `fab_plan_context(paths=[<\u88AB\u6539\u6587\u4EF6>])` \u62FF\u5230 `selection_token` \u4E0E\u5019\u9009 `entries`(\u6311 `selectable===true` \u7684 `stable_id`),\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>...] })` \u53D6\u89C4\u5219\u6B63\u6587\u3002\n- **`.fabric/agents.meta.json` \u4E25\u7981\u624B\u52A8\u7F16\u8F91**;engine \u4F1A\u81EA\u52A8\u540C\u6B65\u6D3E\u751F\u72B6\u6001,\u663E\u5F0F reconcile \u8DD1 `fab doctor --fix`\u3002\n\n## \u77E5\u8BC6\u5E93(KB)\n- **Discovery**:SessionStart hook \u5217 broad-scoped \u6761\u76EE(\u542B personal layer `KP-*` \u6761\u76EE,\u5F15\u7528\u65B9\u5F0F\u76F8\u540C);edit \u6587\u4EF6\u65F6 PreToolUse hook \u53EF\u80FD\u89E6\u53D1 narrow hint\u3002\n- **Usage**:\u4E24\u6B65\u5F0F\u2014\u2014`fab_plan_context(paths=[...])` \u8FD4\u56DE `selection_token` + \u5019\u9009 entries,\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>...] })` \u62C9\u5168\u6587;`selection_token` \u5FC5\u987B\u6765\u81EA\u6700\u8FD1\u4E00\u6B21 `fab_plan_context`,\u4E0D\u53EF\u51ED\u7A7A\u7F16\u9020\u3002\n- **session_id**: \u8C03\u7528 `fab_plan_context` \u65F6, \u52A1\u5FC5\u628A\u5F53\u524D client session id \u4F5C\u4E3A `session_id` \u53C2\u6570\u4F20\u5165(Claude Code \u7684 session id \u5728 stdin payload \u4E2D, Codex \u7684\u5BF9\u5E94 identifier \u540C\u7406)\u3002\u8FD9\u80FD\u8BA9 `fab doctor --archive-history` \u4E0E archive-hint hook \u51C6\u786E\u8BC6\u522B\u8DE8\u4F1A\u8BDD debt \u72B6\u6001\u3002\n- **Write flows**:`fabric-archive` / `fabric-review` / `fabric-import` \u4E09\u4E2A Skills\u3002\n- **Language**:\u6E32\u67D3\u6309 `.fabric/fabric-config.json` \u7684 `fabric_language` \u5B57\u6BB5\u3002\n\n## Self-archive policy\n\n- **\u89E6\u53D1**: \u672C\u4F1A\u8BDD\u51FA\u73B0\u4EE5\u4E0B\u4EFB\u4E00\u4FE1\u53F7, \u5728\u8BE5 turn \u56DE\u590D\u672B\u5C3E\u81EA\u4E3B\u8C03\u7528 `fabric-archive` skill (E3-strong mode):\n 1. **Normative \u8BED\u8A00** \u2014 \u7528\u6237\u6D88\u606F\u51FA\u73B0 `\u4EE5\u540E` / `always` / `never` / `from now on` / `\u4E0B\u6B21\u6CE8\u610F` / `\u8BB0\u4E00\u4E0B` / `\u6C38\u8FDC\u4E0D\u8981`\n 2. **Wrong-turn-and-revert** \u2014 AI \u5C1D\u8BD5 path X, \u53CD\u601D\u540E\u6539\u8D70 path Y (\u5C24\u5176\u5F53 path X \u662F\u975E\u663E\u7136\u8E29\u5751)\n 3. **Decision confirmation** \u2014 \u7528\u6237\u5728 \u22652 \u5019\u9009\u4E2D\u6743\u8861\u540E\u7ED9\u51FA rationale \u9501\u5B9A\u65B9\u5411\n 4. **Explicit dismissal with reason** \u2014 \u7528\u6237\u62D2\u4E86\u67D0\u5EFA\u8BAE**\u5E76**\u8BF4\u4E86\u539F\u56E0\n\n- **Anti-trigger** (\u660E\u786E\u4E0D\u89E6\u53D1):\n - \u7528\u6237\u7EAF\u8BE2\u95EE (\u65E0 normative \u8868\u8FBE)\n - \u7B80\u5355 refactor / typo fix\n - AI \u81EA\u5DF1\u4EA7\u751F\u7684'\u6D1E\u5BDF' (\u5FC5\u987B\u7531\u7528\u6237\u6D88\u606F\u4E2D\u4FE1\u53F7\u89E6\u53D1)\n\n- **Anti-loop \u4E09\u6761\u9632\u62A4**:\n - \u540C turn \u6700\u591A\u81EA\u8C03 1 \u6B21\n - \u540C session \u540C outcome \u4E0D\u91CD\u590D (\u82E5 user_dismissed, \u672C\u4F1A\u8BDD\u4E0D\u518D\u81EA\u8C03\u76F8\u540C\u4E3B\u9898)\n - Phase 0.5 viability gate \u515C\u5E95 (skill \u5185\u90E8\u4ECD\u8DD1 gate, AI \u5224\u9519\u4E0D\u4F1A\u4E71\u5199 pending)\n\n- **\u5448\u73B0\u6A21\u677F** (turn \u672B\u5C3E\u63D2\u5165, \u4E24\u884C: \u5148 marker \u884C\u4F9B Phase 0.4 \u68C0\u6D4B, \u518D user-facing \u63D0\u793A):\n ```\n self-archive policy triggered by signal: <Normative|Wrong-turn-and-revert|Decision confirmation|Explicit dismissal>\n \u987A\u624B\u5F52\u6863: \u6CE8\u610F\u5230\u4F60\u8BF4 `<\u89E6\u53D1\u77ED\u8BED>`, \u5DF2\u8C03\u7528 fabric-archive \u6293 N \u6761\u5019\u9009 \u2192 .fabric/knowledge/pending/...\n \u82E5\u4E0D\u8BE5\u8BB0, \u7B54 '\u64A4\u9500' \u6211\u4F1A\u8C03 fab_review reject\u3002\n ```\n \u7B2C\u4E00\u884C\u662F Phase 0.4 Trigger Gate \u7528\u6765\u8BC6\u522B E3 \u5165\u53E3\u7684 structured marker (verbatim \u5B57\u7B26\u4E32 `self-archive policy triggered by signal`, \u540E\u63A5\u5192\u53F7 + \u89E6\u53D1\u4FE1\u53F7\u540D)\u3002\u7B2C\u4E8C\u884C\u8D77\u662F\u7ED9\u7528\u6237\u770B\u7684\u4E2D\u6587\u63D0\u793A\u3002\u4E24\u884C\u90FD\u5FC5\u987B\u51FA\u73B0; \u7F3A marker \u884C Phase 0.4 \u65E0\u6CD5\u8DEF\u7531\u5230 E3_ai_self_trigger\u3002\n\n## Cite policy\n\n- **\u89E6\u53D1**: \u505A edit / decide / propose plan \u4E4B\u524D,**\u56DE\u590D\u9996\u884C**\u5FC5\u987B\u5199 `KB: <id> (<\u22648\u5B57 \u7528\u6CD5>) [planned|recalled|chained-from <id>|dismissed:<reason>]` \u6216 `KB: none [<reason>]`\u3002\n- **`[recalled]` \u9A8C\u8BC1**: \u5FC5\u987B\u7D27\u8DDF\u4E24\u6B65\u8C03\u7528\u2014\u2014\u5148 `fab_plan_context(paths=[...])` \u62FF `selection_token`,\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>] })`,\u9632\u6B62\u7F16\u9020 id\u3002\n- **contract \u8BED\u6CD5**: decisions/pitfalls \u7C7B\u5F15\u7528\u5FC5\u987B\u5728\u5C3E\u6BB5\u52A0 contract: `\u2192 <operator> [<operator> ...]`,operator \u2208 {`edit:<glob>` `!edit:<glob>` `require:<symbol>` `forbid:<symbol>` `skip:<reason>`}\u3002\u4F8B:`KB: K-001 (auth) [planned] \u2192 edit:src/auth/**/*.ts !edit:src/legacy/**`\u3002\n- **skip reason \u8BCD\u5178**: `sequencing | conditional | semantic | aesthetic | architectural | other:<text>`\u3002\n- **type \u8DEF\u7531**: models \u7C7B\u5F15\u7528\u4E3A reference cite,\u4E0D\u9700\u8981 contract;guidelines/processes \u7C7B\u6682\u4E0D\u5F3A\u5236,\u63A8\u540E LLM-judge\u3002\n- **\u7528\u6237\u53E3\u5934\u63D0\u89C4\u5219\u6CA1\u7ED9 id**: \u5148\u8C03 `fab_extract_knowledge` \u6216 `search_context` \u53CD\u67E5\u3002\n- **dismissed reason**: \u679A\u4E3E `scope-mismatch | outdated | not-applicable | other:<text>`\u3002\n- **`KB: none` sentinel**: \u679A\u4E3E\u4E24\u79CD\u5408\u89C4\u7406\u7531\u2014\u2014`[no-relevant]` \u5DF2\u8C03 `fab_plan_context`(\u6216 hook \u8F93\u51FA\u53EF\u89C1)\u4F46\u65E0\u53EF\u7528\u6761\u76EE;`[not-applicable]` \u5F53\u524D\u52A8\u4F5C\u4E0D\u5728 cite \u8303\u56F4(\u7EAF\u63A2\u7D22 / Bash \u53EA\u8BFB / \u7528\u6237\u95EE\u7B54)\u3002\u88F8 `KB: none`(\u65E0\u540E\u7F00)\u4ECD\u7136 valid,\u5F52\u7C7B\u4E3A `[unspecified]`(legacy \u517C\u5BB9,\u9F13\u52B1\u540E\u7EED\u8865\u6CE8)\u3002\n- **\u7A3D\u6838**: `fab doctor --cite-coverage [--since=7d] [--client=cc|codex|all]` \u8F93\u51FA cite \u8986\u76D6\u7387,\u542B `KB: none` sentinel \u62C6\u5206\u3002\u672C\u89C4\u5219\u4E0D\u963B\u65AD\u4F60\u5DE5\u4F5C,\u53EA\u8BB0\u5F55\u3002\n";
54
+ declare const BOOTSTRAP_CANONICAL = "# Fabric Bootstrap\n\n\u672C\u9879\u76EE\u4F7F\u7528 Fabric \u7BA1\u7406\u8DE8\u5BA2\u6237\u7AEF AI \u77E5\u8BC6\u4E0E\u884C\u4E3A\u89C4\u5219\u3002\u672C\u6587\u4EF6\u7531 `fabric install` \u540C\u6B65\u5230\u4E09\u7AEF managed block,**\u4E0D\u8981\u624B\u52A8\u7F16\u8F91\u4E09\u7AEF\u7684 block**,\u53EA\u6539\u8FD9\u91CC + \u91CD\u8DD1 `fabric install`\u3002\n\n## For Developers\n\n\u8FD9\u4E2A\u6587\u4EF6\u662F **AI \u5BA2\u6237\u7AEF\u7684\u7B56\u7565\u4E0E\u89C4\u7EA6\u914D\u7F6E**,\u4E0D\u662F dev onboarding\u3002\u4F60\u4E0D\u9700\u8981\u8BFB Self-archive / Cite / Phase 0.4 \u7B49\u7EC6\u8282\u3002\n\u4F5C\u4E3A dev \u4F60\u53EA\u9700\u8981:\u5728\u6BCF\u4E2A repo \u8DD1\u4E00\u6B21 `fabric install`,\u51FA\u95EE\u9898\u8DD1 `fabric doctor`,\u5728 `.fabric/knowledge/<type>/` \u4E0B\u5199 markdown\u3002\n\u5B8C\u6574 5 \u5206\u949F\u7248 quickstart \u89C1 `docs/USER-QUICKSTART.md`\u3002**\u4E25\u7981\u624B\u52A8\u7F16\u8F91 `.fabric/agents.meta.json`** \u2014 \u6D3E\u751F\u72B6\u6001\u7531 engine \u91CD\u5EFA\u3002\n\n## \u884C\u4E3A\u89C4\u5219\n- **\u4FEE\u6539\u4EFB\u4F55\u6587\u4EF6\u524D**:\u4E24\u6B65\u8C03\u7528\u2014\u2014\u5148 `fab_plan_context(paths=[<\u88AB\u6539\u6587\u4EF6>])` \u62FF\u5230 `selection_token` \u4E0E\u5019\u9009 `entries`(\u6311 `selectable===true` \u7684 `stable_id`),\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>...] })` \u53D6\u89C4\u5219\u6B63\u6587\u3002\n- **`.fabric/agents.meta.json` \u4E25\u7981\u624B\u52A8\u7F16\u8F91**;engine \u4F1A\u81EA\u52A8\u540C\u6B65\u6D3E\u751F\u72B6\u6001,\u663E\u5F0F reconcile \u8DD1 `fabric doctor --fix`\u3002\n\n## \u77E5\u8BC6\u5E93(KB)\n- **Discovery**:SessionStart hook \u5217 broad-scoped \u6761\u76EE(\u542B personal layer `KP-*` \u6761\u76EE,\u5F15\u7528\u65B9\u5F0F\u76F8\u540C);edit \u6587\u4EF6\u65F6 PreToolUse hook \u53EF\u80FD\u89E6\u53D1 narrow hint\u3002\n- **Usage**:\u4E24\u6B65\u5F0F\u2014\u2014`fab_plan_context(paths=[...])` \u8FD4\u56DE `selection_token` + \u5019\u9009 entries,\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>...] })` \u62C9\u5168\u6587;`selection_token` \u5FC5\u987B\u6765\u81EA\u6700\u8FD1\u4E00\u6B21 `fab_plan_context`,\u4E0D\u53EF\u51ED\u7A7A\u7F16\u9020\u3002\n- **session_id**: \u8C03\u7528 `fab_plan_context` \u65F6, \u52A1\u5FC5\u628A\u5F53\u524D client session id \u4F5C\u4E3A `session_id` \u53C2\u6570\u4F20\u5165(Claude Code \u7684 session id \u5728 stdin payload \u4E2D, Codex \u7684\u5BF9\u5E94 identifier \u540C\u7406)\u3002\u8FD9\u80FD\u8BA9 `fabric doctor --archive-history` \u4E0E archive-hint hook \u51C6\u786E\u8BC6\u522B\u8DE8\u4F1A\u8BDD debt \u72B6\u6001\u3002\n- **Write flows**:`fabric-archive` / `fabric-review` / `fabric-import` \u4E09\u4E2A Skills\u3002\n- **Language**:\u6E32\u67D3\u6309 `.fabric/fabric-config.json` \u7684 `fabric_language` \u5B57\u6BB5\u3002\n\n## Self-archive policy\n\n- **\u89E6\u53D1**: \u672C\u4F1A\u8BDD\u51FA\u73B0\u4EE5\u4E0B\u4EFB\u4E00\u4FE1\u53F7, \u5728\u8BE5 turn \u56DE\u590D\u672B\u5C3E\u81EA\u4E3B\u8C03\u7528 `fabric-archive` skill (E3-strong mode):\n 1. **Normative \u8BED\u8A00** \u2014 \u7528\u6237\u6D88\u606F\u51FA\u73B0 `\u4EE5\u540E` / `always` / `never` / `from now on` / `\u4E0B\u6B21\u6CE8\u610F` / `\u8BB0\u4E00\u4E0B` / `\u6C38\u8FDC\u4E0D\u8981`\n 2. **Wrong-turn-and-revert** \u2014 AI \u5C1D\u8BD5 path X, \u53CD\u601D\u540E\u6539\u8D70 path Y (\u5C24\u5176\u5F53 path X \u662F\u975E\u663E\u7136\u8E29\u5751)\n 3. **Decision confirmation** \u2014 \u7528\u6237\u5728 \u22652 \u5019\u9009\u4E2D\u6743\u8861\u540E\u7ED9\u51FA rationale \u9501\u5B9A\u65B9\u5411\n 4. **Explicit dismissal with reason** \u2014 \u7528\u6237\u62D2\u4E86\u67D0\u5EFA\u8BAE**\u5E76**\u8BF4\u4E86\u539F\u56E0\n\n- **Anti-trigger** (\u660E\u786E\u4E0D\u89E6\u53D1):\n - \u7528\u6237\u7EAF\u8BE2\u95EE (\u65E0 normative \u8868\u8FBE)\n - \u7B80\u5355 refactor / typo fix\n - AI \u81EA\u5DF1\u4EA7\u751F\u7684'\u6D1E\u5BDF' (\u5FC5\u987B\u7531\u7528\u6237\u6D88\u606F\u4E2D\u4FE1\u53F7\u89E6\u53D1)\n\n- **Anti-loop \u4E09\u6761\u9632\u62A4**:\n - \u540C turn \u6700\u591A\u81EA\u8C03 1 \u6B21\n - \u540C session \u540C outcome \u4E0D\u91CD\u590D (\u82E5 user_dismissed, \u672C\u4F1A\u8BDD\u4E0D\u518D\u81EA\u8C03\u76F8\u540C\u4E3B\u9898)\n - Phase 0.5 viability gate \u515C\u5E95 (skill \u5185\u90E8\u4ECD\u8DD1 gate, AI \u5224\u9519\u4E0D\u4F1A\u4E71\u5199 pending)\n\n- **\u5448\u73B0\u6A21\u677F** (turn \u672B\u5C3E\u63D2\u5165, \u4E24\u884C: \u5148 marker \u884C\u4F9B Phase 0.4 \u68C0\u6D4B, \u518D user-facing \u63D0\u793A):\n ```\n self-archive policy triggered by signal: <Normative|Wrong-turn-and-revert|Decision confirmation|Explicit dismissal>\n \u987A\u624B\u5F52\u6863: \u6CE8\u610F\u5230\u4F60\u8BF4 `<\u89E6\u53D1\u77ED\u8BED>`, \u5DF2\u8C03\u7528 fabric-archive \u6293 N \u6761\u5019\u9009 \u2192 .fabric/knowledge/pending/...\n \u82E5\u4E0D\u8BE5\u8BB0, \u7B54 '\u64A4\u9500' \u6211\u4F1A\u8C03 fab_review reject\u3002\n ```\n \u7B2C\u4E00\u884C\u662F Phase 0.4 Trigger Gate \u7528\u6765\u8BC6\u522B E3 \u5165\u53E3\u7684 structured marker (verbatim \u5B57\u7B26\u4E32 `self-archive policy triggered by signal`, \u540E\u63A5\u5192\u53F7 + \u89E6\u53D1\u4FE1\u53F7\u540D)\u3002\u7B2C\u4E8C\u884C\u8D77\u662F\u7ED9\u7528\u6237\u770B\u7684\u4E2D\u6587\u63D0\u793A\u3002\u4E24\u884C\u90FD\u5FC5\u987B\u51FA\u73B0; \u7F3A marker \u884C Phase 0.4 \u65E0\u6CD5\u8DEF\u7531\u5230 E3_ai_self_trigger\u3002\n\n## Cite policy\n\n- **\u89E6\u53D1**: \u505A edit / decide / propose plan \u4E4B\u524D,**\u56DE\u590D\u9996\u884C**\u5FC5\u987B\u5199 `KB: <id> (<\u22648\u5B57 \u7528\u6CD5>) [planned|recalled|chained-from <id>|dismissed:<reason>]` \u6216 `KB: none [<reason>]`\u3002\n- **`[recalled]` \u9A8C\u8BC1**: \u5FC5\u987B\u7D27\u8DDF\u4E24\u6B65\u8C03\u7528\u2014\u2014\u5148 `fab_plan_context(paths=[...])` \u62FF `selection_token`,\u518D `fab_get_knowledge_sections({ selection_token, ai_selected_stable_ids: [<id>] })`,\u9632\u6B62\u7F16\u9020 id\u3002\n- **contract \u8BED\u6CD5**: decisions/pitfalls \u7C7B\u5F15\u7528\u5FC5\u987B\u5728\u5C3E\u6BB5\u52A0 contract: `\u2192 <operator> [<operator> ...]`,operator \u2208 {`edit:<glob>` `!edit:<glob>` `require:<symbol>` `forbid:<symbol>` `skip:<reason>`}\u3002\u4F8B:`KB: K-001 (auth) [planned] \u2192 edit:src/auth/**/*.ts !edit:src/legacy/**`\u3002\n- **skip reason \u8BCD\u5178**: `sequencing | conditional | semantic | aesthetic | architectural | other:<text>`\u3002\n- **type \u8DEF\u7531**: models \u7C7B\u5F15\u7528\u4E3A reference cite,\u4E0D\u9700\u8981 contract;guidelines/processes \u7C7B\u6682\u4E0D\u5F3A\u5236,\u63A8\u540E LLM-judge\u3002\n- **\u7528\u6237\u53E3\u5934\u63D0\u89C4\u5219\u6CA1\u7ED9 id**: \u5148\u8C03 `fab_extract_knowledge` \u6216 `search_context` \u53CD\u67E5\u3002\n- **dismissed reason**: \u679A\u4E3E `scope-mismatch | outdated | not-applicable | other:<text>`\u3002\n- **`KB: none` sentinel**: \u679A\u4E3E\u4E24\u79CD\u5408\u89C4\u7406\u7531\u2014\u2014`[no-relevant]` \u5DF2\u8C03 `fab_plan_context`(\u6216 hook \u8F93\u51FA\u53EF\u89C1)\u4F46\u65E0\u53EF\u7528\u6761\u76EE;`[not-applicable]` \u5F53\u524D\u52A8\u4F5C\u4E0D\u5728 cite \u8303\u56F4(\u7EAF\u63A2\u7D22 / Bash \u53EA\u8BFB / \u7528\u6237\u95EE\u7B54)\u3002\u88F8 `KB: none`(\u65E0\u540E\u7F00)\u4ECD\u7136 valid,\u5F52\u7C7B\u4E3A `[unspecified]`(legacy \u517C\u5BB9,\u9F13\u52B1\u540E\u7EED\u8865\u6CE8)\u3002\n- **\u7A3D\u6838**: `fabric doctor --cite-coverage [--since=7d] [--client=cc|codex|all]` \u8F93\u51FA cite \u8986\u76D6\u7387,\u542B `KB: none` sentinel \u62C6\u5206\u3002\u672C\u89C4\u5219\u4E0D\u963B\u65AD\u4F60\u5DE5\u4F5C,\u53EA\u8BB0\u5F55\u3002\n";
55
55
 
56
56
  export { BOOTSTRAP_CANONICAL, BOOTSTRAP_MARKER_BEGIN, BOOTSTRAP_MARKER_END, BOOTSTRAP_REGEX, LEGACY_KB_MARKER_BEGIN, LEGACY_KB_MARKER_END, LEGACY_KB_REGEX };
@@ -6,7 +6,7 @@ import {
6
6
  LEGACY_KB_MARKER_BEGIN,
7
7
  LEGACY_KB_MARKER_END,
8
8
  LEGACY_KB_REGEX
9
- } from "../chunk-4OQXR6JW.js";
9
+ } from "../chunk-COWUGYWC.js";
10
10
  export {
11
11
  BOOTSTRAP_CANONICAL,
12
12
  BOOTSTRAP_MARKER_BEGIN,
@@ -1,2 +1,2 @@
1
- export { e as AgentsActivationTier, a as AgentsIdentitySource, b as AgentsLayer, d as AgentsMeta, g as AgentsMetaCountersEnvelope, h as AgentsMetaKnowledgeTypeCounters, A as AgentsMetaNode, i as AgentsMetaNodeActivation, c as AgentsTopologyType, j as AiLedgerEntry, k as AuditMode, C as ClientPaths, D as DefaultLayerFilter, F as FabricConfig, l as FabricLanguage, m as HumanLedgerEntry, H as HumanLockEntry, L as LedgerEntry, M as McpPayloadLimits, R as RuleDescription, n as RuleDescriptionIndexItem } from '../index-Crx0-0-9.js';
1
+ export { e as AgentsActivationTier, a as AgentsIdentitySource, b as AgentsLayer, d as AgentsMeta, g as AgentsMetaCountersEnvelope, h as AgentsMetaKnowledgeTypeCounters, A as AgentsMetaNode, i as AgentsMetaNodeActivation, c as AgentsTopologyType, j as AiLedgerEntry, k as AuditMode, C as ClientPaths, D as DefaultLayerFilter, F as FabricConfig, l as FabricLanguage, m as HumanLedgerEntry, H as HumanLockEntry, L as LedgerEntry, M as McpPayloadLimits, R as RuleDescription, n as RuleDescriptionIndexItem } from '../index-BjssYQb3.js';
2
2
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fenglimg/fabric-shared",
3
- "version": "2.0.0-rc.33",
3
+ "version": "2.0.0-rc.35",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",