@ronas-it/nx-generators 0.21.0 → 0.22.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronas-it/nx-generators",
3
- "version": "0.21.0",
3
+ "version": "0.22.0-alpha.1",
4
4
  "description": "Nx generators for Ronas IT projects",
5
5
  "license": "MIT",
6
6
  "author": "Ronas IT",
@@ -0,0 +1,58 @@
1
+ # Instructions for AI Assistants
2
+
3
+ ## Basic Guidelines
4
+
5
+ - Always ask questions before implementation if something is unclear
6
+ - Always read existing files before modifying them
7
+ - Check for lint errors after making changes and fix them
8
+ - When adding new features, follow existing patterns in the codebase
9
+ - Suggest updates to this `AGENTS.md` file when discovering new patterns, but only apply after user confirmation
10
+ - Do not leave obvious comments in code
11
+ - Do not create new documentation until I asked to do so
12
+
13
+ ## Using the Open WebUI Knowledge MCP Server
14
+
15
+ When working in this workspace, use the **open-webui-knowledge** MCP server to search company knowledge bases whenever relevant. Prefer it over generic answers for internal standards, architecture, and Ronas IT context.
16
+
17
+ ### When to Query Knowledge Bases
18
+
19
+ Use the MCP tools **list_knowledge_bases**, **search_knowledge_base**, and **get_knowledge_base_info** (server: `user-open-webui-knowledge`) in these cases:
20
+
21
+ 1. **User mentions a knowledge base**
22
+ e.g. “knowledge base”, “check the docs”, “per our guidelines”, “in our documentation”.
23
+
24
+ 2. **Question is about architecture, standards, or recommended solutions** for:
25
+ - **React** → search **Frontend Docs**
26
+ - **React Native** → search **Frontend Docs**
27
+ - **Next.js** → search **Frontend Docs**
28
+ - **PHP / Laravel** → search **Backend Docs**
29
+
30
+ 3. **User mentions Ronas (Ronas IT, the company, our product)**
31
+ Use **Frontend Docs**, **Backend Docs**, or **Ronas IT Dribbble Portfolio** depending on whether the question is about frontend, backend, or design references.
32
+
33
+ 4. **Sales, marketing, or task templates**
34
+ Use **Sales Documentation**, **Sales**, **Marketing**, or **Tasks Templates** when the question is about processes, sales materials, or task formats.
35
+
36
+ ### Knowledge Base IDs (for search_knowledge_base)
37
+
38
+ | Knowledge base | ID |
39
+ |---------------------------|----|
40
+ | Backend Docs (Laravel) | `60603f2d-1318-4e81-adbd-681b47b22b3a` |
41
+ | Frontend Docs (RN, Next) | `7de525d2-a308-41e4-ab15-42d527549703` |
42
+ | Sales Documentation | `b0d7f492-cf20-442b-a767-2255113f036f` |
43
+ | Ronas IT Dribbble | `e64d0850-bd4d-4e68-9ca4-4e2211d795d4` |
44
+ | Sales | `8f8bb651-a5dc-43e5-a650-a3a145543690` |
45
+ | Marketing | `5006584c-28f5-4a5b-8fa8-0f61e3c7f981` |
46
+ | Tasks Templates | `44fc3e2e-c0eb-4700-bb51-4d80cadbf0f9` |
47
+
48
+ **Keeping the table up to date:** If you call **list_knowledge_bases** and the result shows new bases, different IDs, or missing entries compared to the table above, update the "Knowledge Base IDs" table in this file (AGENTS.md) so it matches the current list. That keeps the reference accurate for future sessions.
49
+
50
+ If in doubt, call **list_knowledge_bases** first to get the current list and descriptions.
51
+
52
+ ### How to Search
53
+
54
+ - Use **search_knowledge_base** with `knowledge_base_id` and `query` (and optionally `k` for number of results).
55
+ - Formulate `query` from the user’s question (architecture, tech stack, “how we do X”, naming, etc.).
56
+ - Prefer the most specific base (e.g. Frontend Docs for React/Next/RN, Backend Docs for Laravel) and optionally search multiple bases when the question spans domains or company practices.
57
+
58
+ Cite retrieved snippets and, when they conflict with generic best practices, prefer the knowledge base content for this project.
@@ -13,6 +13,7 @@ function repoConfigGenerator(tree) {
13
13
  const projectPackagePath = 'package.json';
14
14
  // Remove unnecessary files and files that will be replaced
15
15
  tree.delete('README.md');
16
+ tree.delete('AGENTS.md');
16
17
  tree.delete('packages');
17
18
  // Update project package.json
18
19
  const projectPackageJson = (0, devkit_1.readJson)(tree, projectPackagePath);
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/repo-config/generator.ts"],"names":[],"mappings":";;AAcA,kDA4BC;;AA1CD,6BAA6B;AAC7B,uCAQoB;AACpB,4DAA4D;AAC5D,8CAAgE;AAChE,uCAAgC;AAEhC,SAAsB,mBAAmB,CAAC,IAAU;;QAClD,MAAM,WAAW,GAAG,GAAG,CAAC;QACxB,MAAM,kBAAkB,GAAG,cAAc,CAAC;QAE1C,2DAA2D;QAC3D,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAExB,8BAA8B;QAC9B,MAAM,kBAAkB,GAAG,IAAA,iBAAQ,EAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAC9D,kBAAkB,CAAC,UAAU,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC3C,kBAAkB,CAAC,OAAO,GAAG,iBAAO,CAAC;QACrC,IAAA,kBAAS,EAAC,IAAI,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;QAExD,oBAAoB;QACpB,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,WAAW,EAAE;YAC9D,IAAI,EAAE,IAAA,sBAAc,EAAC,kBAAkB,CAAC,IAAI,CAAC;YAC7C,UAAU,EAAV,kBAAU;SACX,CAAC,CAAC;QAEH,mBAAmB;QACnB,IAAA,qCAA4B,EAAC,IAAI,EAAE,EAAE,EAAE,8BAAe,CAAC,aAAa,CAAC,CAAC,CAAC;QAEvE,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAExB,OAAO,GAAS,EAAE;YAChB,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,kBAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../plugin/src/generators/repo-config/generator.ts"],"names":[],"mappings":";;AAcA,kDA6BC;;AA3CD,6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