job-apply-plugin 0.6.0 → 0.6.1

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.
@@ -9,7 +9,7 @@
9
9
  "name": "job-apply",
10
10
  "source": "./plugin",
11
11
  "description": "Prepare and submit individual job applications using a résumé and profile saved on your device.",
12
- "version": "0.6.0",
12
+ "version": "0.6.1",
13
13
  "category": "productivity"
14
14
  }
15
15
  ]
package/README.md CHANGED
@@ -128,7 +128,7 @@ npx job-apply-plugin@latest status
128
128
  When there is one, the last line says so:
129
129
 
130
130
  ```
131
- Latest version v0.6.0 available — run: npx job-apply-plugin@latest update
131
+ Latest version v0.6.1 available — run: npx job-apply-plugin@latest update
132
132
  ```
133
133
 
134
134
  To switch to a specific version, including going back to an older one:
@@ -162,7 +162,7 @@ It asks which app to remove Job Apply from, and shows where it's currently insta
162
162
 
163
163
  ```
164
164
  Remove Job Apply from which app?
165
- 1) Claude Code (installed v0.6.0)
165
+ 1) Claude Code (installed v0.6.1)
166
166
  2) ChatGPT desktop / Codex (not installed)
167
167
  3) Both
168
168
  Choose 1, 2 or 3 [1]:
@@ -216,10 +216,10 @@ npx job-apply-plugin@latest <command> [options]
216
216
  Example `status` output:
217
217
 
218
218
  ```
219
- Claude Code installed v0.6.0 (~/.claude/skills)
220
- ChatGPT desktop / Codex installed v0.6.0 (~/.codex/plugins/job-apply)
219
+ Claude Code installed v0.6.1 (~/.claude/skills)
220
+ ChatGPT desktop / Codex installed v0.6.1 (~/.codex/plugins/job-apply)
221
221
  Python 3.9+ ok (3.9)
222
- Latest version v0.6.0 (up to date)
222
+ Latest version v0.6.1 (up to date)
223
223
  ```
224
224
 
225
225
  You can also install the installer globally and drop the `npx` prefix:
package/bin/job-apply.js CHANGED
@@ -31,6 +31,9 @@ const real = (p) => {
31
31
  }
32
32
  };
33
33
  const samePath = (a, b) => real(a) === real(b);
34
+ // Where the skills keep the résumé, cover letter, profile and history. The folder is created on first use.
35
+ const DATA_DIR_LABEL = "~/Documents/Job Apply";
36
+ const dataDirExists = () => exists(path.join(home(), "Documents", "Job Apply"));
34
37
  const exists = (p) => fs.existsSync(p);
35
38
  const log = (msg = "") => process.stdout.write(msg + "\n");
36
39
 
@@ -420,7 +423,7 @@ async function update(values, opts, requested) {
420
423
  else runOtherVersion(target, job);
421
424
  }
422
425
  log();
423
- log(`Done. Your résumé, profile and history in ~/Documents/Job Apply are unchanged.`);
426
+ log(dataDirExists() ? `Done. Your saved data in ${DATA_DIR_LABEL} is unchanged.` : "Done.");
424
427
  }
425
428
 
426
429
  // ---------- CLI ----------
@@ -582,14 +585,21 @@ export async function main(argv = process.argv.slice(2)) {
582
585
  log(` Install it from https://www.python.org/downloads/ before your first application.`);
583
586
  }
584
587
  log();
585
- log(`Your résumé, profile and application history are stored locally in ~/Documents/Job Apply.`);
588
+ if (dataDirExists()) {
589
+ log(`Your résumé, cover letter, profile and application history are in ${DATA_DIR_LABEL}.`);
590
+ } else {
591
+ log(`Job Apply will keep your résumé, cover letter, profile and application history in ${DATA_DIR_LABEL}.`);
592
+ log(`That folder doesn't exist yet: it's created the first time you use Job Apply.`);
593
+ }
586
594
  } else if (command === "uninstall" || command === "remove") {
587
595
  const targets = await pickUninstallTargets(values, opts);
588
596
  if (targets.length === 0) return;
589
597
  for (const t of targets) t.uninstall(opts);
590
- log();
591
- log(`Your résumé, profile and history in ~/Documents/Job Apply were kept.`);
592
- log(`To erase them too, delete that folder or ask the assistant to "clear my Job Apply profile" before uninstalling.`);
598
+ if (dataDirExists()) {
599
+ log();
600
+ log(`Your résumé, cover letter, profile and history in ${DATA_DIR_LABEL} were kept.`);
601
+ log(`To erase them too, delete that folder or ask the assistant to "clear my Job Apply profile" before uninstalling.`);
602
+ }
593
603
  } else if (command === "update" || command === "upgrade") {
594
604
  await update(values, opts, positionals[1]);
595
605
  } else if (command === "status") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-apply-plugin",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Job Apply plugin for Claude Code and ChatGPT/Codex: prepare and submit job applications from a résumé and profile saved on your device.",
5
5
  "keywords": [
6
6
  "claude",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-apply",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Prepare and submit individual job applications using a résumé and profile saved on your device.",
5
5
  "author": {
6
6
  "name": "Filipe Linemburger"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "job-apply",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "Prepare and submit individual job applications using a résumé and profile saved on your device.",
6
6
  "keywords": [
7
7
  "jobs",