@salesforce/mcp-provider-lwc-experts 0.5.3 → 0.5.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.
- package/index.bundle.d.ts +8 -6
- package/index.bundle.js +68 -68
- package/package.json +1 -1
package/index.bundle.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ export type AdkMcpToolConfig<TInputArgsShape extends z.ZodRawShape = McpToolInpu
|
|
|
19
19
|
* Optional release state of the tool, overrides one from reviewers map
|
|
20
20
|
*/
|
|
21
21
|
toolReleaseState?: DxMcpReleaseState | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Highest maturity level of the reviewers or default value if they are not set
|
|
24
|
+
* see getReviewersMaturity method in core package for default value
|
|
25
|
+
*/
|
|
22
26
|
reviewersMaturity: DxMcpReleaseState;
|
|
23
27
|
/**
|
|
24
28
|
* Dependencies of the tool, to be used to determine if the tool should be enabled based on the release state of the dependencies
|
|
@@ -40,14 +44,12 @@ export type DxMcpServices = Services;
|
|
|
40
44
|
export type DxMcpReleaseState = ReleaseState | "ga" | "non-ga" | "GA" | "NON_GA";
|
|
41
45
|
export type DxMcpMaturityOptions = {
|
|
42
46
|
isEnforceNonGAMode?: boolean | undefined;
|
|
43
|
-
overrideReleaseState?: DxMcpReleaseState | undefined;
|
|
44
47
|
};
|
|
45
48
|
declare abstract class AdkMcpTool<TInputArgsShape extends z.ZodRawShape = McpToolInputArgsShape> extends McpTool<TInputArgsShape, OutputArgsShape> {
|
|
46
49
|
private description;
|
|
47
50
|
private title;
|
|
48
51
|
private name;
|
|
49
52
|
private inputSchema;
|
|
50
|
-
private toolDependencies;
|
|
51
53
|
private maturity;
|
|
52
54
|
private releaseState;
|
|
53
55
|
private annotations;
|
|
@@ -56,13 +58,13 @@ declare abstract class AdkMcpTool<TInputArgsShape extends z.ZodRawShape = McpToo
|
|
|
56
58
|
getToolsets(): Toolset[];
|
|
57
59
|
getName(): string;
|
|
58
60
|
getConfig(): McpToolConfig<TInputArgsShape, OutputArgsShape>;
|
|
59
|
-
getMaturityOptions(): DxMcpMaturityOptions;
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* This method is invoked by experts that build knowledge depending on the reviewers maturity
|
|
63
|
+
* If options enforces NON_GA mode, all reviewers will be included in tool's grounding even if tool marked as GA
|
|
62
64
|
*
|
|
63
|
-
* @returns
|
|
65
|
+
* @returns maturity options
|
|
64
66
|
*/
|
|
65
|
-
|
|
67
|
+
getMaturityOptions(): DxMcpMaturityOptions;
|
|
66
68
|
}
|
|
67
69
|
declare abstract class AdkMcpToolsProvider extends McpProvider {
|
|
68
70
|
private name;
|