@pdpp/mcp-server 0.15.1 → 0.15.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdpp/mcp-server",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "description": "Local stdio MCP adapter for grant-scoped PDPP reads and event-subscription management.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tools.js CHANGED
@@ -1590,7 +1590,7 @@ function searchMatchWindowRead(window, recordId, fieldPath) {
1590
1590
  }
1591
1591
 
1592
1592
  function searchMatchWindowReadArgs(args, recordId, fieldPath) {
1593
- const rawArgs = objectValue(args);
1593
+ const rawArgs = objectValue(args) ?? {};
1594
1594
  if (firstString(rawArgs.id, rawArgs.record_uri)) return rawArgs;
1595
1595
  const connectionId = firstString(rawArgs.connection_id, rawArgs.connector_instance_id);
1596
1596
  const stream = firstString(rawArgs.stream);