ai-devkit 0.13.0 → 0.14.0
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 +1 -1
- package/dist/services/lint/rules/base-docs.rule.js +1 -1
- package/dist/services/lint/rules/base-docs.rule.js.map +1 -1
- package/dist/templates/commands/remember.md +1 -1
- package/dist/templates/env/base.md +2 -2
- package/dist/templates/templates/commands/remember.md +1 -1
- package/dist/templates/templates/env/base.md +2 -2
- package/package.json +2 -2
- package/templates/commands/remember.md +1 -1
- package/templates/env/base.md +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ function runBaseDocsRules(cwd, deps) {
|
|
|
10
10
|
idPrefix: 'base',
|
|
11
11
|
category: 'base-docs',
|
|
12
12
|
filePathForPhase: (phase) => `${constants_1.DOCS_DIR}/${phase}/README.md`,
|
|
13
|
-
missingFix: 'Run: npx ai-devkit init',
|
|
13
|
+
missingFix: 'Run: npx ai-devkit@latest init',
|
|
14
14
|
deps
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-docs.rule.js","sourceRoot":"","sources":["../../../../src/services/lint/rules/base-docs.rule.ts"],"names":[],"mappings":";;AAIA,4CAUC;AAdD,4CAA0D;AAE1D,uDAAqD;AAErD,SAAgB,gBAAgB,CAAC,GAAW,EAAE,IAAsB;IAClE,OAAO,IAAA,kCAAgB,EAAC;QACtB,GAAG;QACH,MAAM,EAAE,4BAAgB;QACxB,QAAQ,EAAE,MAAM;QAChB,QAAQ,EAAE,WAAW;QACrB,gBAAgB,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,oBAAQ,IAAI,KAAK,YAAY;QACrE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"base-docs.rule.js","sourceRoot":"","sources":["../../../../src/services/lint/rules/base-docs.rule.ts"],"names":[],"mappings":";;AAIA,4CAUC;AAdD,4CAA0D;AAE1D,uDAAqD;AAErD,SAAgB,gBAAgB,CAAC,GAAW,EAAE,IAAsB;IAClE,OAAO,IAAA,kCAAgB,EAAC;QACtB,GAAG;QACH,MAAM,EAAE,4BAAgB;QACxB,QAAQ,EAAE,MAAM;QAChB,QAAQ,EAAE,WAAW;QACrB,gBAAgB,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,oBAAQ,IAAI,KAAK,YAAY;QACrE,UAAU,EAAE,gCAAgC;QAC5C,IAAI;KACL,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -6,5 +6,5 @@ When I say "remember this" or want to save a reusable rule, help me store it in
|
|
|
6
6
|
|
|
7
7
|
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
|
|
8
8
|
2. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
|
|
9
|
-
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit memory store` instead.
|
|
9
|
+
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
|
|
10
10
|
4. **Confirm** — Summarize what was saved and offer to store more knowledge if needed.
|
|
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
57
57
|
|
|
58
58
|
**How to search**:
|
|
59
59
|
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
|
|
60
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
|
|
60
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
|
|
61
61
|
- Example: Search for "authentication patterns" when implementing auth features
|
|
62
62
|
|
|
63
63
|
### When to Store Memory
|
|
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
68
68
|
|
|
69
69
|
**How to store**:
|
|
70
70
|
- Use `memory.storeKnowledge` MCP tool
|
|
71
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
|
|
71
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
|
|
72
72
|
- Include clear title, detailed content, relevant tags, and appropriate scope
|
|
73
73
|
- Make knowledge specific and actionable, not generic advice
|
|
74
74
|
|
|
@@ -6,5 +6,5 @@ When I say "remember this" or want to save a reusable rule, help me store it in
|
|
|
6
6
|
|
|
7
7
|
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
|
|
8
8
|
2. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
|
|
9
|
-
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit memory store` instead.
|
|
9
|
+
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
|
|
10
10
|
4. **Confirm** — Summarize what was saved and offer to store more knowledge if needed.
|
|
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
57
57
|
|
|
58
58
|
**How to search**:
|
|
59
59
|
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
|
|
60
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
|
|
60
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
|
|
61
61
|
- Example: Search for "authentication patterns" when implementing auth features
|
|
62
62
|
|
|
63
63
|
### When to Store Memory
|
|
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
68
68
|
|
|
69
69
|
**How to store**:
|
|
70
70
|
- Use `memory.storeKnowledge` MCP tool
|
|
71
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
|
|
71
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
|
|
72
72
|
- Include clear title, detailed content, relevant tags, and appropriate scope
|
|
73
73
|
- Make knowledge specific and actionable, not generic advice
|
|
74
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-devkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "A CLI toolkit for AI-assisted software development with phase templates and environment setup",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ai-devkit/memory": "0.
|
|
30
|
+
"@ai-devkit/memory": "0.6.0",
|
|
31
31
|
"chalk": "^4.1.2",
|
|
32
32
|
"commander": "^11.1.0",
|
|
33
33
|
"fs-extra": "^11.2.0",
|
|
@@ -6,5 +6,5 @@ When I say "remember this" or want to save a reusable rule, help me store it in
|
|
|
6
6
|
|
|
7
7
|
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
|
|
8
8
|
2. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
|
|
9
|
-
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit memory store` instead.
|
|
9
|
+
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
|
|
10
10
|
4. **Confirm** — Summarize what was saved and offer to store more knowledge if needed.
|
package/templates/env/base.md
CHANGED
|
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
57
57
|
|
|
58
58
|
**How to search**:
|
|
59
59
|
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
|
|
60
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
|
|
60
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
|
|
61
61
|
- Example: Search for "authentication patterns" when implementing auth features
|
|
62
62
|
|
|
63
63
|
### When to Store Memory
|
|
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
|
|
|
68
68
|
|
|
69
69
|
**How to store**:
|
|
70
70
|
- Use `memory.storeKnowledge` MCP tool
|
|
71
|
-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
|
|
71
|
+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
|
|
72
72
|
- Include clear title, detailed content, relevant tags, and appropriate scope
|
|
73
73
|
- Make knowledge specific and actionable, not generic advice
|
|
74
74
|
|