@fenglimg/fabric-shared 2.0.0-rc.27 → 2.0.0-rc.28
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-LXQ77R3D.js → chunk-DXQVLDEB.js} +10 -0
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +1 -1
|
@@ -267,6 +267,11 @@ var enMessages = {
|
|
|
267
267
|
"doctor.check.event_ledger_schema_compat.message.schema_version": "events.jsonl has {count} row(s) with unsupported `schema_version` (samples: {samples}).",
|
|
268
268
|
"doctor.check.event_ledger_schema_compat.message.event_type": "events.jsonl has {count} row(s) with unknown `event_type` (samples: {samples}).",
|
|
269
269
|
"doctor.check.event_ledger_schema_compat.remediation": "Either upgrade the fab CLI to a server-compatible version, or archive `.fabric/events.jsonl` and run `fab doctor --fix` to recreate a fresh ledger.",
|
|
270
|
+
// v2.0.0-rc.28 TASK-04 (audit §3.1): SKILL ref/ mirror parity check.
|
|
271
|
+
"doctor.check.skill_ref_mirror.name": "Skill ref mirror parity",
|
|
272
|
+
"doctor.check.skill_ref_mirror.ok": "All `.claude/skills/<slug>/ref/` and `.codex/skills/<slug>/ref/` files are byte-identical.",
|
|
273
|
+
"doctor.check.skill_ref_mirror.message": "{count} skill ref file(s) differ between `.claude/skills/` and `.codex/skills/` (paths: {list}). One client was hand-edited or partially installed.",
|
|
274
|
+
"doctor.check.skill_ref_mirror.remediation": "Run `fab install` to rewrite both client subtrees from the canonical templates and restore parity.",
|
|
270
275
|
"doctor.check.meta_manually_diverged.name": "Meta manual divergence",
|
|
271
276
|
"doctor.check.meta_manually_diverged.ok.unreadable": "agents.meta.json not readable; skipping divergence check.",
|
|
272
277
|
"doctor.check.meta_manually_diverged.message.extra.singular": "agents.meta.json has {count} entry with no backing file on disk. Run --fix to reconcile.",
|
|
@@ -1073,6 +1078,11 @@ var zhCNMessages = {
|
|
|
1073
1078
|
"doctor.check.event_ledger_schema_compat.message.schema_version": "events.jsonl \u542B {count} \u884C `schema_version` \u4E0D\u88AB\u5F53\u524D CLI \u8BC6\u522B\uFF08\u6837\u672C: {samples}\uFF09\u3002",
|
|
1074
1079
|
"doctor.check.event_ledger_schema_compat.message.event_type": "events.jsonl \u542B {count} \u884C `event_type` \u4E0D\u5728\u5F53\u524D schema \u4E2D\uFF08\u6837\u672C: {samples}\uFF09\u3002",
|
|
1075
1080
|
"doctor.check.event_ledger_schema_compat.remediation": "\u5347\u7EA7 fab CLI \u5230\u4E0E server \u517C\u5BB9\u7684\u7248\u672C\uFF0C\u6216\u5907\u4EFD `.fabric/events.jsonl` \u540E\u8DD1 `fab doctor --fix` \u91CD\u5EFA\u7A7A ledger\u3002",
|
|
1081
|
+
// v2.0.0-rc.28 TASK-04 (audit §3.1): SKILL ref/ 镜像一致性检查。
|
|
1082
|
+
"doctor.check.skill_ref_mirror.name": "Skill ref \u955C\u50CF\u4E00\u81F4\u6027",
|
|
1083
|
+
"doctor.check.skill_ref_mirror.ok": "`.claude/skills/<slug>/ref/` \u4E0E `.codex/skills/<slug>/ref/` \u5B57\u8282\u4E00\u81F4\u3002",
|
|
1084
|
+
"doctor.check.skill_ref_mirror.message": "\u6709 {count} \u4E2A ref \u6587\u4EF6\u5728 `.claude/skills/` \u4E0E `.codex/skills/` \u4E4B\u95F4\u4E0D\u4E00\u81F4\uFF08\u8DEF\u5F84: {list}\uFF09\u3002\u53EF\u80FD\u67D0\u7AEF\u88AB\u624B\u52A8\u7F16\u8F91\u6216 install \u5199\u5165\u5931\u8D25\u3002",
|
|
1085
|
+
"doctor.check.skill_ref_mirror.remediation": "\u8DD1 `fab install` \u4ECE canonical templates \u91CD\u5199\u4E24\u7AEF ref \u5B50\u6811\u4EE5\u6062\u590D\u4E00\u81F4\u3002",
|
|
1076
1086
|
"doctor.check.meta_manually_diverged.name": "Meta manual divergence",
|
|
1077
1087
|
"doctor.check.meta_manually_diverged.ok.unreadable": "agents.meta.json \u4E0D\u53EF\u8BFB\uFF0C\u8DF3\u8FC7 divergence \u68C0\u67E5\u3002",
|
|
1078
1088
|
"doctor.check.meta_manually_diverged.message.extra.singular": "agents.meta.json \u4E2D\u6709 {count} \u4E2A entry \u5728\u78C1\u76D8\u4E0A\u6CA1\u6709\u5BF9\u5E94\u6587\u4EF6\u3002\u8FD0\u884C --fix \u6267\u884C reconcile\u3002",
|
package/dist/i18n/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
BOOTSTRAP_CANONICAL,
|
|
3
|
+
BOOTSTRAP_MARKER_BEGIN,
|
|
4
|
+
BOOTSTRAP_MARKER_END,
|
|
5
|
+
BOOTSTRAP_REGEX,
|
|
6
|
+
LEGACY_KB_MARKER_BEGIN,
|
|
7
|
+
LEGACY_KB_MARKER_END,
|
|
8
|
+
LEGACY_KB_REGEX
|
|
9
|
+
} from "./chunk-4OQXR6JW.js";
|
|
2
10
|
import {
|
|
3
11
|
PROTECTED_TOKENS,
|
|
4
12
|
createTranslator,
|
|
@@ -8,7 +16,7 @@ import {
|
|
|
8
16
|
normalizeLocale,
|
|
9
17
|
resolveFabricLocale,
|
|
10
18
|
zhCNMessages
|
|
11
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DXQVLDEB.js";
|
|
12
20
|
import {
|
|
13
21
|
FabExtractKnowledgeInputSchema,
|
|
14
22
|
FabExtractKnowledgeInputShape,
|
|
@@ -51,15 +59,7 @@ import {
|
|
|
51
59
|
planContextOutputSchema,
|
|
52
60
|
structuredWarningSchema
|
|
53
61
|
} from "./chunk-G32HVF7H.js";
|
|
54
|
-
import
|
|
55
|
-
BOOTSTRAP_CANONICAL,
|
|
56
|
-
BOOTSTRAP_MARKER_BEGIN,
|
|
57
|
-
BOOTSTRAP_MARKER_END,
|
|
58
|
-
BOOTSTRAP_REGEX,
|
|
59
|
-
LEGACY_KB_MARKER_BEGIN,
|
|
60
|
-
LEGACY_KB_MARKER_END,
|
|
61
|
-
LEGACY_KB_REGEX
|
|
62
|
-
} from "./chunk-4OQXR6JW.js";
|
|
62
|
+
import "./chunk-LXNCAKJZ.js";
|
|
63
63
|
|
|
64
64
|
// src/schemas/agents-meta.ts
|
|
65
65
|
import { z } from "zod";
|