@cyanheads/brapi-mcp-server 0.7.9 → 0.7.11

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 (105) hide show
  1. package/CLAUDE.md +18 -13
  2. package/Dockerfile +19 -5
  3. package/README.md +6 -3
  4. package/changelog/0.7.x/0.7.10.md +12 -0
  5. package/changelog/0.7.x/0.7.11.md +43 -0
  6. package/changelog/template.md +55 -16
  7. package/dist/config/alias-credentials.js.map +1 -1
  8. package/dist/config/builtin-aliases.js.map +1 -1
  9. package/dist/mcp-server/resources/definitions/brapi-calls.resource.d.ts +3 -3
  10. package/dist/mcp-server/resources/definitions/brapi-calls.resource.d.ts.map +1 -1
  11. package/dist/mcp-server/resources/definitions/brapi-filters.resource.d.ts +3 -3
  12. package/dist/mcp-server/resources/definitions/brapi-filters.resource.d.ts.map +1 -1
  13. package/dist/mcp-server/resources/definitions/brapi-germplasm.resource.d.ts +6 -6
  14. package/dist/mcp-server/resources/definitions/brapi-germplasm.resource.d.ts.map +1 -1
  15. package/dist/mcp-server/resources/definitions/brapi-server-info.resource.d.ts +3 -3
  16. package/dist/mcp-server/resources/definitions/brapi-server-info.resource.d.ts.map +1 -1
  17. package/dist/mcp-server/resources/definitions/brapi-study.resource.d.ts +6 -6
  18. package/dist/mcp-server/resources/definitions/brapi-study.resource.d.ts.map +1 -1
  19. package/dist/mcp-server/resources/definitions/brapi-variable.resource.d.ts +6 -6
  20. package/dist/mcp-server/resources/definitions/brapi-variable.resource.d.ts.map +1 -1
  21. package/dist/mcp-server/tools/definitions/brapi-build-phenotype-matrix.tool.d.ts +19 -14
  22. package/dist/mcp-server/tools/definitions/brapi-build-phenotype-matrix.tool.d.ts.map +1 -1
  23. package/dist/mcp-server/tools/definitions/brapi-build-phenotype-matrix.tool.js +59 -19
  24. package/dist/mcp-server/tools/definitions/brapi-build-phenotype-matrix.tool.js.map +1 -1
  25. package/dist/mcp-server/tools/definitions/brapi-connect.tool.d.ts +12 -12
  26. package/dist/mcp-server/tools/definitions/brapi-connect.tool.d.ts.map +1 -1
  27. package/dist/mcp-server/tools/definitions/brapi-dataframe-describe.tool.d.ts +2 -2
  28. package/dist/mcp-server/tools/definitions/brapi-dataframe-describe.tool.d.ts.map +1 -1
  29. package/dist/mcp-server/tools/definitions/brapi-dataframe-export.tool.d.ts +14 -14
  30. package/dist/mcp-server/tools/definitions/brapi-dataframe-export.tool.d.ts.map +1 -1
  31. package/dist/mcp-server/tools/definitions/brapi-dataframe-query.tool.d.ts +9 -4
  32. package/dist/mcp-server/tools/definitions/brapi-dataframe-query.tool.d.ts.map +1 -1
  33. package/dist/mcp-server/tools/definitions/brapi-dataframe-query.tool.js +31 -0
  34. package/dist/mcp-server/tools/definitions/brapi-dataframe-query.tool.js.map +1 -1
  35. package/dist/mcp-server/tools/definitions/brapi-describe-filters.tool.d.ts +6 -6
  36. package/dist/mcp-server/tools/definitions/brapi-describe-filters.tool.d.ts.map +1 -1
  37. package/dist/mcp-server/tools/definitions/brapi-export-genotype-matrix.tool.d.ts +11 -11
  38. package/dist/mcp-server/tools/definitions/brapi-export-genotype-matrix.tool.d.ts.map +1 -1
  39. package/dist/mcp-server/tools/definitions/brapi-find-genotype-calls.tool.d.ts +11 -11
  40. package/dist/mcp-server/tools/definitions/brapi-find-genotype-calls.tool.d.ts.map +1 -1
  41. package/dist/mcp-server/tools/definitions/brapi-find-germplasm.tool.d.ts +6 -6
  42. package/dist/mcp-server/tools/definitions/brapi-find-germplasm.tool.d.ts.map +1 -1
  43. package/dist/mcp-server/tools/definitions/brapi-find-images.tool.d.ts +6 -6
  44. package/dist/mcp-server/tools/definitions/brapi-find-images.tool.d.ts.map +1 -1
  45. package/dist/mcp-server/tools/definitions/brapi-find-locations.tool.d.ts +6 -6
  46. package/dist/mcp-server/tools/definitions/brapi-find-locations.tool.d.ts.map +1 -1
  47. package/dist/mcp-server/tools/definitions/brapi-find-observations.tool.d.ts +6 -6
  48. package/dist/mcp-server/tools/definitions/brapi-find-observations.tool.d.ts.map +1 -1
  49. package/dist/mcp-server/tools/definitions/brapi-find-studies.tool.d.ts +6 -6
  50. package/dist/mcp-server/tools/definitions/brapi-find-studies.tool.d.ts.map +1 -1
  51. package/dist/mcp-server/tools/definitions/brapi-find-variables.tool.d.ts +7 -7
  52. package/dist/mcp-server/tools/definitions/brapi-find-variables.tool.d.ts.map +1 -1
  53. package/dist/mcp-server/tools/definitions/brapi-find-variants.tool.d.ts +6 -6
  54. package/dist/mcp-server/tools/definitions/brapi-find-variants.tool.d.ts.map +1 -1
  55. package/dist/mcp-server/tools/definitions/brapi-germplasm-performance.tool.d.ts +6 -6
  56. package/dist/mcp-server/tools/definitions/brapi-germplasm-performance.tool.d.ts.map +1 -1
  57. package/dist/mcp-server/tools/definitions/brapi-germplasm-performance.tool.js +27 -28
  58. package/dist/mcp-server/tools/definitions/brapi-germplasm-performance.tool.js.map +1 -1
  59. package/dist/mcp-server/tools/definitions/brapi-get-germplasm.tool.d.ts +6 -6
  60. package/dist/mcp-server/tools/definitions/brapi-get-germplasm.tool.d.ts.map +1 -1
  61. package/dist/mcp-server/tools/definitions/brapi-get-image.tool.d.ts +6 -6
  62. package/dist/mcp-server/tools/definitions/brapi-get-image.tool.d.ts.map +1 -1
  63. package/dist/mcp-server/tools/definitions/brapi-get-study.tool.d.ts +6 -6
  64. package/dist/mcp-server/tools/definitions/brapi-get-study.tool.d.ts.map +1 -1
  65. package/dist/mcp-server/tools/definitions/brapi-raw-get.tool.d.ts +6 -6
  66. package/dist/mcp-server/tools/definitions/brapi-raw-get.tool.d.ts.map +1 -1
  67. package/dist/mcp-server/tools/definitions/brapi-raw-search.tool.d.ts +7 -7
  68. package/dist/mcp-server/tools/definitions/brapi-raw-search.tool.d.ts.map +1 -1
  69. package/dist/mcp-server/tools/definitions/brapi-server-info.tool.d.ts +9 -9
  70. package/dist/mcp-server/tools/definitions/brapi-server-info.tool.d.ts.map +1 -1
  71. package/dist/mcp-server/tools/definitions/brapi-submit-observations.tool.d.ts +23 -27
  72. package/dist/mcp-server/tools/definitions/brapi-submit-observations.tool.d.ts.map +1 -1
  73. package/dist/mcp-server/tools/definitions/brapi-submit-observations.tool.js +41 -55
  74. package/dist/mcp-server/tools/definitions/brapi-submit-observations.tool.js.map +1 -1
  75. package/dist/mcp-server/tools/definitions/brapi-walk-pedigree.tool.d.ts +8 -8
  76. package/dist/mcp-server/tools/definitions/brapi-walk-pedigree.tool.d.ts.map +1 -1
  77. package/dist/mcp-server/tools/definitions/index.d.ts +829 -824
  78. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  79. package/dist/mcp-server/tools/shared/find-helpers.js.map +1 -1
  80. package/dist/mcp-server/tools/shared/observations.d.ts +67 -0
  81. package/dist/mcp-server/tools/shared/observations.d.ts.map +1 -1
  82. package/dist/mcp-server/tools/shared/observations.js +56 -0
  83. package/dist/mcp-server/tools/shared/observations.js.map +1 -1
  84. package/dist/mcp-server/tools/shared/orientation-envelope.d.ts +12 -12
  85. package/dist/services/brapi-client/brapi-client.d.ts +2 -3
  86. package/dist/services/brapi-client/brapi-client.d.ts.map +1 -1
  87. package/dist/services/brapi-client/brapi-client.js +11 -14
  88. package/dist/services/brapi-client/brapi-client.js.map +1 -1
  89. package/dist/services/brapi-client/types.d.ts +1 -1
  90. package/dist/services/brapi-dialect/detect.js.map +1 -1
  91. package/dist/services/brapi-dialect/index.js.map +1 -1
  92. package/dist/services/canvas-bridge/canvas-bridge.d.ts +1 -1
  93. package/dist/services/canvas-bridge/canvas-bridge.d.ts.map +1 -1
  94. package/dist/services/canvas-bridge/canvas-bridge.js.map +1 -1
  95. package/dist/services/capability-registry/capability-registry.d.ts.map +1 -1
  96. package/dist/services/capability-registry/capability-registry.js.map +1 -1
  97. package/dist/services/ontology-resolver/ontology-resolver.d.ts.map +1 -1
  98. package/dist/services/ontology-resolver/ontology-resolver.js.map +1 -1
  99. package/dist/services/reference-data-cache/reference-data-cache.d.ts.map +1 -1
  100. package/dist/services/reference-data-cache/reference-data-cache.js.map +1 -1
  101. package/dist/services/server-registry/server-registry.d.ts.map +1 -1
  102. package/dist/services/server-registry/server-registry.js.map +1 -1
  103. package/manifest.json +1 -1
  104. package/package.json +11 -11
  105. package/server.json +3 -3
