@hadoku/resume-bot 3.15.29 → 3.15.31

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/README.md +38 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -12,12 +12,49 @@ Two-panel UI: a markdown resume viewer on the left, an AI chat interface on the
12
12
 
13
13
  ## Development
14
14
 
15
+ ### Getting access
16
+
17
+ `pnpm install` needs a credential, because the `@wolffm/*` dependencies come from GitHub
18
+ Packages. The same credential gives you `RESUME_FRIEND_KEY` for the friend-gated API
19
+ routes. `pnpm dev` itself needs none: it talks to the public `hadoku.me/resume/api`.
20
+ You hold your own credential, which lasts 7 days; no hadoku_site clone and no GitHub
21
+ token are needed.
22
+
23
+ 1. Ask the operator for a service grant for `resume-bot-service-key`. Your hadoku.me
24
+ account must be friend tier or above. You cannot request one yourself.
25
+ 2. Sign in at [hadoku.me](https://hadoku.me) on the computer you will approve from, and
26
+ save a passkey there: settings gear, or [hadoku.me/auth](https://hadoku.me/auth)
27
+ while signed in → "Save a passkey".
28
+ 3. In your clone, run `npx @hadoku/dev-vault login`. It prints a code and a link to
29
+ `https://hadoku.me/account/device?code=XXXX-XXXX`; leave it running. The request
30
+ lives 24 hours.
31
+ 4. Open the link. The first time only: "Set up" → tap your passkey → scan the QR into an
32
+ authenticator app (Google Authenticator, Microsoft Authenticator, 1Password, …) → type
33
+ its 6-digit code → Confirm. Then pick the identity, type the app's current code,
34
+ Approve, and tap your passkey.
35
+ 5. The command writes `.devvault.local.json` (gitignored, mode 0600) with your `key`,
36
+ `expiresAt` and `identity`. Check it with `npx @hadoku/dev-vault --check`.
37
+ 6. Add `//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}` to your user `.npmrc`
38
+ (`~/.npmrc`, or `%USERPROFILE%\.npmrc` on Windows), then install with
39
+ `npx @hadoku/dev-vault -- pnpm install`. dev-vault fills `NODE_AUTH_TOKEN` (and
40
+ `RESUME_FRIEND_KEY`) for whatever it runs. On Windows it cannot start a `.cmd` shim
41
+ like `pnpm` directly: `npx @hadoku/dev-vault -- cmd /c pnpm install`.
42
+
43
+ When the credential expires, run `npx @hadoku/dev-vault login` again.
44
+
45
+ - **The passkey dialog is empty** ("Choose a passkey" with nothing in it, on Windows):
46
+ there is no passkey on this computer. Save one (step 2), or pick "Use another device"
47
+ and scan the QR with the phone that holds yours.
48
+ - **The request expired**: run `npx @hadoku/dev-vault login` again.
49
+ - **401, or "required: friend", from hadoku.me**: the credential has expired, or you hold
50
+ no grant. Log in again; if that is refused, ask the operator.
51
+
15
52
  ### Local Development Setup
16
53
 
17
54
  This package includes a development environment for testing the component locally:
18
55
 
19
56
  ```bash
20
- # Install dependencies
57
+ # Install dependencies (outside the fleet: npx @hadoku/dev-vault -- pnpm install)
21
58
  pnpm install
22
59
 
23
60
  # Start dev server (opens http://localhost:5173)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/resume-bot",
3
- "version": "3.15.29",
4
- "gitHead": "a94da2fc8e227c338468e8d205fabb5ae3ee5bba",
3
+ "version": "3.15.31",
4
+ "gitHead": "7197ed1545b22f729b0d7c135d66cce4cf05ddb5",
5
5
  "description": "AI-powered conversational interface for interactive resume exploration",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@wolffm/prefs-client": "npm:@hadoku/prefs-client@^1.1.20",
38
- "@wolffm/worker-utils": "npm:@hadoku/worker-utils@^1.7.7",
38
+ "@wolffm/worker-utils": "npm:@hadoku/worker-utils@^1.7.8",
39
39
  "hono": "^4.11.4",
40
40
  "openai": "^6.21.0",
41
41
  "pdf-lib": "^1.17.1",