@n8n-as-code/agent-cli 0.5.0 → 0.5.2
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 +16 -2
- package/dist/assets/n8n-docs-complete.json +70 -67
- package/dist/assets/n8n-knowledge-index.json +73 -67
- package/dist/assets/n8n-nodes-technical.json +3 -3
- package/dist/services/docs-provider.d.ts.map +1 -1
- package/dist/services/docs-provider.js +7 -3
- package/dist/services/docs-provider.js.map +1 -1
- package/dist/services/knowledge-search.d.ts.map +1 -1
- package/dist/services/knowledge-search.js +9 -3
- package/dist/services/knowledge-search.js.map +1 -1
- package/dist/services/node-schema-provider.js +4 -4
- package/dist/services/node-schema-provider.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,8 +18,14 @@ npm install @n8n-as-code/agent-cli
|
|
|
18
18
|
## 📖 CLI Usage
|
|
19
19
|
|
|
20
20
|
### `search <query>` - 🚀 Deep Unified Search (PRIMARY TOOL)
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
|
|
22
|
+
**Deep Full-Text Search with Smart Keyword Matching** across 600+ nodes and 1240+ documentation pages.
|
|
23
|
+
Optimized for natural language queries, technical terms, and capabilities (e.g., "image generation" finds Google Gemini).
|
|
24
|
+
|
|
25
|
+
KEY FEATURES:
|
|
26
|
+
- **Comprehensive Keyword Extraction**: Finds nodes based on operations (e.g., "generate", "transcribe") and resources (e.g., "image", "video").
|
|
27
|
+
- **Smart Prioritization**: Matches on keywords first, then titles, then content.
|
|
28
|
+
- **Fuzzy Matching**: Handles typos and partial terms ("googl shets").
|
|
23
29
|
|
|
24
30
|
```bash
|
|
25
31
|
# Search nodes, docs, and tutorials
|
|
@@ -114,6 +120,14 @@ n8n-agent update-ai
|
|
|
114
120
|
n8n-agent update-ai --version 1.70.0
|
|
115
121
|
```
|
|
116
122
|
|
|
123
|
+
## 📁 Data Source
|
|
124
|
+
|
|
125
|
+
The Agent CLI uses a pre-generated index of n8n nodes from the official n8n source code. The data is stored in `dist/assets/` (generated during build):
|
|
126
|
+
|
|
127
|
+
- `n8n-knowledge-index.json`: Unified FlexSearch index for the `search` command.
|
|
128
|
+
- `n8n-nodes-technical.json`: Detailed technical schemas for the `get` command.
|
|
129
|
+
- `n8n-docs-complete.json`: Full documentation content.
|
|
130
|
+
|
|
117
131
|
## 🧩 Integration
|
|
118
132
|
|
|
119
133
|
### With @n8n-as-code/cli
|