@fenglimg/fabric-cli 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{bootstrap-3PUKUYTY.js → bootstrap-B6RCVJZJ.js} +2 -2
- package/dist/{chunk-VOQKQ6W2.js → chunk-BEKSXO5N.js} +10 -2
- package/dist/{chunk-XFSQM3LJ.js → chunk-BVTMVW5M.js} +1 -1
- package/dist/{chunk-TKTWHAKV.js → chunk-XQYY2U2C.js} +1 -1
- package/dist/{config-GINBGANU.js → config-EC5L2QNI.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/{init-T3LGMGAO.js → init-QC2MLFHR.js} +770 -253
- package/dist/{update-AN3FYF2O.js → update-FY2WKWPB.js} +2 -2
- package/package.json +4 -3
- package/templates/codex-hooks/fabric-session-start.cjs +19 -0
- package/templates/codex-hooks/fabric-stop-reminder.cjs +18 -0
- package/templates/codex-skills/fabric-init/SKILL.md +27 -0
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
bootstrapCommand,
|
|
4
4
|
bootstrap_default,
|
|
5
5
|
installBootstrap
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XQYY2U2C.js";
|
|
7
7
|
import "./chunk-AZRKMFRY.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-BEKSXO5N.js";
|
|
9
9
|
import "./chunk-AEOYCVBG.js";
|
|
10
10
|
import "./chunk-WWNXR34K.js";
|
|
11
11
|
import "./chunk-6ICJICVU.js";
|
|
@@ -345,6 +345,10 @@ function detectClientSupports(workspaceRoot, fabricConfig = {}) {
|
|
|
345
345
|
mcp: true,
|
|
346
346
|
hook: true,
|
|
347
347
|
skill: true
|
|
348
|
+
},
|
|
349
|
+
installedCapabilities: {
|
|
350
|
+
hook: true,
|
|
351
|
+
skill: true
|
|
348
352
|
}
|
|
349
353
|
},
|
|
350
354
|
{
|
|
@@ -421,8 +425,12 @@ function detectClientSupports(workspaceRoot, fabricConfig = {}) {
|
|
|
421
425
|
capabilities: {
|
|
422
426
|
bootstrap: true,
|
|
423
427
|
mcp: true,
|
|
424
|
-
hook:
|
|
425
|
-
skill:
|
|
428
|
+
hook: true,
|
|
429
|
+
skill: true
|
|
430
|
+
},
|
|
431
|
+
installedCapabilities: {
|
|
432
|
+
hook: existsSync4(join4(workspaceRoot, ".codex", "hooks.json")),
|
|
433
|
+
skill: existsSync4(join4(workspaceRoot, ".agents", "skills", "fabric-init", "SKILL.md"))
|
|
426
434
|
}
|
|
427
435
|
}
|
|
428
436
|
];
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
config_default,
|
|
5
5
|
installMcpClients,
|
|
6
6
|
parseClientFilter
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BVTMVW5M.js";
|
|
8
|
+
import "./chunk-BEKSXO5N.js";
|
|
9
9
|
import "./chunk-YDZJRLHL.js";
|
|
10
10
|
import "./chunk-6ICJICVU.js";
|
|
11
11
|
export {
|
package/dist/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import { defineCommand, runMain } from "citty";
|
|
|
8
8
|
|
|
9
9
|
// src/commands/index.ts
|
|
10
10
|
var allCommands = {
|
|
11
|
-
init: () => import("./init-
|
|
12
|
-
update: () => import("./update-
|
|
11
|
+
init: () => import("./init-QC2MLFHR.js").then((module) => module.default),
|
|
12
|
+
update: () => import("./update-FY2WKWPB.js").then((module) => module.default),
|
|
13
13
|
scan: () => import("./scan-43R3IBLR.js").then((module) => module.default),
|
|
14
14
|
serve: () => import("./serve-4J2CQY25.js").then((module) => module.default),
|
|
15
15
|
doctor: () => import("./doctor-QTSG2RWF.js").then((module) => module.default),
|
|
@@ -17,8 +17,8 @@ var allCommands = {
|
|
|
17
17
|
"human-lint": () => import("./human-lint-YSFOZHZ7.js").then((module) => module.default),
|
|
18
18
|
"ledger-append": () => import("./ledger-append-DULKJ6Q2.js").then((module) => module.default),
|
|
19
19
|
"pre-commit": () => import("./pre-commit-IK6SJOPT.js").then((module) => module.default),
|
|
20
|
-
bootstrap: () => import("./bootstrap-
|
|
21
|
-
config: () => import("./config-
|
|
20
|
+
bootstrap: () => import("./bootstrap-B6RCVJZJ.js").then((module) => module.default),
|
|
21
|
+
config: () => import("./config-EC5L2QNI.js").then((module) => module.configCmd),
|
|
22
22
|
hooks: () => import("./hooks-ZSWVH2JD.js").then((module) => ({
|
|
23
23
|
...module.default,
|
|
24
24
|
meta: {
|
|
@@ -32,7 +32,7 @@ var allCommands = {
|
|
|
32
32
|
var main = defineCommand({
|
|
33
33
|
meta: {
|
|
34
34
|
name: "fabric",
|
|
35
|
-
version: "1.
|
|
35
|
+
version: "1.4.0",
|
|
36
36
|
description: 'Initialize and manage Fabric projects. Use "fabric init" for one-shot setup.'
|
|
37
37
|
},
|
|
38
38
|
subCommands: allCommands
|