@uniswap/ai-toolkit-nx-claude 0.5.30-next.2 → 0.5.30-next.3
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/README.md +28 -27
- package/dist/cli-generator.cjs +4 -10
- package/dist/index.cjs +15 -845
- package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts +1 -2
- package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts.map +1 -1
- package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts.map +1 -1
- package/generators.json +0 -5
- package/package.json +2 -3
- package/dist/generators/hooks/CLAUDE.md +0 -378
- package/dist/generators/hooks/README.md +0 -220
- package/dist/generators/hooks/generator.cjs +0 -1265
- package/dist/generators/hooks/schema.json +0 -41
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/cli-parser.d.ts +0 -2
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/cli-parser.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/dependency-checker.d.ts +0 -46
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/dependency-checker.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/generator.d.ts +0 -9
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/generator.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/install-orchestrator.d.ts +0 -55
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/install-orchestrator.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/repo-manager.d.ts +0 -63
- package/dist/packages/ai-toolkit-nx-claude/src/generators/hooks/repo-manager.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
# @uniswap/ai-toolkit-nx-claude
|
|
2
2
|
|
|
3
|
-
This package provides Nx generators for
|
|
3
|
+
This package provides Nx generators for installing Claude Code addon MCP servers. It also includes the `claude-plus` script for enhanced Claude Code startup.
|
|
4
|
+
|
|
5
|
+
> **Note**: The `init`, `add-command`, `add-agent`, and `hooks` generators have been removed. For Claude Code setup, use the marketplace-based plugin architecture instead. See the [root README.md](../../README.md) for details on installing plugins.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
|
-
This package is published to a private npmjs package registry and requires authentication to access. See the [root README.md file](../../README.md) for instructions on how to install it via NPM, or run it locally
|
|
9
|
+
This package is published to a private npmjs package registry and requires authentication to access. See the [root README.md file](../../README.md) for instructions on how to install it via NPM, or run it locally.
|
|
8
10
|
|
|
9
11
|
## Usage
|
|
10
12
|
|
|
11
|
-
###
|
|
13
|
+
### Interactive Menu
|
|
12
14
|
|
|
13
15
|
```bash
|
|
14
|
-
|
|
16
|
+
# Show interactive menu of available generators
|
|
17
|
+
npx @uniswap/ai-toolkit-nx-claude@latest
|
|
15
18
|
```
|
|
16
19
|
|
|
17
20
|
### Run Specific Generators
|
|
18
21
|
|
|
19
|
-
Each generator can be run directly via the desired generator's subcommand:
|
|
20
|
-
|
|
21
22
|
```bash
|
|
22
|
-
#
|
|
23
|
-
npx
|
|
24
|
-
|
|
25
|
-
# Install notification hooks
|
|
26
|
-
npx nx run @uniswap/ai-toolkit-nx-claude:nx-claude:exec hooks
|
|
27
|
-
|
|
28
|
-
# Install and configure Claude Code addons
|
|
29
|
-
npx nx run @uniswap/ai-toolkit-nx-claude:nx-claude:exec addons
|
|
30
|
-
|
|
31
|
-
# Add a new command to packages
|
|
32
|
-
npx nx run @uniswap/ai-toolkit-nx-claude:nx-claude:exec add-command
|
|
33
|
-
|
|
34
|
-
# Add a new agent to packages
|
|
35
|
-
npx nx run @uniswap/ai-toolkit-nx-claude:nx-claude:exec add-agent
|
|
23
|
+
# Install and configure Claude Code addons (MCP servers)
|
|
24
|
+
npx @uniswap/ai-toolkit-nx-claude@latest addons
|
|
36
25
|
```
|
|
37
26
|
|
|
38
27
|
### List Available Generators
|
|
39
28
|
|
|
40
29
|
```bash
|
|
41
|
-
npx
|
|
30
|
+
npx @uniswap/ai-toolkit-nx-claude@latest --list
|
|
42
31
|
```
|
|
43
32
|
|
|
44
33
|
## Available Generators
|
|
45
34
|
|
|
46
|
-
- **init** - One-shot installer for Claude Code configs
|
|
47
|
-
- **hooks** - Install Claude Code notification hooks
|
|
48
35
|
- **addons** - Install and configure Claude Code addons including MCP servers
|
|
49
|
-
|
|
50
|
-
|
|
36
|
+
|
|
37
|
+
## Standalone Script: claude-plus
|
|
38
|
+
|
|
39
|
+
Enhanced Claude Code launcher with MCP server selection and Slack token management:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Run claude-plus
|
|
43
|
+
npx -y -p @uniswap/ai-toolkit-nx-claude@latest claude-plus
|
|
44
|
+
|
|
45
|
+
# Set up as shell alias
|
|
46
|
+
alias claude-plus="npx -y -p @uniswap/ai-toolkit-nx-claude@latest claude-plus"
|
|
47
|
+
```
|
|
51
48
|
|
|
52
49
|
## Building
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
```bash
|
|
52
|
+
npx nx build ai-toolkit-nx-claude
|
|
53
|
+
```
|
|
55
54
|
|
|
56
55
|
## Testing
|
|
57
56
|
|
|
58
|
-
|
|
57
|
+
```bash
|
|
58
|
+
npx nx test ai-toolkit-nx-claude
|
|
59
|
+
```
|
package/dist/cli-generator.cjs
CHANGED
|
@@ -99,11 +99,7 @@ function shouldRunStandalone() {
|
|
|
99
99
|
async function runGeneratorDirectly(generatorName, args) {
|
|
100
100
|
try {
|
|
101
101
|
const generatorFunctionMap = {
|
|
102
|
-
|
|
103
|
-
hooks: "hooksGenerator",
|
|
104
|
-
addons: "addonsGenerator",
|
|
105
|
-
"add-command": "addCommandGenerator",
|
|
106
|
-
"add-agent": "addAgentGenerator"
|
|
102
|
+
addons: "addonsGenerator"
|
|
107
103
|
};
|
|
108
104
|
const generatorFnName = generatorFunctionMap[generatorName];
|
|
109
105
|
if (!generatorFnName) {
|
|
@@ -273,7 +269,6 @@ async function applyTreeChanges(tree) {
|
|
|
273
269
|
// packages/ai-toolkit-nx-claude/src/cli-generator.ts
|
|
274
270
|
var import_enquirer = require("enquirer");
|
|
275
271
|
var GENERATORS = {
|
|
276
|
-
hooks: "Install Claude Code notification hooks",
|
|
277
272
|
addons: "Install and configure Claude Code addons including MCP servers"
|
|
278
273
|
};
|
|
279
274
|
function getGeneratorName(args) {
|
|
@@ -290,7 +285,7 @@ function getGeneratorName(args) {
|
|
|
290
285
|
console.error(` \u2022 ${name}: ${description}`);
|
|
291
286
|
});
|
|
292
287
|
console.error(
|
|
293
|
-
"\nNote: The init
|
|
288
|
+
"\nNote: The init, hooks, and other generators have been removed. Use the marketplace-based plugin architecture instead."
|
|
294
289
|
);
|
|
295
290
|
process.exit(1);
|
|
296
291
|
}
|
|
@@ -323,10 +318,9 @@ async function main() {
|
|
|
323
318
|
console.log("\nUsage:");
|
|
324
319
|
console.log(" npx @uniswap/ai-toolkit-nx-claude@latest [generator]");
|
|
325
320
|
console.log("\nExamples:");
|
|
326
|
-
console.log(" npx @uniswap/ai-toolkit-nx-claude@latest hooks");
|
|
327
321
|
console.log(" npx @uniswap/ai-toolkit-nx-claude@latest addons");
|
|
328
322
|
console.log(
|
|
329
|
-
"\nNote: The init
|
|
323
|
+
"\nNote: The init, hooks, and other generators have been removed. Use the marketplace-based plugin architecture instead."
|
|
330
324
|
);
|
|
331
325
|
process.exit(0);
|
|
332
326
|
}
|
|
@@ -344,7 +338,7 @@ This command runs the nx-claude ${generatorName} generator.`);
|
|
|
344
338
|
console.log(" npx @uniswap/ai-toolkit-nx-claude@latest [generator]");
|
|
345
339
|
console.log("\nOptions are handled interactively during execution.");
|
|
346
340
|
console.log(
|
|
347
|
-
"\nNote: The init
|
|
341
|
+
"\nNote: The init, hooks, and other generators have been removed. Use the marketplace-based plugin architecture instead."
|
|
348
342
|
);
|
|
349
343
|
process.exit(0);
|
|
350
344
|
}
|