@@ -21,10 +21,10 @@ export declare const brapiFindGenotypeCalls: import("@cyanheads/mcp-ts-core").To
21
21
  callSetDbIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  variantDbIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
23
  callFormat: z.ZodOptional<z.ZodEnum<{
24
+ DARTSEQ: "DARTSEQ";
25
+ FLAPJACK: "FLAPJACK";
24
26
  JSON: "JSON";
25
27
  VCF: "VCF";
26
- FLAPJACK: "FLAPJACK";
27
- DARTSEQ: "DARTSEQ";
28
28
  }>>;
29
29
  loadLimit: z.ZodOptional<z.ZodNumber>;
30
30
  }, z.core.$strip>, z.ZodObject<{
@@ -66,20 +66,20 @@ export declare const brapiFindGenotypeCalls: import("@cyanheads/mcp-ts-core").To
66
66
  }, z.core.$strip>>;
67
67
  truncated: z.ZodBoolean;
68
68
  }, z.core.$strip>, readonly [{
69
- readonly reason: "unknown_alias";
69
+ readonly reason: 'unknown_alias';
70
70
  readonly code: JsonRpcErrorCode.NotFound;
71
- readonly when: "No connection has been registered under the requested alias";
72
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_genotype_calls.";
71
+ readonly when: 'No connection has been registered under the requested alias';
72
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_genotype_calls.';
73
73
  }, {
74
- readonly reason: "no_filters";
74
+ readonly reason: 'no_filters';
75
75
  readonly code: JsonRpcErrorCode.ValidationError;
76
- readonly when: "No variant set, germplasm, call set, or variant filter was provided";
77
- readonly recovery: "Provide variantSetDbId or germplasmDbIds before retrying — unfiltered pulls are too expensive.";
76
+ readonly when: 'No variant set, germplasm, call set, or variant filter was provided';
77
+ readonly recovery: 'Provide variantSetDbId or germplasmDbIds before retrying — unfiltered pulls are too expensive.';
78
78
  }, {
79
- readonly reason: "search_endpoint_disabled";
79
+ readonly reason: 'search_endpoint_disabled';
80
80
  readonly code: JsonRpcErrorCode.ValidationError;
81
- readonly when: "The active dialect declares POST /search/calls as known-dead on this server";
82
- readonly recovery: "Connect to a different BrAPI server that exposes a working /search/calls route — genotype-call workflows are not viable here.";
81
+ readonly when: 'The active dialect declares POST /search/calls as known-dead on this server';
82
+ readonly recovery: 'Connect to a different BrAPI server that exposes a working /search/calls route — genotype-call workflows are not viable here.';
83
83
  }], {
84
84
  readonly totalCount: z.ZodNumber;
85
85
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-genotype-calls.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-genotype-calls.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAsB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAgHjE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyQjC,CAAC"}
1
+ {"version":3,"file":"brapi-find-genotype-calls.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-genotype-calls.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAsB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAgHjE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMrB,eAAe;;mBAEjB,6DAA6D;uBAEjE,6HAA6H;;qBAGvH,YAAY;;mBAEd,qEAAqE;uBAEzE,gGAAgG;;qBAG1F,0BAA0B;;mBAE5B,6EAA6E;uBAEjF,+HAA+H;;;;;;;EAiPrI,CAAC"}
@@ -66,15 +66,15 @@ export declare const brapiFindGermplasm: import("@cyanheads/mcp-ts-core").ToolDe
66
66
  totalCount: z.ZodOptional<z.ZodNumber>;
67
67
  }, z.core.$strip>>;
