wake-agents 0.2.0 → 0.2.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/README.md +4 -4
- package/lib/cli.mjs +8 -5
- package/lib/config.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# wake-agents
|
|
2
2
|
|
|
3
|
-
Command line for [Wake](https://
|
|
3
|
+
Command line for [Wake](https://wakeagents.ai/wake/): see which AI agents (Claude, ChatGPT, Perplexity, curl/python bots…) reach your site, what they tried, where they got stuck, the ranked fixes, your readiness score, and the AEO listing plan. It is also a stdio MCP bridge so any MCP client can ask Wake directly.
|
|
4
4
|
|
|
5
5
|
Zero dependencies. Node 18+.
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ npx wake-agents status # or one-off
|
|
|
13
13
|
|
|
14
14
|
## Login
|
|
15
15
|
|
|
16
|
-
Mint a key on the desk's **
|
|
16
|
+
Mint a key on the desk's **Settings → Integrations** screen (format `wk_live_` + 40 hex chars), then:
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
19
|
wake login # prompts for the key
|
|
@@ -89,10 +89,10 @@ wake connect claude-desktop --write # merges into claude_desktop_config.json,
|
|
|
89
89
|
|
|
90
90
|
```json
|
|
91
91
|
{ "mcpServers": { "wake": { "command": "npx", "args": ["-y", "wake-agents", "mcp"],
|
|
92
|
-
"env": { "WAKE_API_KEY": "wk_live_…", "WAKE_API_URL": "https://
|
|
92
|
+
"env": { "WAKE_API_KEY": "wk_live_…", "WAKE_API_URL": "https://wakeagents.ai" } } } }
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
**ChatGPT** —
|
|
95
|
+
**ChatGPT** — in developer mode, ChatGPT connects to MCP servers with OAuth or with no authentication, never with an API key. Add Wake's public server (`https://wakeagents.ai/api/wake/v1/public/mcp`, no key) as a connector with authentication set to none for `wake_check_site`, `wake_about` and `wake_signup`. Your desk's own data needs your key, so use the bridge or the REST API for it (`wake connect chatgpt` prints the details).
|
|
96
96
|
|
|
97
97
|
**curl / anything else**
|
|
98
98
|
|
package/lib/cli.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { createClient, WakeError, apiBase } from "./client.mjs";
|
|
|
6
6
|
import { resolveConfig, writeConfig, deleteConfig, configPath, maskKey, KEY_PATTERN, DEFAULT_URL } from "./config.mjs";
|
|
7
7
|
import * as f from "./format.mjs";
|
|
8
8
|
|
|
9
|
-
export const VERSION = "0.1
|
|
9
|
+
export const VERSION = "0.2.1";
|
|
10
10
|
const WINDOWS = new Set(["24h", "7d", "30d"]);
|
|
11
11
|
const BOOL_FLAGS = new Set(["json", "kit", "write", "show-key", "help", "version", "plan", "prompt"]);
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ const HELP = `wake ${VERSION} — see which AI agents reach your site, and what
|
|
|
34
34
|
Usage: wake <command> [options]
|
|
35
35
|
|
|
36
36
|
Account
|
|
37
|
-
login [--key wk_live_…] [--url https://…] Save an API key (minted on the desk's "
|
|
37
|
+
login [--key wk_live_…] [--url https://…] Save an API key (minted on the desk's "Settings → Integrations" screen)
|
|
38
38
|
logout Forget the saved key
|
|
39
39
|
status Site, verification, last event and this window's headline
|
|
40
40
|
|
|
@@ -499,11 +499,14 @@ async function connect({ flags, args }) {
|
|
|
499
499
|
}
|
|
500
500
|
case "chatgpt":
|
|
501
501
|
out([
|
|
502
|
-
"ChatGPT
|
|
502
|
+
"ChatGPT (developer mode) connects to MCP servers with OAuth or with no authentication, never with an API key.",
|
|
503
503
|
"",
|
|
504
|
-
`
|
|
504
|
+
`Public server, no key: ${cfg.url}/api/wake/v1/public/mcp`,
|
|
505
|
+
" Add it in developer mode as a custom connector, with authentication set to none.",
|
|
506
|
+
" Tools: wake_check_site (any site's agent readiness), wake_about, wake_signup.",
|
|
505
507
|
"",
|
|
506
|
-
|
|
508
|
+
`Your desk server (bearer key): ${mcpUrl}`,
|
|
509
|
+
" ChatGPT cannot send your key, so for your desk's own data use:",
|
|
507
510
|
" • any MCP client that can send an Authorization header (Claude Code, Cursor, Codex) — see wake connect <client>",
|
|
508
511
|
" • stdio-only clients via the bridge: npx -y wake-agents mcp",
|
|
509
512
|
` • the REST API directly: wake connect curl`,
|
package/lib/config.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import fs from "node:fs";
|
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
|
-
export const DEFAULT_URL = "https://
|
|
5
|
+
export const DEFAULT_URL = "https://wakeagents.ai";
|
|
6
6
|
export const KEY_PATTERN = /^wk_live_[a-f0-9]{40}$/;
|
|
7
7
|
|
|
8
8
|
export function configPath() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wake-agents",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Wake CLI: see which AI agents reach your site, where they get stuck, and what to fix. Also a stdio MCP bridge for Claude Desktop and other MCP clients.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/agent-observatory/agent-observatory.git",
|
|
21
21
|
"directory": "sdk/wake-cli"
|
|
22
22
|
},
|
|
23
|
-
"homepage": "https://
|
|
23
|
+
"homepage": "https://wakeagents.ai/wake/",
|
|
24
24
|
"keywords": [
|
|
25
25
|
"wake",
|
|
26
26
|
"agent-observatory",
|