@pdpp/mcp-server 0.15.2 → 0.15.4

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 +0 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdpp/mcp-server",
3
- "version": "0.15.2",
3
+ "version": "0.15.4",
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
@@ -1390,19 +1390,6 @@ function toReadRecordFieldToolResult(response, providerUrl, identity) {
1390
1390
  type: firstString(field.type, rawWindow.type),
1391
1391
  text_like: true,
1392
1392
  };
1393
- const resourceUri = encodeResourceUri('field-window', {
1394
- connection_id: connectionId,
1395
- stream,
1396
- record_id: recordId,
1397
- field_path: fieldInfo.path,
1398
- offset_chars: window.start_chars,
1399
- limit_chars: window.limit_chars,
1400
- });
1401
- const resource = {
1402
- uri: resourceUri,
1403
- mime_type: 'text/plain',
1404
- handle_semantics: 'live_lookup',
1405
- };
1406
1393
  const header = [
1407
1394
  `record=${record.id}`,
1408
1395
  `field=${fieldInfo.path}`,
@@ -1451,13 +1438,9 @@ function toReadRecordFieldToolResult(response, providerUrl, identity) {
1451
1438
  record,
1452
1439
  field: fieldInfo,
1453
1440
  window,
1454
- resource,
1455
1441
  provider_url: providerUrl,
1456
1442
  request_id: response.requestId ?? null,
1457
1443
  },
1458
- _meta: {
1459
- resource,
1460
- },
1461
1444
  };
1462
1445
  }
1463
1446