@hadoku/jobplatform-worker 2.32.39 → 2.32.41

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.
@@ -1 +1 @@
1
- {"version":3,"file":"defaultProfile.d.ts","sourceRoot":"","sources":["../src/defaultProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;CACpD;AAED,eAAO,MAAM,eAAe,EAAE,kBAS7B,CAAC;AAEF,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACrB;AAED;kEACkE;AAClE,eAAO,MAAM,yBAAyB,EAAE,cAAc,EAUrD,CAAC"}
1
+ {"version":3,"file":"defaultProfile.d.ts","sourceRoot":"","sources":["../src/defaultProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;CACpD;AAED,eAAO,MAAM,eAAe,EAAE,kBAS7B,CAAC;AAEF,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACrB;AAED;kEACkE;AAClE,eAAO,MAAM,yBAAyB,EAAE,cAAc,EAYrD,CAAC"}
package/dist/index.js CHANGED
@@ -3330,9 +3330,11 @@ const DEFAULT_PROFILE_COMPANIES = [
3330
3330
  { ats: "greenhouse", slug: "waymo", display_name: "Waymo" },
3331
3331
  { ats: "greenhouse", slug: "scaleai", display_name: "Scale AI" },
3332
3332
  { ats: "ashby", slug: "openai", display_name: "OpenAI" },
3333
- { ats: "lever", slug: "anyscale", display_name: "Anyscale" },
3334
- { ats: "lever", slug: "mistral", display_name: "Mistral" },
3335
- { ats: "lever", slug: "plaid", display_name: "Plaid" }
3333
+ // Anyscale and Plaid left Lever for Ashby, and Mistral left all three
3334
+ // ATS; the old Lever slugs 404ed and seeded every new profile with dead
3335
+ // boards (found 2026-11-09, still seeded on 2026-11-02).
3336
+ { ats: "ashby", slug: "anyscale", display_name: "Anyscale" },
3337
+ { ats: "ashby", slug: "plaid", display_name: "Plaid" }
3336
3338
  ];
3337
3339
  const DEFAULT_BASE_URL = "https://scraper.hadoku.me";
3338
3340
  class ScraperClientError extends Error {
@@ -0,0 +1,39 @@
1
+ -- Point profiles at the boards companies actually post on now.
2
+ --
3
+ -- These (ats, slug) pairs all 404 at their ATS (checked 2026-11-09). A dead
4
+ -- pair in profile_companies is a dead entry in GET /directives: the scraper
5
+ -- auto-disables it and the profile silently gets nothing from that company.
6
+ --
7
+ -- Default-profile seeds (every profile created until f775d93):
8
+ -- lever:anyscale -> ashby:anyscale lever:plaid -> ashby:plaid
9
+ -- lever:mistral -> dropped (on none of greenhouse/lever/ashby)
10
+ -- Hostname guesses and moved boards (the operator's discovery profile),
11
+ -- matched through the scraper's /match on 2026-11-09:
12
+ -- greenhouse:withwaymo -> greenhouse:waymo
13
+ -- greenhouse:datadoghq -> greenhouse:datadog
14
+ -- greenhouse:pinterestcareers -> greenhouse:pinterest
15
+ -- greenhouse:toasttab -> greenhouse:toast
16
+ -- greenhouse:linkedin -> lever:linkedin
17
+ -- greenhouse:gigaenergy -> ashby:giga-energy
18
+ -- greenhouse:postman, greenhouse:realm, ashby:ocean -> dropped (no board found)
19
+ --
20
+ -- UPDATE OR IGNORE skips a row whose profile already lists the new pair
21
+ -- (UNIQUE(profile_id, ats, slug)); the DELETE then clears that leftover along
22
+ -- with the drops, so each profile ends with the live board once.
23
+
24
+ UPDATE OR IGNORE profile_companies SET ats = 'ashby', slug = 'anyscale' WHERE ats = 'lever' AND slug = 'anyscale';
25
+ UPDATE OR IGNORE profile_companies SET ats = 'ashby', slug = 'plaid' WHERE ats = 'lever' AND slug = 'plaid';
26
+ UPDATE OR IGNORE profile_companies SET slug = 'waymo' WHERE ats = 'greenhouse' AND slug = 'withwaymo';
27
+ UPDATE OR IGNORE profile_companies SET slug = 'datadog' WHERE ats = 'greenhouse' AND slug = 'datadoghq';
28
+ UPDATE OR IGNORE profile_companies SET slug = 'pinterest' WHERE ats = 'greenhouse' AND slug = 'pinterestcareers';
29
+ UPDATE OR IGNORE profile_companies SET slug = 'toast' WHERE ats = 'greenhouse' AND slug = 'toasttab';
30
+ UPDATE OR IGNORE profile_companies SET ats = 'lever' WHERE ats = 'greenhouse' AND slug = 'linkedin';
31
+ UPDATE OR IGNORE profile_companies SET ats = 'ashby', slug = 'giga-energy' WHERE ats = 'greenhouse' AND slug = 'gigaenergy';
32
+
33
+ DELETE FROM profile_companies WHERE (ats, slug) IN (
34
+ VALUES ('lever', 'anyscale'), ('lever', 'plaid'), ('lever', 'mistral'),
35
+ ('greenhouse', 'withwaymo'), ('greenhouse', 'datadoghq'),
36
+ ('greenhouse', 'pinterestcareers'), ('greenhouse', 'toasttab'),
37
+ ('greenhouse', 'linkedin'), ('greenhouse', 'gigaenergy'),
38
+ ('greenhouse', 'postman'), ('greenhouse', 'realm'), ('ashby', 'ocean')
39
+ );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/jobplatform-worker",
3
- "version": "2.32.39",
4
- "gitHead": "84b5623c402aac9159148daa3d454529dfea4407",
3
+ "version": "2.32.41",
4
+ "gitHead": "c4c6f527fc7f72dbbf7088cf0dc07a6ecbdb1b44",
5
5
  "description": "Job listings aggregation and tracking dashboard - Worker package",
6
6
  "license": "MIT",
7
7
  "type": "module",