terminalhire 0.3.1 → 0.3.2

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.
@@ -4106,7 +4106,10 @@ async function run10() {
4106
4106
  const fp = profileToFingerprint2(profile);
4107
4107
  const results = match2(fp, jobs, jobs.length);
4108
4108
  matchCount = results.length;
4109
- topMatches = results.slice(0, 25).map((r) => ({
4109
+ const BOUNTY_SLOTS = 5;
4110
+ const bountyTop = results.filter((r) => r.job.source === "bounty").slice(0, BOUNTY_SLOTS);
4111
+ const roleTop = results.filter((r) => r.job.source !== "bounty").slice(0, 25 - bountyTop.length);
4112
+ topMatches = [...roleTop, ...bountyTop].map((r) => ({
4110
4113
  id: r.job.id,
4111
4114
  title: r.job.title,
4112
4115
  company: r.job.company,
@@ -2493,7 +2493,10 @@ async function run() {
2493
2493
  const fp = profileToFingerprint2(profile);
2494
2494
  const results = match2(fp, jobs, jobs.length);
2495
2495
  matchCount = results.length;
2496
- topMatches = results.slice(0, 25).map((r) => ({
2496
+ const BOUNTY_SLOTS = 5;
2497
+ const bountyTop = results.filter((r) => r.job.source === "bounty").slice(0, BOUNTY_SLOTS);
2498
+ const roleTop = results.filter((r) => r.job.source !== "bounty").slice(0, 25 - bountyTop.length);
2499
+ topMatches = [...roleTop, ...bountyTop].map((r) => ({
2497
2500
  id: r.job.id,
2498
2501
  title: r.job.title,
2499
2502
  company: r.job.company,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminalhire",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Local-first job matching for developers — ambient job matches in the Claude Code spinner. Matching runs on your machine; your profile never leaves it.",
5
5
  "repository": {
6
6
  "type": "git",