ofw-mcp 1.5.4 → 2.0.2

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/dist/bundle.js CHANGED
@@ -17546,10 +17546,9 @@ var ProgressTokenSchema = union([string2(), number2().int()]);
17546
17546
  var CursorSchema = string2();
17547
17547
  var TaskCreationParamsSchema = looseObject({
17548
17548
  /**
17549
- * Time in milliseconds to keep task results available after completion.
17550
- * If null, the task has unlimited lifetime until manually cleaned up.
17549
+ * Requested duration in milliseconds to retain task from creation.
17551
17550
  */
17552
- ttl: union([number2(), _null3()]).optional(),
17551
+ ttl: number2().optional(),
17553
17552
  /**
17554
17553
  * Time in milliseconds to wait between task status requests.
17555
17554
  */
@@ -17849,7 +17848,11 @@ var ClientCapabilitiesSchema = object2({
17849
17848
  /**
17850
17849
  * Present if the client supports task creation.
17851
17850
  */
17852
- tasks: ClientTasksCapabilitySchema.optional()
17851
+ tasks: ClientTasksCapabilitySchema.optional(),
17852
+ /**
17853
+ * Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).
17854
+ */
17855
+ extensions: record(string2(), AssertObjectSchema).optional()
17853
17856
  });
17854
17857
  var InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
17855
17858
  /**
@@ -17910,7 +17913,11 @@ var ServerCapabilitiesSchema = object2({
17910
17913
  /**
17911
17914
  * Present if the server supports task creation.
17912
17915
  */
17913
- tasks: ServerTasksCapabilitySchema.optional()
17916
+ tasks: ServerTasksCapabilitySchema.optional(),
17917
+ /**
17918
+ * Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).
17919
+ */
17920
+ extensions: record(string2(), AssertObjectSchema).optional()
17914
17921
  });
17915
17922
  var InitializeResultSchema = ResultSchema.extend({
17916
17923
  /**
@@ -18102,6 +18109,12 @@ var ResourceSchema = object2({
18102
18109
  * The MIME type of this resource, if known.
18103
18110
  */
18104
18111
  mimeType: optional(string2()),
18112
+ /**
18113
+ * The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.
18114
+ *
18115
+ * This can be used by Hosts to display file sizes and estimate context window usage.
18116
+ */
18117
+ size: optional(number2()),
18105
18118
  /**
18106
18119
  * Optional annotations for the client.
18107
18120
  */
@@ -19283,6 +19296,10 @@ var Protocol = class {
19283
19296
  this._progressHandlers.clear();
19284
19297
  this._taskProgressTokens.clear();
19285
19298
  this._pendingDebouncedNotifications.clear();
19299
+ for (const info of this._timeoutInfo.values()) {
19300
+ clearTimeout(info.timeoutId);
19301
+ }
19302
+ this._timeoutInfo.clear();
19286
19303
  for (const controller of this._requestHandlerAbortControllers.values()) {
19287
19304
  controller.abort();
19288
19305
  }
@@ -19413,7 +19430,9 @@ var Protocol = class {
19413
19430
  await capturedTransport?.send(errorResponse);
19414
19431
  }
19415
19432
  }).catch((error2) => this._onerror(new Error(`Failed to send response: ${error2}`))).finally(() => {
19416
- this._requestHandlerAbortControllers.delete(request.id);
19433
+ if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
19434
+ this._requestHandlerAbortControllers.delete(request.id);
19435
+ }
19417
19436
  });
19418
19437
  }
19419
19438
  _onprogress(notification) {
@@ -21381,7 +21400,7 @@ for (const tool of toolDefinitions3) handlers[tool.name] = (n, a) => handleTool3
21381
21400
  for (const tool of toolDefinitions4) handlers[tool.name] = (n, a) => handleTool4(n, a, client);
21382
21401
  for (const tool of toolDefinitions5) handlers[tool.name] = (n, a) => handleTool5(n, a, client);
21383
21402
  var server = new Server(
21384
- { name: "ofw", version: "1.5.4" },
21403
+ { name: "ofw", version: "2.0.2" },
21385
21404
  { capabilities: { tools: {} } }
21386
21405
  );
21387
21406
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ for (const tool of expenseTools)
26
26
  handlers[tool.name] = (n, a) => handleExpenses(n, a, client);
27
27
  for (const tool of journalTools)
28
28
  handlers[tool.name] = (n, a) => handleJournal(n, a, client);
29
- const server = new Server({ name: 'ofw', version: '1.5.4' }, { capabilities: { tools: {} } });
29
+ const server = new Server({ name: 'ofw', version: '2.0.2' }, { capabilities: { tools: {} } });
30
30
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
31
31
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
32
32
  const { name, arguments: args = {} } = request.params;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "ofw-mcp",
3
- "version": "1.5.4",
3
+ "version": "2.0.2",
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": {
7
7
  "type": "git",
8
- "url": "https://github.com/chrischall/ofw-mcp"
8
+ "url": "git+https://github.com/chrischall/ofw-mcp.git"
9
9
  },
10
10
  "type": "module",
11
11
  "bin": {
@@ -25,14 +25,14 @@
25
25
  "test:watch": "vitest"
26
26
  },
27
27
  "dependencies": {
28
- "@modelcontextprotocol/sdk": "^1.27.1",
29
- "dotenv": "^17.3.1"
28
+ "@modelcontextprotocol/sdk": "^1.29.0",
29
+ "dotenv": "^17.4.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/node": "^25.5.0",
33
- "@vitest/coverage-v8": "^4.1.0",
34
- "esbuild": "^0.27.4",
35
- "typescript": "^5.9.3",
36
- "vitest": "^4.1.0"
32
+ "@types/node": "^25.5.2",
33
+ "@vitest/coverage-v8": "^4.1.2",
34
+ "esbuild": "^0.27.0",
35
+ "typescript": "^6.0.2",
36
+ "vitest": "^4.1.2"
37
37
  }
38
38
  }