claudeos-core 2.5.0 → 2.5.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/CHANGELOG.md +44 -0
- package/README.de.md +4 -2
- package/README.es.md +4 -2
- package/README.fr.md +4 -2
- package/README.hi.md +4 -2
- package/README.ja.md +4 -2
- package/README.ko.md +4 -2
- package/README.md +4 -2
- package/README.ru.md +4 -2
- package/README.vi.md +4 -2
- package/README.zh-CN.md +4 -2
- package/lib/env-parser.js +48 -0
- package/package.json +92 -92
- package/pass-json-validator/index.js +1 -1
- package/pass-prompts/templates/java-spring/pass1.md +10 -2
- package/pass-prompts/templates/java-spring/pass3.md +2 -1
- package/plan-installer/jvm-detect.js +562 -0
- package/plan-installer/scanners/scan-java.js +82 -14
- package/plan-installer/stack-detector.js +471 -34
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "claudeos-core",
|
|
3
|
-
"version": "2.5.
|
|
4
|
-
"description": "Auto-generate Claude Code documentation from your actual source code — Standards, Rules, Skills, and Guides tailored to your project",
|
|
5
|
-
"main": "bin/cli.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"claudeos-core": "bin/cli.js"
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"bin/",
|
|
11
|
-
"lib/",
|
|
12
|
-
"claude-md-validator/",
|
|
13
|
-
"content-validator/",
|
|
14
|
-
"health-checker/",
|
|
15
|
-
"manifest-generator/",
|
|
16
|
-
"pass-json-validator/",
|
|
17
|
-
"pass-prompts/",
|
|
18
|
-
"plan-installer/",
|
|
19
|
-
"plan-validator/",
|
|
20
|
-
"sync-checker/",
|
|
21
|
-
"bootstrap.sh",
|
|
22
|
-
"README.md",
|
|
23
|
-
"README.ko.md",
|
|
24
|
-
"LICENSE",
|
|
25
|
-
"CHANGELOG.md",
|
|
26
|
-
"CONTRIBUTING.md",
|
|
27
|
-
"CODE_OF_CONDUCT.md",
|
|
28
|
-
"SECURITY.md",
|
|
29
|
-
"README.zh-CN.md",
|
|
30
|
-
"README.ja.md",
|
|
31
|
-
"README.es.md",
|
|
32
|
-
"README.vi.md",
|
|
33
|
-
"README.hi.md",
|
|
34
|
-
"README.ru.md",
|
|
35
|
-
"README.fr.md",
|
|
36
|
-
"README.de.md"
|
|
37
|
-
],
|
|
38
|
-
"scripts": {
|
|
39
|
-
"init": "node bin/cli.js init",
|
|
40
|
-
"lint": "node bin/cli.js lint",
|
|
41
|
-
"health": "node bin/cli.js health",
|
|
42
|
-
"validate": "node bin/cli.js validate",
|
|
43
|
-
"refresh": "node bin/cli.js refresh",
|
|
44
|
-
"restore": "node bin/cli.js restore",
|
|
45
|
-
"pretest": "node -e \"try{require('glob')}catch(e){process.exit(1)}\" || npm install",
|
|
46
|
-
"test": "node scripts/run-tests.js",
|
|
47
|
-
"test:health": "node health-checker/index.js"
|
|
48
|
-
},
|
|
49
|
-
"keywords": [
|
|
50
|
-
"claude-code",
|
|
51
|
-
"automation",
|
|
52
|
-
"code-analysis",
|
|
53
|
-
"CLAUDE.md",
|
|
54
|
-
"standards",
|
|
55
|
-
"rules",
|
|
56
|
-
"skills",
|
|
57
|
-
"scaffolding",
|
|
58
|
-
"i18n",
|
|
59
|
-
"multi-language",
|
|
60
|
-
"spring-boot",
|
|
61
|
-
"kotlin",
|
|
62
|
-
"exposed",
|
|
63
|
-
"jooq",
|
|
64
|
-
"cqrs",
|
|
65
|
-
"bff",
|
|
66
|
-
"multi-module",
|
|
67
|
-
"monorepo",
|
|
68
|
-
"nextjs",
|
|
69
|
-
"express",
|
|
70
|
-
"fastify",
|
|
71
|
-
"angular",
|
|
72
|
-
"django",
|
|
73
|
-
"fastapi"
|
|
74
|
-
],
|
|
75
|
-
"author": "claudeos-core <claudeoscore@gmail.com> (https://github.com/claudeos-core)",
|
|
76
|
-
"license": "ISC",
|
|
77
|
-
"repository": {
|
|
78
|
-
"type": "git",
|
|
79
|
-
"url": "git+https://github.com/claudeos-core/claudeos-core.git"
|
|
80
|
-
},
|
|
81
|
-
"homepage": "https://github.com/claudeos-core/claudeos-core#readme",
|
|
82
|
-
"bugs": {
|
|
83
|
-
"url": "https://github.com/claudeos-core/claudeos-core/issues"
|
|
84
|
-
},
|
|
85
|
-
"engines": {
|
|
86
|
-
"node": ">=18.0.0"
|
|
87
|
-
},
|
|
88
|
-
"dependencies": {
|
|
89
|
-
"glob": "^13.0.6",
|
|
90
|
-
"gray-matter": "^4.0.3"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "claudeos-core",
|
|
3
|
+
"version": "2.5.1",
|
|
4
|
+
"description": "Auto-generate Claude Code documentation from your actual source code — Standards, Rules, Skills, and Guides tailored to your project",
|
|
5
|
+
"main": "bin/cli.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"claudeos-core": "bin/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin/",
|
|
11
|
+
"lib/",
|
|
12
|
+
"claude-md-validator/",
|
|
13
|
+
"content-validator/",
|
|
14
|
+
"health-checker/",
|
|
15
|
+
"manifest-generator/",
|
|
16
|
+
"pass-json-validator/",
|
|
17
|
+
"pass-prompts/",
|
|
18
|
+
"plan-installer/",
|
|
19
|
+
"plan-validator/",
|
|
20
|
+
"sync-checker/",
|
|
21
|
+
"bootstrap.sh",
|
|
22
|
+
"README.md",
|
|
23
|
+
"README.ko.md",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"CHANGELOG.md",
|
|
26
|
+
"CONTRIBUTING.md",
|
|
27
|
+
"CODE_OF_CONDUCT.md",
|
|
28
|
+
"SECURITY.md",
|
|
29
|
+
"README.zh-CN.md",
|
|
30
|
+
"README.ja.md",
|
|
31
|
+
"README.es.md",
|
|
32
|
+
"README.vi.md",
|
|
33
|
+
"README.hi.md",
|
|
34
|
+
"README.ru.md",
|
|
35
|
+
"README.fr.md",
|
|
36
|
+
"README.de.md"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"init": "node bin/cli.js init",
|
|
40
|
+
"lint": "node bin/cli.js lint",
|
|
41
|
+
"health": "node bin/cli.js health",
|
|
42
|
+
"validate": "node bin/cli.js validate",
|
|
43
|
+
"refresh": "node bin/cli.js refresh",
|
|
44
|
+
"restore": "node bin/cli.js restore",
|
|
45
|
+
"pretest": "node -e \"try{require('glob')}catch(e){process.exit(1)}\" || npm install",
|
|
46
|
+
"test": "node scripts/run-tests.js",
|
|
47
|
+
"test:health": "node health-checker/index.js"
|
|
48
|
+
},
|
|
49
|
+
"keywords": [
|
|
50
|
+
"claude-code",
|
|
51
|
+
"automation",
|
|
52
|
+
"code-analysis",
|
|
53
|
+
"CLAUDE.md",
|
|
54
|
+
"standards",
|
|
55
|
+
"rules",
|
|
56
|
+
"skills",
|
|
57
|
+
"scaffolding",
|
|
58
|
+
"i18n",
|
|
59
|
+
"multi-language",
|
|
60
|
+
"spring-boot",
|
|
61
|
+
"kotlin",
|
|
62
|
+
"exposed",
|
|
63
|
+
"jooq",
|
|
64
|
+
"cqrs",
|
|
65
|
+
"bff",
|
|
66
|
+
"multi-module",
|
|
67
|
+
"monorepo",
|
|
68
|
+
"nextjs",
|
|
69
|
+
"express",
|
|
70
|
+
"fastify",
|
|
71
|
+
"angular",
|
|
72
|
+
"django",
|
|
73
|
+
"fastapi"
|
|
74
|
+
],
|
|
75
|
+
"author": "claudeos-core <claudeoscore@gmail.com> (https://github.com/claudeos-core)",
|
|
76
|
+
"license": "ISC",
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://github.com/claudeos-core/claudeos-core.git"
|
|
80
|
+
},
|
|
81
|
+
"homepage": "https://github.com/claudeos-core/claudeos-core#readme",
|
|
82
|
+
"bugs": {
|
|
83
|
+
"url": "https://github.com/claudeos-core/claudeos-core/issues"
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">=18.0.0"
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"glob": "^13.0.6",
|
|
90
|
+
"gray-matter": "^4.0.3"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -228,7 +228,7 @@ async function main() {
|
|
|
228
228
|
const framework = paData.stack?.framework;
|
|
229
229
|
const language = paData.stack?.language;
|
|
230
230
|
const architecture = paData.stack?.architecture;
|
|
231
|
-
isBackend = !frontend || ["express", "nestjs", "fastify", "django", "fastapi", "flask", "spring-boot"].includes(framework);
|
|
231
|
+
isBackend = !frontend || ["express", "nestjs", "fastify", "django", "fastapi", "flask", "spring-boot", "spring-framework"].includes(framework);
|
|
232
232
|
isKotlin = language === "kotlin";
|
|
233
233
|
isKotlinCqrs = isKotlin && (architecture === "cqrs" || paData.stack?.multiModule);
|
|
234
234
|
} catch (_e) { /* If project-analysis parsing fails, conservatively assume backend */ }
|
|
@@ -21,8 +21,16 @@ Required reads (if the file exists):
|
|
|
21
21
|
the variable inside `ext { ... }` or `<properties>`. Record the
|
|
22
22
|
ACTUAL Java version — do NOT infer "Java 17+" from the Spring
|
|
23
23
|
Boot version.
|
|
24
|
-
- Spring
|
|
25
|
-
frameworkVersion field
|
|
24
|
+
- Spring version: verify it matches `project-analysis.json`'s
|
|
25
|
+
frameworkVersion field (Spring Boot, or the Spring Framework line when
|
|
26
|
+
`framework` is `"spring-framework"` — a pre-Boot project); if they
|
|
27
|
+
disagree, trust the build file. For a non-Boot project, also read
|
|
28
|
+
`WEB-INF/web.xml` and the Spring XML configs it references
|
|
29
|
+
(`applicationContext*.xml`, `*-servlet.xml`, `*.properties`) — they
|
|
30
|
+
hold what `application.yml` holds in a Boot project, and step 2 below
|
|
31
|
+
will find no `application.yml`. Do NOT describe Boot features
|
|
32
|
+
(auto-configuration, starters, actuator, `@SpringBootApplication`)
|
|
33
|
+
for a project that does not declare Boot.
|
|
26
34
|
- Dependencies that indicate specific patterns (MyBatis/iBatis/JPA,
|
|
27
35
|
multiple DB drivers, Jasypt, JWT library, Logback extras).
|
|
28
36
|
|
|
@@ -68,7 +68,8 @@ Generation targets:
|
|
|
68
68
|
Content within each section adapts to this project based on pass2-merged.json.
|
|
69
69
|
The scaffold's validation checklist MUST pass.
|
|
70
70
|
|
|
71
|
-
Stack-specific hints for this project (Java Spring Boot
|
|
71
|
+
Stack-specific hints for this project (Java Spring — Boot, or Spring Framework
|
|
72
|
+
without Boot when `project-analysis.json` says `framework: "spring-framework"`):
|
|
72
73
|
- Project type for Section 1 PROJECT_CONTEXT: "Backend Application" or "REST API Server"
|
|
73
74
|
- Architecture diagram (Section 4): layered architecture (Controller → Service → Mapper/Repository)
|
|
74
75
|
- Section 2 should include: JDK version, Gradle/Maven, DB, session/cache, server port
|