@hashgraphonline/standards-agent-kit 0.2.135 → 0.2.136

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.
@@ -16,28 +16,19 @@ export interface FormValidatable {
16
16
  */
17
17
  getFormSchema(): z.ZodSchema;
18
18
  /**
19
- * Optional method to validate metadata quality and provide detailed feedback
20
- * @param input The input data to analyze
21
- * @returns Object indicating if form is needed and the reason
22
- */
23
- validateMetadataQuality?(input: unknown): {
24
- needsForm: boolean;
25
- reason: string;
26
- };
27
- /**
28
- * Optional method to define which fields are essential for this tool
19
+ * Defines which fields are essential for this tool
29
20
  * Essential fields are always shown in forms even if marked as optional
30
21
  * @returns Array of field names that are essential for user experience
31
22
  */
32
- getEssentialFields?(): string[];
23
+ getEssentialFields(): string[];
33
24
  /**
34
- * Optional method to determine if a field value should be considered empty
25
+ * Determines if a field value should be considered empty
35
26
  * Allows tools to define custom empty logic for their specific data types
36
27
  * @param fieldName The name of the field
37
28
  * @param value The value to check
38
29
  * @returns true if the field should be considered empty
39
30
  */
40
- isFieldEmpty?(fieldName: string, value: unknown): boolean;
31
+ isFieldEmpty(fieldName: string, value: unknown): boolean;
41
32
  }
42
33
  /**
43
34
  * Type guard to check if a tool implements FormValidatable