ofw-mcp 2.0.19 → 2.2.0
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/auth.js +6 -0
- package/dist/bundle.js +766 -135
- package/dist/client.js +46 -6
- package/dist/index.js +1 -1
- package/dist/tools/messages.js +55 -14
- package/package.json +9 -8
- package/server.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "OurFamilyWizard tools for Claude Code",
|
|
9
|
-
"version": "2.0
|
|
9
|
+
"version": "2.2.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"displayName": "OurFamilyWizard",
|
|
15
15
|
"source": "./",
|
|
16
16
|
"description": "OurFamilyWizard co-parenting tools for Claude — messages, calendar, expenses, and journal via MCP",
|
|
17
|
-
"version": "2.0
|
|
17
|
+
"version": "2.2.0",
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "Chris Chall"
|
|
20
20
|
},
|
package/dist/auth.js
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
// specifically so it can be mocked here too. This keeps the
|
|
47
47
|
// selection logic independent of either implementation.
|
|
48
48
|
import { bootstrap } from '@fetchproxy/bootstrap';
|
|
49
|
+
import { classifyBridgeError } from '@fetchproxy/server';
|
|
49
50
|
import { loginWithPassword } from './auth-password.js';
|
|
50
51
|
import { parseBoolEnv } from './config.js';
|
|
51
52
|
import pkg from '../package.json' with { type: 'json' };
|
|
@@ -121,6 +122,11 @@ export async function resolveAuth() {
|
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
124
|
catch (e) {
|
|
125
|
+
// FetchproxyBridgeDownError only escapes bootstrap() after the lazy-revive retry fails — surface .hint verbatim (actionable "click toolbar icon" copy).
|
|
126
|
+
if (classifyBridgeError(e) === 'bridge_down') {
|
|
127
|
+
const downErr = e;
|
|
128
|
+
throw new Error(`OFW auth: fetchproxy bridge is down (extension service worker unreachable after retry). ${downErr.hint}`);
|
|
129
|
+
}
|
|
124
130
|
const msg = e instanceof Error ? e.message : String(e);
|
|
125
131
|
throw new Error(`OFW auth: no OFW_USERNAME/OFW_PASSWORD set, and fetchproxy fallback failed: ${msg}`);
|
|
126
132
|
}
|