@roarpeng/graphflow 1.7.4 → 1.7.5

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.
Files changed (147) hide show
  1. package/README.md +6 -7
  2. package/dist/config/discover-workspace.d.ts.map +1 -1
  3. package/dist/config/discover-workspace.js +1 -0
  4. package/dist/config/discover-workspace.js.map +1 -1
  5. package/dist/core/orchestrator.d.ts.map +1 -1
  6. package/dist/core/orchestrator.js +55 -41
  7. package/dist/core/orchestrator.js.map +1 -1
  8. package/dist/graph/context-cache.d.ts +23 -0
  9. package/dist/graph/context-cache.d.ts.map +1 -0
  10. package/dist/graph/context-cache.js +92 -0
  11. package/dist/graph/context-cache.js.map +1 -0
  12. package/dist/graph/file-indexer.d.ts +4 -1
  13. package/dist/graph/file-indexer.d.ts.map +1 -1
  14. package/dist/graph/file-indexer.js +16 -5
  15. package/dist/graph/file-indexer.js.map +1 -1
  16. package/dist/integrations/agent-mcp-installer.d.ts.map +1 -1
  17. package/dist/integrations/agent-mcp-installer.js +22 -17
  18. package/dist/integrations/agent-mcp-installer.js.map +1 -1
  19. package/dist/integrations/agent-profiles/index.d.ts +26 -0
  20. package/dist/integrations/agent-profiles/index.d.ts.map +1 -0
  21. package/dist/integrations/agent-profiles/index.js +31 -0
  22. package/dist/integrations/agent-profiles/index.js.map +1 -0
  23. package/dist/integrations/agent-profiles/profiles/amazon-q.d.ts +2 -0
  24. package/dist/integrations/agent-profiles/profiles/amazon-q.d.ts.map +1 -0
  25. package/dist/integrations/agent-profiles/profiles/amazon-q.js +18 -0
  26. package/dist/integrations/agent-profiles/profiles/amazon-q.js.map +1 -0
  27. package/dist/integrations/agent-profiles/profiles/antigravity.d.ts +2 -0
  28. package/dist/integrations/agent-profiles/profiles/antigravity.d.ts.map +1 -0
  29. package/dist/integrations/agent-profiles/profiles/antigravity.js +33 -0
  30. package/dist/integrations/agent-profiles/profiles/antigravity.js.map +1 -0
  31. package/dist/integrations/agent-profiles/profiles/claude-code.d.ts +2 -0
  32. package/dist/integrations/agent-profiles/profiles/claude-code.d.ts.map +1 -0
  33. package/dist/integrations/agent-profiles/profiles/claude-code.js +22 -0
  34. package/dist/integrations/agent-profiles/profiles/claude-code.js.map +1 -0
  35. package/dist/integrations/agent-profiles/profiles/cline.d.ts +2 -0
  36. package/dist/integrations/agent-profiles/profiles/cline.d.ts.map +1 -0
  37. package/dist/integrations/agent-profiles/profiles/cline.js +33 -0
  38. package/dist/integrations/agent-profiles/profiles/cline.js.map +1 -0
  39. package/dist/integrations/agent-profiles/profiles/codex.d.ts +2 -0
  40. package/dist/integrations/agent-profiles/profiles/codex.d.ts.map +1 -0
  41. package/dist/integrations/agent-profiles/profiles/codex.js +22 -0
  42. package/dist/integrations/agent-profiles/profiles/codex.js.map +1 -0
  43. package/dist/integrations/agent-profiles/profiles/continue.d.ts +2 -0
  44. package/dist/integrations/agent-profiles/profiles/continue.d.ts.map +1 -0
  45. package/dist/integrations/agent-profiles/profiles/continue.js +23 -0
  46. package/dist/integrations/agent-profiles/profiles/continue.js.map +1 -0
  47. package/dist/integrations/agent-profiles/profiles/cursor.d.ts +2 -0
  48. package/dist/integrations/agent-profiles/profiles/cursor.d.ts.map +1 -0
  49. package/dist/integrations/agent-profiles/profiles/cursor.js +28 -0
  50. package/dist/integrations/agent-profiles/profiles/cursor.js.map +1 -0
  51. package/dist/integrations/agent-profiles/profiles/gemini.d.ts +2 -0
  52. package/dist/integrations/agent-profiles/profiles/gemini.d.ts.map +1 -0
  53. package/dist/integrations/agent-profiles/profiles/gemini.js +30 -0
  54. package/dist/integrations/agent-profiles/profiles/gemini.js.map +1 -0
  55. package/dist/integrations/agent-profiles/profiles/kilocode.d.ts +2 -0
  56. package/dist/integrations/agent-profiles/profiles/kilocode.d.ts.map +1 -0
  57. package/dist/integrations/agent-profiles/profiles/kilocode.js +33 -0
  58. package/dist/integrations/agent-profiles/profiles/kilocode.js.map +1 -0
  59. package/dist/integrations/agent-profiles/profiles/pearai.d.ts +2 -0
  60. package/dist/integrations/agent-profiles/profiles/pearai.d.ts.map +1 -0
  61. package/dist/integrations/agent-profiles/profiles/pearai.js +23 -0
  62. package/dist/integrations/agent-profiles/profiles/pearai.js.map +1 -0
  63. package/dist/integrations/agent-profiles/profiles/qoder.d.ts +2 -0
  64. package/dist/integrations/agent-profiles/profiles/qoder.d.ts.map +1 -0
  65. package/dist/integrations/agent-profiles/profiles/qoder.js +32 -0
  66. package/dist/integrations/agent-profiles/profiles/qoder.js.map +1 -0
  67. package/dist/integrations/agent-profiles/profiles/roo-code.d.ts +2 -0
  68. package/dist/integrations/agent-profiles/profiles/roo-code.d.ts.map +1 -0
  69. package/dist/integrations/agent-profiles/profiles/roo-code.js +33 -0
  70. package/dist/integrations/agent-profiles/profiles/roo-code.js.map +1 -0
  71. package/dist/integrations/agent-profiles/profiles/trae.d.ts +2 -0
  72. package/dist/integrations/agent-profiles/profiles/trae.d.ts.map +1 -0
  73. package/dist/integrations/agent-profiles/profiles/trae.js +42 -0
  74. package/dist/integrations/agent-profiles/profiles/trae.js.map +1 -0
  75. package/dist/integrations/agent-profiles/profiles/vscode.d.ts +2 -0
  76. package/dist/integrations/agent-profiles/profiles/vscode.d.ts.map +1 -0
  77. package/dist/integrations/agent-profiles/profiles/vscode.js +28 -0
  78. package/dist/integrations/agent-profiles/profiles/vscode.js.map +1 -0
  79. package/dist/integrations/agent-profiles/profiles/windsurf.d.ts +2 -0
  80. package/dist/integrations/agent-profiles/profiles/windsurf.d.ts.map +1 -0
  81. package/dist/integrations/agent-profiles/profiles/windsurf.js +21 -0
  82. package/dist/integrations/agent-profiles/profiles/windsurf.js.map +1 -0
  83. package/dist/integrations/agent-profiles/profiles/zed.d.ts +2 -0
  84. package/dist/integrations/agent-profiles/profiles/zed.d.ts.map +1 -0
  85. package/dist/integrations/agent-profiles/profiles/zed.js +26 -0
  86. package/dist/integrations/agent-profiles/profiles/zed.js.map +1 -0
  87. package/dist/integrations/agent-profiles/registry.d.ts +5 -0
  88. package/dist/integrations/agent-profiles/registry.d.ts.map +1 -0
  89. package/dist/integrations/agent-profiles/registry.js +45 -0
  90. package/dist/integrations/agent-profiles/registry.js.map +1 -0
  91. package/dist/integrations/agent-profiles/skills/antigravity.d.ts +2 -0
  92. package/dist/integrations/agent-profiles/skills/antigravity.d.ts.map +1 -0
  93. package/dist/integrations/agent-profiles/skills/antigravity.js +13 -0
  94. package/dist/integrations/agent-profiles/skills/antigravity.js.map +1 -0
  95. package/dist/integrations/agent-profiles/skills/claude-code.d.ts +2 -0
  96. package/dist/integrations/agent-profiles/skills/claude-code.d.ts.map +1 -0
  97. package/dist/integrations/agent-profiles/skills/claude-code.js +13 -0
  98. package/dist/integrations/agent-profiles/skills/claude-code.js.map +1 -0
  99. package/dist/integrations/agent-profiles/skills/codex.d.ts +2 -0
  100. package/dist/integrations/agent-profiles/skills/codex.d.ts.map +1 -0
  101. package/dist/integrations/agent-profiles/skills/codex.js +18 -0
  102. package/dist/integrations/agent-profiles/skills/codex.js.map +1 -0
  103. package/dist/integrations/agent-profiles/skills/cursor.d.ts +2 -0
  104. package/dist/integrations/agent-profiles/skills/cursor.d.ts.map +1 -0
  105. package/dist/integrations/agent-profiles/skills/cursor.js +13 -0
  106. package/dist/integrations/agent-profiles/skills/cursor.js.map +1 -0
  107. package/dist/integrations/agent-profiles/skills/kilocode.d.ts +2 -0
  108. package/dist/integrations/agent-profiles/skills/kilocode.d.ts.map +1 -0
  109. package/dist/integrations/agent-profiles/skills/kilocode.js +13 -0
  110. package/dist/integrations/agent-profiles/skills/kilocode.js.map +1 -0
  111. package/dist/integrations/agent-profiles/skills/qoder.d.ts +2 -0
  112. package/dist/integrations/agent-profiles/skills/qoder.d.ts.map +1 -0
  113. package/dist/integrations/agent-profiles/skills/qoder.js +13 -0
  114. package/dist/integrations/agent-profiles/skills/qoder.js.map +1 -0
  115. package/dist/integrations/agent-profiles/skills/roo-code.d.ts +2 -0
  116. package/dist/integrations/agent-profiles/skills/roo-code.d.ts.map +1 -0
  117. package/dist/integrations/agent-profiles/skills/roo-code.js +13 -0
  118. package/dist/integrations/agent-profiles/skills/roo-code.js.map +1 -0
  119. package/dist/integrations/agent-profiles/types.d.ts +31 -0
  120. package/dist/integrations/agent-profiles/types.d.ts.map +1 -0
  121. package/dist/integrations/agent-profiles/types.js +3 -0
  122. package/dist/integrations/agent-profiles/types.js.map +1 -0
  123. package/dist/integrations/agent-profiles/utils.d.ts +12 -0
  124. package/dist/integrations/agent-profiles/utils.d.ts.map +1 -0
  125. package/dist/integrations/agent-profiles/utils.js +75 -0
  126. package/dist/integrations/agent-profiles/utils.js.map +1 -0
  127. package/dist/integrations/errors.d.ts +28 -0
  128. package/dist/integrations/errors.d.ts.map +1 -0
  129. package/dist/integrations/errors.js +97 -0
  130. package/dist/integrations/errors.js.map +1 -0
  131. package/dist/integrations/skill-health.d.ts +24 -0
  132. package/dist/integrations/skill-health.d.ts.map +1 -0
  133. package/dist/integrations/skill-health.js +111 -0
  134. package/dist/integrations/skill-health.js.map +1 -0
  135. package/dist/integrations/skill-installer.d.ts.map +1 -1
  136. package/dist/integrations/skill-installer.js +5 -8
  137. package/dist/integrations/skill-installer.js.map +1 -1
  138. package/dist/surfaces/cli/runtime/graph.d.ts.map +1 -1
  139. package/dist/surfaces/cli/runtime/graph.js +11 -2
  140. package/dist/surfaces/cli/runtime/graph.js.map +1 -1
  141. package/dist/surfaces/cli/runtime/routing.d.ts.map +1 -1
  142. package/dist/surfaces/cli/runtime/routing.js +3 -2
  143. package/dist/surfaces/cli/runtime/routing.js.map +1 -1
  144. package/dist/surfaces/cli/runtime/types.d.ts +1 -0
  145. package/dist/surfaces/cli/runtime/types.d.ts.map +1 -1
  146. package/package.json +1 -1
  147. package/scripts/safe-postinstall.cjs +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claude-code.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/claude-code.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,aAAa;QACpB,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,SAAS,CAAC;QAChC,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC;KAC5C;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=codex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/codex.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry_1 = require("../registry");
