@uniswap/ai-toolkit-nx-claude 0.5.7-next.10

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 (107) hide show
  1. package/README.md +60 -0
  2. package/dist/cli-generator.cjs +447 -0
  3. package/dist/content/agents/agnostic/agent-capability-analyst.md +575 -0
  4. package/dist/content/agents/agnostic/agent-optimizer.md +396 -0
  5. package/dist/content/agents/agnostic/agent-orchestrator.md +475 -0
  6. package/dist/content/agents/agnostic/cicd-agent.md +301 -0
  7. package/dist/content/agents/agnostic/claude-agent-discovery.md +304 -0
  8. package/dist/content/agents/agnostic/code-explainer.md +269 -0
  9. package/dist/content/agents/agnostic/code-generator.md +785 -0
  10. package/dist/content/agents/agnostic/commit-message-generator.md +101 -0
  11. package/dist/content/agents/agnostic/context-loader.md +419 -0
  12. package/dist/content/agents/agnostic/debug-assistant.md +316 -0
  13. package/dist/content/agents/agnostic/doc-writer.md +539 -0
  14. package/dist/content/agents/agnostic/feedback-collector.md +165 -0
  15. package/dist/content/agents/agnostic/infrastructure-agent.md +406 -0
  16. package/dist/content/agents/agnostic/migration-assistant.md +489 -0
  17. package/dist/content/agents/agnostic/pattern-learner.md +481 -0
  18. package/dist/content/agents/agnostic/performance-analyzer.md +528 -0
  19. package/dist/content/agents/agnostic/plan-reviewer.md +144 -0
  20. package/dist/content/agents/agnostic/planner.md +246 -0
  21. package/dist/content/agents/agnostic/pr-creator.md +494 -0
  22. package/dist/content/agents/agnostic/prompt-engineer.md +541 -0
  23. package/dist/content/agents/agnostic/refactorer.md +311 -0
  24. package/dist/content/agents/agnostic/researcher.md +347 -0
  25. package/dist/content/agents/agnostic/security-analyzer.md +1087 -0
  26. package/dist/content/agents/agnostic/style-enforcer.md +568 -0
  27. package/dist/content/agents/agnostic/test-runner.md +481 -0
  28. package/dist/content/agents/agnostic/test-writer.md +292 -0
  29. package/dist/content/commands/agnostic/auto-spec.md +386 -0
  30. package/dist/content/commands/agnostic/create-pr.md +79 -0
  31. package/dist/content/commands/agnostic/deploy.md +441 -0
  32. package/dist/content/commands/agnostic/execute-plan.md +367 -0
  33. package/dist/content/commands/agnostic/explain-file.md +303 -0
  34. package/dist/content/commands/agnostic/explore.md +82 -0
  35. package/dist/content/commands/agnostic/fix-bug.md +273 -0
  36. package/dist/content/commands/agnostic/gen-tests.md +185 -0
  37. package/dist/content/commands/agnostic/generate-commit-message.md +92 -0
  38. package/dist/content/commands/agnostic/implement-spec.md +270 -0
  39. package/dist/content/commands/agnostic/monitor.md +581 -0
  40. package/dist/content/commands/agnostic/plan.md +335 -0
  41. package/dist/content/commands/agnostic/refactor.md +315 -0
  42. package/dist/content/commands/agnostic/research.md +49 -0
  43. package/dist/content/commands/agnostic/review-code.md +321 -0
  44. package/dist/content/commands/agnostic/review-plan.md +110 -0
  45. package/dist/content/commands/agnostic/review-pr.md +393 -0
  46. package/dist/generators/add-agent/files/__name__.md.template +37 -0
  47. package/dist/generators/add-agent/generator.cjs +534 -0
  48. package/dist/generators/add-agent/schema.json +59 -0
  49. package/dist/generators/add-command/files/__name__.md.template +46 -0
  50. package/dist/generators/add-command/generator.cjs +537 -0
  51. package/dist/generators/add-command/schema.json +50 -0
  52. package/dist/generators/addons/generator.cjs +1285 -0
  53. package/dist/generators/addons/schema.json +55 -0
  54. package/dist/generators/files/src/index.ts.template +1 -0
  55. package/dist/generators/hooks/CLAUDE.md +326 -0
  56. package/dist/generators/hooks/README.md +220 -0
  57. package/dist/generators/hooks/generator.cjs +1086 -0
  58. package/dist/generators/hooks/schema.json +38 -0
  59. package/dist/generators/init/CLAUDE.md +291 -0
  60. package/dist/generators/init/generator.cjs +1268 -0
  61. package/dist/generators/init/schema.json +82 -0
  62. package/dist/generators/init/setup-github-packages.sh +132 -0
  63. package/dist/generators/setup-registry-proxy/README.md +111 -0
  64. package/dist/generators/setup-registry-proxy/files/uniswap-ai-toolkit.__shell__rc.template +178 -0
  65. package/dist/generators/setup-registry-proxy/generator.cjs +227 -0
  66. package/dist/generators/setup-registry-proxy/schema.json +43 -0
  67. package/dist/index.cjs +1 -0
  68. package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts +16 -0
  69. package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts.map +1 -0
  70. package/dist/packages/ai-toolkit-nx-claude/src/cli-utils.d.ts +6 -0
  71. package/dist/packages/ai-toolkit-nx-claude/src/cli-utils.d.ts.map +1 -0
  72. package/dist/packages/ai-toolkit-nx-claude/src/generators/add-agent/generator.d.ts +5 -0
  73. package/dist/packages/ai-toolkit-nx-claude/src/generators/add-agent/generator.d.ts.map +1 -0
  74. package/dist/packages/ai-toolkit-nx-claude/src/generators/add-command/generator.d.ts +5 -0
  75. package/dist/packages/ai-toolkit-nx-claude/src/generators/add-command/generator.d.ts.map +1 -0
  76. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/addon-registry.d.ts +76 -0
  77. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/addon-registry.d.ts.map +1 -0
  78. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/claude-mcp-installer.d.ts +47 -0
  79. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/claude-mcp-installer.d.ts.map +1 -0
  80. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/generator.d.ts +7 -0
  81. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/generator.d.ts.map +1 -0
  82. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/github-auth.d.ts +36 -0
  83. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/github-auth.d.ts.map +1 -0
  84. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/spec-workflow-setup.d.ts +52 -0
  85. package/dist/packages/ai-toolkit-nx-claude/src/generators/addons/spec-workflow-setup.d.ts.map +1 -0
  86. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/cli-parser.d.ts +2 -0
  87. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/cli-parser.d.ts.map +1 -0
  88. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/dependency-checker.d.ts +46 -0
  89. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/dependency-checker.d.ts.map +1 -0
  90. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/generator.d.ts +9 -0
  91. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/generator.d.ts.map +1 -0
  92. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/install-orchestrator.d.ts +55 -0
  93. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/install-orchestrator.d.ts.map +1 -0
  94. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/repo-manager.d.ts +63 -0
  95. package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/repo-manager.d.ts.map +1 -0
  96. package/dist/packages/ai-toolkit-nx-claude/src/generators/init/generator.d.ts +5 -0
  97. package/dist/packages/ai-toolkit-nx-claude/src/generators/init/generator.d.ts.map +1 -0
  98. package/dist/packages/ai-toolkit-nx-claude/src/generators/setup-registry-proxy/generator.d.ts +5 -0
  99. package/dist/packages/ai-toolkit-nx-claude/src/generators/setup-registry-proxy/generator.d.ts.map +1 -0
  100. package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts +2 -0
  101. package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts.map +1 -0
  102. package/dist/packages/ai-toolkit-nx-claude/src/utils/cli-parser.d.ts +15 -0
  103. package/dist/packages/ai-toolkit-nx-claude/src/utils/cli-parser.d.ts.map +1 -0
  104. package/dist/packages/ai-toolkit-nx-claude/src/utils/prompt-utils.d.ts +42 -0
  105. package/dist/packages/ai-toolkit-nx-claude/src/utils/prompt-utils.d.ts.map +1 -0
  106. package/generators.json +34 -0
  107. package/package.json +166 -0
