milens 0.6.9 → 0.7.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/.agents/skills/adapters/SKILL.md +54 -51
- package/.agents/skills/analyzer/SKILL.md +78 -79
- package/.agents/skills/apps/SKILL.md +60 -68
- package/.agents/skills/docs/SKILL.md +58 -79
- package/.agents/skills/milens/SKILL.md +319 -318
- package/.agents/skills/orchestrator/SKILL.md +59 -61
- package/.agents/skills/parser/SKILL.md +81 -82
- package/.agents/skills/root/SKILL.md +84 -86
- package/.agents/skills/scripts/SKILL.md +51 -45
- package/.agents/skills/security/SKILL.md +62 -66
- package/.agents/skills/server/SKILL.md +77 -73
- package/.agents/skills/store/SKILL.md +72 -75
- package/.agents/skills/test/SKILL.md +148 -152
- package/.agents/skills/ui/SKILL.md +51 -0
- package/README.md +577 -527
- package/adapters/README.md +144 -107
- package/adapters/claude-code/.claude/mcp.json +9 -9
- package/adapters/claude-code/.claude/settings.json.hooks-snippet.json +26 -0
- package/adapters/claude-code/.claude-plugin/plugin.json +11 -0
- package/adapters/claude-code/.mcp.json +9 -0
- package/adapters/claude-code/CLAUDE.md +79 -79
- package/adapters/codex/.codex/config.toml +3 -0
- package/adapters/copilot/.vscode/mcp.json +10 -0
- package/adapters/cursor/.cursor/mcp.json +9 -0
- package/adapters/cursor/.cursorrules +69 -9
- package/adapters/gemini/.gemini/context.md +81 -81
- package/adapters/gemini/.gemini/settings.json +9 -0
- package/adapters/opencode/.opencode/config.json +8 -8
- package/adapters/zed/.zed/settings.json +8 -8
- package/dist/agents-md.d.ts +0 -1
- package/dist/agents-md.js +2 -2
- package/dist/agents-md.js.map +1 -1
- package/dist/analyzer/config.d.ts +0 -1
- package/dist/analyzer/engine.d.ts +0 -1
- package/dist/analyzer/engine.js +42 -40
- package/dist/analyzer/engine.js.map +1 -1
- package/dist/analyzer/enrich.d.ts +0 -1
- package/dist/analyzer/enrich.js +13 -0
- package/dist/analyzer/enrich.js.map +1 -1
- package/dist/analyzer/resolver.d.ts +0 -1
- package/dist/analyzer/resolver.js +48 -4
- package/dist/analyzer/resolver.js.map +1 -1
- package/dist/analyzer/review.d.ts +2 -2
- package/dist/analyzer/review.js +7 -59
- package/dist/analyzer/review.js.map +1 -1
- package/dist/analyzer/risk.d.ts +20 -0
- package/dist/analyzer/risk.js +76 -0
- package/dist/analyzer/risk.js.map +1 -0
- package/dist/analyzer/scanner.d.ts +0 -1
- package/dist/analyzer/scanner.js +2 -4
- package/dist/analyzer/scanner.js.map +1 -1
- package/dist/analyzer/scope-resolver.d.ts +0 -1
- package/dist/analyzer/scope-resolver.js +1 -1
- package/dist/analyzer/scope-resolver.js.map +1 -1
- package/dist/build-info.d.ts +2 -0
- package/dist/build-info.js +4 -0
- package/dist/build-info.js.map +1 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +143 -17
- package/dist/cli.js.map +1 -1
- package/dist/metrics.d.ts +0 -1
- package/dist/orchestrator/orchestrator.d.ts +0 -1
- package/dist/orchestrator/orchestrator.js +16 -1
- package/dist/orchestrator/orchestrator.js.map +1 -1
- package/dist/orchestrator/reporter.d.ts +0 -1
- package/dist/parser/extract.d.ts +0 -1
- package/dist/parser/extract.js +53 -28
- package/dist/parser/extract.js.map +1 -1
- package/dist/parser/lang-css.d.ts +0 -1
- package/dist/parser/lang-go.d.ts +0 -1
- package/dist/parser/lang-html.d.ts +0 -1
- package/dist/parser/lang-java.d.ts +0 -1
- package/dist/parser/lang-js.d.ts +0 -1
- package/dist/parser/lang-md.d.ts +0 -1
- package/dist/parser/lang-php.d.ts +0 -1
- package/dist/parser/lang-py.d.ts +0 -1
- package/dist/parser/lang-ruby.d.ts +0 -1
- package/dist/parser/lang-rust.d.ts +0 -1
- package/dist/parser/lang-ts.d.ts +0 -1
- package/dist/parser/lang-vue.d.ts +0 -1
- package/dist/parser/language-provider.d.ts +0 -1
- package/dist/parser/languages.d.ts +0 -1
- package/dist/parser/loader.d.ts +0 -1
- package/dist/security/deps.d.ts +0 -1
- package/dist/security/rules.d.ts +0 -1
- package/dist/security/rules.js +13 -12
- package/dist/security/rules.js.map +1 -1
- package/dist/server/hooks.d.ts +0 -1
- package/dist/server/hooks.js +10 -0
- package/dist/server/hooks.js.map +1 -1
- package/dist/server/mcp-prompts.d.ts +0 -1
- package/dist/server/mcp-prompts.js +509 -523
- package/dist/server/mcp-prompts.js.map +1 -1
- package/dist/server/mcp.d.ts +0 -1
- package/dist/server/mcp.js +156 -655
- package/dist/server/mcp.js.map +1 -1
- package/dist/server/test-plan.d.ts +0 -1
- package/dist/server/tools/deps.d.ts +28 -0
- package/dist/server/tools/deps.js +2 -0
- package/dist/server/tools/deps.js.map +1 -0
- package/dist/server/tools/resources.d.ts +3 -0
- package/dist/server/tools/resources.js +103 -0
- package/dist/server/tools/resources.js.map +1 -0
- package/dist/server/tools/security.d.ts +3 -0
- package/dist/server/tools/security.js +176 -0
- package/dist/server/tools/security.js.map +1 -0
- package/dist/server/tools/session.d.ts +3 -0
- package/dist/server/tools/session.js +140 -0
- package/dist/server/tools/session.js.map +1 -0
- package/dist/server/tools/testing.d.ts +3 -0
- package/dist/server/tools/testing.js +200 -0
- package/dist/server/tools/testing.js.map +1 -0
- package/dist/server/watcher.d.ts +0 -1
- package/dist/server/watcher.js +1 -1
- package/dist/server/watcher.js.map +1 -1
- package/dist/skills.d.ts +0 -1
- package/dist/skills.js +11 -5
- package/dist/skills.js.map +1 -1
- package/dist/store/annotations.d.ts +1 -1
- package/dist/store/annotations.js +14 -3
- package/dist/store/annotations.js.map +1 -1
- package/dist/store/confidence.d.ts +0 -1
- package/dist/store/confidence.js +2 -0
- package/dist/store/confidence.js.map +1 -1
- package/dist/store/db.d.ts +9 -1
- package/dist/store/db.js +88 -25
- package/dist/store/db.js.map +1 -1
- package/dist/store/registry.d.ts +0 -1
- package/dist/store/vectors.d.ts +0 -1
- package/dist/types.d.ts +7 -1
- package/dist/ui/progress.d.ts +0 -1
- package/dist/uninstall.d.ts +0 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.js +0 -0
- package/dist/utils.js.map +1 -1
- package/package.json +12 -9
- package/dist/agents-md.d.ts.map +0 -1
- package/dist/analyzer/config.d.ts.map +0 -1
- package/dist/analyzer/engine.d.ts.map +0 -1
- package/dist/analyzer/enrich.d.ts.map +0 -1
- package/dist/analyzer/resolver.d.ts.map +0 -1
- package/dist/analyzer/review.d.ts.map +0 -1
- package/dist/analyzer/scanner.d.ts.map +0 -1
- package/dist/analyzer/scope-resolver.d.ts.map +0 -1
- package/dist/analyzer/testplan.d.ts +0 -59
- package/dist/analyzer/testplan.d.ts.map +0 -1
- package/dist/analyzer/testplan.js +0 -218
- package/dist/analyzer/testplan.js.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/metrics.d.ts.map +0 -1
- package/dist/orchestrator/orchestrator.d.ts.map +0 -1
- package/dist/orchestrator/reporter.d.ts.map +0 -1
- package/dist/parser/extract.d.ts.map +0 -1
- package/dist/parser/lang-css.d.ts.map +0 -1
- package/dist/parser/lang-go.d.ts.map +0 -1
- package/dist/parser/lang-html.d.ts.map +0 -1
- package/dist/parser/lang-java.d.ts.map +0 -1
- package/dist/parser/lang-js.d.ts.map +0 -1
- package/dist/parser/lang-md.d.ts.map +0 -1
- package/dist/parser/lang-php.d.ts.map +0 -1
- package/dist/parser/lang-py.d.ts.map +0 -1
- package/dist/parser/lang-ruby.d.ts.map +0 -1
- package/dist/parser/lang-rust.d.ts.map +0 -1
- package/dist/parser/lang-ts.d.ts.map +0 -1
- package/dist/parser/lang-vue.d.ts.map +0 -1
- package/dist/parser/language-provider.d.ts.map +0 -1
- package/dist/parser/languages.d.ts.map +0 -1
- package/dist/parser/loader.d.ts.map +0 -1
- package/dist/security/deps.d.ts.map +0 -1
- package/dist/security/rules.d.ts.map +0 -1
- package/dist/server/hooks.d.ts.map +0 -1
- package/dist/server/mcp-prompts.d.ts.map +0 -1
- package/dist/server/mcp.d.ts.map +0 -1
- package/dist/server/test-plan.d.ts.map +0 -1
- package/dist/server/watcher.d.ts.map +0 -1
- package/dist/skills.d.ts.map +0 -1
- package/dist/store/annotations.d.ts.map +0 -1
- package/dist/store/confidence.d.ts.map +0 -1
- package/dist/store/db.d.ts.map +0 -1
- package/dist/store/registry.d.ts.map +0 -1
- package/dist/store/vectors.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/ui/progress.d.ts.map +0 -1
- package/dist/uninstall.d.ts.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/docs/README.md +0 -25
- package/docs/diagram1.svg +0 -1
- package/docs/diagram2.svg +0 -1
- package/docs/diagram3.svg +0 -1
|
@@ -1,152 +1,148 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: milens-test
|
|
3
|
-
description: Code intelligence for the test area — symbols, dependencies, and entry points
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Test
|
|
7
|
-
|
|
8
|
-
## Working with this area
|
|
9
|
-
When working with code in **test/**, follow these mandatory safety rules:
|
|
10
|
-
|
|
11
|
-
### Before editing any symbol in this area:
|
|
12
|
-
1. Call `mcp_milens_impact({target: "<symbol>", repo: "<workspaceRoot>"})` — check blast radius
|
|
13
|
-
2. If depth-1 dependents > 5 → **STOP and warn** before proceeding
|
|
14
|
-
3. Call `mcp_milens_context({name: "<symbol>", repo: "<workspaceRoot>"})` — see all callers/callees
|
|
15
|
-
|
|
16
|
-
### Before committing changes in this area:
|
|
17
|
-
1. Call `mcp_milens_detect_changes({repo: "<workspaceRoot>"})` — verify scope
|
|
18
|
-
2. If unexpected files changed → **STOP and report**
|
|
19
|
-
|
|
20
|
-
### Key tools for this area:
|
|
21
|
-
| Task | Tool |
|
|
22
|
-
|---|---|
|
|
23
|
-
| Find all references | `mcp_milens_context` |
|
|
24
|
-
| Check edit safety | `mcp_milens_edit_check` |
|
|
25
|
-
| Text search across files | `mcp_milens_grep` |
|
|
26
|
-
| See file symbols | `mcp_milens_get_file_symbols` |
|
|
27
|
-
|
|
28
|
-
## Overview
|
|
29
|
-
Contains
|
|
30
|
-
|
|
31
|
-
## Key Symbols
|
|
32
|
-
- **`User`** [class] (test/fixtures/accuracy/py-project/src/models.py:1) — 6 refs
|
|
33
|
-
- **`Calculator`** [class] (test/fixtures/accuracy/js-project/src/calculator.js:1) — 5 refs
|
|
34
|
-
- **`User`** [interface] (test/fixtures/ts-project/src/models.ts:1) — 5 refs
|
|
35
|
-
- **`
|
|
36
|
-
- **`User`** [
|
|
37
|
-
- **`User`** [class] (test/fixtures/
|
|
38
|
-
- **`
|
|
39
|
-
- **`
|
|
40
|
-
- **`
|
|
41
|
-
- **`
|
|
42
|
-
- **`
|
|
43
|
-
- **`
|
|
44
|
-
- **`
|
|
45
|
-
- **`
|
|
46
|
-
- **`UserService`** [class] (test/fixtures/accuracy/py-project/src/service.py:4) — 2 refs
|
|
47
|
-
|
|
48
|
-
## Entry Points
|
|
49
|
-
- **`
|
|
50
|
-
- **`
|
|
51
|
-
- **`
|
|
52
|
-
- **`User`** [
|
|
53
|
-
- **`
|
|
54
|
-
|
|
55
|
-
## Dependencies
|
|
56
|
-
- **analyzer**: `analyze`, `loadAliases`, `getCachedTree`, `clearTreeCache`, `enrichMetadata`, `resolveLinksWithStats`, `resolveLinks`, `reviewSymbol` (+
|
|
57
|
-
- **store**: `Database`, `AnnotationStore`, `RepoRegistry`, `boostConfidence`, `decayConfidence`, `getStaleAnnotations`, `promoteSecurityAnnotations`, `runDecayPass` (+
|
|
58
|
-
- **root**: `generateAgentsMd`, `AnnotationKey`, `CodeSymbol`, `SymbolLink`, `computeMetrics`, `formatMetricsReport`, `MilensMetrics`, `RawImport` (+17 more)
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
62
|
-
- **orchestrator**: `Orchestrator`, `formatReport`, `OrchestratorReport`, `subscribe`, `run`, `snapshot`, `compare`, `cancel` (+3 more)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- **
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- test/fixtures/accuracy/
|
|
77
|
-
- test/fixtures/accuracy/
|
|
78
|
-
- test/fixtures/accuracy/
|
|
79
|
-
- test/fixtures/accuracy/
|
|
80
|
-
- test/fixtures/accuracy/
|
|
81
|
-
- test/fixtures/accuracy/
|
|
82
|
-
- test/fixtures/accuracy/
|
|
83
|
-
- test/fixtures/accuracy/
|
|
84
|
-
- test/fixtures/accuracy/
|
|
85
|
-
- test/fixtures/accuracy/
|
|
86
|
-
- test/fixtures/accuracy/
|
|
87
|
-
- test/fixtures/accuracy/
|
|
88
|
-
- test/fixtures/accuracy/
|
|
89
|
-
- test/fixtures/accuracy/
|
|
90
|
-
- test/fixtures/accuracy/
|
|
91
|
-
- test/fixtures/accuracy/
|
|
92
|
-
- test/fixtures/
|
|
93
|
-
- test/fixtures/
|
|
94
|
-
- test/fixtures/
|
|
95
|
-
- test/fixtures/
|
|
96
|
-
- test/fixtures/
|
|
97
|
-
- test/fixtures/
|
|
98
|
-
- test/fixtures/
|
|
99
|
-
- test/fixtures/
|
|
100
|
-
- test/fixtures/
|
|
101
|
-
- test/fixtures/
|
|
102
|
-
- test/fixtures/
|
|
103
|
-
- test/fixtures/
|
|
104
|
-
- test/fixtures/
|
|
105
|
-
- test/fixtures/
|
|
106
|
-
- test/fixtures/
|
|
107
|
-
- test/fixtures/
|
|
108
|
-
- test/fixtures/
|
|
109
|
-
- test/fixtures/
|
|
110
|
-
- test/fixtures/
|
|
111
|
-
- test/
|
|
112
|
-
- test/
|
|
113
|
-
- test/
|
|
114
|
-
- test/
|
|
115
|
-
- test/
|
|
116
|
-
- test/
|
|
117
|
-
- test/
|
|
118
|
-
- test/unit/
|
|
119
|
-
- test/unit/
|
|
120
|
-
- test/unit/
|
|
121
|
-
- test/unit/
|
|
122
|
-
- test/unit/
|
|
123
|
-
- test/unit/
|
|
124
|
-
- test/unit/
|
|
125
|
-
- test/unit/
|
|
126
|
-
- test/unit/
|
|
127
|
-
- test/unit/
|
|
128
|
-
- test/unit/
|
|
129
|
-
- test/unit/
|
|
130
|
-
- test/unit/
|
|
131
|
-
- test/unit/
|
|
132
|
-
- test/unit/
|
|
133
|
-
- test/unit/
|
|
134
|
-
- test/unit/
|
|
135
|
-
- test/unit/
|
|
136
|
-
- test/unit/
|
|
137
|
-
- test/unit/
|
|
138
|
-
- test/unit/
|
|
139
|
-
- test/unit/
|
|
140
|
-
- test/unit/
|
|
141
|
-
- test/unit/
|
|
142
|
-
- test/unit/
|
|
143
|
-
- test/unit/
|
|
144
|
-
- test/unit/
|
|
145
|
-
- test/unit/
|
|
146
|
-
- test/unit/
|
|
147
|
-
- test/unit/
|
|
148
|
-
- test/unit/
|
|
149
|
-
- test/unit/uninstall.test.ts
|
|
150
|
-
- test/unit/utils.test.ts
|
|
151
|
-
- test/unit/vectors.test.ts
|
|
152
|
-
- test/unit/vue-import.test.ts
|
|
1
|
+
---
|
|
2
|
+
name: milens-test
|
|
3
|
+
description: Code intelligence for the test area — symbols, dependencies, and entry points
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Test
|
|
7
|
+
|
|
8
|
+
## Working with this area
|
|
9
|
+
When working with code in **test/**, follow these mandatory safety rules:
|
|
10
|
+
|
|
11
|
+
### Before editing any symbol in this area:
|
|
12
|
+
1. Call `mcp_milens_impact({target: "<symbol>", repo: "<workspaceRoot>"})` — check blast radius
|
|
13
|
+
2. If depth-1 dependents > 5 → **STOP and warn** before proceeding
|
|
14
|
+
3. Call `mcp_milens_context({name: "<symbol>", repo: "<workspaceRoot>"})` — see all callers/callees
|
|
15
|
+
|
|
16
|
+
### Before committing changes in this area:
|
|
17
|
+
1. Call `mcp_milens_detect_changes({repo: "<workspaceRoot>"})` — verify scope
|
|
18
|
+
2. If unexpected files changed → **STOP and report**
|
|
19
|
+
|
|
20
|
+
### Key tools for this area:
|
|
21
|
+
| Task | Tool |
|
|
22
|
+
|---|---|
|
|
23
|
+
| Find all references | `mcp_milens_context` |
|
|
24
|
+
| Check edit safety | `mcp_milens_edit_check` |
|
|
25
|
+
| Text search across files | `mcp_milens_grep` |
|
|
26
|
+
| See file symbols | `mcp_milens_get_file_symbols` |
|
|
27
|
+
|
|
28
|
+
## Overview
|
|
29
|
+
Contains 351 symbols (119 exported) across 80 files.
|
|
30
|
+
|
|
31
|
+
## Key Symbols
|
|
32
|
+
- **`User`** [class] (test/fixtures/accuracy/py-project/src/models.py:1) — 6 refs
|
|
33
|
+
- **`Calculator`** [class] (test/fixtures/accuracy/js-project/src/calculator.js:1) — 5 refs
|
|
34
|
+
- **`User`** [interface] (test/fixtures/ts-project/src/models.ts:1) — 5 refs
|
|
35
|
+
- **`User`** [interface] (test/fixtures/accuracy/ts-project/src/models.ts:1) — 3 refs
|
|
36
|
+
- **`User`** [class] (test/fixtures/py-project/models.py:1) — 3 refs
|
|
37
|
+
- **`User`** [class] (test/fixtures/accuracy/ruby-project/src/models.rb:1) — 3 refs
|
|
38
|
+
- **`createCalc`** [function] (test/fixtures/accuracy/js-project/src/calculator.js:6) — 2 refs
|
|
39
|
+
- **`UserRepository`** [class] (test/fixtures/accuracy/ts-project/src/models.ts:12) — 2 refs
|
|
40
|
+
- **`createUser`** [function] (test/fixtures/ts-project/src/models.ts:9) — 2 refs
|
|
41
|
+
- **`UserRole`** [type] (test/fixtures/ts-project/src/models.ts:7) — 2 refs
|
|
42
|
+
- **`UserService`** [class] (test/fixtures/ts-project/src/nest-sample.ts:27) — 2 refs
|
|
43
|
+
- **`Save`** [method] (test/fixtures/accuracy/go-project/src/models/user.go:16) — 2 refs
|
|
44
|
+
- **`UserRepo`** [class] (test/fixtures/accuracy/py-project/src/models.py:10) — 2 refs
|
|
45
|
+
- **`save`** [method] (test/fixtures/accuracy/py-project/src/models.py:14) — 2 refs
|
|
46
|
+
- **`UserService`** [class] (test/fixtures/accuracy/py-project/src/service.py:4) — 2 refs
|
|
47
|
+
|
|
48
|
+
## Entry Points
|
|
49
|
+
- **`dbPath`** [function] — 8 incoming references
|
|
50
|
+
- **`User`** [class] — 6 incoming references
|
|
51
|
+
- **`Calculator`** [class] — 5 incoming references
|
|
52
|
+
- **`User`** [interface] — 5 incoming references
|
|
53
|
+
- **`lang`** [variable] — 5 incoming references
|
|
54
|
+
|
|
55
|
+
## Dependencies
|
|
56
|
+
- **analyzer**: `analyze`, `loadAliases`, `getCachedTree`, `clearTreeCache`, `enrichMetadata`, `resolveLinksWithStats`, `resolveLinks`, `reviewSymbol` (+9 more)
|
|
57
|
+
- **store**: `Database`, `AnnotationStore`, `RepoRegistry`, `boostConfidence`, `decayConfidence`, `getStaleAnnotations`, `promoteSecurityAnnotations`, `runDecayPass` (+76 more)
|
|
58
|
+
- **root**: `generateAgentsMd`, `AnnotationKey`, `CodeSymbol`, `SymbolLink`, `computeMetrics`, `formatMetricsReport`, `MilensMetrics`, `RawImport` (+17 more)
|
|
59
|
+
- **server**: `defaultOnSessionStart`, `defaultOnPreCompact`, `defaultOnSessionEnd`, `defaultOnPostCompact`, `HookManager`, `HookConfig`, `defaultOnPreCommit`, `defaultOnFileChange` (+19 more)
|
|
60
|
+
- **security**: `detectEcosystem`, `parseDependencies`, `checkVulnerabilities`, `auditDependencies`, `loadRules`, `getRulesByCategory`, `getRulesBySeverity`
|
|
61
|
+
- **parser**: `getParser`, `loadLanguage`, `extractFromTree`, `extractVueScript`, `extractVueTemplateRefs`, `extractVueCompositionApi`, `extractVueTemplateAst`, `spec` (+11 more)
|
|
62
|
+
- **orchestrator**: `Orchestrator`, `formatReport`, `OrchestratorReport`, `subscribe`, `run`, `snapshot`, `compare`, `cancel` (+3 more)
|
|
63
|
+
- **scripts**: `detectTypeFromBranch`, `detectScopeFromBranch`, `detectBreakingFromBranch`, `detectBreakingFromLabels`, `slugify`, `parseArgs`, `generateTitle`, `generateBody` (+1 more)
|
|
64
|
+
|
|
65
|
+
## Used By
|
|
66
|
+
- **apps**: `create`
|
|
67
|
+
|
|
68
|
+
## Files
|
|
69
|
+
- test/fixtures/accuracy/go-project/src/admin.go
|
|
70
|
+
- test/fixtures/accuracy/go-project/src/main.go
|
|
71
|
+
- test/fixtures/accuracy/go-project/src/models/user.go
|
|
72
|
+
- test/fixtures/accuracy/java-project/src/Models.java
|
|
73
|
+
- test/fixtures/accuracy/java-project/src/Service.java
|
|
74
|
+
- test/fixtures/accuracy/js-project/src/app.js
|
|
75
|
+
- test/fixtures/accuracy/js-project/src/calculator.js
|
|
76
|
+
- test/fixtures/accuracy/js-project/src/extend.js
|
|
77
|
+
- test/fixtures/accuracy/php-project/src/admin.php
|
|
78
|
+
- test/fixtures/accuracy/php-project/src/models.php
|
|
79
|
+
- test/fixtures/accuracy/php-project/src/service.php
|
|
80
|
+
- test/fixtures/accuracy/py-project/src/admin.py
|
|
81
|
+
- test/fixtures/accuracy/py-project/src/models.py
|
|
82
|
+
- test/fixtures/accuracy/py-project/src/service.py
|
|
83
|
+
- test/fixtures/accuracy/ruby-project/src/mixins.rb
|
|
84
|
+
- test/fixtures/accuracy/ruby-project/src/models.rb
|
|
85
|
+
- test/fixtures/accuracy/ruby-project/src/service.rb
|
|
86
|
+
- test/fixtures/accuracy/rust-project/src/admin.rs
|
|
87
|
+
- test/fixtures/accuracy/rust-project/src/main.rs
|
|
88
|
+
- test/fixtures/accuracy/rust-project/src/models.rs
|
|
89
|
+
- test/fixtures/accuracy/ts-project/src/auth.ts
|
|
90
|
+
- test/fixtures/accuracy/ts-project/src/index.ts
|
|
91
|
+
- test/fixtures/accuracy/ts-project/src/models.ts
|
|
92
|
+
- test/fixtures/go-project/models/user.go
|
|
93
|
+
- test/fixtures/go-project/service/handler.go
|
|
94
|
+
- test/fixtures/html-project/css/main.css
|
|
95
|
+
- test/fixtures/html-project/css/reset.css
|
|
96
|
+
- test/fixtures/html-project/index.html
|
|
97
|
+
- test/fixtures/html-project/js/analytics.js
|
|
98
|
+
- test/fixtures/html-project/js/utils.js
|
|
99
|
+
- test/fixtures/md-project/README.md
|
|
100
|
+
- test/fixtures/md-project/docs/guide.md
|
|
101
|
+
- test/fixtures/py-project/models.py
|
|
102
|
+
- test/fixtures/py-project/service.py
|
|
103
|
+
- test/fixtures/ts-project/src/UserProfile.vue
|
|
104
|
+
- test/fixtures/ts-project/src/auth.ts
|
|
105
|
+
- test/fixtures/ts-project/src/models.ts
|
|
106
|
+
- test/fixtures/ts-project/src/nest-sample.ts
|
|
107
|
+
- test/fixtures/vue-project-refs/src/composables/useClipboard.js
|
|
108
|
+
- test/fixtures/vue-project-refs/src/views/TestView.vue
|
|
109
|
+
- test/fixtures/vue-project/src/composables/useClipboard.js
|
|
110
|
+
- test/fixtures/vue-project/src/views/TestView.vue
|
|
111
|
+
- test/unit/accuracy.test.ts
|
|
112
|
+
- test/unit/agents-md.test.ts
|
|
113
|
+
- test/unit/annotations.test.ts
|
|
114
|
+
- test/unit/cli.test.ts
|
|
115
|
+
- test/unit/confidence.test.ts
|
|
116
|
+
- test/unit/database.test.ts
|
|
117
|
+
- test/unit/db-extended.test.ts
|
|
118
|
+
- test/unit/deps-audit.test.ts
|
|
119
|
+
- test/unit/engine.test.ts
|
|
120
|
+
- test/unit/enrich.test.ts
|
|
121
|
+
- test/unit/extractor.test.ts
|
|
122
|
+
- test/unit/hooks.test.ts
|
|
123
|
+
- test/unit/html-css.test.ts
|
|
124
|
+
- test/unit/languages.test.ts
|
|
125
|
+
- test/unit/markdown.test.ts
|
|
126
|
+
- test/unit/mcp-prompts.test.ts
|
|
127
|
+
- test/unit/mcp-tools.test.ts
|
|
128
|
+
- test/unit/mcp-transport.test.ts
|
|
129
|
+
- test/unit/metrics.test.ts
|
|
130
|
+
- test/unit/mro.test.ts
|
|
131
|
+
- test/unit/orchestrator.test.ts
|
|
132
|
+
- test/unit/parser-extract-cache.test.ts
|
|
133
|
+
- test/unit/parser-loader.test.ts
|
|
134
|
+
- test/unit/pr-generator.test.ts
|
|
135
|
+
- test/unit/registry.test.ts
|
|
136
|
+
- test/unit/resolver.test.ts
|
|
137
|
+
- test/unit/review.test.ts
|
|
138
|
+
- test/unit/risk.test.ts
|
|
139
|
+
- test/unit/scanner.test.ts
|
|
140
|
+
- test/unit/scope-resolver.test.ts
|
|
141
|
+
- test/unit/security-rules.test.ts
|
|
142
|
+
- test/unit/server-test-plan.test.ts
|
|
143
|
+
- test/unit/skills.test.ts
|
|
144
|
+
- test/unit/uninstall.test.ts
|
|
145
|
+
- test/unit/utils.test.ts
|
|
146
|
+
- test/unit/vectors.test.ts
|
|
147
|
+
- test/unit/vue-import.test.ts
|
|
148
|
+
- test/unit/watcher.test.ts
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: milens-ui
|
|
3
|
+
description: Code intelligence for the ui area — symbols, dependencies, and entry points
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ui
|
|
7
|
+
|
|
8
|
+
## Working with this area
|
|
9
|
+
When working with code in **ui/**, follow these mandatory safety rules:
|
|
10
|
+
|
|
11
|
+
### Before editing any symbol in this area:
|
|
12
|
+
1. Call `mcp_milens_impact({target: "<symbol>", repo: "<workspaceRoot>"})` — check blast radius
|
|
13
|
+
2. If depth-1 dependents > 5 → **STOP and warn** before proceeding
|
|
14
|
+
3. Call `mcp_milens_context({name: "<symbol>", repo: "<workspaceRoot>"})` — see all callers/callees
|
|
15
|
+
|
|
16
|
+
### Before committing changes in this area:
|
|
17
|
+
1. Call `mcp_milens_detect_changes({repo: "<workspaceRoot>"})` — verify scope
|
|
18
|
+
2. If unexpected files changed → **STOP and report**
|
|
19
|
+
|
|
20
|
+
### Key tools for this area:
|
|
21
|
+
| Task | Tool |
|
|
22
|
+
|---|---|
|
|
23
|
+
| Find all references | `mcp_milens_context` |
|
|
24
|
+
| Check edit safety | `mcp_milens_edit_check` |
|
|
25
|
+
| Text search across files | `mcp_milens_grep` |
|
|
26
|
+
| See file symbols | `mcp_milens_get_file_symbols` |
|
|
27
|
+
|
|
28
|
+
## Overview
|
|
29
|
+
Contains 10 symbols (3 exported) across 1 files.
|
|
30
|
+
|
|
31
|
+
## Key Symbols
|
|
32
|
+
- **`ProgressPhase`** [enum] (src/ui/progress.ts:3) — 3 refs
|
|
33
|
+
- **`createProgressReporter`** [function] (src/ui/progress.ts:18) — 2 refs
|
|
34
|
+
- **`ProgressReporter`** [interface] (src/ui/progress.ts:10) — 2 refs
|
|
35
|
+
|
|
36
|
+
## Entry Points
|
|
37
|
+
- **`renderBar`** [function] — 3 incoming references
|
|
38
|
+
- **`finalize`** [method] — 3 incoming references
|
|
39
|
+
- **`ProgressPhase`** [enum] — 3 incoming references
|
|
40
|
+
- **`createProgressReporter`** [function] — 2 incoming references
|
|
41
|
+
- **`ProgressReporter`** [interface] — 2 incoming references
|
|
42
|
+
|
|
43
|
+
## Dependencies
|
|
44
|
+
- **root**: `AnalysisStats`
|
|
45
|
+
|
|
46
|
+
## Used By
|
|
47
|
+
- **analyzer**: `ProgressPhase`, `ProgressReporter`, `startPhase`, `tick`, `endPhase`, `finalize`
|
|
48
|
+
- **root**: `createProgressReporter`, `finalize`
|
|
49
|
+
|
|
50
|
+
## Files
|
|
51
|
+
- src/ui/progress.ts
|