@robinmordasiewicz/f5xc-api-mcp 1.0.82-2512312028
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.
- package/CHANGELOG.md +74 -0
- package/README.md +415 -0
- package/dist/auth/credential-manager.d.ts +151 -0
- package/dist/auth/credential-manager.d.ts.map +1 -0
- package/dist/auth/credential-manager.js +330 -0
- package/dist/auth/credential-manager.js.map +1 -0
- package/dist/auth/http-client.d.ts +81 -0
- package/dist/auth/http-client.d.ts.map +1 -0
- package/dist/auth/http-client.js +197 -0
- package/dist/auth/http-client.js.map +1 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +6 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/config/config-manager.d.ts +72 -0
- package/dist/config/config-manager.d.ts.map +1 -0
- package/dist/config/config-manager.js +247 -0
- package/dist/config/config-manager.js.map +1 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +7 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/schema.d.ts +74 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +75 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/types.d.ts +77 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +31 -0
- package/dist/config/types.js.map +1 -0
- package/dist/generator/dependency-extractor.d.ts +103 -0
- package/dist/generator/dependency-extractor.d.ts.map +1 -0
- package/dist/generator/dependency-extractor.js +473 -0
- package/dist/generator/dependency-extractor.js.map +1 -0
- package/dist/generator/dependency-graph.d.ts +67 -0
- package/dist/generator/dependency-graph.d.ts.map +1 -0
- package/dist/generator/dependency-graph.js +330 -0
- package/dist/generator/dependency-graph.js.map +1 -0
- package/dist/generator/dependency-types.d.ts +206 -0
- package/dist/generator/dependency-types.d.ts.map +1 -0
- package/dist/generator/dependency-types.js +37 -0
- package/dist/generator/dependency-types.js.map +1 -0
- package/dist/generator/index.d.ts +7 -0
- package/dist/generator/index.d.ts.map +1 -0
- package/dist/generator/index.js +7 -0
- package/dist/generator/index.js.map +1 -0
- package/dist/generator/naming/acronyms.d.ts +81 -0
- package/dist/generator/naming/acronyms.d.ts.map +1 -0
- package/dist/generator/naming/acronyms.js +253 -0
- package/dist/generator/naming/acronyms.js.map +1 -0
- package/dist/generator/naming/index.d.ts +6 -0
- package/dist/generator/naming/index.d.ts.map +1 -0
- package/dist/generator/naming/index.js +6 -0
- package/dist/generator/naming/index.js.map +1 -0
- package/dist/generator/naming/volterra-mapping.d.ts +102 -0
- package/dist/generator/naming/volterra-mapping.d.ts.map +1 -0
- package/dist/generator/naming/volterra-mapping.js +259 -0
- package/dist/generator/naming/volterra-mapping.js.map +1 -0
- package/dist/generator/openapi-parser.d.ts +701 -0
- package/dist/generator/openapi-parser.d.ts.map +1 -0
- package/dist/generator/openapi-parser.js +704 -0
- package/dist/generator/openapi-parser.js.map +1 -0
- package/dist/generator/tool-generator.d.ts +118 -0
- package/dist/generator/tool-generator.d.ts.map +1 -0
- package/dist/generator/tool-generator.js +529 -0
- package/dist/generator/tool-generator.js.map +1 -0
- package/dist/generator/transformers/index.d.ts +7 -0
- package/dist/generator/transformers/index.d.ts.map +1 -0
- package/dist/generator/transformers/index.js +7 -0
- package/dist/generator/transformers/index.js.map +1 -0
- package/dist/generator/transformers/normalize-examples.d.ts +48 -0
- package/dist/generator/transformers/normalize-examples.d.ts.map +1 -0
- package/dist/generator/transformers/normalize-examples.js +66 -0
- package/dist/generator/transformers/normalize-examples.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +101 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/error-resolution.d.ts +70 -0
- package/dist/prompts/error-resolution.d.ts.map +1 -0
- package/dist/prompts/error-resolution.js +350 -0
- package/dist/prompts/error-resolution.js.map +1 -0
- package/dist/prompts/index.d.ts +8 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +7 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/workflows.d.ts +59 -0
- package/dist/prompts/workflows.d.ts.map +1 -0
- package/dist/prompts/workflows.js +441 -0
- package/dist/prompts/workflows.js.map +1 -0
- package/dist/resources/handlers.d.ts +70 -0
- package/dist/resources/handlers.d.ts.map +1 -0
- package/dist/resources/handlers.js +270 -0
- package/dist/resources/handlers.js.map +1 -0
- package/dist/resources/index.d.ts +8 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +6 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/resources/templates.d.ts +86 -0
- package/dist/resources/templates.d.ts.map +1 -0
- package/dist/resources/templates.js +248 -0
- package/dist/resources/templates.js.map +1 -0
- package/dist/server.d.ts +78 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +721 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/discovery/best-practices.d.ts +140 -0
- package/dist/tools/discovery/best-practices.d.ts.map +1 -0
- package/dist/tools/discovery/best-practices.js +499 -0
- package/dist/tools/discovery/best-practices.js.map +1 -0
- package/dist/tools/discovery/consolidate.d.ts +97 -0
- package/dist/tools/discovery/consolidate.d.ts.map +1 -0
- package/dist/tools/discovery/consolidate.js +200 -0
- package/dist/tools/discovery/consolidate.js.map +1 -0
- package/dist/tools/discovery/cost-estimator.d.ts +114 -0
- package/dist/tools/discovery/cost-estimator.d.ts.map +1 -0
- package/dist/tools/discovery/cost-estimator.js +273 -0
- package/dist/tools/discovery/cost-estimator.js.map +1 -0
- package/dist/tools/discovery/dependencies.d.ts +113 -0
- package/dist/tools/discovery/dependencies.d.ts.map +1 -0
- package/dist/tools/discovery/dependencies.js +258 -0
- package/dist/tools/discovery/dependencies.js.map +1 -0
- package/dist/tools/discovery/describe.d.ts +133 -0
- package/dist/tools/discovery/describe.d.ts.map +1 -0
- package/dist/tools/discovery/describe.js +208 -0
- package/dist/tools/discovery/describe.js.map +1 -0
- package/dist/tools/discovery/execute.d.ts +96 -0
- package/dist/tools/discovery/execute.d.ts.map +1 -0
- package/dist/tools/discovery/execute.js +220 -0
- package/dist/tools/discovery/execute.js.map +1 -0
- package/dist/tools/discovery/index-loader.d.ts +28 -0
- package/dist/tools/discovery/index-loader.d.ts.map +1 -0
- package/dist/tools/discovery/index-loader.js +72 -0
- package/dist/tools/discovery/index-loader.js.map +1 -0
- package/dist/tools/discovery/index.d.ts +363 -0
- package/dist/tools/discovery/index.d.ts.map +1 -0
- package/dist/tools/discovery/index.js +361 -0
- package/dist/tools/discovery/index.js.map +1 -0
- package/dist/tools/discovery/resolver.d.ts +119 -0
- package/dist/tools/discovery/resolver.d.ts.map +1 -0
- package/dist/tools/discovery/resolver.js +369 -0
- package/dist/tools/discovery/resolver.js.map +1 -0
- package/dist/tools/discovery/search.d.ts +41 -0
- package/dist/tools/discovery/search.d.ts.map +1 -0
- package/dist/tools/discovery/search.js +176 -0
- package/dist/tools/discovery/search.js.map +1 -0
- package/dist/tools/discovery/types.d.ts +91 -0
- package/dist/tools/discovery/types.d.ts.map +1 -0
- package/dist/tools/discovery/types.js +9 -0
- package/dist/tools/discovery/types.js.map +1 -0
- package/dist/tools/discovery/validate.d.ts +63 -0
- package/dist/tools/discovery/validate.d.ts.map +1 -0
- package/dist/tools/discovery/validate.js +239 -0
- package/dist/tools/discovery/validate.js.map +1 -0
- package/dist/tools/generated/admin_console_and_ui/index.d.ts +8 -0
- package/dist/tools/generated/admin_console_and_ui/index.d.ts.map +1 -0
- package/dist/tools/generated/admin_console_and_ui/index.js +265 -0
- package/dist/tools/generated/admin_console_and_ui/index.js.map +1 -0
- package/dist/tools/generated/api/index.d.ts +8 -0
- package/dist/tools/generated/api/index.d.ts.map +1 -0
- package/dist/tools/generated/api/index.js +7016 -0
- package/dist/tools/generated/api/index.js.map +1 -0
- package/dist/tools/generated/authentication/index.d.ts +8 -0
- package/dist/tools/generated/authentication/index.d.ts.map +1 -0
- package/dist/tools/generated/authentication/index.js +907 -0
- package/dist/tools/generated/authentication/index.js.map +1 -0
- package/dist/tools/generated/bigip/index.d.ts +8 -0
- package/dist/tools/generated/bigip/index.d.ts.map +1 -0
- package/dist/tools/generated/bigip/index.js +3152 -0
- package/dist/tools/generated/bigip/index.js.map +1 -0
- package/dist/tools/generated/billing_and_usage/index.d.ts +8 -0
- package/dist/tools/generated/billing_and_usage/index.d.ts.map +1 -0
- package/dist/tools/generated/billing_and_usage/index.js +2452 -0
- package/dist/tools/generated/billing_and_usage/index.js.map +1 -0
- package/dist/tools/generated/blindfold/index.d.ts +8 -0
- package/dist/tools/generated/blindfold/index.d.ts.map +1 -0
- package/dist/tools/generated/blindfold/index.js +3790 -0
- package/dist/tools/generated/blindfold/index.js.map +1 -0
- package/dist/tools/generated/bot_and_threat_defense/index.d.ts +8 -0
- package/dist/tools/generated/bot_and_threat_defense/index.d.ts.map +1 -0
- package/dist/tools/generated/bot_and_threat_defense/index.js +2746 -0
- package/dist/tools/generated/bot_and_threat_defense/index.js.map +1 -0
- package/dist/tools/generated/cdn/index.d.ts +8 -0
- package/dist/tools/generated/cdn/index.d.ts.map +1 -0
- package/dist/tools/generated/cdn/index.js +2686 -0
- package/dist/tools/generated/cdn/index.js.map +1 -0
- package/dist/tools/generated/ce_management/index.d.ts +8 -0
- package/dist/tools/generated/ce_management/index.d.ts.map +1 -0
- package/dist/tools/generated/ce_management/index.js +3812 -0
- package/dist/tools/generated/ce_management/index.js.map +1 -0
- package/dist/tools/generated/certificates/index.d.ts +8 -0
- package/dist/tools/generated/certificates/index.d.ts.map +1 -0
- package/dist/tools/generated/certificates/index.js +2547 -0
- package/dist/tools/generated/certificates/index.js.map +1 -0
- package/dist/tools/generated/cloud_infrastructure/index.d.ts +8 -0
- package/dist/tools/generated/cloud_infrastructure/index.d.ts.map +1 -0
- package/dist/tools/generated/cloud_infrastructure/index.js +3959 -0
- package/dist/tools/generated/cloud_infrastructure/index.js.map +1 -0
- package/dist/tools/generated/container_services/index.d.ts +8 -0
- package/dist/tools/generated/container_services/index.d.ts.map +1 -0
- package/dist/tools/generated/container_services/index.js +2018 -0
- package/dist/tools/generated/container_services/index.js.map +1 -0
- package/dist/tools/generated/data_and_privacy_security/index.d.ts +8 -0
- package/dist/tools/generated/data_and_privacy_security/index.d.ts.map +1 -0
- package/dist/tools/generated/data_and_privacy_security/index.js +1662 -0
- package/dist/tools/generated/data_and_privacy_security/index.js.map +1 -0
- package/dist/tools/generated/data_intelligence/index.d.ts +8 -0
- package/dist/tools/generated/data_intelligence/index.d.ts.map +1 -0
- package/dist/tools/generated/data_intelligence/index.js +1600 -0
- package/dist/tools/generated/data_intelligence/index.js.map +1 -0
- package/dist/tools/generated/ddos/index.d.ts +8 -0
- package/dist/tools/generated/ddos/index.d.ts.map +1 -0
- package/dist/tools/generated/ddos/index.js +8091 -0
- package/dist/tools/generated/ddos/index.js.map +1 -0
- package/dist/tools/generated/dependency-graph.json +26358 -0
- package/dist/tools/generated/dns/index.d.ts +8 -0
- package/dist/tools/generated/dns/index.d.ts.map +1 -0
- package/dist/tools/generated/dns/index.js +6096 -0
- package/dist/tools/generated/dns/index.js.map +1 -0
- package/dist/tools/generated/generative_ai/index.d.ts +8 -0
- package/dist/tools/generated/generative_ai/index.d.ts.map +1 -0
- package/dist/tools/generated/generative_ai/index.js +1019 -0
- package/dist/tools/generated/generative_ai/index.js.map +1 -0
- package/dist/tools/generated/managed_kubernetes/index.d.ts +8 -0
- package/dist/tools/generated/managed_kubernetes/index.d.ts.map +1 -0
- package/dist/tools/generated/managed_kubernetes/index.js +3368 -0
- package/dist/tools/generated/managed_kubernetes/index.js.map +1 -0
- package/dist/tools/generated/marketplace/index.d.ts +8 -0
- package/dist/tools/generated/marketplace/index.d.ts.map +1 -0
- package/dist/tools/generated/marketplace/index.js +4329 -0
- package/dist/tools/generated/marketplace/index.js.map +1 -0
- package/dist/tools/generated/network/index.d.ts +8 -0
- package/dist/tools/generated/network/index.d.ts.map +1 -0
- package/dist/tools/generated/network/index.js +12424 -0
- package/dist/tools/generated/network/index.js.map +1 -0
- package/dist/tools/generated/network_security/index.d.ts +8 -0
- package/dist/tools/generated/network_security/index.d.ts.map +1 -0
- package/dist/tools/generated/network_security/index.js +9637 -0
- package/dist/tools/generated/network_security/index.js.map +1 -0
- package/dist/tools/generated/nginx_one/index.d.ts +8 -0
- package/dist/tools/generated/nginx_one/index.d.ts.map +1 -0
- package/dist/tools/generated/nginx_one/index.js +1692 -0
- package/dist/tools/generated/nginx_one/index.js.map +1 -0
- package/dist/tools/generated/object_storage/index.d.ts +8 -0
- package/dist/tools/generated/object_storage/index.d.ts.map +1 -0
- package/dist/tools/generated/object_storage/index.js +996 -0
- package/dist/tools/generated/object_storage/index.js.map +1 -0
- package/dist/tools/generated/observability/index.d.ts +8 -0
- package/dist/tools/generated/observability/index.d.ts.map +1 -0
- package/dist/tools/generated/observability/index.js +5285 -0
- package/dist/tools/generated/observability/index.js.map +1 -0
- package/dist/tools/generated/rate_limiting/index.d.ts +8 -0
- package/dist/tools/generated/rate_limiting/index.d.ts.map +1 -0
- package/dist/tools/generated/rate_limiting/index.js +2108 -0
- package/dist/tools/generated/rate_limiting/index.js.map +1 -0
- package/dist/tools/generated/secops_and_incident_response/index.d.ts +8 -0
- package/dist/tools/generated/secops_and_incident_response/index.d.ts.map +1 -0
- package/dist/tools/generated/secops_and_incident_response/index.js +710 -0
- package/dist/tools/generated/secops_and_incident_response/index.js.map +1 -0
- package/dist/tools/generated/service_mesh/index.d.ts +8 -0
- package/dist/tools/generated/service_mesh/index.d.ts.map +1 -0
- package/dist/tools/generated/service_mesh/index.js +6062 -0
- package/dist/tools/generated/service_mesh/index.js.map +1 -0
- package/dist/tools/generated/shape/index.d.ts +8 -0
- package/dist/tools/generated/shape/index.d.ts.map +1 -0
- package/dist/tools/generated/shape/index.js +19381 -0
- package/dist/tools/generated/shape/index.js.map +1 -0
- package/dist/tools/generated/sites/index.d.ts +8 -0
- package/dist/tools/generated/sites/index.d.ts.map +1 -0
- package/dist/tools/generated/sites/index.js +13160 -0
- package/dist/tools/generated/sites/index.js.map +1 -0
- package/dist/tools/generated/statistics/index.d.ts +8 -0
- package/dist/tools/generated/statistics/index.d.ts.map +1 -0
- package/dist/tools/generated/statistics/index.js +8131 -0
- package/dist/tools/generated/statistics/index.js.map +1 -0
- package/dist/tools/generated/support/index.d.ts +8 -0
- package/dist/tools/generated/support/index.d.ts.map +1 -0
- package/dist/tools/generated/support/index.js +5608 -0
- package/dist/tools/generated/support/index.js.map +1 -0
- package/dist/tools/generated/telemetry_and_insights/index.d.ts +8 -0
- package/dist/tools/generated/telemetry_and_insights/index.d.ts.map +1 -0
- package/dist/tools/generated/telemetry_and_insights/index.js +2404 -0
- package/dist/tools/generated/telemetry_and_insights/index.js.map +1 -0
- package/dist/tools/generated/tenant_and_identity/index.d.ts +8 -0
- package/dist/tools/generated/tenant_and_identity/index.d.ts.map +1 -0
- package/dist/tools/generated/tenant_and_identity/index.js +18938 -0
- package/dist/tools/generated/tenant_and_identity/index.js.map +1 -0
- package/dist/tools/generated/threat_campaign/index.d.ts +8 -0
- package/dist/tools/generated/threat_campaign/index.d.ts.map +1 -0
- package/dist/tools/generated/threat_campaign/index.js +102 -0
- package/dist/tools/generated/threat_campaign/index.js.map +1 -0
- package/dist/tools/generated/users/index.d.ts +8 -0
- package/dist/tools/generated/users/index.d.ts.map +1 -0
- package/dist/tools/generated/users/index.js +1515 -0
- package/dist/tools/generated/users/index.js.map +1 -0
- package/dist/tools/generated/virtual/index.d.ts +8 -0
- package/dist/tools/generated/virtual/index.d.ts.map +1 -0
- package/dist/tools/generated/virtual/index.js +11263 -0
- package/dist/tools/generated/virtual/index.js.map +1 -0
- package/dist/tools/generated/vpm_and_node_management/index.d.ts +8 -0
- package/dist/tools/generated/vpm_and_node_management/index.d.ts.map +1 -0
- package/dist/tools/generated/vpm_and_node_management/index.js +88 -0
- package/dist/tools/generated/vpm_and_node_management/index.js.map +1 -0
- package/dist/tools/generated/waf/index.d.ts +8 -0
- package/dist/tools/generated/waf/index.d.ts.map +1 -0
- package/dist/tools/generated/waf/index.js +4586 -0
- package/dist/tools/generated/waf/index.js.map +1 -0
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +6 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/registry.d.ts +27 -0
- package/dist/tools/registry.d.ts.map +1 -0
- package/dist/tools/registry.js +115 -0
- package/dist/tools/registry.js.map +1 -0
- package/dist/utils/error-handling.d.ts +109 -0
- package/dist/utils/error-handling.d.ts.map +1 -0
- package/dist/utils/error-handling.js +239 -0
- package/dist/utils/error-handling.js.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/logging.d.ts +75 -0
- package/dist/utils/logging.d.ts.map +1 -0
- package/dist/utils/logging.js +131 -0
- package/dist/utils/logging.js.map +1 -0
- package/manifest.json +143 -0
- package/package.json +110 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../src/tools/discovery/execute.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AA2DhD;;GAEG;AACH,SAAS,SAAS,CAAC,YAAoB,EAAE,UAAkC;IACzE,IAAI,IAAI,GAAG,YAAY,CAAC;IAExB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,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AAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnD,MAAM,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool Index Loader
|
|
3
|
+
*
|
|
4
|
+
* Loads and caches the lightweight tool index for discovery.
|
|
5
|
+
* Generates the index from existing tool registry on first load.
|
|
6
|
+
*/
|
|
7
|
+
import type { ToolIndex, ToolIndexEntry, ToolIndexMetadata } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Get the tool index (generates on first call, cached thereafter)
|
|
10
|
+
*/
|
|
11
|
+
export declare function getToolIndex(): ToolIndex;
|
|
12
|
+
/**
|
|
13
|
+
* Clear the cached index (useful for testing or refresh)
|
|
14
|
+
*/
|
|
15
|
+
export declare function clearIndexCache(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Get index metadata without loading full index
|
|
18
|
+
*/
|
|
19
|
+
export declare function getIndexMetadata(): ToolIndexMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a tool exists by name
|
|
22
|
+
*/
|
|
23
|
+
export declare function toolExists(toolName: string): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Get a single tool entry by name
|
|
26
|
+
*/
|
|
27
|
+
export declare function getToolEntry(toolName: string): ToolIndexEntry | undefined;
|
|
28
|
+
//# sourceMappingURL=index-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-loader.d.ts","sourceRoot":"","sources":["../../../src/tools/discovery/index-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAqC/E;;GAEG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAKxC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,iBAAiB,CAEpD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGpD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAGzE"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool Index Loader
|
|
3
|
+
*
|
|
4
|
+
* Loads and caches the lightweight tool index for discovery.
|
|
5
|
+
* Generates the index from existing tool registry on first load.
|
|
6
|
+
*/
|
|
7
|
+
import { allTools } from "../registry.js";
|
|
8
|
+
// Cached index for performance
|
|
9
|
+
let cachedIndex = null;
|
|
10
|
+
/**
|
|
11
|
+
* Generate tool index from the existing tool registry
|
|
12
|
+
*/
|
|
13
|
+
function generateIndex() {
|
|
14
|
+
const tools = allTools.map((tool) => ({
|
|
15
|
+
name: tool.toolName,
|
|
16
|
+
domain: tool.domain,
|
|
17
|
+
resource: tool.resource,
|
|
18
|
+
operation: tool.operation,
|
|
19
|
+
summary: tool.summary,
|
|
20
|
+
dangerLevel: tool.dangerLevel ?? "low",
|
|
21
|
+
// Note: isDeprecated not yet extracted from x-ves-deprecated in parser
|
|
22
|
+
isDeprecated: false,
|
|
23
|
+
}));
|
|
24
|
+
// Calculate domain counts
|
|
25
|
+
const domains = {};
|
|
26
|
+
for (const tool of tools) {
|
|
27
|
+
domains[tool.domain] = (domains[tool.domain] ?? 0) + 1;
|
|
28
|
+
}
|
|
29
|
+
const metadata = {
|
|
30
|
+
totalTools: tools.length,
|
|
31
|
+
domains,
|
|
32
|
+
generatedAt: new Date().toISOString(),
|
|
33
|
+
version: "1.0.0",
|
|
34
|
+
};
|
|
35
|
+
return { metadata, tools };
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get the tool index (generates on first call, cached thereafter)
|
|
39
|
+
*/
|
|
40
|
+
export function getToolIndex() {
|
|
41
|
+
if (!cachedIndex) {
|
|
42
|
+
cachedIndex = generateIndex();
|
|
43
|
+
}
|
|
44
|
+
return cachedIndex;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Clear the cached index (useful for testing or refresh)
|
|
48
|
+
*/
|
|
49
|
+
export function clearIndexCache() {
|
|
50
|
+
cachedIndex = null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Get index metadata without loading full index
|
|
54
|
+
*/
|
|
55
|
+
export function getIndexMetadata() {
|
|
56
|
+
return getToolIndex().metadata;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a tool exists by name
|
|
60
|
+
*/
|
|
61
|
+
export function toolExists(toolName) {
|
|
62
|
+
const index = getToolIndex();
|
|
63
|
+
return index.tools.some((t) => t.name === toolName);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get a single tool entry by name
|
|
67
|
+
*/
|
|
68
|
+
export function getToolEntry(toolName) {
|
|
69
|
+
const index = getToolIndex();
|
|
70
|
+
return index.tools.find((t) => t.name === toolName);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=index-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-loader.js","sourceRoot":"","sources":["../../../src/tools/discovery/index-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,+BAA+B;AAC/B,IAAI,WAAW,GAAqB,IAAI,CAAC;AAEzC;;GAEG;AACH,SAAS,aAAa;IACpB,MAAM,KAAK,GAAqB,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACtD,IAAI,EAAE,IAAI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AC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Discovery Module - Dynamic Tool Discovery for Token Efficiency
|
|
3
|
+
*
|
|
4
|
+
* This module implements the Speakeasy-style dynamic toolset pattern
|
|
5
|
+
* that reduces token consumption by 95%+ through lazy loading.
|
|
6
|
+
*
|
|
7
|
+
* Instead of loading all 1,400+ tools upfront (~535K tokens), this module
|
|
8
|
+
* exposes three meta-tools that load tool schemas on-demand:
|
|
9
|
+
*
|
|
10
|
+
* 1. search_tools - Find tools matching a natural language query
|
|
11
|
+
* 2. describe_tool - Get full schema for a specific tool
|
|
12
|
+
* 3. execute_tool - Execute a discovered tool
|
|
13
|
+
*
|
|
14
|
+
* Token Impact:
|
|
15
|
+
* - Before: 535,000 tokens loaded at server start
|
|
16
|
+
* - After: ~500 tokens (meta-tools) + ~375 tokens per tool used
|
|
17
|
+
*/
|
|
18
|
+
export type { ToolIndexEntry, SearchResult, SearchOptions, ToolIndex, ToolIndexMetadata, } from "./types.js";
|
|
19
|
+
export type { ToolDescription, ParameterDescription, CompactToolDescription } from "./describe.js";
|
|
20
|
+
export type { ExecuteToolParams, ExecuteToolResult, DocumentationResponse } from "./execute.js";
|
|
21
|
+
export { getToolIndex, clearIndexCache, getIndexMetadata, toolExists, getToolEntry, } from "./index-loader.js";
|
|
22
|
+
export { searchTools, getToolsByDomain, getToolsByResource, getAvailableDomains, getToolCountByDomain, } from "./search.js";
|
|
23
|
+
export { describeTool, describeTools, describeToolSafe, describeToolCompact, getFullToolSchema, getOptimizationStats, } from "./describe.js";
|
|
24
|
+
export { executeTool, validateExecuteParams } from "./execute.js";
|
|
25
|
+
export type { CrudOperation, ConsolidatedResource, ConsolidatedIndex } from "./consolidate.js";
|
|
26
|
+
export { getConsolidatedIndex, clearConsolidatedCache, getConsolidatedResource, getConsolidatedByDomain, searchConsolidatedResources, resolveConsolidatedTool, getConsolidationStats, } from "./consolidate.js";
|
|
27
|
+
export { loadDependencyGraph, clearDependencyCache, getResourceDependencies, getCreationOrder, getPrerequisiteResources, getDependentResources, getOneOfGroups, getSubscriptionRequirements, getResourcesRequiringSubscription, getAvailableAddonServices, generateDependencyReport, getDependencyStats, getResourcesInDomain, getAllDependencyDomains, } from "./dependencies.js";
|
|
28
|
+
export type { ValidationError, ValidationResult, ValidateParams } from "./validate.js";
|
|
29
|
+
export { validateToolParams, formatValidationResult } from "./validate.js";
|
|
30
|
+
export type { WorkflowStep, AlternativePath, CreationPlan, ResolveParams, ResolveResult, } from "./resolver.js";
|
|
31
|
+
export { resolveDependencies, formatCreationPlan, generateCompactPlan } from "./resolver.js";
|
|
32
|
+
export type { LatencyLevel, TokenEstimate, LatencyEstimate, ToolCostEstimate, WorkflowCostEstimate, EstimateCostParams, } from "./cost-estimator.js";
|
|
33
|
+
export { estimateToolTokens, estimateToolLatency, estimateToolCost, estimateMultipleToolsCost, estimateWorkflowCost, formatCostEstimate, formatWorkflowCostEstimate, } from "./cost-estimator.js";
|
|
34
|
+
export type { CommonError, DangerAnalysis, RecommendedWorkflow, DomainBestPractices, BestPracticesQuery, BestPracticesResult, } from "./best-practices.js";
|
|
35
|
+
export { getDomainBestPractices, queryBestPractices, getAllDomainsSummary, formatBestPractices, } from "./best-practices.js";
|
|
36
|
+
/**
|
|
37
|
+
* MCP Tool Definitions for the discovery meta-tools
|
|
38
|
+
*
|
|
39
|
+
* These are the three tools that get registered with the MCP server
|
|
40
|
+
* instead of the 1,400+ individual API tools.
|
|
41
|
+
*/
|
|
42
|
+
export declare const DISCOVERY_TOOLS: {
|
|
43
|
+
readonly search: {
|
|
44
|
+
readonly name: "f5xc-api-search-tools";
|
|
45
|
+
readonly description: string;
|
|
46
|
+
readonly inputSchema: {
|
|
47
|
+
readonly type: "object";
|
|
48
|
+
readonly properties: {
|
|
49
|
+
readonly query: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly description: "Natural language search query (e.g., 'http load balancer', 'create origin pool', 'delete dns zone')";
|
|
52
|
+
};
|
|
53
|
+
readonly limit: {
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly description: "Maximum number of results to return (default: 10, max: 50)";
|
|
56
|
+
readonly default: 10;
|
|
57
|
+
};
|
|
58
|
+
readonly domains: {
|
|
59
|
+
readonly type: "array";
|
|
60
|
+
readonly items: {
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
};
|
|
63
|
+
readonly description: "Filter by domain(s): waap, dns, core, network, site, security, appstack";
|
|
64
|
+
};
|
|
65
|
+
readonly operations: {
|
|
66
|
+
readonly type: "array";
|
|
67
|
+
readonly items: {
|
|
68
|
+
readonly type: "string";
|
|
69
|
+
};
|
|
70
|
+
readonly description: "Filter by operation type(s): create, get, list, update, delete";
|
|
71
|
+
};
|
|
72
|
+
readonly excludeDangerous: {
|
|
73
|
+
readonly type: "boolean";
|
|
74
|
+
readonly description: "Exclude high-danger operations from results";
|
|
75
|
+
};
|
|
76
|
+
readonly excludeDeprecated: {
|
|
77
|
+
readonly type: "boolean";
|
|
78
|
+
readonly description: "Exclude deprecated operations from results";
|
|
79
|
+
};
|
|
80
|
+
readonly includeDependencies: {
|
|
81
|
+
readonly type: "boolean";
|
|
82
|
+
readonly description: "Include prerequisite hints for create operations";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly required: readonly ["query"];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly describe: {
|
|
89
|
+
readonly name: "f5xc-api-describe-tool";
|
|
90
|
+
readonly description: string;
|
|
91
|
+
readonly inputSchema: {
|
|
92
|
+
readonly type: "object";
|
|
93
|
+
readonly properties: {
|
|
94
|
+
readonly toolName: {
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
readonly description: "The exact tool name (e.g., 'f5xc-api-waap-http-loadbalancer-create')";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly required: readonly ["toolName"];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly execute: {
|
|
103
|
+
readonly name: "f5xc-api-execute-tool";
|
|
104
|
+
readonly description: string;
|
|
105
|
+
readonly inputSchema: {
|
|
106
|
+
readonly type: "object";
|
|
107
|
+
readonly properties: {
|
|
108
|
+
readonly toolName: {
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
readonly description: "The exact tool name to execute";
|
|
111
|
+
};
|
|
112
|
+
readonly pathParams: {
|
|
113
|
+
readonly type: "object";
|
|
114
|
+
readonly description: "Path parameters (e.g., { namespace: 'default', name: 'example-resource' })";
|
|
115
|
+
readonly additionalProperties: {
|
|
116
|
+
readonly type: "string";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly queryParams: {
|
|
120
|
+
readonly type: "object";
|
|
121
|
+
readonly description: "Query parameters for the request";
|
|
122
|
+
readonly additionalProperties: {
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly body: {
|
|
127
|
+
readonly type: "object";
|
|
128
|
+
readonly description: "Request body for POST/PUT/PATCH operations";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readonly required: readonly ["toolName"];
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
readonly serverInfo: {
|
|
135
|
+
readonly name: "f5xc-api-server-info";
|
|
136
|
+
readonly description: string;
|
|
137
|
+
readonly inputSchema: {
|
|
138
|
+
readonly type: "object";
|
|
139
|
+
readonly properties: {};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
readonly searchResources: {
|
|
143
|
+
readonly name: "f5xc-api-search-resources";
|
|
144
|
+
readonly description: string;
|
|
145
|
+
readonly inputSchema: {
|
|
146
|
+
readonly type: "object";
|
|
147
|
+
readonly properties: {
|
|
148
|
+
readonly query: {
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
readonly description: "Natural language search query (e.g., 'http load balancer', 'origin pool', 'dns zone')";
|
|
151
|
+
};
|
|
152
|
+
readonly limit: {
|
|
153
|
+
readonly type: "number";
|
|
154
|
+
readonly description: "Maximum number of results to return (default: 10)";
|
|
155
|
+
readonly default: 10;
|
|
156
|
+
};
|
|
157
|
+
readonly domains: {
|
|
158
|
+
readonly type: "array";
|
|
159
|
+
readonly items: {
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
};
|
|
162
|
+
readonly description: "Filter by domain(s): waap, dns, core, network, site, security, appstack";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
readonly required: readonly ["query"];
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
readonly executeResource: {
|
|
169
|
+
readonly name: "f5xc-api-execute-resource";
|
|
170
|
+
readonly description: string;
|
|
171
|
+
readonly inputSchema: {
|
|
172
|
+
readonly type: "object";
|
|
173
|
+
readonly properties: {
|
|
174
|
+
readonly resourceName: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly description: "The consolidated resource name (e.g., 'f5xc-api-waap-http-loadbalancer')";
|
|
177
|
+
};
|
|
178
|
+
readonly operation: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly enum: readonly ["create", "get", "list", "update", "delete"];
|
|
181
|
+
readonly description: "The CRUD operation to perform";
|
|
182
|
+
};
|
|
183
|
+
readonly pathParams: {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly description: "Path parameters (e.g., { namespace: 'default', name: 'example-resource' })";
|
|
186
|
+
readonly additionalProperties: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
readonly queryParams: {
|
|
191
|
+
readonly type: "object";
|
|
192
|
+
readonly description: "Query parameters for the request";
|
|
193
|
+
readonly additionalProperties: {
|
|
194
|
+
readonly type: "string";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly body: {
|
|
198
|
+
readonly type: "object";
|
|
199
|
+
readonly description: "Request body for create/update operations";
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
readonly required: readonly ["resourceName", "operation"];
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly dependencies: {
|
|
206
|
+
readonly name: "f5xc-api-dependencies";
|
|
207
|
+
readonly description: string;
|
|
208
|
+
readonly inputSchema: {
|
|
209
|
+
readonly type: "object";
|
|
210
|
+
readonly properties: {
|
|
211
|
+
readonly resource: {
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly description: "The resource name (e.g., 'http-loadbalancer', 'origin-pool')";
|
|
214
|
+
};
|
|
215
|
+
readonly domain: {
|
|
216
|
+
readonly type: "string";
|
|
217
|
+
readonly description: "The domain containing the resource (e.g., 'virtual', 'network', 'api')";
|
|
218
|
+
};
|
|
219
|
+
readonly action: {
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly enum: readonly ["prerequisites", "dependents", "oneOf", "subscriptions", "creationOrder", "full"];
|
|
222
|
+
readonly description: string;
|
|
223
|
+
readonly default: "full";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly required: readonly ["resource", "domain"];
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly dependencyStats: {
|
|
230
|
+
readonly name: "f5xc-api-dependency-stats";
|
|
231
|
+
readonly description: string;
|
|
232
|
+
readonly inputSchema: {
|
|
233
|
+
readonly type: "object";
|
|
234
|
+
readonly properties: {};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
readonly validateParams: {
|
|
238
|
+
readonly name: "f5xc-api-validate-params";
|
|
239
|
+
readonly description: string;
|
|
240
|
+
readonly inputSchema: {
|
|
241
|
+
readonly type: "object";
|
|
242
|
+
readonly properties: {
|
|
243
|
+
readonly toolName: {
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
readonly description: "The exact tool name to validate parameters for";
|
|
246
|
+
};
|
|
247
|
+
readonly pathParams: {
|
|
248
|
+
readonly type: "object";
|
|
249
|
+
readonly description: "Path parameters to validate (e.g., { namespace: 'default', name: 'my-resource' })";
|
|
250
|
+
readonly additionalProperties: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
readonly queryParams: {
|
|
255
|
+
readonly type: "object";
|
|
256
|
+
readonly description: "Query parameters to validate";
|
|
257
|
+
readonly additionalProperties: {
|
|
258
|
+
readonly type: "string";
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly body: {
|
|
262
|
+
readonly type: "object";
|
|
263
|
+
readonly description: "Request body to validate";
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
readonly required: readonly ["toolName"];
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly resolveDependencies: {
|
|
270
|
+
readonly name: "f5xc-api-resolve-dependencies";
|
|
271
|
+
readonly description: string;
|
|
272
|
+
readonly inputSchema: {
|
|
273
|
+
readonly type: "object";
|
|
274
|
+
readonly properties: {
|
|
275
|
+
readonly resource: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
readonly description: "The target resource to create (e.g., 'http-loadbalancer', 'origin-pool')";
|
|
278
|
+
};
|
|
279
|
+
readonly domain: {
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
readonly description: "The domain containing the resource (e.g., 'virtual', 'network')";
|
|
282
|
+
};
|
|
283
|
+
readonly existingResources: {
|
|
284
|
+
readonly type: "array";
|
|
285
|
+
readonly items: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
};
|
|
288
|
+
readonly description: string;
|
|
289
|
+
};
|
|
290
|
+
readonly includeOptional: {
|
|
291
|
+
readonly type: "boolean";
|
|
292
|
+
readonly description: "Include optional dependencies in the plan (default: false)";
|
|
293
|
+
readonly default: false;
|
|
294
|
+
};
|
|
295
|
+
readonly maxDepth: {
|
|
296
|
+
readonly type: "number";
|
|
297
|
+
readonly description: "Maximum depth for dependency traversal (default: 10)";
|
|
298
|
+
readonly default: 10;
|
|
299
|
+
};
|
|
300
|
+
readonly expandAlternatives: {
|
|
301
|
+
readonly type: "boolean";
|
|
302
|
+
readonly description: "Include alternative paths for oneOf choices (default: false)";
|
|
303
|
+
readonly default: false;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
readonly required: readonly ["resource", "domain"];
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly estimateCost: {
|
|
310
|
+
readonly name: "f5xc-api-estimate-cost";
|
|
311
|
+
readonly description: string;
|
|
312
|
+
readonly inputSchema: {
|
|
313
|
+
readonly type: "object";
|
|
314
|
+
readonly properties: {
|
|
315
|
+
readonly toolName: {
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
readonly description: "A single tool name to estimate (e.g., 'f5xc-api-waap-http-loadbalancer-create')";
|
|
318
|
+
};
|
|
319
|
+
readonly toolNames: {
|
|
320
|
+
readonly type: "array";
|
|
321
|
+
readonly items: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
};
|
|
324
|
+
readonly description: "Multiple tool names to estimate costs for";
|
|
325
|
+
};
|
|
326
|
+
readonly plan: {
|
|
327
|
+
readonly type: "object";
|
|
328
|
+
readonly description: "A CreationPlan object from f5xc-api-resolve-dependencies to estimate workflow costs";
|
|
329
|
+
};
|
|
330
|
+
readonly detailed: {
|
|
331
|
+
readonly type: "boolean";
|
|
332
|
+
readonly description: "Include detailed breakdown of token usage and latency (default: true)";
|
|
333
|
+
readonly default: true;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
readonly bestPractices: {
|
|
339
|
+
readonly name: "f5xc-api-best-practices";
|
|
340
|
+
readonly description: string;
|
|
341
|
+
readonly inputSchema: {
|
|
342
|
+
readonly type: "object";
|
|
343
|
+
readonly properties: {
|
|
344
|
+
readonly domain: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly description: string;
|
|
347
|
+
};
|
|
348
|
+
readonly aspect: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly enum: readonly ["errors", "workflows", "danger", "security", "performance", "all"];
|
|
351
|
+
readonly description: string;
|
|
352
|
+
readonly default: "all";
|
|
353
|
+
};
|
|
354
|
+
readonly detailed: {
|
|
355
|
+
readonly type: "boolean";
|
|
356
|
+
readonly description: "Include detailed breakdowns (default: true)";
|
|
357
|
+
readonly default: true;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/discovery/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,YAAY,EACV,cAAc,EACd,YAAY,EACZ,aAAa,EACb,SAAS,EACT,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEnG,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAGhG,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,YAAY,GACb,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,cA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