68
68
  }, z.core.$strip>, readonly [{
69
- readonly reason: "unknown_alias";
69
+ readonly reason: 'unknown_alias';
70
70
  readonly code: JsonRpcErrorCode.NotFound;
71
- readonly when: "No connection has been registered under the requested alias";
72
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_germplasm.";
71
+ readonly when: 'No connection has been registered under the requested alias';
72
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_germplasm.';
73
73
  }, {
74
- readonly reason: "all_filters_dropped";
74
+ readonly reason: 'all_filters_dropped';
75
75
  readonly code: JsonRpcErrorCode.ValidationError;
76
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
77
- readonly recovery: "Drop the unsupported filters and rescope by names, germplasmDbIds, germplasmPUIs, accessionNumbers, crops, synonyms, genus, or species — these filter paths are honored on the active dialect.";
76
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
77
+ readonly recovery: 'Drop the unsupported filters and rescope by names, germplasmDbIds, germplasmPUIs, accessionNumbers, crops, synonyms, genus, or species — these filter paths are honored on the active dialect.';
78
78
  }], {
79
79
  readonly totalCount: z.ZodNumber;
80
80
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-germplasm.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-germplasm.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmIjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4W7B,CAAC"}
1
+ {"version":3,"file":"brapi-find-germplasm.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-germplasm.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmIjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMjB,eAAe;;mBAEjB,6DAA6D;uBAEjE,wHAAwH;;qBAGlH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,gMAAgM;;;;;;;;EA2VtM,CAAC"}
@@ -59,15 +59,15 @@ export declare const brapiFindImages: import("@cyanheads/mcp-ts-core").ToolDefin
59
59
  totalCount: z.ZodOptional<z.ZodNumber>;
60
60
  }, z.core.$strip>>;
