@cr8rcho/alkahest 0.1.104 → 0.1.105
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 +2 -2
- package/dist/cli.js +1 -1
- package/dist/commands/login.d.ts +1 -1
- package/dist/commands/login.js +2 -2
- package/dist/commands/login.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ cd ~/my-next-app
|
|
|
60
60
|
alkahest scan # → .alkahest/map.json
|
|
61
61
|
|
|
62
62
|
# 3. Publish it — this is where the map becomes viewable
|
|
63
|
-
# (sign up at alkahest.app
|
|
63
|
+
# (sign up at alkahest.app, then create one at alkahest.app/home/tokens)
|
|
64
64
|
alkahest login --token alk_xxxxx
|
|
65
65
|
alkahest publish # → https://alkahest.app/p/<project> (shareable, no login to view)
|
|
66
66
|
|
|
@@ -209,7 +209,7 @@ Or add it to any MCP-capable agent's config directly:
|
|
|
209
209
|
|
|
210
210
|
The agent reads with `get_screen` / `who_calls` and writes back with `set_summary` / `set_prd`; both write into `map.json` — publish and the hosted map reflects the latest.
|
|
211
211
|
|
|
212
|
-
**Publishing from the agent (optional).** `scan` / read / write-back need no key. `publish` does — it uploads the map to your account on the hosted viewer. Get a token at **alkahest.app
|
|
212
|
+
**Publishing from the agent (optional).** `scan` / read / write-back need no key. `publish` does — it uploads the map to your account on the hosted viewer. Get a token at **[alkahest.app/home/tokens](https://www.alkahest.app/home/tokens)**, then put it in the MCP config so the server can authenticate:
|
|
213
213
|
|
|
214
214
|
```bash
|
|
215
215
|
claude mcp add alkahest -s project \
|
package/dist/cli.js
CHANGED
|
@@ -49,7 +49,7 @@ program
|
|
|
49
49
|
program
|
|
50
50
|
.command("login")
|
|
51
51
|
.description("save your personal API token (from the web app); run bare to see the current state")
|
|
52
|
-
.option("--token <token>", "alk_… token from
|
|
52
|
+
.option("--token <token>", "alk_… token from https://www.alkahest.app/home/tokens")
|
|
53
53
|
.option("--api <url>", "API base URL (or env ALKAHEST_API_URL)")
|
|
54
54
|
.action(async (opts) => { await login(opts); });
|
|
55
55
|
program
|
package/dist/commands/login.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Save a personal API token so the CLI/MCP can authenticate as you (publish, tasks, notes, issues, skills).
|
|
3
|
-
* Get the token from the web app
|
|
3
|
+
* Get the token from the web app's API tokens page (https://www.alkahest.app/home/tokens) after signing in.
|
|
4
4
|
*
|
|
5
5
|
* Run BARE, this reports the current state instead of assuming you have none — a bare auth command
|
|
6
6
|
* is where people look first for "am I signed in?", and answering with a canned "paste a token"
|
package/dist/commands/login.js
CHANGED
|
@@ -3,8 +3,8 @@ import { authStatus, checkoutStatus } from "../core/status.js";
|
|
|
3
3
|
import { printStatus } from "./status.js";
|
|
4
4
|
const HOW_TO = [
|
|
5
5
|
"To sign in:",
|
|
6
|
-
" 1.
|
|
7
|
-
" 2.
|
|
6
|
+
" 1. Sign in at https://www.alkahest.app",
|
|
7
|
+
" 2. Create a token at https://www.alkahest.app/home/tokens and copy the alk_… value",
|
|
8
8
|
" 3. Run: alkahest login --token alk_xxxxx",
|
|
9
9
|
];
|
|
10
10
|
export async function login(options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiB1C,MAAM,MAAM,GAAG;IACb,aAAa;IACb,
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,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