100 Commits

Author SHA1 Message Date
Anas Syed
0aed4e06a2 remove validateAndRepairJson function and tests 2026-01-22 20:32:13 +00:00
Anas Syed
263ff8adcc fix CUID2 test
Added missing mock for validateAndRepairJson to prevent validation from blocking tests
2026-01-22 20:28:42 +00:00
Anas Syed
a0401bc38c use @paralleldrive/cuid2 2026-01-22 20:17:10 +00:00
Anas Syed
322feb8b67 Fix PDF generation failures from malformed AI responses
- Add OpenRouter response-healing plugin to auto-fix malformed JSON
- Add stream: false to all OpenRouter API calls (required for plugin)
- Add Zod schema validation before PDF generation with AI repair fallback
- Fix CUID2 ID generation for skills (was generating invalid "skill-0")
- Update idSchema to validate CUID2 format matching RXResume's validation
- Save failed JSON and screenshots to data/errors/ for debugging
- Add tests for CUID2 validation to prevent regression
2026-01-22 20:07:50 +00:00
DaKheera47
2e92ebd44c fix comments 2026-01-22 16:56:41 +00:00
DaKheera47
45ecfc1f86 allow either one or both to be set for basicAuth 2026-01-22 16:31:00 +00:00
DaKheera47
71649c5a13 parallelize 2026-01-22 16:31:00 +00:00
DaKheera47
0844071b7a dedupe 2026-01-22 16:31:00 +00:00
DaKheera47
a81b1f0e58 use settings input component 2026-01-22 12:24:14 +00:00
DaKheera47
0424a29008 correct keys, and keys separated correctly 2026-01-22 12:04:20 +00:00
DaKheera47
7e1f9454d4 Initial commit for env in UI 2026-01-22 11:45:17 +00:00
DaKheera47
b0a8fbcde4 Initial commit for refactor 2026-01-21 19:01:25 +00:00
DaKheera47
e3b0e263fb tests pasing 2026-01-21 16:34:29 +00:00
DaKheera47
4b65f39650 robustness 2026-01-21 16:31:25 +00:00
DaKheera47
cae54c39fb don't return empty profile, instead throw 2026-01-21 16:14:30 +00:00
DaKheera47
f445f15336 profile fix fit 2026-01-21 15:38:00 +00:00
DaKheera47
77f7927e77 honour profilePath 2026-01-21 15:30:45 +00:00
DaKheera47
7c524f5d63 revert to get to not break readonly mode 2026-01-21 15:26:25 +00:00
DaKheera47
9363a58e46 ensure generated resume is valid for rxresu.me by using their schema 2026-01-21 15:18:34 +00:00
DaKheera47
6a3a25578a use person name from base.json for file downloads 2026-01-21 14:48:17 +00:00
DaKheera47
e5c99d54bf formatting improvement 2026-01-21 14:26:57 +00:00
DaKheera47
7cc5017e56 max project limit set to below warning threshold 2026-01-21 12:36:11 +00:00
DaKheera47
ae5aa53b99 manual job type issue fix 2026-01-21 12:30:34 +00:00
DaKheera47
5409faaf5f use structured responses for openrouter calls 2026-01-21 12:26:15 +00:00
DaKheera47
c1bada9a49 add retry 2026-01-21 02:10:12 +00:00
DaKheera47
3d692f2f8b initial commit into hardening 2026-01-21 02:03:29 +00:00
DaKheera47
2f9845338a useSettings error handling 2026-01-20 23:37:47 +00:00
DaKheera47
ad0ca7f183 dedupe and tests 2026-01-20 23:27:57 +00:00
DaKheera47
6c3bb681d1 tests 2026-01-20 23:23:11 +00:00
Shaheer Sarfaraz
ba27eb07b1
remove redundant check
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-20 23:19:03 +00:00
Shaheer Sarfaraz
53e16013a8
unused import
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-20 23:17:41 +00:00
DaKheera47
ba9dcc7867 tests fix 2026-01-20 23:10:02 +00:00
DaKheera47
3d55e78614 tests 2026-01-20 23:07:55 +00:00
DaKheera47
30385cfe24 sponsor match is binary 2026-01-20 22:16:53 +00:00
DaKheera47
1fd6a4b4c2 initial commit 2026-01-20 22:11:09 +00:00
DaKheera47
50edefbebe routes tests 2026-01-20 07:18:02 +00:00
DaKheera47
ccb05ac0f4 don't truncate jd when sending to ai model 2026-01-20 07:12:56 +00:00
DaKheera47
58fdf6781f break up server routes into separate files 2026-01-20 06:56:42 +00:00
Shaheer Sarfaraz
1b927a13be
safer runtime assertion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 19:45:26 +00:00
Shaheer Sarfaraz
5bd57c1b9f
better runtime assertion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 19:45:15 +00:00
Shaheer Sarfaraz
cdf395cc01
ensure links are urls
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 19:44:53 +00:00
DaKheera47
9ee5f87624 Merge branch 'manually-import-job-description' of https://github.com/DaKheera47/job-ops into manually-import-job-description 2026-01-19 19:38:18 +00:00
DaKheera47
93ec48233a remove unused field from AI 2026-01-19 19:38:11 +00:00
Shaheer Sarfaraz
544a5ca86f
Catch possible errors in scoring
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 19:31:36 +00:00
DaKheera47
a14814291e tests 2026-01-19 19:26:21 +00:00
DaKheera47
b6fa1fd5ee score jobs after manual import 2026-01-19 19:11:43 +00:00
DaKheera47
724257671e fix type warnings 2026-01-19 19:11:20 +00:00
DaKheera47
37708662d3 Merge branch 'main' into manually-import-job-description 2026-01-19 18:44:17 +00:00
DaKheera47
8108688609 load data from data directory correctly, honour env first 2026-01-19 18:43:40 +00:00
DaKheera47
4f4f00e42c manual import initial comit 2026-01-19 18:39:14 +00:00