61
61
  }, z.core.$strip>, readonly [{
62
- readonly reason: "unknown_alias";
62
+ readonly reason: 'unknown_alias';
63
63
  readonly code: JsonRpcErrorCode.NotFound;
64
- readonly when: "No connection has been registered under the requested alias";
65
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_images.";
64
+ readonly when: 'No connection has been registered under the requested alias';
65
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_images.';
66
66
  }, {
67
- readonly reason: "all_filters_dropped";
67
+ readonly reason: 'all_filters_dropped';
68
68
  readonly code: JsonRpcErrorCode.ValidationError;
69
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
70
- readonly recovery: "Drop the unsupported filters and rescope by images, observationUnits, observations, studies, descriptiveOntologyTerms, imageFileNames, or mimeTypes — these filter paths are honored on the active dialect.";
69
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
70
+ readonly recovery: 'Drop the unsupported filters and rescope by images, observationUnits, observations, studies, descriptiveOntologyTerms, imageFileNames, or mimeTypes — these filter paths are honored on the active dialect.';
71
71
  }], {
72
72
  readonly totalCount: z.ZodNumber;
73
73
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-images.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-images.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA4HjE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoS1B,CAAC"}
1
+ {"version":3,"file":"brapi-find-images.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-images.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA4HjE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMd,eAAe;;mBAEjB,6DAA6D;uBAEjE,qHAAqH;;qBAG/G,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,6MAA6M;;;;;;;;EAmRnN,CAAC"}
@@ -63,15 +63,15 @@ export declare const brapiFindLocations: import("@cyanheads/mcp-ts-core").ToolDe
63
63
  swapped: "swapped";
64
64
  }>;
65
65
  }, z.core.$strip>, readonly [{
66
- readonly reason: "unknown_alias";
66
+ readonly reason: 'unknown_alias';
67
67
  readonly code: JsonRpcErrorCode.NotFound;
68
- readonly when: "No connection has been registered under the requested alias";
69
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_locations.";
68
+ readonly when: 'No connection has been registered under the requested alias';
69
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_locations.';
70
70
  }, {
71
- readonly reason: "all_filters_dropped";
71
+ readonly reason: 'all_filters_dropped';
72
72
  readonly code: JsonRpcErrorCode.ValidationError;
73
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
74
- readonly recovery: "Drop the unsupported filters and rescope by locations, locationNames, countryCodes, locationTypes, abbreviations, or bbox — these filter paths are honored on the active dialect.";
73
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
74
+ readonly recovery: 'Drop the unsupported filters and rescope by locations, locationNames, countryCodes, locationTypes, abbreviations, or bbox — these filter paths are honored on the active dialect.';
75
75
  }], {
76
76
  readonly totalCount: z.ZodNumber;
77
77
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-locations.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-locations.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAkHjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmY7B,CAAC"}
1
+ {"version":3,"file":"brapi-find-locations.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-locations.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAkHjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMjB,eAAe;;mBAEjB,6DAA6D;uBAEjE,wHAAwH;;qBAGlH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,mLAAmL;;;;;;;;EAkXzL,CAAC"}
@@ -63,15 +63,15 @@ export declare const brapiFindObservations: import("@cyanheads/mcp-ts-core").Too
63
63
  totalCount: z.ZodOptional<z.ZodNumber>;
64
64
  }, z.core.$strip>>;
65
65
  }, z.core.$strip>, readonly [{
66
- readonly reason: "unknown_alias";
66
+ readonly reason: 'unknown_alias';
67
67
  readonly code: JsonRpcErrorCode.NotFound;
68
- readonly when: "No connection has been registered under the requested alias";
69
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_observations.";
68
+ readonly when: 'No connection has been registered under the requested alias';
69
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_observations.';
70
70
  }, {
71
- readonly reason: "all_filters_dropped";
71
+ readonly reason: 'all_filters_dropped';
72
72
  readonly code: JsonRpcErrorCode.ValidationError;
73
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
74
- readonly recovery: "Drop the unsupported filters and rescope by germplasm, variables, observationUnits, observations, seasons, programs, or trials — these filter paths are honored on the active dialect.";
73
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
74
+ readonly recovery: 'Drop the unsupported filters and rescope by germplasm, variables, observationUnits, observations, seasons, programs, or trials — these filter paths are honored on the active dialect.';
75
75
  }], {
76
76
  readonly totalCount: z.ZodNumber;
77
77
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-observations.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-observations.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAsB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA+JjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkXhC,CAAC"}
1
+ {"version":3,"file":"brapi-find-observations.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-observations.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAsB,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA+JjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMpB,eAAe;;mBAEjB,6DAA6D;uBAEjE,2HAA2H;;qBAGrH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,wLAAwL;;;;;;;;EAiW9L,CAAC"}
@@ -62,15 +62,15 @@ export declare const brapiFindStudies: import("@cyanheads/mcp-ts-core").ToolDefi
62
62
  totalCount: z.ZodOptional<z.ZodNumber>;
63
63
  }, z.core.$strip>>;