4
+ const utils_1 = require("../utils");
5
+ const { home } = (0, utils_1.resolveHomePaths)();
6
+ (0, registry_1.registerSkillTargets)([
7
+ {
8
+ agent: "Codex",
9
+ markerDir: (0, utils_1.join)(home, ".codex"),
10
+ skillsRoot: (0, utils_1.join)(home, ".codex", "skills"),
11
+ },
12
+ {
13
+ agent: "Codex (agents)",
14
+ markerDir: (0, utils_1.join)(home, ".codex"),
15
+ skillsRoot: (0, utils_1.join)(home, ".agents", "skills"),
16
+ },
17
+ ]);
18
+ //# sourceMappingURL=codex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/codex.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,OAAO;QACd,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,QAAQ,CAAC;QAC/B,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC;KAC3C;IACD;QACE,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,QAAQ,CAAC;QAC/B,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC;KAC5C;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cursor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/cursor.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry_1 = require("../registry");
4
+ const utils_1 = require("../utils");
5
+ const { home } = (0, utils_1.resolveHomePaths)();
6
+ (0, registry_1.registerSkillTargets)([
7
+ {
8
+ agent: "Cursor",
9
+ markerDir: (0, utils_1.join)(home, ".cursor"),
10
+ skillsRoot: (0, utils_1.join)(home, ".cursor", "skills"),
11
+ },
12
+ ]);
13
+ //# sourceMappingURL=cursor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/cursor.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,SAAS,CAAC;QAChC,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC;KAC5C;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=kilocode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kilocode.d.ts","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/kilocode.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry_1 = require("../registry");
4
+ const utils_1 = require("../utils");
5
+ const { home } = (0, utils_1.resolveHomePaths)();
6
+ (0, registry_1.registerSkillTargets)([
7
+ {
8
+ agent: "Kilo Code",
9
+ markerDir: (0, utils_1.join)(home, ".kilocode"),
10
+ skillsRoot: (0, utils_1.join)(home, ".kilocode", "skills"),
11
+ },
12
+ ]);
13
+ //# sourceMappingURL=kilocode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kilocode.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/kilocode.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,WAAW;QAClB,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,WAAW,CAAC;QAClC,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,CAAC;KAC9C;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=qoder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qoder.d.ts","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/qoder.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry_1 = require("../registry");
4
+ const utils_1 = require("../utils");
5
+ const { home } = (0, utils_1.resolveHomePaths)();
6
+ (0, registry_1.registerSkillTargets)([
7
+ {
8
+ agent: "Qoder",
9
+ markerDir: (0, utils_1.join)(home, ".qoder"),
10
+ skillsRoot: (0, utils_1.join)(home, ".qoder", "skills"),
11
+ },
12
+ ]);
13
+ //# sourceMappingURL=qoder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qoder.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/qoder.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,OAAO;QACd,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,QAAQ,CAAC;QAC/B,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC;KAC3C;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=roo-code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roo-code.d.ts","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/roo-code.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry_1 = require("../registry");
4
+ const utils_1 = require("../utils");
5
+ const { home } = (0, utils_1.resolveHomePaths)();
6
+ (0, registry_1.registerSkillTargets)([
7
+ {
8
+ agent: "Roo Code",
9
+ markerDir: (0, utils_1.join)(home, ".roo"),
10
+ skillsRoot: (0, utils_1.join)(home, ".roo", "skills"),
11
+ },
12
+ ]);
13
+ //# sourceMappingURL=roo-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roo-code.js","sourceRoot":"","sources":["../../../../src/integrations/agent-profiles/skills/roo-code.ts"],"names":[],"mappings":";;AAAA,0CAAmD;AACnD,oCAAkD;AAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,wBAAgB,GAAE,CAAC;AAEpC,IAAA,+BAAoB,EAAC;IACnB;QACE,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,MAAM,CAAC;QAC7B,UAAU,EAAE,IAAA,YAAI,EAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC;KACzC;CACF,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ export type McpServersKey = "mcpServers" | "servers" | "context_servers";
2
+ export type McpConfigFormat = "json" | "codex-toml";
3
+ export interface McpServerTarget {
4
+ configPath: string;
5
+ serversKey: McpServersKey;
6
+ configFormat?: McpConfigFormat;
7
+ }
8
+ export interface WorkspaceServerTarget {
9
+ relativePath: string;
10
+ serversKey: McpServersKey;
11
+ configFormat?: McpConfigFormat;
12
+ }
13
+ export interface AgentProfile {
14
+ id: string;
15
+ name: string;
16
+ markerPaths: string[];
17
+ userTargets: McpServerTarget[];
18
+ workspaceRelativePaths?: WorkspaceServerTarget[];
19
+ }
20
+ export interface AgentSkillTarget {
21
+ agent: string;
22
+ markerDir: string;
23
+ skillsRoot: string;
24
+ }
25
+ export interface ProfileRegistry {
26
+ registerProfile(profile: AgentProfile): void;
27
+ registerSkillTarget(target: AgentSkillTarget): void;
28
+ getProfiles(): AgentProfile[];
29
+ getSkillTargets(): AgentSkillTarget[];
30
+ }
31
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/integrations/agent-profiles/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,YAAY,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAClD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7C,mBAAmB,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACpD,WAAW,IAAI,YAAY,EAAE,CAAC;IAC9B,eAAe,IAAI,gBAAgB,EAAE,CAAC;CACvC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/integrations/agent-profiles/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { join } from "node:path";
2
+ export declare function isWindows(): boolean;
3
+ export declare function isWsl(): boolean;
4
+ export declare function getWindowsHomeFromWsl(): string | undefined;
5
+ export declare function resolveHomePaths(): {
6
+ home: string;
7
+ appData: string;
8
+ localAppData: string;
9
+ wslWindowsHome: string | undefined;
10
+ };
11
+ export { join };
12
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/integrations/agent-profiles/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED,wBAAgB,KAAK,IAAI,OAAO,CAuB/B;AAED,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAiB1D;AAED,wBAAgB,gBAAgB,IAAI;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAeA;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.join = void 0;
4
+ exports.isWindows = isWindows;
5
+ exports.isWsl = isWsl;
6
+ exports.getWindowsHomeFromWsl = getWindowsHomeFromWsl;
7
+ exports.resolveHomePaths = resolveHomePaths;
8
+ const node_os_1 = require("node:os");
9
+ const node_fs_1 = require("node:fs");
10
+ const node_path_1 = require("node:path");
11
+ Object.defineProperty(exports, "join", { enumerable: true, get: function () { return node_path_1.join; } });
12
+ function isWindows() {
13
+ return process.platform === "win32";
14
+ }
15
+ function isWsl() {
16
+ if (process.platform !== "linux") {
17
+ return false;
18
+ }
19
+ try {
20
+ const rel = (0, node_os_1.release)() ?? "";
21
+ if (rel.toLowerCase().includes("microsoft") || rel.toLowerCase().includes("wsl")) {
22
+ return true;
23
+ }
24
+ }
25
+ catch {
26
+ // ignore
27
+ }
28
+ try {
29
+ if ((0, node_fs_1.existsSync)("/proc/version")) {
30
+ const content = (0, node_fs_1.readFileSync)("/proc/version", "utf8").toLowerCase();
31
+ if (content.includes("microsoft") || content.includes("wsl")) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ catch {
37
+ // ignore
38
+ }
39
+ return false;
40
+ }
41
+ function getWindowsHomeFromWsl() {
42
+ try {
43
+ const cmd = "wslpath -w ~";
44
+ const result = (0, node_fs_1.readFileSync)("/proc/version", "utf8").toLowerCase();
45
+ if (result.includes("microsoft")) {
46
+ const wslHome = require("child_process").execSync(cmd, { encoding: "utf8" }).trim();
47
+ if (wslHome.startsWith("/mnt/")) {
48
+ const winPath = wslHome.replace("/mnt/", "").replace(/\//g, "\\");
49
+ if (winPath.length > 1 && winPath[1] === ":") {
50
+ return winPath;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ catch {
56
+ // ignore
57
+ }
58
+ return undefined;
59
+ }
60
+ function resolveHomePaths() {
61
+ const home = (0, node_os_1.homedir)();
62
+ const wslWindowsHome = isWsl() ? getWindowsHomeFromWsl() : undefined;
63
+ let appData;
64
+ let localAppData;
65
+ if (isWindows()) {
66
+ appData = process.env.APPDATA ?? (0, node_path_1.join)(home, "AppData", "Roaming");
67
+ localAppData = process.env.LOCALAPPDATA ?? (0, node_path_1.join)(home, "AppData", "Local");
68
+ }
69
+ else {
70
+ appData = (0, node_path_1.join)(home, ".config");
71
+ localAppData = (0, node_path_1.join)(home, ".local", "share");
72
+ }
73
+ return { home, appData, localAppData, wslWindowsHome };
74
+ }
75
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/integrations/agent-profiles/utils.ts"],"names":[],"mappings":";;;AAIA,8BAEC;AAED,sBAuBC;AAED,sDAiBC;AAED,4CAoBC;AAxED,qCAA2C;AAC3C,qCAAmD;AACnD,yCAAiC;AAwExB,qFAxEA,gBAAI,OAwEA;AAtEb,SAAgB,SAAS;IACvB,OAAO,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC;AACtC,CAAC;AAED,SAAgB,KAAK;IACnB,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAA,iBAAO,GAAE,IAAI,EAAE,CAAC;QAC5B,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE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P,SAAS;IACX,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAgB,gBAAgB;IAM9B,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,cAAc,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IACrE,IAAI,OAAe,CAAC;IACpB,IAAI,YAAoB,CAAC;IAEzB,IAAI,SAAS,EAAE,EAAE,CAAC;QAChB,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,IAAA,gBAAI,EAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;QAClE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,IAAA,gBAAI,EAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;SAAM,CAAC;QACN,OAAO,GAAG,IAAA,gBAAI,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAChC,YAAY,GAAG,IAAA,gBAAI,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AACzD,CAAC"}
@@ -0,0 +1,28 @@
1
+ export type ErrorCode = "MCP_INSTALL_FAILED" | "MCP_CONFIG_READ_FAILED" | "MCP_CONFIG_WRITE_FAILED" | "SKILL_INSTALL_FAILED" | "SKILL_READ_FAILED" | "SKILL_VALIDATION_FAILED" | "GRAPH_INDEX_FAILED" | "GRAPH_READ_FAILED" | "GRAPH_WRITE_FAILED" | "CONTEXT_QUERY_FAILED" | "CONTEXT_EXPAND_FAILED" | "PLAN_FAILED" | "RUN_FAILED" | "PROVIDER_CONFIG_ERROR" | "PROVIDER_TIMEOUT" | "PROVIDER_UNAVAILABLE" | "CONFIG_PARSE_ERROR" | "PATH_RESOLVE_ERROR" | "PERMISSION_DENIED" | "CANCELLED" | "INTERNAL_ERROR";
2
+ export interface GraphFlowErrorOptions {
3
+ code: ErrorCode;
4
+ message: string;
5
+ cause?: Error | undefined;
6
+ details?: Record<string, unknown> | undefined;
7
+ }
8
+ export declare class GraphFlowError extends Error {
9
+ readonly code: ErrorCode;
10
+ readonly details: Record<string, unknown> | undefined;
11
+ constructor(options: GraphFlowErrorOptions);
12
+ toJSON(): Record<string, unknown>;
13
+ toString(): string;
14
+ }
15
+ export interface ErrorResult<T = unknown> {
16
+ ok: boolean;
17
+ error?: GraphFlowError;
18
+ data?: T;
19
+ }
20
+ export declare function ok<T>(data: T): ErrorResult<T>;
21
+ export declare function err<T = unknown>(error: GraphFlowError): ErrorResult<T>;
22
+ export declare function errCode<T = unknown>(code: ErrorCode, message: string, details?: Record<string, unknown>, cause?: Error): ErrorResult<T>;
23
+ export declare function isGraphFlowError(error: unknown): error is GraphFlowError;
24
+ export declare function wrapError<T = unknown>(code: ErrorCode, message: string, error: unknown): ErrorResult<T>;
25
+ export declare function catchToResult<T>(fn: () => T): ErrorResult<T>;
26
+ export declare function catchToResultAsync<T>(fn: () => Promise<T>): Promise<ErrorResult<T>>;
27
+ export declare const errorMessages: Record<ErrorCode, string>;
28
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/integrations/errors.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,mBAAmB,GACnB,yBAAyB,GACzB,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,GACtB,uBAAuB,GACvB,aAAa,GACb,YAAY,GACZ,uBAAuB,GACvB,kBAAkB,GAClB,sBAAsB,GACtB,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,GACnB,WAAW,GACX,gBAAgB,CAAC;AAErB,MAAM,WAAW,qBA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O,GACb,WAAW,CAAC,CAAC,CAAC,CAKhB;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAM5D;AAED,wBAAsB,kBAAkB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAMzF;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAsBnD,CAAC"}
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.errorMessages = exports.GraphFlowError = void 0;
4
+ exports.ok = ok;
5
+ exports.err = err;
6
+ exports.errCode = errCode;
7
+ exports.isGraphFlowError = isGraphFlowError;
8
+ exports.wrapError = wrapError;
9
+ exports.catchToResult = catchToResult;
10
+ exports.catchToResultAsync = catchToResultAsync;
11
+ class GraphFlowError extends Error {
12
+ code;
13
+ details;
14
+ constructor(options) {
15
+ super(options.message);
16
+ this.name = "GraphFlowError";
17
+ this.code = options.code;
18
+ this.details = options.details;
19
+ if (options.cause) {
20
+ this.cause = options.cause;
21
+ }
22
+ }
23
+ toJSON() {
24
+ return {
25
+ name: this.name,
26
+ code: this.code,
27
+ message: this.message,
28
+ details: this.details,
29
+ stack: this.stack,
30
+ };
31
+ }
32
+ toString() {
33
+ return `[${this.code}] ${this.message}`;
34
+ }
35
+ }
36
+ exports.GraphFlowError = GraphFlowError;
37
+ function ok(data) {
38
+ return { ok: true, data };
39
+ }
40
+ function err(error) {
41
+ return { ok: false, error };
42
+ }
43
+ function errCode(code, message, details, cause) {
44
+ return {
45
+ ok: false,
46
+ error: new GraphFlowError({ code, message, details, cause }),
47
+ };
48
+ }
49
+ function isGraphFlowError(error) {
50
+ return error instanceof GraphFlowError;
51
+ }
52
+ function wrapError(code, message, error) {
53
+ if (isGraphFlowError(error)) {
54
+ return err(error);
55
+ }
56
+ return errCode(code, `${message}: ${String(error)}`, undefined, error);
57
+ }
58
+ function catchToResult(fn) {
59
+ try {
60
+ return ok(fn());
61
+ }
62
+ catch (error) {
63
+ return wrapError("INTERNAL_ERROR", "Unexpected error", error);
64
+ }
65
+ }
66
+ async function catchToResultAsync(fn) {
67
+ try {
68
+ return ok(await fn());
69
+ }
70
+ catch (error) {
71
+ return wrapError("INTERNAL_ERROR", "Unexpected error", error);
72
+ }
73
+ }
74
+ exports.errorMessages = {
75
+ MCP_INSTALL_FAILED: "MCP server installation failed",
76
+ MCP_CONFIG_READ_FAILED: "Failed to read MCP configuration",
77
+ MCP_CONFIG_WRITE_FAILED: "Failed to write MCP configuration",
78
+ SKILL_INSTALL_FAILED: "Skill installation failed",
79
+ SKILL_READ_FAILED: "Failed to read skill file",
80
+ SKILL_VALIDATION_FAILED: "Skill file validation failed",
81
+ GRAPH_INDEX_FAILED: "Graph indexing failed",
82
+ GRAPH_READ_FAILED: "Failed to read from graph",
83
+ GRAPH_WRITE_FAILED: "Failed to write to graph",
84
+ CONTEXT_QUERY_FAILED: "Context query failed",
85
+ CONTEXT_EXPAND_FAILED: "Context expand failed",
86
+ PLAN_FAILED: "Task planning failed",
87
+ RUN_FAILED: "Task execution failed",
88
+ PROVIDER_CONFIG_ERROR: "Provider configuration error",
89
+ PROVIDER_TIMEOUT: "Provider request timed out",
90
+ PROVIDER_UNAVAILABLE: "Provider is unavailable",
91
+ CONFIG_PARSE_ERROR: "Configuration parsing error",
92
+ PATH_RESOLVE_ERROR: "Path resolution error",
93
+ PERMISSION_DENIED: "Permission denied",
94
+ CANCELLED: "Operation cancelled",
95
+ INTERNAL_ERROR: "Internal error",
96
+ };
97
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/integrations/errors.ts"],"names":[],"mappings":";;;AAiEA,gBAEC;AAED,kBAEC;AAED,0BAUC;AAED,4CAEC;AAED,8B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AuB;IACnC,qBAAqB,EAAE,8BAA8B;IACrD,gBAAgB,EAAE,4BAA4B;IAC9C,oBAAoB,EAAE,yBAAyB;IAC/C,kBAAkB,EAAE,6BAA6B;IACjD,kBAAkB,EAAE,uBAAuB;IAC3C,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,qBAAqB;IAChC,cAAc,EAAE,gBAAgB;CACjC,CAAC"}
@@ -0,0 +1,24 @@
1
+ export interface SkillHealthCheck {
2
+ agent: string;
3
+ markerDir: string;
4
+ skillsRoot: string;
5
+ skillPath: string;
6
+ exists: boolean;
7
+ size: number;
8
+ hasFrontmatter: boolean;
9
+ hasName: boolean;
10
+ hasDescription: boolean;
11
+ isValid: boolean;
12
+ issues: string[];
13
+ }
14
+ export interface SkillHealthSummary {
15
+ total: number;
16
+ valid: number;
17
+ invalid: number;
18
+ missing: number;
19
+ checks: SkillHealthCheck[];
20
+ }
21
+ export declare function checkSkillHealth(workspaceRoot?: string): SkillHealthSummary;
22
+ export declare function getSkillHealthReport(workspaceRoot?: string): string;
23
+ export declare function isAnySkillValid(workspaceRoot?: string): boolean;
24
+ //# sourceMappingURL=skill-health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-health.d.ts","sourceRoot":"","sources":["../../src/integrations/skill-health.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,gBAAgB,EAAE,CAAC;CAC5B;AAiDD,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAyC3E;AAED,wBAAgB,oBAAoB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CA0BnE;AAED,wBAAgB,eAAe,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAG/D"}
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.checkSkillHealth = checkSkillHealth;
4
+ exports.getSkillHealthReport = getSkillHealthReport;
5
+ exports.isAnySkillValid = isAnySkillValid;
6
+ const node_fs_1 = require("node:fs");
7
+ const node_path_1 = require("node:path");
8
+ const registry_1 = require("./agent-profiles/registry");
9
+ function checkSkillFile(path) {
10
+ if (!(0, node_fs_1.existsSync)(path)) {
11
+ return {
12
+ exists: false,
13
+ size: 0,
14
+ hasFrontmatter: false,
15
+ hasName: false,
16
+ hasDescription: false,
17
+ isValid: false,
18
+ issues: ["Skill file does not exist"],
19
+ };
20
+ }
21
+ const content = (0, node_fs_1.readFileSync)(path, "utf8");
22
+ const size = content.length;
23
+ const issues = [];
24
+ const hasFrontmatter = /^---\s*\n/.test(content);
25
+ if (!hasFrontmatter) {
26
+ issues.push("Missing YAML frontmatter");
27
+ }
28
+ const hasName = /^---\s*\n[\s\S]*?name:\s*.+?\s*\n/.test(content);
29
+ if (!hasName) {
30
+ issues.push("Missing 'name' in frontmatter");
31
+ }
32
+ const hasDescription = /^---\s*\n[\s\S]*?description:\s*.+?\s*\n/.test(content);
33
+ if (!hasDescription) {
34
+ issues.push("Missing 'description' in frontmatter");
35
+ }
36
+ if (size < 100) {
37
+ issues.push(`Skill file too small (${size} bytes)`);
38
+ }
39
+ return {
40
+ exists: true,
41
+ size,
42
+ hasFrontmatter,
43
+ hasName,
44
+ hasDescription,
45
+ isValid: issues.length === 0,
46
+ issues,
47
+ };
48
+ }
49
+ function checkSkillHealth(workspaceRoot) {
50
+ const targets = registry_1.profileRegistry.getSkillTargets();
51
+ const checks = [];
52
+ for (const target of targets) {
53
+ const skillPath = (0, node_path_1.join)(target.skillsRoot, "graphflow", "SKILL.md");
54
+ const fileCheck = checkSkillFile(skillPath);
55
+ checks.push({
56
+ agent: target.agent,
57
+ markerDir: target.markerDir,
58
+ skillsRoot: target.skillsRoot,
59
+ skillPath,
60
+ ...fileCheck,
61
+ });
62
+ }
63
+ if (workspaceRoot) {
64
+ const workspaceSkillPath = (0, node_path_1.join)(workspaceRoot, ".graphflow", "skills", "graphflow", "SKILL.md");
65
+ const fileCheck = checkSkillFile(workspaceSkillPath);
66
+ checks.push({
67
+ agent: "Workspace",
68
+ markerDir: workspaceRoot,
69
+ skillsRoot: (0, node_path_1.join)(workspaceRoot, ".graphflow", "skills"),
70
+ skillPath: workspaceSkillPath,
71
+ ...fileCheck,
72
+ });
73
+ }
74
+ const valid = checks.filter((c) => c.isValid).length;
75
+ const invalid = checks.filter((c) => c.exists && !c.isValid).length;
76
+ const missing = checks.filter((c) => !c.exists).length;
77
+ return {
78
+ total: checks.length,
79
+ valid,
80
+ invalid,
81
+ missing,
82
+ checks,
83
+ };
84
+ }
85
+ function getSkillHealthReport(workspaceRoot) {
86
+ const summary = checkSkillHealth(workspaceRoot);
87
+ const lines = [];
88
+ lines.push(`Skill Health Report`);
89
+ lines.push(`=====================`);
90
+ lines.push(`Total: ${summary.total} | Valid: ${summary.valid} | Invalid: ${summary.invalid} | Missing: ${summary.missing}`);
91
+ lines.push("");
92
+ for (const check of summary.checks) {
93
+ const status = check.isValid ? "✅" : check.exists ? "⚠️" : "❌";
94
+ lines.push(`${status} ${check.agent}`);
95
+ lines.push(` Path: ${check.skillPath}`);
96
+ lines.push(` Exists: ${check.exists} | Size: ${check.size} bytes`);
97
+ if (check.issues.length > 0) {
98
+ lines.push(` Issues:`);
99
+ for (const issue of check.issues) {
100
+ lines.push(` - ${issue}`);
101
+ }
102
+ }
103
+ lines.push("");
104
+ }
105
+ return lines.join("\n");
106
+ }
107
+ function isAnySkillValid(workspaceRoot) {
108
+ const summary = checkSkillHealth(workspaceRoot);
109
+ return summary.valid > 0;
110
+ }
111
+ //# sourceMappingURL=skill-health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-health.js","sourceRoot":"","sources":["../../src/integrations/skill-health.ts"],"names":[],"mappings":";;AAyEA,4CAyCC;AAED,oDA0BC;AAED,0CAGC;AAnJD,qCAAmD;AACnD,yCAAiC;AACjC,wDAA4D;AAwB5D,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,CAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC;QACtB,OAAO;YACL,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,CAAC;YACP,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,KAAK;YACd,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,CAAC,2BAA2B,CAAC;SACtC,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,IAAA,sBAAY,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAC5B,MAAM,MAAM,GAAa,EAAE,CAAC;IAE5B,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjD,IAAI,CAAC,cAAc,EAAE,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IAED,MAAM,OAAO,GAAG,mCAAmC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAClE,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IAC/C,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