job-pro 1.0.80 → 1.0.81

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 (2) hide show
  1. package/dist/index.js +8 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1367,17 +1367,19 @@ async function main() {
1367
1367
  };
1368
1368
  console.log(`\njob-pro recon — endpoint probe across ${results.length} adapters`);
1369
1369
  if (!summary) {
1370
- console.log(` (anon POST with {} body; schema-verified adapters tagged 🟢)\n`);
1370
+ console.log(` (anon POST with {} body; schema-verified 🟢, session captured 🔐)\n`);
1371
1371
  for (const r of results) {
1372
1372
  const tag = r.status ? `${r.status}` : "—";
1373
1373
  const vTag = r.already_verified ? " 🟢" : "";
1374
- // If the schema asserts endpoint_verified: true but the anon probe
1375
- // sees 404/HTML, the framework's response is misleading schema's
1376
- // probe round was deeper. Surface a icon instead of ✗ to signal
1377
- // "schema says verified, probe disagrees".
1374
+ // Session presence (~/.jobpro/<co>.session.json). 🔐 means user
1375
+ // already captured; 🚫 means they need to run `job-pro extension`.
1376
+ // multipart-anon adapters don't need a session so no tag.
1377
+ const isAnon = r.submit_kind === "multipart-anon";
1378
+ const isExternal = r.classification === "external";
1379
+ const sessTag = isAnon || isExternal ? " " : (loadSession(r.company) ? "🔐" : "🚫");
1378
1380
  const probeOK = r.classification === "verified-real" || r.classification === "external";
1379
1381
  const icon = r.already_verified && !probeOK ? "⚠" : ICON[r.classification];
1380
- console.log(` ${icon} ${r.company.padEnd(width)} ${tag.padEnd(4)} ${r.classification.padEnd(17)}${vTag} ${r.detail}`);
1382
+ console.log(` ${icon} ${r.company.padEnd(width)} ${sessTag} ${tag.padEnd(4)} ${r.classification.padEnd(17)}${vTag} ${r.detail}`);
1381
1383
  }
1382
1384
  }
1383
1385
  console.log(`\n Tally:`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "description": "Query Chinese big-tech campus recruiting + auto-apply from your terminal. 50 companies, all 50 live (46 via official APIs, 4 via Liepin third-party fallback). 45/50 with end-to-end verified apply endpoints; 5 structurally-external (Liepin IM × 4 + Unitree WeChat). No signup, no token, no server.",
5
5
  "homepage": "https://job.ha7ch.com",
6
6
  "repository": "https://github.com/HA7CH/job-pro",