64
64
  }, z.core.$strip>, readonly [{
65
- readonly reason: "unknown_alias";
65
+ readonly reason: 'unknown_alias';
66
66
  readonly code: JsonRpcErrorCode.NotFound;
67
- readonly when: "No connection has been registered under the requested alias";
68
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_studies.";
67
+ readonly when: 'No connection has been registered under the requested alias';
68
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_studies.';
69
69
  }, {
70
- readonly reason: "all_filters_dropped";
70
+ readonly reason: 'all_filters_dropped';
71
71
  readonly code: JsonRpcErrorCode.ValidationError;
72
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
73
- readonly recovery: "Drop the unsupported filters and rescope by crop, trialTypes, seasons, programs, trials, studyNames, or active — these filter paths are honored on the active dialect.";
72
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
73
+ readonly recovery: 'Drop the unsupported filters and rescope by crop, trialTypes, seasons, programs, trials, studyNames, or active — these filter paths are honored on the active dialect.';
74
74
  }], {
75
75
  readonly totalCount: z.ZodNumber;
76
76
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-studies.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-studies.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAyHjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsS3B,CAAC"}
1
+ {"version":3,"file":"brapi-find-studies.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-studies.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAyHjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMf,eAAe;;mBAEjB,6DAA6D;uBAEjE,sHAAsH;;qBAGhH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,wKAAwK;;;;;;;;EAqR9K,CAAC"}
@@ -63,8 +63,8 @@ export declare const brapiFindVariables: import("@cyanheads/mcp-ts-core").ToolDe
63
63
  synonyms: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
64
  ontologyDbId: z.ZodOptional<z.ZodString>;
65
65
  source: z.ZodEnum<{
66
- puiMatch: "puiMatch";
67
66
  nameMatch: "nameMatch";
67
+ puiMatch: "puiMatch";
68
68
  synonymMatch: "synonymMatch";
69
69
  traitClassMatch: "traitClassMatch";
70
70
  }>;
@@ -81,15 +81,15 @@ export declare const brapiFindVariables: import("@cyanheads/mcp-ts-core").ToolDe
81
81
  totalCount: z.ZodOptional<z.ZodNumber>;
82
82
  }, z.core.$strip>>;
83
83
  }, z.core.$strip>, readonly [{
84
- readonly reason: "unknown_alias";
84
+ readonly reason: 'unknown_alias';
85
85
  readonly code: JsonRpcErrorCode.NotFound;
86
- readonly when: "No connection has been registered under the requested alias";
87
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_variables.";
86
+ readonly when: 'No connection has been registered under the requested alias';
87
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_variables.';
88
88
  }, {
89
- readonly reason: "all_filters_dropped";
89
+ readonly reason: 'all_filters_dropped';
90
90
  readonly code: JsonRpcErrorCode.ValidationError;
91
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
92
- readonly recovery: "Drop the unsupported filters and rescope by variables, traitClasses, ontologyDbIds, methodDbIds, scaleDbIds, or text — these filter paths are honored on the active dialect.";
91
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
92
+ readonly recovery: 'Drop the unsupported filters and rescope by variables, traitClasses, ontologyDbIds, methodDbIds, scaleDbIds, or text — these filter paths are honored on the active dialect.';
93
93
  }], {
94
94
  readonly totalCount: z.ZodNumber;
95
95
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-variables.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-variables.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAsKjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwW7B,CAAC"}
1
+ {"version":3,"file":"brapi-find-variables.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-variables.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAsKjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMjB,eAAe;;mBAEjB,6DAA6D;uBAEjE,wHAAwH;;qBAGlH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,8KAA8K;;;;;;;;EAuVpL,CAAC"}
@@ -53,15 +53,15 @@ export declare const brapiFindVariants: import("@cyanheads/mcp-ts-core").ToolDef
53
53
  totalCount: z.ZodOptional<z.ZodNumber>;
54
54
  }, z.core.$strip>>;
