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.
- package/.claude-plugin/marketplace.json +1 -1
- package/README.md +5 -5
- package/bin/job-apply.js +15 -5
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
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.
|
|
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.
|
|
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.
|
|
220
|
-
ChatGPT desktop / Codex installed v0.6.
|
|
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.
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
591
|
-
|
|
592
|
-
|
|
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
package/plugin/plugin.json
CHANGED
|
@@ -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.
|
|
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",
|