k0ntext 3.1.0 → 3.2.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 +78 -2
- package/dist/cli/commands/batch-index.d.ts +16 -0
- package/dist/cli/commands/batch-index.d.ts.map +1 -0
- package/dist/cli/commands/batch-index.js +387 -0
- package/dist/cli/commands/batch-index.js.map +1 -0
- package/dist/cli/index.js +65 -0
- package/dist/cli/index.js.map +1 -1
- package/package.json +2 -2
- package/src/cli/commands/batch-index.ts +492 -0
- package/src/cli/index.ts +81 -3
- package/templates/base/CLI_COMMANDS.md +589 -0
- package/templates/base/agents/api-developer.md +37 -0
- package/templates/base/agents/context-engineer.md +41 -0
- package/templates/base/agents/core-architect.md +41 -0
- package/templates/base/agents/database-ops.md +38 -0
- package/templates/base/agents/deployment-ops.md +41 -0
- package/templates/base/agents/integration-hub.md +37 -0
- package/templates/base/commands/analytics.md +33 -0
- package/templates/base/commands/auto-sync.md +33 -0
- package/templates/base/commands/collab.md +37 -0
- package/templates/base/commands/context-optimize.md +36 -0
- package/templates/base/commands/help.md +55 -0
- package/templates/base/commands/rpi-implement.md +36 -0
- package/templates/base/commands/rpi-plan.md +32 -0
- package/templates/base/commands/rpi-research.md +34 -0
- package/templates/base/commands/session-resume.md +32 -0
- package/templates/base/commands/session-save.md +29 -0
- package/templates/base/commands/validate-all.md +36 -0
- package/templates/base/commands/verify-docs-current.md +33 -0
- package/templates/base/settings.json +10 -1
|
@@ -75,3 +75,39 @@ Overall: READY / NOT READY
|
|
|
75
75
|
- Before creating PR
|
|
76
76
|
- Before deploying
|
|
77
77
|
- After major refactoring
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## k0ntext CLI Commands
|
|
82
|
+
|
|
83
|
+
This command integrates with the following k0ntext CLI commands:
|
|
84
|
+
|
|
85
|
+
| Command | When to Use |
|
|
86
|
+
|---------|-------------|
|
|
87
|
+
| `k0ntext validate` | CLI validation of context file structure |
|
|
88
|
+
| `k0ntext stats` | Check database and indexing status |
|
|
89
|
+
| `k0ntext fact-check` | Validate documentation accuracy |
|
|
90
|
+
|
|
91
|
+
### Command Examples
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# Validate context files
|
|
95
|
+
k0ntext validate
|
|
96
|
+
|
|
97
|
+
# View database statistics
|
|
98
|
+
k0ntext stats
|
|
99
|
+
|
|
100
|
+
# Fact-check documentation
|
|
101
|
+
k0ntext fact-check
|
|
102
|
+
|
|
103
|
+
# Search for validation patterns
|
|
104
|
+
k0ntext search "validation"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Workflow Integration
|
|
108
|
+
|
|
109
|
+
When running validation:
|
|
110
|
+
1. **Before validation:** Run `k0ntext stats` to check indexing status
|
|
111
|
+
2. **During validation:** Reference indexed configuration files
|
|
112
|
+
3. **After failures:** Use `k0ntext fact-check` to identify specific issues
|
|
113
|
+
4. **For fixes:** Use `k0ntext sync` to propagate corrections
|
|
@@ -84,3 +84,36 @@ Overall: HEALTHY / NEEDS UPDATE / STALE
|
|
|
84
84
|
- After ANY code modification
|
|
85
85
|
- Before deploying
|
|
86
86
|
- Monthly as maintenance check
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## k0ntext CLI Commands
|
|
91
|
+
|
|
92
|
+
This command integrates with the following k0ntext CLI commands:
|
|
93
|
+
|
|
94
|
+
| Command | When to Use |
|
|
95
|
+
|---------|-------------|
|
|
96
|
+
| `k0ntext drift-detect` | AI-powered drift detection across all documentation |
|
|
97
|
+
| `k0ntext fact-check` | Validate documentation accuracy for quality assurance |
|
|
98
|
+
| `k0ntext search <query>` | Find related documentation before verification |
|
|
99
|
+
|
|
100
|
+
### Command Examples
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Detect documentation drift using AI
|
|
104
|
+
k0ntext drift-detect
|
|
105
|
+
|
|
106
|
+
# Fact-check specific documentation
|
|
107
|
+
k0ntext fact-check
|
|
108
|
+
|
|
109
|
+
# Search for related files
|
|
110
|
+
k0ntext search "authentication flow"
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Workflow Integration
|
|
114
|
+
|
|
115
|
+
When verifying documentation:
|
|
116
|
+
1. **Before verification:** Run `k0ntext drift-detect` to identify potential issues
|
|
117
|
+
2. **During verification:** Use search to find related documentation
|
|
118
|
+
3. **After verification:** Run `k0ntext fact-check` for additional validation
|
|
119
|
+
4. **For updates:** Use `k0ntext sync` to propagate changes across tools
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/claude-code-settings.json"
|
|
2
|
+
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
|
+
"mcpServers": {
|
|
4
|
+
"k0ntext": {
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["k0ntext", "mcp"],
|
|
7
|
+
"env": {
|
|
8
|
+
"K0NTEXT_PROJECT_ROOT": "${projectFolder}"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
3
12
|
}
|