55
55
  }, z.core.$strip>, readonly [{
56
- readonly reason: "unknown_alias";
56
+ readonly reason: 'unknown_alias';
57
57
  readonly code: JsonRpcErrorCode.NotFound;
58
- readonly when: "No connection has been registered under the requested alias";
59
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_variants.";
58
+ readonly when: 'No connection has been registered under the requested alias';
59
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_variants.';
60
60
  }, {
61
- readonly reason: "all_filters_dropped";
61
+ readonly reason: 'all_filters_dropped';
62
62
  readonly code: JsonRpcErrorCode.ValidationError;
63
- readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.";
64
- readonly recovery: "Drop the unsupported filters and rescope by variants, variantSets, references, or referenceName + start/end — these filter paths are honored on the active dialect.";
63
+ readonly when: 'The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline.';
64
+ readonly recovery: 'Drop the unsupported filters and rescope by variants, variantSets, references, or referenceName + start/end — these filter paths are honored on the active dialect.';
65
65
  }], {
66
66
  readonly totalCount: z.ZodNumber;
67
67
  readonly returnedCount: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-find-variants.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-variants.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAsHjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4P5B,CAAC"}
1
+ {"version":3,"file":"brapi-find-variants.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-find-variants.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAsHjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMhB,eAAe;;mBAEjB,6DAA6D;uBAEjE,uHAAuH;;qBAGjH,qBAAqB;;mBAEvB,mNAAmN;uBAEvN,qKAAqK;;;;;;;;EA2O3K,CAAC"}
@@ -48,14 +48,14 @@ export declare const brapiGermplasmPerformance: import("@cyanheads/mcp-ts-core")
48
48
  }, z.core.$strip>>;
49
49
  warnings: z.ZodArray<z.ZodString>;
50
50
  }, z.core.$strip>, readonly [{
51
- readonly reason: "unknown_alias";
51
+ readonly reason: 'unknown_alias';
52
52
  readonly code: JsonRpcErrorCode.NotFound;
53
- readonly when: "No connection has been registered under the requested alias";
54
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_germplasm_performance.";
53
+ readonly when: 'No connection has been registered under the requested alias';
54
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_germplasm_performance.';
55
55
  }, {
56
- readonly reason: "germplasm_not_found";
56
+ readonly reason: 'germplasm_not_found';
57
57
  readonly code: JsonRpcErrorCode.NotFound;
58
- readonly when: "Upstream returned no germplasm record for the requested germplasmDbId";
59
- readonly recovery: "Verify the germplasmDbId on the target server, or run brapi_find_germplasm to discover valid IDs.";
58
+ readonly when: 'Upstream returned no germplasm record for the requested germplasmDbId';
59
+ readonly recovery: 'Verify the germplasmDbId on the target server, or run brapi_find_germplasm to discover valid IDs.';
60
60
  }], undefined>;
61
61
  //# sourceMappingURL=brapi-germplasm-performance.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-germplasm-performance.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-germplasm-performance.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAwGjE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2LpC,CAAC"}
1
+ {"version":3,"file":"brapi-germplasm-performance.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-germplasm-performance.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAwGjE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMxB,eAAe;;mBAEjB,6DAA6D;uBAEjE,+HAA+H;;qBAGzH,qBAAqB;;mBAEvB,uEAAuE;uBAE3E,mGAAmG;cA0KzG,CAAC"}
@@ -27,7 +27,7 @@ import { getBrapiClient } from '../../../services/brapi-client/index.js';
27
27
  import { resolveDialect } from '../../../services/brapi-dialect/index.js';
28
28
  import { getCapabilityRegistry } from '../../../services/capability-registry/index.js';
29
29
  import { AliasInput, asString, buildRequestOptions, extractRows, isUpstreamNotFound, requireRegisteredConnection, } from '../shared/find-helpers.js';
30
- import { pullStudyObservations } from '../shared/observations.js';
30
+ import { pullObservationsForStudies } from '../shared/observations.js';
31
31
  /** Upper bound on studies discovered per germplasm (guards the filter-ignored case). */
32
32
  const STUDY_DISCOVERY_CAP = 200;
33
33
  const STUDY_DISCOVERY_PAGE_SIZE = 100;
@@ -169,39 +169,38 @@ export const brapiGermplasmPerformance = tool('brapi_germplasm_performance', {
169
169
  warnings.push(`Study discovery capped at ${STUDY_DISCOVERY_CAP} studies — aggregates may be incomplete. To retrieve the full study set, call brapi_find_studies with extraFilters.germplasmDbIds set to ['${input.germplasmDbId}'] — it pages the complete germplasm-scoped study list (dataframe-backed when large) — then pass those studyDbIds back as the studyDbIds input here to aggregate the omitted slice. Or narrow with brapi_build_phenotype_matrix on specific studies.`);
170
170
  }
171
171
  }
172
- // 3. Pull observations per study, scoped to the germplasm. Filter returned
173
- // rows to the iterated study + target germplasm so the aggregate stays
174
- // correct on servers that ignore the studyDbId filter or over-return.
172
+ // 3. Pull observations per study, scoped to the germplasm, with bounded
173
+ // concurrency. Filter returned rows to the iterated study + target
174
+ // germplasm so the aggregate stays correct on servers that ignore the
175
+ // studyDbId filter or over-return. Per-study failures warn and continue.
175
176
  const collected = [];
176
177
  const wantVariables = input.variables?.length ? new Set(input.variables) : undefined;
