@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.
@@ -3,9 +3,9 @@ import {
3
3
  bootstrapCommand,
4
4
  bootstrap_default,
5
5
  installBootstrap
6
- } from "./chunk-TKTWHAKV.js";
6
+ } from "./chunk-XQYY2U2C.js";
7
7
  import "./chunk-AZRKMFRY.js";
8
- import "./chunk-VOQKQ6W2.js";
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: false,
425
- skill: false
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
  ];
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveClients
4
- } from "./chunk-VOQKQ6W2.js";
4
+ } from "./chunk-BEKSXO5N.js";
5
5
  import {
6
6
  hooksCommand
7
7
  } from "./chunk-YDZJRLHL.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-AZRKMFRY.js";
5
5
  import {
6
6
  resolveClients
7
- } from "./chunk-VOQKQ6W2.js";
7
+ } from "./chunk-BEKSXO5N.js";
8
8
  import {
9
9
  readFabricConfig
10
10
  } from "./chunk-AEOYCVBG.js";
@@ -4,8 +4,8 @@ import {
4
4
  config_default,
5
5
  installMcpClients,
6
6
  parseClientFilter
7
- } from "./chunk-XFSQM3LJ.js";
8
- import "./chunk-VOQKQ6W2.js";
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-T3LGMGAO.js").then((module) => module.default),
12
- update: () => import("./update-AN3FYF2O.js").then((module) => module.default),
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-3PUKUYTY.js").then((module) => module.default),
21
- config: () => import("./config-GINBGANU.js").then((module) => module.configCmd),
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.3.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