openings 0.1.33 → 0.1.34
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.
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +17 -2
- package/package.json +1 -1
- package/src/crawler.ts +3 -2
- package/src/job-recommendations.ts +1 -1
- package/src/job-search-preparation.ts +1 -1
- package/src/local-jobs.ts +4 -1
- package/src/version.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openings",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "Find evidence-grounded jobs, including relevant roles you may not have searched for, without accounts or API keys.",
|
|
5
5
|
"author": { "name": "Openings contributors" },
|
|
6
6
|
"license": "MIT",
|
package/README.md
CHANGED
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
A free, candidate-safe job search for AI agents.
|
|
4
4
|
|
|
5
|
-
Openings indexes public company job boards into a private index on your machine and exposes it to any MCP client. Your agent can find roles that fit a resume, explain the fit with evidence, and propose truthful resume improvements.
|
|
5
|
+
Openings indexes public company job boards into a private index on your machine and exposes it to any MCP client. Your agent can find roles that fit a resume, explain the fit with evidence, and propose truthful resume improvements. Installed this way there are no accounts and no API keys; there are never model calls and never a way to submit an application.
|
|
6
|
+
|
|
7
|
+
Two ways to run it, with different data rules:
|
|
8
|
+
|
|
9
|
+
| | On your machine (this package) | Hosted connector at `openings.avagama.co/mcp` |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| Sign-in | None | Email code, so an account exists |
|
|
12
|
+
| Job index | Built and stored on your machine | Ours, shared |
|
|
13
|
+
| Resume | Parsed in memory for one request, never written to disk | Sent to our server, processed in memory for that request, then discarded |
|
|
14
|
+
| What we receive | Crawl reports, plus anonymous usage events unless you turn them off | The same usage record, keyed to your account |
|
|
15
|
+
|
|
16
|
+
Both are covered in [Sharing crawls and usage](#sharing-crawls-and-usage) and on the [privacy page](https://avagama.co/privacy/).
|
|
6
17
|
|
|
7
18
|
- **Eleven providers plus company sites.** Greenhouse, Lever, Ashby, Workday, Recruitee, SmartRecruiters, Workable, Breezy, Freshteam, Keka, and Zoho Recruit, crawled from their public structured endpoints, plus employer career sites read only through the schema.org JobPosting markup they publish for search engines. No free-form HTML scraping.
|
|
8
19
|
- **Verified sources only.** Every company in the catalog passed an identity check against its own board.
|
|
@@ -99,7 +110,11 @@ On startup the server makes one request to the npm registry to learn the latest
|
|
|
99
110
|
|
|
100
111
|
## Privacy
|
|
101
112
|
|
|
102
|
-
Job data comes straight from public ATS endpoints and is stored only on your machine. Your MCP client reads the resume file and passes its content to a tool; Openings never sees the path and never
|
|
113
|
+
Job data comes straight from public ATS endpoints and is stored only on your machine. Your MCP client reads the resume file and passes its content to a tool; Openings never sees the path, and it never writes the resume to disk, logs it, or sends it anywhere.
|
|
114
|
+
|
|
115
|
+
One thing derived from a resume does leave your machine while usage reporting is on, which is the default: the skill and title words the parser extracted, in the anonymous event described in [Sharing crawls and usage](#sharing-crawls-and-usage). Never the resume text, the quoted evidence, your name, or your contact details. `OPENINGS_USAGE=off` stops it, and an empty `OPENINGS_AGGREGATOR_URL` keeps everything local.
|
|
116
|
+
|
|
117
|
+
Every proposed change stays subject to your review.
|
|
103
118
|
|
|
104
119
|
## Develop
|
|
105
120
|
|
package/package.json
CHANGED
package/src/crawler.ts
CHANGED
|
@@ -30,7 +30,7 @@ interface CrawlerOptions {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface Crawler {
|
|
33
|
-
crawl(sources: Company[], settings?: { prune?: boolean }): Promise<CrawlReport>;
|
|
33
|
+
crawl(sources: Company[], settings?: { prune?: boolean; workdayCountries?: string[] }): Promise<CrawlReport>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export function createCrawler(options: CrawlerOptions): Crawler {
|
|
@@ -124,7 +124,8 @@ export function createCrawler(options: CrawlerOptions): Crawler {
|
|
|
124
124
|
const listed = await options.fetchJobs(source, controller.signal, {
|
|
125
125
|
onBackoff: ({ status, delayMs }) => { metric.backoffMs += delayMs; if (status === 429) metric.throttles += 1; },
|
|
126
126
|
workdayPageDelayMs: options.workdayPageDelayMs,
|
|
127
|
-
|
|
127
|
+
// The countries this crawl asked for drive Workday's supplementary passes, not just the configured default.
|
|
128
|
+
workdayCountries: settings?.workdayCountries ?? options.workdayCountries,
|
|
128
129
|
});
|
|
129
130
|
const jobs = await withExperience(source, listed, partitionFor(partitions, source.slug)?.jobs);
|
|
130
131
|
partitions[source.slug] = { fetchedAt: now().toISOString(), jobs };
|
|
@@ -211,7 +211,7 @@ function refreshReason(policy: RefreshPolicy, snapshot: JobSnapshot | null, matc
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
function refreshScope(intent: CandidateIntent, snapshot: JobSnapshot | null, sources: Company[]): CrawlScope {
|
|
214
|
-
return intent.countries?.length ? { slugs: relevantSourceSlugs(snapshot, intent, sources) } : {};
|
|
214
|
+
return intent.countries?.length ? { slugs: relevantSourceSlugs(snapshot, intent, sources), countries: intent.countries } : {};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
function relevantSnapshot(snapshot: JobSnapshot, intent: CandidateIntent, sources: Company[]): JobSnapshot {
|
|
@@ -38,7 +38,7 @@ export function createJobSearchPreparer(options: {
|
|
|
38
38
|
}
|
|
39
39
|
const pendingBefore = pendingSources(options.sources, snapshot, now(), freshnessMs);
|
|
40
40
|
const selected = pendingBefore.filter((source) => !input.attempted.has(source.slug)).slice(0, batchSize).map((source) => source.slug);
|
|
41
|
-
const crawl = selected.length ? await options.crawl({ slugs: selected }) : undefined;
|
|
41
|
+
const crawl = selected.length ? await options.crawl({ slugs: selected, countries }) : undefined;
|
|
42
42
|
if (crawl) snapshot = await options.store.read();
|
|
43
43
|
if (!snapshot) throw new Error("Job search preparation did not produce a local snapshot");
|
|
44
44
|
|
package/src/local-jobs.ts
CHANGED
|
@@ -44,7 +44,10 @@ export function createLocalJobs(options: LocalJobsOptions) {
|
|
|
44
44
|
|
|
45
45
|
async function crawl(scope: CrawlScope = {}): Promise<CrawlReport> {
|
|
46
46
|
const selected = selectSources(options.sources, scope);
|
|
47
|
-
|
|
47
|
+
// Workday's country passes cover the countries this crawl is for, on top of the configured ones.
|
|
48
|
+
const asked = [...(scope.countries ?? []), ...(scope.country ? [scope.country] : [])].map((code) => code.toUpperCase());
|
|
49
|
+
const workdayCountries = asked.length ? [...new Set([...(options.workdayCountries ?? []), ...asked])] : undefined;
|
|
50
|
+
return crawler.crawl(selected, { prune: !scope.country && !scope.countries && !scope.slugs, ...(workdayCountries ? { workdayCountries } : {}) });
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
async function ensureFresh(offline: boolean, staleDays: number): Promise<{ snapshot: JobSnapshot; refreshed: boolean }> {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.1.
|
|
1
|
+
export const VERSION = "0.1.34";
|