177
- for (const studyDbId of studyDbIds) {
178
- let studyObs;
179
- try {
180
- studyObs = await pullStudyObservations({
181
- studyDbId,
182
- input: input.variables
183
- ? { germplasm: [input.germplasmDbId], variables: input.variables }
184
- : { germplasm: [input.germplasmDbId] },
185
- client,
186
- connection,
187
- profile: profile.supported,
188
- dialect,
189
- config,
190
- loadLimit,
191
- warnings,
192
- ctx,
193
- });
194
- }
195
- catch (err) {
196
- warnings.push(`Study '${studyDbId}': observation pull failed (${err instanceof Error ? err.message : String(err)}).`);
178
+ const outcomes = await pullObservationsForStudies({
179
+ studyDbIds,
180
+ input: input.variables
181
+ ? { germplasm: [input.germplasmDbId], variables: input.variables }
182
+ : { germplasm: [input.germplasmDbId] },
183
+ client,
184
+ connection,
185
+ profile: profile.supported,
186
+ dialect,
187
+ config,
188
+ loadLimit,
189
+ failFast: false,
190
+ ctx,
191
+ });
192
+ for (const outcome of outcomes) {
193
+ warnings.push(...outcome.warnings);
194
+ if (outcome.error !== undefined) {
195
+ warnings.push(`Study '${outcome.studyDbId}': observation pull failed (${outcome.error instanceof Error ? outcome.error.message : String(outcome.error)}).`);
197
196
  continue;
198
197
  }
199
- if (studyObs === null) {
200
- warnings.push(`Study '${studyDbId}': no observation path (server exposes neither /observations nor /observationunits).`);
198
+ if (outcome.observations === null) {
199
+ warnings.push(`Study '${outcome.studyDbId}': no observation path (server exposes neither /observations nor /observationunits).`);
201
200
  continue;
202
201
  }
203
- for (const o of studyObs) {
204
- if (o.studyDbId !== studyDbId)
202
+ for (const o of outcome.observations) {
203
+ if (o.studyDbId !== outcome.studyDbId)
205
204
  continue;
206
205
  if (o.germplasmDbId !== input.germplasmDbId)
207
206
  continue;
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-germplasm-performance.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-germplasm-performance.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAoB,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAqB,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,OAAO,EACL,UAAU,EACV,QAAQ,EAER,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAgB,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEhF,wFAAwF;AACxF,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAEtC,8EAA8E;AAC9E,gBAAgB;AAChB,8EAA8E;AAE9E,MAAM,iBAAiB,GAAG,CAAC;KACxB,MAAM,CAAC;IACN,uBAAu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EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IAClB,IAAI,EAAE,KAAK,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC/D,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;IACtB,OAAO,EAAE,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,YAAY,CAAC,IAAc;IAClC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACrB,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAChF,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAED,6EAA6E;AAC7E,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;AAC/E,CAAC"}
1
+ {"version":3,"file":"brapi-germplasm-performance.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-germplasm-performance.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CA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AC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACrB,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAChF,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAED,6EAA6E;AAC7E,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;AAC/E,CAAC"}
@@ -51,14 +51,14 @@ export declare const brapiGetGermplasm: import("@cyanheads/mcp-ts-core").ToolDef
51
51
  directDescendantCount: z.ZodOptional<z.ZodNumber>;
52
52
  warnings: z.ZodArray<z.ZodString>;
53
53
  }, z.core.$strip>, readonly [{
54
- readonly reason: "unknown_alias";
54
+ readonly reason: 'unknown_alias';
55
55
  readonly code: JsonRpcErrorCode.NotFound;
56
- readonly when: "No connection has been registered under the requested alias";
57
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_germplasm.";
56
+ readonly when: 'No connection has been registered under the requested alias';
57
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_germplasm.';
58
58
  }, {
59
- readonly reason: "germplasm_not_found";
59
+ readonly reason: 'germplasm_not_found';
60
60
  readonly code: JsonRpcErrorCode.NotFound;
61
- readonly when: "Upstream returned no germplasm record for the requested DbId";
62
- readonly recovery: "Verify the germplasmDbId on the target server, or run brapi_find_germplasm to discover valid IDs.";
61
+ readonly when: 'Upstream returned no germplasm record for the requested DbId';
62
+ readonly recovery: 'Verify the germplasmDbId on the target server, or run brapi_find_germplasm to discover valid IDs.';
63
63
  }], undefined>;
64
64
  //# sourceMappingURL=brapi-get-germplasm.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-get-germplasm.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-germplasm.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA4GjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2P5B,CAAC"}
1
+ {"version":3,"file":"brapi-get-germplasm.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-germplasm.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA4GjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMhB,eAAe;;mBAEjB,6DAA6D;uBAEjE,uHAAuH;;qBAGjH,qBAAqB;;mBAEvB,8DAA8D;uBAElE,mGAAmG;cA0OzG,CAAC"}
@@ -49,14 +49,14 @@ export declare const brapiGetImage: import("@cyanheads/mcp-ts-core").ToolDefinit
49
49
  warning: z.ZodString;
50
50
  }, z.core.$strip>>;
51
51
  }, z.core.$strip>, readonly [{
52
- readonly reason: "unknown_alias";
52
+ readonly reason: 'unknown_alias';
53
53
  readonly code: JsonRpcErrorCode.NotFound;
54
- readonly when: "No connection has been registered under the requested alias";
55
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_image.";
54
+ readonly when: 'No connection has been registered under the requested alias';
55
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_image.';
56
56
  }, {
57
- readonly reason: "images_unsupported";
57
+ readonly reason: 'images_unsupported';
58
58
  readonly code: JsonRpcErrorCode.NotFound;
59
- readonly when: "BrAPI server does not advertise /images in /serverinfo";
60
- readonly recovery: "Run brapi_server_info to inspect the advertised endpoints, or call brapi_connect with a different alias for a server that exposes /images.";
59
+ readonly when: 'BrAPI server does not advertise /images in /serverinfo';
60
+ readonly recovery: 'Run brapi_server_info to inspect the advertised endpoints, or call brapi_connect with a different alias for a server that exposes /images.';
61
61
  }], undefined>;
62
62
  //# sourceMappingURL=brapi-get-image.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-get-image.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-image.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAiFjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiKxB,CAAC"}
1
+ {"version":3,"file":"brapi-get-image.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-image.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAiFjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAKZ,eAAe;;mBAEjB,6DAA6D;uBAEjE,mHAAmH;;qBAG7G,oBAAoB;;mBAEtB,wDAAwD;uBAE5D,4IAA4I;cAiJlJ,CAAC"}
@@ -68,14 +68,14 @@ export declare const brapiGetStudy: import("@cyanheads/mcp-ts-core").ToolDefinit
68
68
  variableCount: z.ZodOptional<z.ZodNumber>;
69
69
  warnings: z.ZodArray<z.ZodString>;
70
70
  }, z.core.$strip>, readonly [{
71
- readonly reason: "unknown_alias";
71
+ readonly reason: 'unknown_alias';
72
72
  readonly code: JsonRpcErrorCode.NotFound;
73
- readonly when: "No connection has been registered under the requested alias";
74
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_study.";
73
+ readonly when: 'No connection has been registered under the requested alias';
74
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_get_study.';
75
75
  }, {
76
- readonly reason: "study_not_found";
76
+ readonly reason: 'study_not_found';
77
77
  readonly code: JsonRpcErrorCode.NotFound;
78
- readonly when: "Upstream returned no study record for the requested DbId";
79
- readonly recovery: "Verify the studyDbId on the target server, or run brapi_find_studies to discover valid IDs.";
78
+ readonly when: 'Upstream returned no study record for the requested DbId';
79
+ readonly recovery: 'Verify the studyDbId on the target server, or run brapi_find_studies to discover valid IDs.';
80
80
  }], undefined>;
81
81
  //# sourceMappingURL=brapi-get-study.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-get-study.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-study.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmJjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8QxB,CAAC"}
1
+ {"version":3,"file":"brapi-get-study.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-get-study.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmJjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMZ,eAAe;;mBAEjB,6DAA6D;uBAEjE,mHAAmH;;qBAG7G,iBAAiB;;mBAEnB,0DAA0D;uBAE9D,6FAA6F;cA6PnG,CAAC"}
@@ -44,14 +44,14 @@ export declare const brapiRawGet: import("@cyanheads/mcp-ts-core").ToolDefinitio
44
44
  totalCount: z.ZodOptional<z.ZodNumber>;
45
45
  }, z.core.$strip>>;
46
46
  }, z.core.$strip>, readonly [{
47
- readonly reason: "unknown_alias";
47
+ readonly reason: 'unknown_alias';
48
48
  readonly code: JsonRpcErrorCode.NotFound;
49
- readonly when: "No connection has been registered under the requested alias";
50
- readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_raw_get.";
49
+ readonly when: 'No connection has been registered under the requested alias';
50
+ readonly recovery: 'Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_raw_get.';
51
51
  }, {
52
- readonly reason: "cross_origin_path";
52
+ readonly reason: 'cross_origin_path';
53
53
  readonly code: JsonRpcErrorCode.ValidationError;
54
- readonly when: "path argument was a full URL instead of a relative BrAPI route";
55
- readonly recovery: "Pass a path like \"/samples\" or \"/methods\" — the connection alias supplies the baseUrl.";
54
+ readonly when: 'path argument was a full URL instead of a relative BrAPI route';
55
+ readonly recovery: 'Pass a path like "/samples" or "/methods" — the connection alias supplies the baseUrl.';
56
56
  }], undefined>;
57
57
  //# sourceMappingURL=brapi-raw-get.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brapi-raw-get.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-raw-get.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAuDjE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoItB,CAAC"}
1
+ {"version":3,"file":"brapi-raw-get.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/brapi-raw-get.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAuDjE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMV,eAAe;;mBAEjB,6DAA6D;uBAEjE,iHAAiH;;qBAG3G,mBAAmB;;mBAErB,gEAAgE;uBAEpE,wFAAwF;cAmH9F,CAAC"}