@cavuno/board 4.5.0 → 4.7.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/{_spec-BJah6GIZ.d.mts → _spec-B2ZrXuea.d.mts} +11 -1
  3. package/dist/{_spec-BJah6GIZ.d.ts → _spec-B2ZrXuea.d.ts} +11 -1
  4. package/dist/{blog-4Owyo4U_.d.mts → blog-B125P3dS.d.mts} +1 -1
  5. package/dist/{blog-DJi_1n7W.d.ts → blog-BmEG_fhe.d.ts} +1 -1
  6. package/dist/{board-KDx9U0nw.d.ts → board-6woxZtzD.d.ts} +2 -2
  7. package/dist/{board-CpR7o9bL.d.mts → board-QTX75RxT.d.mts} +2 -2
  8. package/dist/{breadcrumbs-CJ-NpA-V.d.ts → breadcrumbs-BVeDYPCw.d.ts} +2 -2
  9. package/dist/{breadcrumbs-DOJH_7nO.d.mts → breadcrumbs-CP42mzYb.d.mts} +2 -2
  10. package/dist/browser/cavuno-board.global.min.js +1 -1
  11. package/dist/{chunk-VWGF4I5C.mjs → chunk-6454IFHS.mjs} +1 -6
  12. package/dist/{chunk-GC5QWN7Y.mjs → chunk-ZCEAOJ6Y.mjs} +3 -0
  13. package/dist/filters.d.mts +2 -2
  14. package/dist/filters.d.ts +2 -2
  15. package/dist/format.d.mts +4 -4
  16. package/dist/format.d.ts +4 -4
  17. package/dist/format.mjs +1 -1
  18. package/dist/index.d.mts +50 -12
  19. package/dist/index.d.ts +50 -12
  20. package/dist/index.js +54 -1
  21. package/dist/index.mjs +52 -2
  22. package/dist/{jobs-Ay-V6Q6y.d.ts → jobs-BH1CgV8J.d.ts} +1 -1
  23. package/dist/{jobs-C27qlt6o.d.mts → jobs-DrdhICLO.d.mts} +1 -1
  24. package/dist/{search-CC-rlMgk.d.mts → search-B9T6rAhd.d.mts} +1 -1
  25. package/dist/{search-fG_K9J8x.d.ts → search-CCsijbzU.d.ts} +1 -1
  26. package/dist/seo.d.mts +6 -6
  27. package/dist/seo.d.ts +6 -6
  28. package/dist/seo.js +1 -6
  29. package/dist/seo.mjs +1 -1
  30. package/dist/server.d.mts +5 -5
  31. package/dist/server.d.ts +5 -5
  32. package/dist/server.mjs +1 -1
  33. package/dist/sitemap.d.mts +5 -5
  34. package/dist/sitemap.d.ts +5 -5
  35. package/dist/suggest.d.mts +2 -2
  36. package/dist/suggest.d.ts +2 -2
  37. package/package.json +1 -1
  38. package/skills/cavuno-board-account/SKILL.md +20 -1
  39. package/skills/manifest.json +2 -2
package/dist/suggest.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-fG_K9J8x.js';
2
- import './_spec-BJah6GIZ.js';
1
+ import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-CCsijbzU.js';
2
+ import './_spec-B2ZrXuea.js';
3
3
 
4
4
  /**
5
5
  * `@cavuno/board/suggest` — framework-agnostic headless search-suggest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "description": "Build custom job boards and careers pages with Cavuno’s TypeScript SDK.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cavuno-board-account
3
- description: Candidate self-service boundary with @cavuno/board. Use for account, profile, resume onboarding, avatar, experience, education, skills, languages, or notification preferences.
3
+ description: Candidate self-service boundary with @cavuno/board. Use for account, profile, resume onboarding, recommended jobs, avatar, experience, education, skills, languages, or notification preferences.
4
4
  ---
5
5
 
6
6
  # Candidate self-service boundary
@@ -114,6 +114,24 @@ if (resume.parseStatus === 'parsed') {
114
114
 
115
115
  Upload options also include `importMode: 'append_only' | 'replace_all'` and `confirmReplaceAll`. `resume.file.url` is a short-lived signed URL. `parseStatus` is null before any parse. `board.me.resume.delete()` removes the stored file and keep-on-file consent while retaining imported profile fields.
116
116
 
117
+ ## Recommended jobs
118
+
119
+ `board.me.recommendedJobs.list` is the sibling of `savedJobs.list`. Each item wraps the same slim `PublicJobCard` (`{ object: 'recommended_job', job }`). Order is the ranking. The endpoint never returns scores, weights, or ranker identity.
120
+
121
+ Cold start is an empty list — no hint field. Drive an upload-resume CTA from `board.me.profile` / `board.me.resume` (`parseStatus`, skills), not from the list response.
122
+
123
+ ```ts snippet
124
+ const { data } = await board.me.recommendedJobs.list({ limit: 20 });
125
+ data[0]?.job.title;
126
+
127
+ const profile = await board.me.profile.retrieve();
128
+ const skills = await board.me.profile.listSkills();
129
+ const resume = await board.me.resume.retrieve();
130
+ if (data.length === 0 && (skills.data.length === 0 || resume.parseStatus !== 'parsed')) {
131
+ promptResumeUpload();
132
+ }
133
+ ```
134
+
117
135
  ## Notification preferences
118
136
 
119
137
  Authenticated settings expose `messageEmails` and `applicationEmails`. Updating one channel returns the full set.
@@ -142,6 +160,7 @@ await board.me.notificationPreferences.unsubscribeWithToken({
142
160
  - Adding a skill preserves every existing skill.
143
161
  - Uploaded `avatarUrl` renders.
144
162
  - Resume parsing reaches `parsed`, reports `parseFailureReason`, or reaches the explicit delayed state without blocking editing.
163
+ - Recommended jobs render the returned cards in list order; an empty list plus missing skills / unparsed resume shows an upload-resume prompt.
145
164
  - Anonymous unsubscribe works in a logged-out browser.
146
165
 
147
166
  ## Cavuno SDK reference
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "4.5.0",
2
+ "version": "4.7.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-account",
6
- "description": "Candidate self-service boundary with @cavuno/board. Use for account, profile, resume onboarding, avatar, experience, education, skills, languages, or notification preferences.",
6
+ "description": "Candidate self-service boundary with @cavuno/board. Use for account, profile, resume onboarding, recommended jobs, avatar, experience, education, skills, languages, or notification preferences.",
7
7
  "path": "skills/cavuno-board-account/SKILL.md",
8
8
  "framework": null,
9
9
  "category": "core"