@pauhu/mcp 3.0.5 → 3.0.6

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 (3) hide show
  1. package/README.md +2 -2
  2. package/bridge.mjs +2 -2
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Machines ask, Pauhu answers with the source. Try free, pay per result.
4
4
 
5
- Connect any MCP client to Pauhu. Every answer carries its source, or says plainly that none was found.
5
+ Connect any MCP client to Pauhu. Every answer carries its source.
6
6
 
7
7
  ## Use
8
8
 
@@ -14,7 +14,7 @@ Connect any MCP client to Pauhu. Every answer carries its source, or says plainl
14
14
  }
15
15
  ```
16
16
 
17
- On first use you sign in with your browser. Or set `PAUHU_TOKEN` to a key from https://pauhu.eu/account.
17
+ On first use Pauhu prints a sign-in link; open it in your browser (new users create an account there). Or set `PAUHU_TOKEN` to a key you already hold.
18
18
 
19
19
  Prices per delivered result: https://api.pauhu.ai/v1/lds/outputs
20
20
 
package/bridge.mjs CHANGED
@@ -31,7 +31,7 @@ const MCP_URL = process.env.PAUHU_MCP_URL ?? "https://api.pauhu.ai/mcp";
31
31
  const CALL_MS = Number(process.env.PAUHU_CALL_TIMEOUT_MS ?? 120_000);
32
32
  const AUTH_MS = 15_000; // one token or device-code HTTP call
33
33
  const WAIT_MS = 45_000; // how long one request waits for a browser sign-in in progress
34
- const VERSION = "3.0.5";
34
+ const VERSION = "3.0.6";
35
35
 
36
36
  // An omitted optional user_config can arrive as the literal "${user_config.x}"; that is no value.
37
37
  const given = (v) => (v && !v.startsWith("${") ? v : null);
@@ -153,7 +153,7 @@ function client() {
153
153
  if (conn) return conn;
154
154
  const mine = (async () => {
155
155
  const bearer = await ensureToken();
156
- const c = new Client({ name: "pauhu-mcpb", version: VERSION }, { capabilities: {} });
156
+ const c = new Client({ name: "pauhu", version: VERSION }, { capabilities: {} });
157
157
  try {
158
158
  await withTimeout(c.connect(new StreamableHTTPClientTransport(new URL(MCP_URL), {
159
159
  requestInit: { headers: { Authorization: `Bearer ${bearer}` } },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pauhu/mcp",
3
- "version": "3.0.5",
4
- "description": "Pauhu: sourced answers over MCP. Every answer carries its source or says plainly it found none.",
3
+ "version": "3.0.6",
4
+ "description": "Pauhu: sourced answers over MCP. Every answer carries its source.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Pauhu AI Ltd (https://pauhu.ai)",