caldav-mcp 0.5.0 → 0.7.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.
@@ -22,14 +22,18 @@ export function registerCreateEvent(client, server) {
22
22
  .datetime({ offset: true })
23
23
  .describe("End datetime (ISO 8601)"),
24
24
  calendarUrl: z.string(),
25
+ description: z.string().optional(),
26
+ location: z.string().optional(),
25
27
  recurrenceRule: recurrenceRuleSchema.optional(),
26
28
  },
27
29
  }, async (args) => {
28
- const { calendarUrl, summary, start, end, recurrenceRule } = args;
30
+ const { calendarUrl, summary, start, end, description, location, recurrenceRule, } = args;
29
31
  const event = await client.createEvent(calendarUrl, {
30
32
  summary: summary,
31
33
  start: new Date(start),
32
34
  end: new Date(end),
35
+ ...(description !== undefined && { description }),
36
+ ...(location !== undefined && { location }),
33
37
  recurrenceRule: recurrenceRule,
34
38
  });
35
39
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "caldav-mcp",
3
3
  "description": "A CalDAV client using Model Context Protocol (MCP) to expose calendar operations as tools for AI assistants.",
4
- "version": "0.5.0",
4
+ "version": "0.7.0",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "bin": {
@@ -13,14 +13,16 @@
13
13
  "scripts": {
14
14
  "build": "tsc && shx chmod +x dist/*.js",
15
15
  "dev": "tsx --watch --env-file=.env src/index.ts",
16
- "prepare": "husky",
16
+ "prepare": "lefthook install",
17
17
  "test": "vitest run",
18
18
  "test:watch": "vitest",
19
19
  "test:coverage": "vitest run --coverage",
20
20
  "check": "biome check .",
21
21
  "check:fix": "biome check --write .",
22
22
  "check:ci": "biome ci .",
23
- "validate": "npm run check && npm test && npm run build",
23
+ "validate": "npm run check && npm test && npm run knip && npm run build",
24
+ "smoke": "npm run build && tsx --env-file=.env scripts/smoke.ts",
25
+ "smoke:agent": "npm run build && bash scripts/smoke-agent.sh",
24
26
  "watch": "tsc --watch",
25
27
  "semantic-release": "semantic-release",
26
28
  "knip": "knip"
@@ -41,25 +43,25 @@
41
43
  },
42
44
  "dependencies": {
43
45
  "@modelcontextprotocol/sdk": "^1.26.0",
44
- "ts-caldav": "^0.2.5",
45
- "zod": "^3.24.1"
46
+ "ts-caldav": "^0.3.6",
47
+ "zod": "^4.4.3"
46
48
  },
47
49
  "devDependencies": {
48
- "@biomejs/biome": "2.3.14",
49
- "@commitlint/cli": "^20.4.1",
50
- "@commitlint/config-conventional": "^20.4.1",
50
+ "@biomejs/biome": "^2.4.14",
51
+ "@commitlint/cli": "^21.0.0",
52
+ "@commitlint/config-conventional": "^21.0.0",
51
53
  "@semantic-release/changelog": "^6.0.3",
52
54
  "@semantic-release/git": "^10.0.1",
53
55
  "@semantic-release/github": "^12.0.5",
54
56
  "@semantic-release/npm": "^13.1.4",
55
- "@types/node": "^24.10.13",
56
- "@vitest/coverage-v8": "^3.2.4",
57
- "husky": "^9.1.7",
58
- "knip": "^5.83.1",
57
+ "@types/node": "^25.6.2",
58
+ "@vitest/coverage-v8": "^4.1.5",
59
+ "knip": "^6.12.1",
60
+ "lefthook": "^2.1.6",
59
61
  "semantic-release": "^25.0.3",
60
62
  "shx": "^0.4.0",
61
63
  "tsx": "^4.21.0",
62
- "typescript": "^5.9.3",
63
- "vitest": "^3.2.4"
64
+ "typescript": "^6.0.3",
65
+ "vitest": "^4.1.5"
64
66
  }
65
67
  }