honeybook-mcp 1.2.4 → 1.2.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.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "HoneyBook client-portal tools for Claude Code",
10
- "version": "1.2.4"
10
+ "version": "1.2.6"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "HoneyBook",
16
16
  "source": "./",
17
17
  "description": "HoneyBook client-portal MCP for Claude — view wedding-vendor contracts and invoices via MCP",
18
- "version": "1.2.4",
18
+ "version": "1.2.6",
19
19
  "author": {
20
20
  "name": "Chris Chall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "honeybook",
3
3
  "displayName": "HoneyBook",
4
- "version": "1.2.4",
4
+ "version": "1.2.6",
5
5
  "description": "HoneyBook client-portal MCP for Claude — view wedding-vendor contracts and invoices via MCP",
6
6
  "author": {
7
7
  "name": "Chris Chall",
@@ -18,5 +18,5 @@
18
18
  "mcp"
19
19
  ],
20
20
  "skills": "./skills/",
21
- "mcp": "./.mcp.json"
21
+ "mcpServers": "./.mcp.json"
22
22
  }
package/README.md CHANGED
@@ -160,7 +160,8 @@ Until you confirm it only previews the recipients, subject and body — see [Con
160
160
 
161
161
  | variable | default | |
162
162
  |---|---|---|
163
- | `MCP_CONFIRM_MODE` | `ask-user` | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). `ask-user`: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. `auto`: the same two steps, but the model may use the token after reviewing the preview itself. `refuse`: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt. An unrecognised value is treated as `refuse`. |
163
+ | `MCP_CONFIRM_MODE` | `ask-user` | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). `ask-user`: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. `auto`: the same two steps, but the model may use the token after reviewing the preview itself. `refuse`: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless `MCP_CONFIRM_ELICITATION=off`. An unrecognised value is treated as `refuse`. |
164
+ | `MCP_CONFIRM_ELICITATION` | `on` | `off` never sends a confirmation prompt, so every client gets the `MCP_CONFIRM_MODE` path. Set it for a client that declares it can show prompts but never does (the gated call hangs — opencode 2.0.x). Any other value stays `on`, with a stderr warning. |
164
165
  | `MCP_CONFIRM_TTL_SECONDS` | `600` | How long a token stays valid. |
165
166
  | `MCP_CONFIRM_SECRET` | random per process | Signing key; set it only if tokens must survive a server restart. |
166
167
 
package/dist/auth.js CHANGED
@@ -67,7 +67,7 @@ import { bootstrap } from '@fetchproxy/bootstrap';
67
67
  import { bridgeErrorInfo } from '@chrischall/mcp-utils/fetchproxy';
68
68
  import { parseBoolEnv } from '@chrischall/mcp-utils';
69
69
  import { isBrowserCapabilityGap } from './bridge-errors.js';
70
- import pkg from '../package.json' with { type: 'json' };
70
+ import { SERVER_NAME, VERSION } from './version.js';
71
71
  import { sessionStore, normalizeOrigin, vendorPortalSubdomain } from './sessions.js';
72
72
  /** True if the user has explicitly disabled the fetchproxy capture path. */
73
73
  function fetchproxyDisabled() {
@@ -98,8 +98,8 @@ export async function captureSessionViaFetchproxy(opts) {
98
98
  let session;
99
99
  try {
100
100
  session = await bootstrap({
101
- serverName: pkg.name,
102
- version: pkg.version,
101
+ serverName: SERVER_NAME,
102
+ version: VERSION,
103
103
  // HoneyBook serves both the main app (honeybook.com) and per-vendor
104
104
  // portal subdomains (*.hbportal.co). The extension matches on suffix,
105
105
  // so listing both apexes covers any vendor.