@@ -0,0 +1,227 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // packages/ai-toolkit-nx-claude/src/generators/setup-registry-proxy/generator.ts
31
+ var generator_exports = {};
32
+ __export(generator_exports, {
33
+ default: () => generator_default,
34
+ setupRegistryProxyGenerator: () => setupRegistryProxyGenerator
35
+ });
36
+ module.exports = __toCommonJS(generator_exports);
37
+ var import_devkit = require("@nx/devkit");
38
+ var path = __toESM(require("path"));
39
+ var os = __toESM(require("os"));
40
+ var fs = __toESM(require("fs"));
41
+ var import_child_process = require("child_process");
42
+ function detectShell() {
43
+ const homeDir = os.homedir();
44
+ const currentShell = process.env.SHELL || "";
45
+ if (currentShell.includes("zsh")) {
46
+ return {
47
+ shell: "zsh",
48
+ rcFile: path.join(homeDir, ".zshrc"),
49
+ envFile: path.join(homeDir, ".zshenv")
50
+ };
51
+ } else if (currentShell.includes("bash")) {
52
+ const bashrc = path.join(homeDir, ".bashrc");
53
+ const bashProfile = path.join(homeDir, ".bash_profile");
54
+ const profile = path.join(homeDir, ".profile");
55
+ const bashEnv = path.join(homeDir, ".bash_env");
56
+ if (fs.existsSync(bashrc)) {
57
+ return { shell: "bash", rcFile: bashrc, envFile: bashEnv };
58
+ } else if (fs.existsSync(bashProfile)) {
59
+ return { shell: "bash", rcFile: bashProfile, envFile: bashEnv };
60
+ } else if (fs.existsSync(profile)) {
61
+ return { shell: "bash", rcFile: profile, envFile: bashEnv };
62
+ }
63
+ return { shell: "bash", rcFile: bashrc, envFile: bashEnv };
64
+ } else if (currentShell.includes("fish")) {
65
+ return {
66
+ shell: "fish",
67
+ rcFile: path.join(homeDir, ".config", "fish", "config.fish"),
68
+ envFile: path.join(homeDir, ".config", "fish", "config.fish")
69
+ };
70
+ }
71
+ const configs = [
72
+ { file: ".zshrc", shell: "zsh", envFile: ".zshenv" },
73
+ { file: ".bashrc", shell: "bash", envFile: ".bash_env" },
74
+ { file: ".bash_profile", shell: "bash", envFile: ".bash_env" },
75
+ { file: ".profile", shell: "bash", envFile: ".bash_env" }
76
+ ];
77
+ for (const config of configs) {
78
+ const configPath = path.join(homeDir, config.file);
79
+ if (fs.existsSync(configPath)) {
80
+ return {
81
+ shell: config.shell,
82
+ rcFile: configPath,
83
+ envFile: path.join(homeDir, config.envFile)
84
+ };
85
+ }
86
+ }
87
+ return {
88
+ shell: "bash",
89
+ rcFile: path.join(homeDir, ".bashrc"),
90
+ envFile: path.join(homeDir, ".bash_env")
91
+ };
92
+ }
93
+ async function setupRegistryProxyGenerator(tree, options) {
94
+ const { shell, rcFile, envFile } = options.shellConfig || detectShell();
95
+ const homeDir = os.homedir();
96
+ const proxyFileName = `.uniswap-ai-toolkit.${shell}rc`;
97
+ const proxyFilePath = path.join(homeDir, proxyFileName);
98
+ console.log(`
99
+ \u{1F50D} Detected shell: ${shell}`);
100
+ console.log(`\u{1F4C4} Shell config file: ${rcFile}`);
101
+ console.log(`\u{1F4C4} Shell env file: ${envFile}`);
102
+ console.log(`\u{1F4E6} Proxy file will be created at: ${proxyFilePath}`);
103
+ if (fs.existsSync(proxyFilePath) && !options.force) {
104
+ console.log("\n\u26A0\uFE0F Proxy file already exists. Use --force to overwrite.");
105
+ if (fs.existsSync(rcFile)) {
106
+ const rcContent = fs.readFileSync(rcFile, "utf-8");
107
+ const sourceCommand2 = `source ${proxyFilePath}`;
108
+ if (rcContent.includes(sourceCommand2)) {
109
+ console.log("\u2705 Registry proxy is already configured and sourced.");
110
+ return;
111
+ }
112
+ }
113
+ }
114
+ const possiblePaths = [
115
+ // Direct execution from built package
116
+ path.join(__dirname, "files", `uniswap-ai-toolkit.__shell__rc.template`),
117
+ // Fallback: read from source if we're in development
118
+ path.join(
119
+ __dirname,
120
+ "..",
121
+ "setup-registry-proxy",
122
+ "files",
123
+ `uniswap-ai-toolkit.__shell__rc.template`
124
+ )
125
+ ];
126
+ let templateContent = "";
127
+ for (const templatePath of possiblePaths) {
128
+ if (fs.existsSync(templatePath)) {
129
+ templateContent = fs.readFileSync(templatePath, "utf-8");
130
+ break;
131
+ }
132
+ }
133
+ const substitutions = {
134
+ shell,
135
+ generatedDate: (/* @__PURE__ */ new Date()).toISOString()
136
+ };
137
+ for (const [key, value] of Object.entries(substitutions)) {
138
+ const regex = new RegExp(`<%= ${key} %>`, "g");
139
+ templateContent = templateContent.replace(regex, value);
140
+ }
141
+ const isDryRun = process.argv.includes("--dry-run");
142
+ if (!isDryRun) {
143
+ if (fs.existsSync(proxyFilePath) && options.backup !== false) {
144
+ const backupPath = `${proxyFilePath}.backup.${Date.now()}`;
145
+ fs.copyFileSync(proxyFilePath, backupPath);
146
+ console.log(`\u{1F4CB} Backed up existing file to: ${backupPath}`);
147
+ }
148
+ fs.writeFileSync(proxyFilePath, templateContent);
149
+ fs.chmodSync(proxyFilePath, "755");
150
+ console.log(`\u2705 Created proxy file: ${proxyFilePath}`);
151
+ } else {
152
+ console.log(`\u2705 [DRY-RUN] Would create proxy file: ${proxyFilePath}`);
153
+ }
154
+ const sourceCommand = `source ${proxyFilePath}`;
155
+ const markerComment = "# Uniswap AI Toolkit Registry Proxy (added by @uniswap/ai-toolkit-nx-claude)";
156
+ let envFileContent = "";
157
+ if (fs.existsSync(envFile)) {
158
+ envFileContent = fs.readFileSync(envFile, "utf-8");
159
+ }
160
+ if (!envFileContent.includes(sourceCommand)) {
161
+ const addition = `
162
+ ${markerComment}
163
+ ${sourceCommand}
164
+ `;
165
+ if (!isDryRun) {
166
+ fs.appendFileSync(envFile, addition);
167
+ console.log(`\u2705 Added source command to env file: ${envFile}`);
168
+ console.log(
169
+ " (This ensures proxy works in non-interactive shells like Claude Code)"
170
+ );
171
+ } else {
172
+ console.log(
173
+ `\u2705 [DRY-RUN] Would add source command to env file: ${envFile}`
174
+ );
175
+ }
176
+ } else {
177
+ console.log(`\u2705 Source command already present in env file: ${envFile}`);
178
+ }
179
+ if (fs.existsSync(rcFile)) {
180
+ const rcContent = fs.readFileSync(rcFile, "utf-8");
181
+ if (!rcContent.includes(sourceCommand)) {
182
+ const addition = `
183
+ ${markerComment}
184
+ ${sourceCommand}
185
+ `;
186
+ if (!isDryRun) {
187
+ fs.appendFileSync(rcFile, addition);
188
+ console.log(`\u2705 Also added source command to: ${rcFile}`);
189
+ } else {
190
+ console.log(`\u2705 [DRY-RUN] Would also add source command to: ${rcFile}`);
191
+ }
192
+ } else {
193
+ console.log(`\u2705 Source command already present in: ${rcFile}`);
194
+ }
195
+ }
196
+ console.log("\n\u{1F504} To activate the proxy in your current shell, run:");
197
+ console.log(` ${sourceCommand}`);
198
+ console.log("\nOr start a new shell session.");
199
+ if (options.test && fs.existsSync(proxyFilePath)) {
200
+ console.log("\n\u{1F9EA} Testing proxy installation...");
201
+ try {
202
+ const testCommand = shell === "fish" ? `source ${proxyFilePath}; echo "\u2705 Proxy loaded successfully"` : `. ${proxyFilePath} && echo "\u2705 Proxy loaded successfully"`;
203
+ (0, import_child_process.execSync)(testCommand, {
204
+ stdio: "inherit",
205
+ shell: `/bin/${shell}`
206
+ });
207
+ } catch (error) {
208
+ console.error("\u274C Error testing proxy:", error);
209
+ }
210
+ }
211
+ console.log("\n\u2728 Registry proxy setup complete!");
212
+ console.log(
213
+ "\n\u{1F4DD} The proxy will automatically route these packages to GitHub registry:"
214
+ );
215
+ console.log(" - @uniswap/ai-toolkit*");
216
+ console.log(" - @uniswap/spec-workflow-mcp");
217
+ console.log("\n\u{1F510} Make sure you have GitHub authentication configured:");
218
+ console.log(" export NODE_AUTH_TOKEN=your_github_token");
219
+ console.log(" OR add to ~/.npmrc:");
220
+ console.log(" //npm.pkg.github.com/:_authToken=your_github_token");
221
+ await (0, import_devkit.formatFiles)(tree);
222
+ }
223
+ var generator_default = setupRegistryProxyGenerator;
224
+ // Annotate the CommonJS export names for ESM import in node:
225
+ 0 && (module.exports = {
226
+ setupRegistryProxyGenerator
227
+ });
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "SetupRegistryProxy",
4
+ "title": "Setup Registry Proxy",
5
+ "description": "Configure shell proxy for routing @uniswap/ai-toolkit* packages to GitHub registry",
6
+ "type": "object",
7
+ "properties": {
8
+ "shellConfig": {
9
+ "type": "object",
10
+ "description": "Override shell detection (optional)",
11
+ "properties": {
12
+ "shell": {
13
+ "type": "string",
14
+ "enum": ["bash", "zsh", "fish"],
15
+ "description": "Shell type"
16
+ },
17
+ "rcFile": {
18
+ "type": "string",
19
+ "description": "Path to shell configuration file"
20
+ }
21
+ }
22
+ },
23
+ "force": {
24
+ "type": "boolean",
25
+ "default": false,
26
+ "description": "Overwrite existing proxy configuration",
27
+ "x-prompt": "Overwrite existing proxy configuration if it exists?"
28
+ },
29
+ "backup": {
30
+ "type": "boolean",
31
+ "default": true,
32
+ "description": "Backup existing proxy file before overwriting",
33
+ "x-prompt": "Backup existing configuration before overwriting?"
34
+ },
35
+ "test": {
36
+ "type": "boolean",
37
+ "default": true,
38
+ "description": "Test the proxy installation after setup",
39
+ "x-prompt": "Test the proxy after installation?"
40
+ }
41
+ },
42
+ "required": []
43
+ }
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Unified CLI wrapper for all generators.
4
+ * Determines which generator to run based on the script name.
5
+ *
6
+ * This single file handles all generator invocations:
7
+ * - ai-toolkit-nx-claude -> defaults to init generator
8
+ * - ai-toolkit-nx-claude:init -> init generator
9
+ * - ai-toolkit-nx-claude:hooks -> hooks generator
10
+ * - ai-toolkit-nx-claude:setup-registry-proxy -> setup-registry-proxy generator
11
+ * - ai-toolkit-nx-claude:addons -> addons generator
12
+ * - ai-toolkit-nx-claude:add-command -> add-command generator
13
+ * - ai-toolkit-nx-claude:add-agent -> add-agent generator
14
+ */
15
+ export {};
16
+ //# sourceMappingURL=cli-generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-generator.d.ts","sourceRoot":"","sources":["../../../../src/cli-generator.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;GAYG"}
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Handles the execution of an Nx generator with proper error handling
4
+ */
5
+ export declare function handleNxExecution(generatorName: string, args: string[]): Promise<void>;
6
+ //# sourceMappingURL=cli-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-utils.d.ts","sourceRoot":"","sources":["../../../../src/cli-utils.ts"],"names":[],"mappings":";AAMA;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,iBAsC5E"}
@@ -0,0 +1,5 @@
1
+ import type { Tree } from '@nx/devkit';
2
+ import type { AddAgentGeneratorSchema } from './schema';
3
+ export declare function addAgentGenerator(tree: Tree, options: AddAgentGeneratorSchema): Promise<(() => Promise<void>) | undefined>;
4
+ export default addAgentGenerator;
5
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/add-agent/generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAIxD,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,uBAAuB,8CAyPjC;AAmCD,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Tree } from '@nx/devkit';
2
+ import type { AddCommandGeneratorSchema } from './schema';
3
+ export declare function addCommandGenerator(tree: Tree, options: AddCommandGeneratorSchema): Promise<(() => Promise<void>) | undefined>;
4
+ export default addCommandGenerator;
5
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/add-command/generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAI1D,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,yBAAyB,8CA4PnC;AAmCD,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Metadata for a Claude Code addon
3
+ */
4
+ export interface AddonMetadata {
5
+ /** Unique identifier for the addon */
6
+ id: string;
7
+ /** Display name */
8
+ name: string;
9
+ /** Description */
10
+ description: string;
11
+ /** Type of addon */
12
+ type: 'mcp-server' | 'extension' | 'tool' | 'project-setup';
13
+ /** Package name for the addon */
14
+ packageName: string;
15
+ /** Registry URL (optional, defaults to npm) */
16
+ registry?: string;
17
+ /** Required authentication for installation */
18
+ requiresAuth?: boolean;
19
+ /** MCP-specific configuration */
20
+ mcp?: {
21
+ /** Server name for Claude MCP registration */
22
+ serverName?: string;
23
+ /** Command to run the MCP server */
24
+ command: string;
25
+ /** Arguments for the command */
26
+ args?: string[];
27
+ /** Environment variables */
28
+ env?: Record<string, string>;
29
+ /** Whether the server supports dashboard mode */
30
+ supportsDashboard?: boolean;
31
+ /** Default port for dashboard (if applicable) */
32
+ defaultPort?: number;
33
+ };
34
+ /** Installation requirements */
35
+ requirements?: {
36
+ /** Required Node.js version */
37
+ node?: string;
38
+ /** Required system commands */
39
+ commands?: string[];
40
+ };
41
+ /** Project setup configuration */
42
+ projectSetup?: {
43
+ /** Git repository to clone */
44
+ repositoryUrl: string;
45
+ /** Path within repo to copy from */
46
+ configSourcePath: string;
47
+ /** Directory name to create in project */
48
+ targetDirectory: string;
49
+ /** Whether repo needs authentication */
50
+ requiresAuth: boolean;
51
+ };
52
+ }
53
+ /**
54
+ * Get all available addons
55
+ */
56
+ export declare function getAvailableAddons(): AddonMetadata[];
57
+ /**
58
+ * Get an addon by ID
59
+ */
60
+ export declare function getAddonById(id: string): AddonMetadata | undefined;
61
+ /**
62
+ * Check if an addon is installed in Claude configuration
63
+ */
64
+ export declare function isAddonInstalled(addonId: string): Promise<boolean>;
65
+ /**
66
+ * Get installed addon configuration from Claude config
67
+ */
68
+ export declare function getInstalledAddonConfig(addonId: string): Promise<Record<string, any> | undefined>;
69
+ /**
70
+ * Validate addon requirements
71
+ */
72
+ export declare function validateAddonRequirements(addonId: string): Promise<{
73
+ valid: boolean;
74
+ errors: string[];
75
+ }>;
76
+ //# sourceMappingURL=addon-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addon-registry.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/addons/addon-registry.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB;IACpB,IAAI,EAAE,YAAY,GAAG,WAAW,GAAG,MAAM,GAAG,eAAe,CAAC;IAC5D,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iCAAiC;IACjC,GAAG,CAAC,EAAE;QACJ,8CAA8C;QAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,oCAAoC;QACpC,OAAO,EAAE,MAAM,CAAC;QAChB,gCAAgC;QAChC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAChB,4BAA4B;QAC5B,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7B,iDAAiD;QACjD,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,iDAAiD;QACjD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,gCAAgC;IAChC,YAAY,CAAC,EAAE;QACb,+BAA+B;QAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,+BAA+B;QAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;IACF,kCAAkC;IAClC,YAAY,CAAC,EAAE;QACb,8BAA8B;QAC9B,aAAa,EAAE,MAAM,CAAC;QACtB,oCAAoC;QACpC,gBAAgB,EAAE,MAAM,CAAC;QACzB,0CAA0C;QAC1C,eAAe,EAAE,MAAM,CAAC;QACxB,wCAAwC;QACxC,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAoCD;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,aAAa,EAAE,CAEpD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAElE;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CA+CxE;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,CA2C1C;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAsC/C"}
@@ -0,0 +1,47 @@
1
+ import type { AddonMetadata } from './addon-registry';
2
+ /**
3
+ * MCP installation options
4
+ */
5
+ export interface MCPInstallOptions {
6
+ /** The addon to install */
7
+ addon: AddonMetadata;
8
+ /** Additional arguments specific to the MCP server */
9
+ additionalArgs?: string[];
10
+ /** Whether to use dry-run mode */
11
+ dryRun?: boolean;
12
+ }
13
+ /**
14
+ * Install an MCP server using Claude CLI
15
+ */
16
+ export declare function installMcpServer(options: MCPInstallOptions): Promise<{
17
+ success: boolean;
18
+ message: string;
19
+ error?: string;
20
+ }>;
21
+ /**
22
+ * Verify that an MCP server was installed correctly
23
+ */
24
+ export declare function verifyMcpInstallation(serverName: string): Promise<{
25
+ installed: boolean;
26
+ configured: boolean;
27
+ configPath?: string;
28
+ serverConfig?: any;
29
+ }>;
30
+ /**
31
+ * Update existing MCP server configuration
32
+ */
33
+ export declare function updateMcpServer(serverName: string, argUpdates: {
34
+ remove?: string[];
35
+ add?: string[];
36
+ }): Promise<{
37
+ success: boolean;
38
+ message: string;
39
+ }>;
40
+ /**
41
+ * Remove an MCP server installation
42
+ */
43
+ export declare function removeMcpServer(serverName: string): Promise<{
44
+ success: boolean;
45
+ message: string;
46
+ }>;
47
+ //# sourceMappingURL=claude-mcp-installer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claude-mcp-installer.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/addons/claude-mcp-installer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,2BAA2B;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,sDAAsD;IACtD,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,kCAAkC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;IAC1E,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CA4HD;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IACvE,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC,CAgCD;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE;IACV,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAChB,GACA,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAkDhD;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IACjE,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CAiCD"}
@@ -0,0 +1,7 @@
1
+ import type { Tree } from '@nx/devkit';
2
+ import type { AddonsGeneratorSchema } from './schema';
3
+ /**
4
+ * Main generator function for installing Claude Code addons
5
+ */
6
+ export default function generator(tree: Tree, schema: AddonsGeneratorSchema): Promise<void>;
7
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/addons/generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAyBtD;;GAEG;AACH,wBAA8B,SAAS,CACrC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAgOf"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Authentication status for GitHub packages
3
+ */
4
+ export interface AuthStatus {
5
+ /** Whether authentication is configured */
6
+ authenticated: boolean;
7
+ /** Authentication method used */
8
+ method?: 'npmrc' | 'env' | 'none';
9
+ /** Registry URL configured */
10
+ registry?: string;
11
+ /** Whether the token is valid */
12
+ valid?: boolean;
13
+ /** Error message if authentication failed */
14
+ error?: string;
15
+ }
16
+ /**
17
+ * Check if GitHub authentication is configured
18
+ */
19
+ export declare function checkGitHubAuth(): Promise<AuthStatus>;
20
+ /**
21
+ * Setup GitHub authentication
22
+ */
23
+ export declare function setupGitHubAuth(token: string, location?: 'global' | 'local'): Promise<AuthStatus>;
24
+ /**
25
+ * Validate package access with current authentication
26
+ */
27
+ export declare function validatePackageAccess(packageName?: string): Promise<{
28
+ accessible: boolean;
29
+ error?: string;
30
+ version?: string;
31
+ }>;
32
+ /**
33
+ * Get authentication instructions for the user
34
+ */
35
+ export declare function getAuthInstructions(): string;
36
+ //# sourceMappingURL=github-auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github-auth.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/addons/github-auth.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,aAAa,EAAE,OAAO,CAAC;IACvB,iCAAiC;IACjC,MAAM,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IAClC,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,UAAU,CAAC,CA4C3D;AAwBD;;GAEG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,QAAQ,GAAG,OAAkB,GACtC,OAAO,CAAC,UAAU,CAAC,CAwDrB;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,WAAW,SAA+B,GACzC,OAAO,CAAC;IACT,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAsDD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAY5C"}
@@ -0,0 +1,52 @@
1
+ import type { AddonsGeneratorSchema } from './schema';
2
+ /**
3
+ * Result of the setup operation
4
+ */
5
+ export interface SetupResult {
6
+ success: boolean;
7
+ message: string;
8
+ projectPath: string;
9
+ createdFiles?: string[];
10
+ }
11
+ /**
12
+ * Result of cloning a repository
13
+ */
14
+ interface CloneResult {
15
+ success: boolean;
16
+ message: string;
17
+ clonePath?: string;
18
+ error?: string;
19
+ }
20
+ /**
21
+ * Result of copying configuration files
22
+ */
23
+ interface CopyResult {
24
+ success: boolean;
25
+ message: string;
26
+ copiedFiles?: string[];
27
+ error?: string;
28
+ }
29
+ /**
30
+ * Setup spec-workflow in an existing project
31
+ */
32
+ export declare function setupSpecWorkflow(projectPath: string, options: AddonsGeneratorSchema & {
33
+ dryRun?: boolean;
34
+ }): Promise<SetupResult>;
35
+ /**
36
+ * Clone a git repository to a specified directory
37
+ */
38
+ export declare function cloneRepository(repositoryUrl: string, targetDir: string): Promise<CloneResult>;
39
+ /**
40
+ * Update .gitignore file to include a pattern if not already present
41
+ */
42
+ export declare function updateGitignore(projectPath: string, pattern: string): Promise<{
43
+ success: boolean;
44
+ message: string;
45
+ }>;
46
+ /**
47
+ * Copy configuration files from source to target directory
48
+ * This will overwrite existing files but preserve any additional files in the target
49
+ */
50
+ export declare function copyConfigFiles(sourceDir: string, targetDir: string): Promise<CopyResult>;
51
+ export {};
52
+ //# sourceMappingURL=spec-workflow-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spec-workflow-setup.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/addons/spec-workflow-setup.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,UAAU;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GACpD,OAAO,CAAC,WAAW,CAAC,CAyGtB;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,WAAW,CAAC,CAgDtB;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CA8ChD;AAED;;;GAGG;AACH,wBAAsB,eAAe,CACnC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,UAAU,CAAC,CAwDrB"}
@@ -0,0 +1,2 @@
1
+ export { getExplicitlyProvidedOptions, isNxDryRunProvided, isNxNoInteractiveProvided, } from '../../utils/cli-parser';
2
+ //# sourceMappingURL=cli-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-parser.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/hooks/cli-parser.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Interface for dependency status information
3
+ */
4
+ export interface DependencyStatus {
5
+ hasNode: boolean;
6
+ nodeVersion?: string;
7
+ hasNpm: boolean;
8
+ npmVersion?: string;
9
+ hasGit: boolean;
10
+ gitVersion?: string;
11
+ missingDependencies: string[];
12
+ }
13
+ /**
14
+ * Check all required dependencies for the hooks generator
15
+ * @returns Structured dependency status
16
+ */
17
+ export declare function checkDependencies(): DependencyStatus;
18
+ /**
19
+ * Log dependency status to the console
20
+ * @param status The dependency status to log
21
+ */
22
+ export declare function logDependencyStatus(status: DependencyStatus): void;
23
+ /**
24
+ * Check if all required dependencies are installed
25
+ * @param status The dependency status to check
26
+ * @returns true if all dependencies are installed, false otherwise
27
+ */
28
+ export declare function hasAllDependencies(status: DependencyStatus): boolean;
29
+ /**
30
+ * Get installation instructions for missing dependencies
31
+ * @param missingDeps Array of missing dependency names
32
+ * @returns Installation instructions string
33
+ */
34
+ export declare function getInstallInstructions(missingDeps: string[]): string;
35
+ /**
36
+ * Validate that required dependencies meet minimum version requirements
37
+ * @param status The dependency status to validate
38
+ * @returns true if all version requirements are met, false otherwise
39
+ */
40
+ export declare function validateVersions(status: DependencyStatus): boolean;
41
+ /**
42
+ * Main function to check and validate all dependencies
43
+ * @returns true if all dependencies are satisfied, false otherwise
44
+ */
45
+ export declare function checkAndValidateDependencies(): Promise<boolean>;
46
+ //# sourceMappingURL=dependency-checker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dependency-checker.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/hooks/dependency-checker.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAwCD;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,gBAAgB,CAiCpD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAoBlE;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAEpE;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,CAwBpE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAmDlE;AAED;;;GAGG;AACH,wBAAsB,4BAA4B,IAAI,OAAO,CAAC,OAAO,CAAC,CAwBrE"}
@@ -0,0 +1,9 @@
1
+ import type { Tree } from '@nx/devkit';
2
+ import type { HooksGeneratorSchema } from './schema';
3
+ /**
4
+ * Main generator function for installing Claude Code hooks
5
+ * Sets up notification system for user input alerts
6
+ */
7
+ export declare function hooksGenerator(tree: Tree, options: HooksGeneratorSchema): Promise<void>;
8
+ export default hooksGenerator;
9
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/generators/hooks/generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAWrD;;;GAGG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAkJf;AAED,eAAe,cAAc,CAAC"}