resuml 3.0.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.
@@ -0,0 +1,81 @@
1
+ type Tier = 'parsing' | 'match' | 'recruiter';
2
+ type AtsCheckWeight = 'high' | 'medium' | 'low';
3
+ type AtsRating = 'excellent' | 'good' | 'needs-work' | 'poor';
4
+ type CheckStatus = 'pass' | 'warn' | 'fail' | 'skipped';
5
+ type Grade = 'A' | 'B' | 'C' | 'D' | 'F';
6
+ interface CheckResult {
7
+ id: string;
8
+ tier: Tier;
9
+ status: CheckStatus;
10
+ score: number;
11
+ weight: AtsCheckWeight;
12
+ message: string;
13
+ hints: string[];
14
+ }
15
+ interface TierResult {
16
+ score: number;
17
+ grade: Grade;
18
+ checks: CheckResult[];
19
+ }
20
+ interface KnockoutSignal {
21
+ signal: string;
22
+ evidence: string;
23
+ recommendation: string;
24
+ }
25
+ interface TieredAtsResult {
26
+ score: number;
27
+ rating: AtsRating;
28
+ tiers: {
29
+ parsing: TierResult;
30
+ match?: TierResult;
31
+ recruiter: TierResult;
32
+ };
33
+ knockouts: KnockoutSignal[];
34
+ summary: string;
35
+ }
36
+ interface AtsOptions {
37
+ language?: string;
38
+ jobDescription?: string;
39
+ /** Posting title, when known separately from the body (job search). */
40
+ jobTitle?: string;
41
+ threshold?: number;
42
+ config?: AtsConfig;
43
+ }
44
+ interface AtsConfig {
45
+ weights: {
46
+ tiers: {
47
+ parsing: number;
48
+ match: number;
49
+ recruiter: number;
50
+ };
51
+ checks: Record<string, AtsCheckWeight>;
52
+ };
53
+ thresholds: {
54
+ rating: {
55
+ excellent: number;
56
+ good: number;
57
+ needsWork: number;
58
+ };
59
+ grade: {
60
+ A: number;
61
+ B: number;
62
+ C: number;
63
+ D: number;
64
+ };
65
+ seniorYoeCutoff: number;
66
+ wordCount: {
67
+ min: number;
68
+ max: number;
69
+ seniorMax: number;
70
+ };
71
+ bulletsPerRole: {
72
+ min: number;
73
+ max: number;
74
+ seniorMax: number;
75
+ };
76
+ };
77
+ disable: string[];
78
+ locale: string;
79
+ }
80
+
81
+ export type { AtsOptions as A, CheckResult as C, KnockoutSignal as K, TieredAtsResult as T, TierResult as a };
package/package.json CHANGED
@@ -1,8 +1,38 @@
1
1
  {
2
2
  "name": "resuml",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Generate JSON resumes from YAML with theme support. CLI + MCP server for AI agents.",
5
5
  "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./types": {
15
+ "types": "./dist/types/index.d.ts",
16
+ "import": "./dist/types/index.js"
17
+ },
18
+ "./ats": {
19
+ "types": "./dist/ats/index.d.ts",
20
+ "import": "./dist/ats/index.js"
21
+ },
22
+ "./skills": {
23
+ "types": "./dist/skills/index.d.ts",
24
+ "import": "./dist/skills/index.js"
25
+ },
26
+ "./mcp": {
27
+ "types": "./dist/mcp/server.d.ts",
28
+ "import": "./dist/mcp/server.js"
29
+ },
30
+ "./jobs": {
31
+ "types": "./dist/jobs/index.d.ts",
32
+ "import": "./dist/jobs/index.js"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
6
36
  "bin": {
7
37
  "resuml": "./bin/resuml"
8
38
  },
@@ -10,9 +40,9 @@
10
40
  "bin",
11
41
  "dist",
12
42
  "data/skills",
43
+ "data/jobs",
13
44
  "DOCS.md",
14
- "README.md",
15
- "src/types"
45
+ "README.md"
16
46
  ],
17
47
  "scripts": {
18
48
  "build": "tsup",