splitwise-mcp 2.0.9 → 2.0.10

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": "MCP server for Splitwise — natural-language expense and group management via the Splitwise API",
10
- "version": "2.0.9"
10
+ "version": "2.0.10"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "Splitwise",
16
16
  "source": "./",
17
17
  "description": "MCP server for Splitwise — manage expenses, groups, and friends via natural language",
18
- "version": "2.0.9",
18
+ "version": "2.0.10",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "splitwise-mcp",
3
3
  "displayName": "Splitwise",
4
- "version": "2.0.9",
4
+ "version": "2.0.10",
5
5
  "description": "MCP server for Splitwise — natural-language expense and group management via the Splitwise API",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/bundle.js CHANGED
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
@@ -31223,6 +31227,8 @@ var NonNegInt = external_exports.number().int().nonnegative();
31223
31227
  var NonEmptyString = external_exports.string().min(1);
31224
31228
  var IsoDate = external_exports.iso.date();
31225
31229
  var IsoTime = external_exports.string().regex(/^([01]?\d|2[0-3]):[0-5]\d$/, "must be HH:MM (24h), e.g. 19:30");
31230
+ var NumericIdString = external_exports.string().regex(/^\d+$/, "must be a numeric id (digits only)").describe("A numeric id string (digits only), safe to interpolate into a URL path.");
31231
+ var SafePathSegment = external_exports.string().min(1).regex(/^[^/?#\s]+$/, 'must not contain "/", "?", "#", or whitespace').refine((v) => !v.includes(".."), 'must not contain ".."').describe('A single URL path segment, safe to interpolate: no "/", "..", "?", "#", or whitespace.');
31226
31232
  var schemaOrigin = external_exports.string().optional().describe("Portal origin (e.g. https://<vendor>.example.co) selecting which active session to use. Optional when only one session is active.");
31227
31233
  var schemaConfirm = external_exports.boolean().optional().describe("Must be true to proceed. Without this, the tool returns a preview.");
31228
31234
  var paginationSchema = {
@@ -31625,7 +31631,7 @@ function registerUtilityTools(server) {
31625
31631
  // src/index.ts
31626
31632
  await runMcp({
31627
31633
  name: "splitwise-mcp",
31628
- version: "2.0.9",
31634
+ version: "2.0.10",
31629
31635
  // x-release-please-version
31630
31636
  banner: "[splitwise-mcp] This project was developed and is maintained by AI (Claude Sonnet 4.6). Use at your own discretion.",
31631
31637
  tools: [
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import { registerUtilityTools } from './tools/utilities.js';
12
12
  // the configuration error only surfaces on the first tool call.
13
13
  await runMcp({
14
14
  name: 'splitwise-mcp',
15
- version: '2.0.9', // x-release-please-version
15
+ version: '2.0.10', // x-release-please-version
16
16
  banner: '[splitwise-mcp] This project was developed and is maintained by AI (Claude Sonnet 4.6). Use at your own discretion.',
17
17
  tools: [
18
18
  registerUserTools,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "splitwise-mcp",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "mcpName": "io.github.chrischall/splitwise-mcp",
5
5
  "description": "Splitwise MCP server for Claude — developed and maintained by AI (Claude Code)",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",
@@ -43,13 +43,13 @@
43
43
  "test:coverage": "vitest run --coverage"
44
44
  },
45
45
  "dependencies": {
46
- "@chrischall/mcp-utils": "^0.7.0",
46
+ "@chrischall/mcp-utils": "^0.10.3",
47
47
  "@modelcontextprotocol/sdk": "^1.29.0",
48
48
  "dotenv": "^17.4.0",
49
49
  "zod": "^4.4.2"
50
50
  },
51
51
  "devDependencies": {
52
- "@types/node": "^25.5.2",
52
+ "@types/node": "^26.0.0",
53
53
  "@vitest/coverage-v8": "^4.1.2",
54
54
  "esbuild": "^0.28.0",
55
55
  "typescript": "^6.0.2",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/chrischall/splitwise-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "2.0.9",
9
+ "version": "2.0.10",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "splitwise-mcp",
14
- "version": "2.0.9",
14
+ "version": "2.0.10",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },