@fenglimg/fabric-shared 1.8.0-rc.1 → 1.8.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/{chunk-7A3RSITZ.js → chunk-FEEWLYO3.js} +6 -6
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +126 -2
- package/dist/index.js +17 -1
- package/package.json +1 -1
|
@@ -165,9 +165,9 @@ var enMessages = {
|
|
|
165
165
|
"cli.init.capabilities.follow-up.install": "install client assets",
|
|
166
166
|
"cli.init.capabilities.follow-up.manual": "manual step required",
|
|
167
167
|
"cli.init.next-step.message": "run fab hooks install to add the Day 4 pre-commit pipeline.",
|
|
168
|
-
"cli.init.reason-message.claude-body": ".fabric/forensic.json is ready; use the
|
|
169
|
-
"cli.init.reason-message.codex-body": ".fabric/forensic.json is ready; continue with the repo skill at .
|
|
170
|
-
"cli.init.reason-message.multi-body": ".fabric/forensic.json is ready; continue in your installed client flow: Claude can use
|
|
168
|
+
"cli.init.reason-message.claude-body": ".fabric/forensic.json is ready; use the fabric-init skill to finish internal Fabric initialization.",
|
|
169
|
+
"cli.init.reason-message.codex-body": ".fabric/forensic.json is ready; continue with the repo skill at .codex/skills/fabric-init/SKILL.md and enable features.codex_hooks = true for Codex hooks.",
|
|
170
|
+
"cli.init.reason-message.multi-body": ".fabric/forensic.json is ready; continue in your installed client flow: Claude can use fabric-init, and Codex can use .codex/skills/fabric-init/SKILL.md with features.codex_hooks = true.",
|
|
171
171
|
"cli.init.reason-message.installable-body": ".fabric/forensic.json is ready; some detected clients support Fabric follow-up but still need client assets installed.",
|
|
172
172
|
"cli.init.reason-message.manual-body": ".fabric/forensic.json is ready; some detected clients still need manual follow-up because no Fabric skill is installed for them yet.",
|
|
173
173
|
"cli.init.codex-hooks.created": "{label} {path} with Codex hooks config (requires features.codex_hooks = true).",
|
|
@@ -600,9 +600,9 @@ var zhCNMessages = {
|
|
|
600
600
|
"cli.init.capabilities.follow-up.install": "\u5B89\u88C5\u5BA2\u6237\u7AEF\u8D44\u4EA7",
|
|
601
601
|
"cli.init.capabilities.follow-up.manual": "\u9700\u8981\u624B\u52A8\u540E\u7EED\u5904\u7406",
|
|
602
602
|
"cli.init.next-step.message": "\u8FD0\u884C fab hooks install \u4EE5\u6DFB\u52A0\u7B2C 4 \u5929\u7684 pre-commit \u6D41\u6C34\u7EBF\u3002",
|
|
603
|
-
"cli.init.reason-message.claude-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u4F7F\u7528
|
|
604
|
-
"cli.init.reason-message.codex-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u7EE7\u7EED\u4F7F\u7528\u4ED3\u5E93\u5185\u7684 .
|
|
605
|
-
"cli.init.reason-message.multi-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u6309\u5DF2\u5B89\u88C5\u5BA2\u6237\u7AEF\u7EE7\u7EED\u540E\u7EED\u6D41\u7A0B\uFF1AClaude \u4F7F\u7528
|
|
603
|
+
"cli.init.reason-message.claude-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u4F7F\u7528 fabric-init skill \u5B8C\u6210 Fabric \u5185\u90E8\u521D\u59CB\u5316\u3002",
|
|
604
|
+
"cli.init.reason-message.codex-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u7EE7\u7EED\u4F7F\u7528\u4ED3\u5E93\u5185\u7684 .codex/skills/fabric-init/SKILL.md\uFF0C\u5E76\u4E3A Codex hooks \u542F\u7528 features.codex_hooks = true\u3002",
|
|
605
|
+
"cli.init.reason-message.multi-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u8BF7\u6309\u5DF2\u5B89\u88C5\u5BA2\u6237\u7AEF\u7EE7\u7EED\u540E\u7EED\u6D41\u7A0B\uFF1AClaude \u4F7F\u7528 fabric-init\uFF0CCodex \u4F7F\u7528 .codex/skills/fabric-init/SKILL.md\uFF0C\u5E76\u542F\u7528 features.codex_hooks = true\u3002",
|
|
606
606
|
"cli.init.reason-message.installable-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u90E8\u5206\u5DF2\u68C0\u6D4B\u5230\u7684\u5BA2\u6237\u7AEF\u5DF2\u652F\u6301 Fabric \u540E\u7EED\u63A5\u529B\uFF0C\u4F46\u4ECD\u9700\u5B89\u88C5\u5BA2\u6237\u7AEF\u8D44\u4EA7\u3002",
|
|
607
607
|
"cli.init.reason-message.manual-body": ".fabric/forensic.json \u5DF2\u5C31\u7EEA\uFF1B\u90E8\u5206\u5DF2\u68C0\u6D4B\u5230\u7684\u5BA2\u6237\u7AEF\u5C1A\u672A\u5B89\u88C5 Fabric skill\uFF0C\u9700\u8981\u624B\u52A8\u5B8C\u6210\u540E\u7EED\u521D\u59CB\u5316\u3002",
|
|
608
608
|
"cli.init.codex-hooks.created": "{label} {path}\uFF0C\u5E76\u5199\u5165 Codex hooks \u914D\u7F6E\uFF08\u9700\u542F\u7528 features.codex_hooks = true\uFF09\u3002",
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4126,6 +4126,68 @@ declare const claudeSkillPathMigratedEventSchema: z.ZodObject<{
|
|
|
4126
4126
|
correlation_id?: string | undefined;
|
|
4127
4127
|
session_id?: string | undefined;
|
|
4128
4128
|
}>;
|
|
4129
|
+
declare const claudeHookPathMigratedEventSchema: z.ZodObject<{
|
|
4130
|
+
event_type: z.ZodLiteral<"claude_hook_path_migrated">;
|
|
4131
|
+
from: z.ZodString;
|
|
4132
|
+
to: z.ZodString;
|
|
4133
|
+
kind: z.ZodLiteral<"fabric-event">;
|
|
4134
|
+
id: z.ZodString;
|
|
4135
|
+
ts: z.ZodNumber;
|
|
4136
|
+
schema_version: z.ZodLiteral<1>;
|
|
4137
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
4138
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4139
|
+
}, "strip", z.ZodTypeAny, {
|
|
4140
|
+
schema_version: 1;
|
|
4141
|
+
ts: number;
|
|
4142
|
+
id: string;
|
|
4143
|
+
kind: "fabric-event";
|
|
4144
|
+
event_type: "claude_hook_path_migrated";
|
|
4145
|
+
from: string;
|
|
4146
|
+
to: string;
|
|
4147
|
+
correlation_id?: string | undefined;
|
|
4148
|
+
session_id?: string | undefined;
|
|
4149
|
+
}, {
|
|
4150
|
+
schema_version: 1;
|
|
4151
|
+
ts: number;
|
|
4152
|
+
id: string;
|
|
4153
|
+
kind: "fabric-event";
|
|
4154
|
+
event_type: "claude_hook_path_migrated";
|
|
4155
|
+
from: string;
|
|
4156
|
+
to: string;
|
|
4157
|
+
correlation_id?: string | undefined;
|
|
4158
|
+
session_id?: string | undefined;
|
|
4159
|
+
}>;
|
|
4160
|
+
declare const codexSkillPathMigratedEventSchema: z.ZodObject<{
|
|
4161
|
+
event_type: z.ZodLiteral<"codex_skill_path_migrated">;
|
|
4162
|
+
from: z.ZodString;
|
|
4163
|
+
to: z.ZodString;
|
|
4164
|
+
kind: z.ZodLiteral<"fabric-event">;
|
|
4165
|
+
id: z.ZodString;
|
|
4166
|
+
ts: z.ZodNumber;
|
|
4167
|
+
schema_version: z.ZodLiteral<1>;
|
|
4168
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
4169
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4170
|
+
}, "strip", z.ZodTypeAny, {
|
|
4171
|
+
schema_version: 1;
|
|
4172
|
+
ts: number;
|
|
4173
|
+
id: string;
|
|
4174
|
+
kind: "fabric-event";
|
|
4175
|
+
event_type: "codex_skill_path_migrated";
|
|
4176
|
+
from: string;
|
|
4177
|
+
to: string;
|
|
4178
|
+
correlation_id?: string | undefined;
|
|
4179
|
+
session_id?: string | undefined;
|
|
4180
|
+
}, {
|
|
4181
|
+
schema_version: 1;
|
|
4182
|
+
ts: number;
|
|
4183
|
+
id: string;
|
|
4184
|
+
kind: "fabric-event";
|
|
4185
|
+
event_type: "codex_skill_path_migrated";
|
|
4186
|
+
from: string;
|
|
4187
|
+
to: string;
|
|
4188
|
+
correlation_id?: string | undefined;
|
|
4189
|
+
session_id?: string | undefined;
|
|
4190
|
+
}>;
|
|
4129
4191
|
declare const legacyClientPathPresentEventSchema: z.ZodObject<{
|
|
4130
4192
|
event_type: z.ZodLiteral<"legacy_client_path_present">;
|
|
4131
4193
|
removed: z.ZodArray<z.ZodString, "many">;
|
|
@@ -4725,6 +4787,66 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
|
|
|
4725
4787
|
to: string;
|
|
4726
4788
|
correlation_id?: string | undefined;
|
|
4727
4789
|
session_id?: string | undefined;
|
|
4790
|
+
}>, z.ZodObject<{
|
|
4791
|
+
event_type: z.ZodLiteral<"claude_hook_path_migrated">;
|
|
4792
|
+
from: z.ZodString;
|
|
4793
|
+
to: z.ZodString;
|
|
4794
|
+
kind: z.ZodLiteral<"fabric-event">;
|
|
4795
|
+
id: z.ZodString;
|
|
4796
|
+
ts: z.ZodNumber;
|
|
4797
|
+
schema_version: z.ZodLiteral<1>;
|
|
4798
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
4799
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4800
|
+
}, "strip", z.ZodTypeAny, {
|
|
4801
|
+
schema_version: 1;
|
|
4802
|
+
ts: number;
|
|
4803
|
+
id: string;
|
|
4804
|
+
kind: "fabric-event";
|
|
4805
|
+
event_type: "claude_hook_path_migrated";
|
|
4806
|
+
from: string;
|
|
4807
|
+
to: string;
|
|
4808
|
+
correlation_id?: string | undefined;
|
|
4809
|
+
session_id?: string | undefined;
|
|
4810
|
+
}, {
|
|
4811
|
+
schema_version: 1;
|
|
4812
|
+
ts: number;
|
|
4813
|
+
id: string;
|
|
4814
|
+
kind: "fabric-event";
|
|
4815
|
+
event_type: "claude_hook_path_migrated";
|
|
4816
|
+
from: string;
|
|
4817
|
+
to: string;
|
|
4818
|
+
correlation_id?: string | undefined;
|
|
4819
|
+
session_id?: string | undefined;
|
|
4820
|
+
}>, z.ZodObject<{
|
|
4821
|
+
event_type: z.ZodLiteral<"codex_skill_path_migrated">;
|
|
4822
|
+
from: z.ZodString;
|
|
4823
|
+
to: z.ZodString;
|
|
4824
|
+
kind: z.ZodLiteral<"fabric-event">;
|
|
4825
|
+
id: z.ZodString;
|
|
4826
|
+
ts: z.ZodNumber;
|
|
4827
|
+
schema_version: z.ZodLiteral<1>;
|
|
4828
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
4829
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4830
|
+
}, "strip", z.ZodTypeAny, {
|
|
4831
|
+
schema_version: 1;
|
|
4832
|
+
ts: number;
|
|
4833
|
+
id: string;
|
|
4834
|
+
kind: "fabric-event";
|
|
4835
|
+
event_type: "codex_skill_path_migrated";
|
|
4836
|
+
from: string;
|
|
4837
|
+
to: string;
|
|
4838
|
+
correlation_id?: string | undefined;
|
|
4839
|
+
session_id?: string | undefined;
|
|
4840
|
+
}, {
|
|
4841
|
+
schema_version: 1;
|
|
4842
|
+
ts: number;
|
|
4843
|
+
id: string;
|
|
4844
|
+
kind: "fabric-event";
|
|
4845
|
+
event_type: "codex_skill_path_migrated";
|
|
4846
|
+
from: string;
|
|
4847
|
+
to: string;
|
|
4848
|
+
correlation_id?: string | undefined;
|
|
4849
|
+
session_id?: string | undefined;
|
|
4728
4850
|
}>, z.ZodObject<{
|
|
4729
4851
|
event_type: z.ZodLiteral<"legacy_client_path_present">;
|
|
4730
4852
|
removed: z.ZodArray<z.ZodString, "many">;
|
|
@@ -4767,10 +4889,12 @@ type McpConfigMigratedEvent = z.infer<typeof mcpConfigMigratedEventSchema>;
|
|
|
4767
4889
|
type MetaReconciledOnStartupEvent = z.infer<typeof metaReconciledOnStartupEventSchema>;
|
|
4768
4890
|
type MetaReconciledEvent = z.infer<typeof metaReconciledEventSchema>;
|
|
4769
4891
|
type ClaudeSkillPathMigratedEvent = z.infer<typeof claudeSkillPathMigratedEventSchema>;
|
|
4892
|
+
type ClaudeHookPathMigratedEvent = z.infer<typeof claudeHookPathMigratedEventSchema>;
|
|
4893
|
+
type CodexSkillPathMigratedEvent = z.infer<typeof codexSkillPathMigratedEventSchema>;
|
|
4770
4894
|
type LegacyClientPathPresentEvent = z.infer<typeof legacyClientPathPresentEventSchema>;
|
|
4771
|
-
type EventLedgerEvent = RuleContextPlannedEvent | RuleSelectionEvent | RuleSectionsFetchedEvent | EditIntentCheckedEvent | RuleDriftDetectedEvent | RuleBaselineAcceptedEvent | BaselineSyncedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | LegacyClientPathPresentEvent;
|
|
4895
|
+
type EventLedgerEvent = RuleContextPlannedEvent | RuleSelectionEvent | RuleSectionsFetchedEvent | EditIntentCheckedEvent | RuleDriftDetectedEvent | RuleBaselineAcceptedEvent | BaselineSyncedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | EventLedgerTruncatedEvent | McpConfigMigratedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | LegacyClientPathPresentEvent;
|
|
4772
4896
|
type EventLedgerEventType = EventLedgerEvent["event_type"];
|
|
4773
4897
|
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;
|
|
4774
4898
|
type EventLedgerEventInput = EventLedgerEventInputFor<EventLedgerEvent>;
|
|
4775
4899
|
|
|
4776
|
-
export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, AgentsMetaNode, AgentsTopologyType, type BaselineSyncedEvent, type CandidateFileEntry, type CandidateFileFamily, type ClaudeSkillPathMigratedEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, 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 LedgerAppendedEvent, LedgerEntry, type LegacyClientPathPresentEvent, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, RULE_TEST_INDEX_SCHEMA_VERSION, type ReapplyCompletedEvent, type RuleBaselineAcceptedEvent, type RuleContextPlannedEvent, type RuleDriftDetectedEvent, type RuleSectionsFetchedEvent, type RuleSelectionEvent, type RuleTestIndex, type RuleTestLink, type RuleTestOrphanAnnotation, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, auditModeSchema, baselineSyncedEventSchema, candidateFileEntrySchema, claudeSkillPathMigratedEventSchema, clientPathsSchema, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, driftDetectedEventSchema, editIntentCheckedEventSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, fabricConfigSchema, fabricEventSchema, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, ledgerAppendedEventSchema, ledgerEntrySchema, legacyClientPathPresentEventSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, mcpPayloadLimitsSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, reapplyCompletedEventSchema, ruleBaselineAcceptedEventSchema, ruleContextPlannedEventSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, ruleDriftDetectedEventSchema, ruleSectionsFetchedEventSchema, ruleSelectionEventSchema, ruleTestIndexSchema, ruleTestLinkSchema, ruleTestOrphanAnnotationSchema, withDerivedAgentsMetaNodeDefaults };
|
|
4900
|
+
export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_LAYERS, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsLayer, AgentsMeta, AgentsMetaNode, AgentsTopologyType, type BaselineSyncedEvent, type CandidateFileEntry, type CandidateFileFamily, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type CodexSkillPathMigratedEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, 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 LedgerAppendedEvent, LedgerEntry, type LegacyClientPathPresentEvent, type LockApprovedEvent, type LockDriftEvent, type McpConfigMigratedEvent, type McpEventLedgerEvent, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, RULE_TEST_INDEX_SCHEMA_VERSION, type ReapplyCompletedEvent, type RuleBaselineAcceptedEvent, type RuleContextPlannedEvent, type RuleDriftDetectedEvent, type RuleSectionsFetchedEvent, type RuleSelectionEvent, type RuleTestIndex, type RuleTestLink, type RuleTestOrphanAnnotation, agentsIdentitySourceSchema, agentsLayerSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aiLedgerEntrySchema, auditModeSchema, baselineSyncedEventSchema, candidateFileEntrySchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, clientPathsSchema, codexSkillPathMigratedEventSchema, deriveAgentsMetaIdentitySource, deriveAgentsMetaLayer, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, driftDetectedEventSchema, editIntentCheckedEventSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, fabricConfigSchema, fabricEventSchema, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, ledgerAppendedEventSchema, ledgerEntrySchema, legacyClientPathPresentEventSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpConfigMigratedEventSchema, mcpEventLedgerEventSchema, mcpPayloadLimitsSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, reapplyCompletedEventSchema, ruleBaselineAcceptedEventSchema, ruleContextPlannedEventSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, ruleDriftDetectedEventSchema, ruleSectionsFetchedEventSchema, ruleSelectionEventSchema, ruleTestIndexSchema, ruleTestLinkSchema, ruleTestOrphanAnnotationSchema, withDerivedAgentsMetaNodeDefaults };
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
enMessages,
|
|
8
8
|
normalizeLocale,
|
|
9
9
|
zhCNMessages
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FEEWLYO3.js";
|
|
11
11
|
import {
|
|
12
12
|
annotateIntentRequestSchema,
|
|
13
13
|
getRulesAnnotations,
|
|
@@ -541,6 +541,18 @@ var claudeSkillPathMigratedEventSchema = z9.object({
|
|
|
541
541
|
from: z9.string(),
|
|
542
542
|
to: z9.string()
|
|
543
543
|
});
|
|
544
|
+
var claudeHookPathMigratedEventSchema = z9.object({
|
|
545
|
+
...eventLedgerEnvelopeSchema,
|
|
546
|
+
event_type: z9.literal("claude_hook_path_migrated"),
|
|
547
|
+
from: z9.string(),
|
|
548
|
+
to: z9.string()
|
|
549
|
+
});
|
|
550
|
+
var codexSkillPathMigratedEventSchema = z9.object({
|
|
551
|
+
...eventLedgerEnvelopeSchema,
|
|
552
|
+
event_type: z9.literal("codex_skill_path_migrated"),
|
|
553
|
+
from: z9.string(),
|
|
554
|
+
to: z9.string()
|
|
555
|
+
});
|
|
544
556
|
var legacyClientPathPresentEventSchema = z9.object({
|
|
545
557
|
...eventLedgerEnvelopeSchema,
|
|
546
558
|
event_type: z9.literal("legacy_client_path_present"),
|
|
@@ -561,6 +573,8 @@ var eventLedgerEventSchema = z9.discriminatedUnion("event_type", [
|
|
|
561
573
|
metaReconciledOnStartupEventSchema,
|
|
562
574
|
metaReconciledEventSchema,
|
|
563
575
|
claudeSkillPathMigratedEventSchema,
|
|
576
|
+
claudeHookPathMigratedEventSchema,
|
|
577
|
+
codexSkillPathMigratedEventSchema,
|
|
564
578
|
legacyClientPathPresentEventSchema
|
|
565
579
|
]);
|
|
566
580
|
export {
|
|
@@ -579,8 +593,10 @@ export {
|
|
|
579
593
|
auditModeSchema,
|
|
580
594
|
baselineSyncedEventSchema,
|
|
581
595
|
candidateFileEntrySchema,
|
|
596
|
+
claudeHookPathMigratedEventSchema,
|
|
582
597
|
claudeSkillPathMigratedEventSchema,
|
|
583
598
|
clientPathsSchema,
|
|
599
|
+
codexSkillPathMigratedEventSchema,
|
|
584
600
|
createTranslator,
|
|
585
601
|
defaultMessages,
|
|
586
602
|
deriveAgentsMetaIdentitySource,
|