jobkompass-cli 0.1.0 → 0.1.2
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/README.md +4 -1
- package/dist/index.js +58 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,10 +18,13 @@ Run your JobKompass job search from the terminal — or let an AI agent (Claude
|
|
|
18
18
|
jk jobs add --company "Anthropic" --title "Engineer" --link "https://..." --status Interested
|
|
19
19
|
jk jobs list --status Applied
|
|
20
20
|
jk jobs update --id <id> --status Interviewing --notes "phone screen Tue"
|
|
21
|
-
jk resumes add --
|
|
21
|
+
jk resumes add --personal-info '{"firstName":"Joseph","lastName":"Wilson","email":"j@x.com","phone":"555-123-4567"}' --experience '[...]'
|
|
22
|
+
jk resumes add --template mar --personal-info '{...}' --core-competencies '["Technical Support","Problem-Solving"]' --early-career '[{"title":"Process Engineer","company":"P&G","date":"2003 – 2007"}]'
|
|
22
23
|
jk resumes list
|
|
23
24
|
jk resources add --title "Salary guide" --url "https://..."
|
|
24
25
|
|
|
26
|
+
Resume templates: `jake` (default) or `mar` (Calibri-style, competencies-forward — use `--core-competencies` and `--early-career`). Run `jk resumes add --help` for all fields.
|
|
27
|
+
|
|
25
28
|
## Keys
|
|
26
29
|
A key carries full access to one account's data. Name each key after where it lives
|
|
27
30
|
(`laptop`, `claude-code`) so you can revoke just that one. Revoke from the same
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ var commands = [
|
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
name: "resumes add",
|
|
112
|
-
desc: "Generate a resume PDF (
|
|
112
|
+
desc: "Generate a resume PDF (template: jake or mar) and save it",
|
|
113
113
|
method: "POST",
|
|
114
114
|
path: "/agent/resumes/generate",
|
|
115
115
|
opts: [
|
|
@@ -118,15 +118,18 @@ var commands = [
|
|
|
118
118
|
api: "personalInfo",
|
|
119
119
|
type: "json",
|
|
120
120
|
required: true,
|
|
121
|
-
desc: '{"firstName","lastName","email","citizenship"?,"location"?,"linkedin"?,"github"?,"portfolio"?,"summary"?}'
|
|
121
|
+
desc: '{"firstName","lastName","email","phone"?,"citizenship"?,"location"?,"linkedin"?,"github"?,"portfolio"?,"summary"?}'
|
|
122
122
|
},
|
|
123
123
|
{ flag: "--education <json>", api: "education", type: "json", desc: "[{name,degree,field?,location?,startDate?,endDate,details?}]" },
|
|
124
124
|
{ flag: "--experience <json>", api: "experience", type: "json", desc: "[{company,title,location?,date,details}]" },
|
|
125
125
|
{ flag: "--projects <json>", api: "projects", type: "json", desc: "[{name,description,date?,technologies?,details?}]" },
|
|
126
126
|
{ flag: "--skills <json>", api: "skills", type: "json", desc: '{"technical":[...],"additional"?:[...]}' },
|
|
127
127
|
{ flag: "--certifications <json>", api: "certifications", type: "json", desc: "[{name,issuer?,date?,credentialId?}]" },
|
|
128
|
+
{ flag: "--core-competencies <json>", api: "coreCompetencies", type: "json", desc: '(Mar template) ["Technical Support","Problem-Solving",...]' },
|
|
129
|
+
{ flag: "--early-career <json>", api: "earlyCareer", type: "json", desc: "(Mar template) [{title,company,location?,date}]" },
|
|
128
130
|
{ flag: "--additional-info <json>", api: "additionalInfo", type: "json", desc: '{"languages"?:[...],"references"?}' },
|
|
129
|
-
{ flag: "--target-company <name>", api: "targetCompany", type: "str", desc: "Included in the saved resume's name" }
|
|
131
|
+
{ flag: "--target-company <name>", api: "targetCompany", type: "str", desc: "Included in the saved resume's name" },
|
|
132
|
+
{ flag: "--template <id>", api: "template", type: "str", desc: "Template id: jake (default) or mar" }
|
|
130
133
|
]
|
|
131
134
|
},
|
|
132
135
|
// coverletters
|
|
@@ -379,9 +382,60 @@ function toIso(d) {
|
|
|
379
382
|
return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
|
|
380
383
|
}
|
|
381
384
|
|
|
385
|
+
// package.json
|
|
386
|
+
var package_default = {
|
|
387
|
+
name: "jobkompass-cli",
|
|
388
|
+
version: "0.1.2",
|
|
389
|
+
description: "Agent-first CLI for JobKompass \u2014 run your job search from the terminal, or let an AI agent run it for you.",
|
|
390
|
+
license: "MIT",
|
|
391
|
+
type: "module",
|
|
392
|
+
bin: {
|
|
393
|
+
jk: "dist/index.js"
|
|
394
|
+
},
|
|
395
|
+
files: [
|
|
396
|
+
"dist",
|
|
397
|
+
"README.md"
|
|
398
|
+
],
|
|
399
|
+
engines: {
|
|
400
|
+
node: ">=18"
|
|
401
|
+
},
|
|
402
|
+
keywords: [
|
|
403
|
+
"jobkompass",
|
|
404
|
+
"cli",
|
|
405
|
+
"job-search",
|
|
406
|
+
"resume",
|
|
407
|
+
"ai-agent",
|
|
408
|
+
"claude-code"
|
|
409
|
+
],
|
|
410
|
+
repository: {
|
|
411
|
+
type: "git",
|
|
412
|
+
url: "git+https://github.com/itwela/jobkompass-v3.git",
|
|
413
|
+
directory: "cli"
|
|
414
|
+
},
|
|
415
|
+
homepage: "https://www.myjobkompass.com",
|
|
416
|
+
publishConfig: {
|
|
417
|
+
access: "public"
|
|
418
|
+
},
|
|
419
|
+
scripts: {
|
|
420
|
+
build: "tsup",
|
|
421
|
+
test: "vitest run",
|
|
422
|
+
smoke: "bash smoke.sh",
|
|
423
|
+
prepublishOnly: "npm run build && npm test"
|
|
424
|
+
},
|
|
425
|
+
dependencies: {
|
|
426
|
+
commander: "^12.1.0"
|
|
427
|
+
},
|
|
428
|
+
devDependencies: {
|
|
429
|
+
"@types/node": "^20.14.0",
|
|
430
|
+
tsup: "^8.1.0",
|
|
431
|
+
typescript: "^5.5.0",
|
|
432
|
+
vitest: "^2.0.0"
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
|
|
382
436
|
// src/index.ts
|
|
383
437
|
var program = new Command();
|
|
384
|
-
program.name("jk").description("Agent-first CLI for JobKompass. All output is JSON when piped; add --json to force it.").option("--json", "Force JSON output").version(
|
|
438
|
+
program.name("jk").description("Agent-first CLI for JobKompass. All output is JSON when piped; add --json to force it.").option("--json", "Force JSON output").version(package_default.version);
|
|
385
439
|
function coerceOpt(spec, raw) {
|
|
386
440
|
if (raw === void 0) return void 0;
|
|
387
441
|
switch (spec.type) {
|
package/package.json
CHANGED