@devran-ai/kit 4.2.0 → 4.2.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.
@@ -1,6 +1,6 @@
1
1
  # Devran AI Kit — CheatSheet
2
2
 
3
- > **Version**: v4.2.0 | **Quick Reference** for all capabilities
3
+ > **Version**: v4.2.1 | **Quick Reference** for all capabilities
4
4
  > **Session**: Start with `/status`, end with session-end checklist
5
5
 
6
6
  ---
@@ -24,7 +24,7 @@ Your complete guide to the Devran AI Kit. Type `/help` for a quick overview, or
24
24
 
25
25
  ## Quick Overview
26
26
 
27
- **Devran AI Kit v4.2.0** — Trust-Grade AI Development Framework
27
+ **Devran AI Kit v4.2.1** — Trust-Grade AI Development Framework
28
28
 
29
29
  | Category | Count | Description |
30
30
  |:---------|:------|:------------|
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "kitVersion": "4.2.0",
3
+ "kitVersion": "4.2.1",
4
4
  "lastAuditedAt": null,
5
5
  "description": "Devran AI Kit — Trust-Grade AI Development Framework",
6
6
  "repository": "https://github.com/devran-ai/kit",
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Devran AI Kit
2
2
 
3
- [![Version](https://img.shields.io/badge/version-4.2.0-blue.svg)](https://github.com/devran-ai/kit)
3
+ [![Version](https://img.shields.io/badge/version-4.2.1-blue.svg)](https://github.com/devran-ai/kit)
4
4
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
5
- [![Tests](https://img.shields.io/badge/tests-382%20passing-brightgreen.svg)](tests/)
5
+ [![Tests](https://img.shields.io/badge/tests-388%20passing-brightgreen.svg)](tests/)
6
6
  [![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](package.json)
7
7
  [![AI Agents](https://img.shields.io/badge/AI%20Agents-23-purple.svg)](.agent/agents/)
8
8
  [![Skills](https://img.shields.io/badge/Skills-34-orange.svg)](.agent/skills/)
@@ -26,7 +26,7 @@
26
26
  | Self-healing CI | None | None | Auto-diagnoses and patches failures |
27
27
  | Cross-IDE support | Single IDE | Single IDE | 5 IDEs from one source of truth |
28
28
  | Plugin marketplace | None | None | Trust-verified skill marketplace |
29
- | Test suite | None | None | 382+ tests with security validation |
29
+ | Test suite | None | None | 388+ tests with security validation |
30
30
  | Runtime dependencies | Varies | Varies | **Zero** |
31
31
 
32
32
  ## Quick Start
@@ -95,7 +95,24 @@ IDLE -> EXPLORE -> PLAN -> IMPLEMENT -> VERIFY -> CHECKPOINT -> REVIEW -> DEPLOY
95
95
 
96
96
  Each phase requires explicit developer approval before transitioning. The engine enforces governance rules and tracks session state across restarts.
97
97
 
98
- ## What's New in v4.1.0
98
+ ## What's New
99
+
100
+ ### v4.2.1
101
+
102
+ | Change | Details |
103
+ |---|---|
104
+ | Untrack hint | Detects tracked `.agent/` and prints `git rm --cached` command |
105
+ | Documentation fixes | Updated release notes, stale test counts corrected |
106
+
107
+ ### v4.2.0
108
+
109
+ | Change | Details |
110
+ |---|---|
111
+ | Gitignore by default | `kit init` adds `.agent/` to `.gitignore` — personal dev tooling |
112
+ | `--shared` flag | Opt-in to commit `.agent/` for team sharing |
113
+ | 388 tests | 37 test suites across unit, structural, and security |
114
+
115
+ ### v4.1.0
99
116
 
100
117
  | Change | Details |
101
118
  |---|---|
@@ -103,7 +120,6 @@ Each phase requires explicit developer approval before transitioning. The engine
103
120
  | Multi-language reviewers | TypeScript, Python, Go dedicated review agents |
104
121
  | Continuous learning | Confidence scoring with time-based decay model |
105
122
  | MCP server templates | GitHub, Supabase, Vercel, PostgreSQL, Filesystem |
106
- | Test coverage | 382 tests (up from 348) across 36 test suites |
107
123
 
108
124
  ## Cross-IDE Support
109
125
 
@@ -200,7 +216,7 @@ kit/
200
216
  ├── create-kit-app/ # Project scaffolder
201
217
  ├── docs/ # MkDocs documentation site
202
218
  ├── examples/ # Starter examples (minimal, full-stack)
203
- └── tests/ # 382 tests (unit, structural, security)
219
+ └── tests/ # 388 tests (unit, structural, security)
204
220
  ```
205
221
 
206
222
  ## Security
package/bin/kit.js CHANGED
@@ -330,9 +330,10 @@ function initCommand(options) {
330
330
 
331
331
  // Add .agent/ to .gitignore (unless --shared)
332
332
  if (!options.shared) {
333
+ const { addToGitignore } = require('../lib/io');
334
+ const { execSync } = require('child_process');
333
335
  logStep(`${currentStep}/${totalSteps}`, 'Configuring .gitignore...');
334
336
  try {
335
- const { addToGitignore } = require('../lib/io');
336
337
  const result = addToGitignore(targetDir);
337
338
  if (result.added) {
338
339
  log(' ✓ .agent/ added to .gitignore (local dev tooling)', 'green');
@@ -342,6 +343,18 @@ function initCommand(options) {
342
343
  } catch (err) {
343
344
  log(` ⚠️ Could not update .gitignore: ${err.message}`, 'yellow');
344
345
  }
346
+ // Detect if .agent/ is still git-tracked despite being gitignored
347
+ try {
348
+ const tracked = execSync('git ls-files .agent/', { cwd: targetDir, encoding: 'utf-8' }).trim();
349
+ if (tracked.length > 0) {
350
+ log('', 'reset');
351
+ log(' ⚠️ .agent/ is gitignored but still tracked by git.', 'yellow');
352
+ log(' Run this to untrack (keeps local files):', 'yellow');
353
+ log(` ${colors.cyan}git rm -r --cached .agent/${colors.reset}`, 'reset');
354
+ }
355
+ } catch (err) {
356
+ // Not a git repo or git not available — skip hint
357
+ }
345
358
  } else {
346
359
  logStep(`${currentStep}/${totalSteps}`, 'Shared mode — .agent/ will be committed');
347
360
  log(' ℹ .gitignore not modified (--shared flag)', 'cyan');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devran-ai/kit",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Trust-grade AI development framework — zero-dependency runtime engine for agent orchestration, workflow governance, and skill management.",
5
5
  "main": "bin/kit.js",
6
6
  "bin": {