ofw-mcp 1.3.0 → 1.4.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 +3 -7
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +2 -2
- package/dist/client.js +2 -1
- package/dist/tools/messages.js +1 -1
- package/package.json +1 -1
|
@@ -6,19 +6,15 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "OurFamilyWizard tools for Claude Code",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.4.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "ofw",
|
|
14
14
|
"displayName": "OurFamilyWizard",
|
|
15
|
-
"source":
|
|
16
|
-
"source": "npm",
|
|
17
|
-
"package": "ofw-mcp",
|
|
18
|
-
"version": "1.3.0"
|
|
19
|
-
},
|
|
15
|
+
"source": "./",
|
|
20
16
|
"description": "OurFamilyWizard co-parenting tools for Claude — messages, calendar, expenses, and journal via MCP",
|
|
21
|
-
"version": "1.
|
|
17
|
+
"version": "1.4.0",
|
|
22
18
|
"author": {
|
|
23
19
|
"name": "Chris Chall"
|
|
24
20
|
},
|
package/.mcp.json
CHANGED
package/dist/client.js
CHANGED
|
@@ -48,7 +48,8 @@ export class OFWClient {
|
|
|
48
48
|
if (!response.ok) {
|
|
49
49
|
throw new Error(`OFW API error: ${response.status} ${response.statusText} for ${method} ${path}`);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
const text = await response.text();
|
|
52
|
+
return (text ? JSON.parse(text) : null);
|
|
52
53
|
}
|
|
53
54
|
async ensureAuthenticated() {
|
|
54
55
|
if (!this.isTokenExpiredSoon())
|
package/dist/tools/messages.js
CHANGED
|
@@ -140,7 +140,7 @@ export async function handleTool(name, args, client) {
|
|
|
140
140
|
form.append('messageIds', String(draftId));
|
|
141
141
|
await client.request('DELETE', '/pub/v1/messages', form);
|
|
142
142
|
}
|
|
143
|
-
return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
|
|
143
|
+
return { content: [{ type: 'text', text: data ? JSON.stringify(data, null, 2) : 'Message sent successfully.' }] };
|
|
144
144
|
}
|
|
145
145
|
case 'ofw_list_drafts': {
|
|
146
146
|
const { page = 1, size = 50 } = args;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ofw-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "OurFamilyWizard MCP server for Claude — developed and maintained by AI (Claude Sonnet 4.6)",
|
|
5
5
|
"author": "Claude Sonnet 4.6 (AI) <https://www.anthropic.com/claude>",
|
|
6
6
|
"repository": {
|