@mondaydotcomorg/agent-toolkit 5.56.0 → 5.56.1

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.
@@ -2124,7 +2124,7 @@
2124
2124
  }
2125
2125
  }
2126
2126
  }
2127
- `,wb=e=>e.toLocaleLowerCase().replace(/[^\p{L}\d]/gu,""),Ib={searchTerm:e.z.string().min(1).describe("The search term to use."),searchType:e.z.preprocess((e=>"string"==typeof e?Z_[e.toUpperCase()]??e.toUpperCase():e),e.z.nativeEnum(X_)).describe("The type of search to perform. Valid values: BOARD, DOCUMENTS, FOLDERS, WORKSPACES, UPDATES, ITEMS, TIMELINE_ITEMS."),limit:e.z.preprocess((e=>"number"==typeof e&&e>20?20:e),e.z.number()).optional().default(20).describe("The number of items to get. Maximum is 20."),workspaceIds:e.z.array(e.z.number()).optional().describe("Array of workspace IDs (numbers) to search in. Required for FOLDERS search. For BOARD and DOCUMENTS search, only pass this if the user explicitly asked to search within specific workspaces. Example: [12345, 67890]."),boardIds:e.z.array(e.z.number()).optional().describe("Array of board IDs (numbers) to scope the search to. Only applies to UPDATES search, and only pass it if the user explicitly asked to search within specific boards. Example: [12345, 67890]."),creatorIds:e.z.array(e.z.number()).optional().describe("Array of user IDs (numbers) whose updates to search. Only applies to UPDATES search, and only pass it if the user explicitly asked to search updates by specific authors. Example: [12345, 67890].")};const Eb=e.z.object({id:e.z.string().describe("The ID of the entity to mention"),type:e.z.nativeEnum(Fl).describe("The type of mention: User, Team, Board, or Project")}),Tb=e.z.array(Eb),Ab={itemId:e.z.number().describe("The id of the item to which the update will be added"),body:e.z.string().describe("The update text to be created. Do not use @ to mention users, use the mentionsList field instead."),mentionsList:e.z.string().optional().describe('Optional JSON array of mentions in the format: [{"id": "123", "type": "User"}, {"id": "456", "type": "Team"}]. Valid types are: User, Team, Board, Project')};const Sb=ru`
2127
+ `,wb=e=>e.toLocaleLowerCase().replace(/[^\p{L}\d]/gu,""),Ib={searchTerm:e.z.string().trim().min(1,{message:"searchTerm must be a non-empty search string."}).describe("The non-empty term to search for (at least one non-whitespace character)."),searchType:e.z.preprocess((e=>"string"==typeof e?Z_[e.toUpperCase()]??e.toUpperCase():e),e.z.nativeEnum(X_)).describe("The type of search to perform. Valid values: BOARD, DOCUMENTS, FOLDERS, WORKSPACES, UPDATES, ITEMS, TIMELINE_ITEMS."),limit:e.z.preprocess((e=>"number"==typeof e&&e>20?20:e),e.z.number()).optional().default(20).describe("The number of items to get. Maximum is 20."),workspaceIds:e.z.array(e.z.number()).optional().describe("Array of workspace IDs (numbers) to search in. Required for FOLDERS search. For BOARD and DOCUMENTS search, only pass this if the user explicitly asked to search within specific workspaces. Example: [12345, 67890]."),boardIds:e.z.array(e.z.number()).optional().describe("Array of board IDs (numbers) to scope the search to. Only applies to UPDATES search, and only pass it if the user explicitly asked to search within specific boards. Example: [12345, 67890]."),creatorIds:e.z.array(e.z.number()).optional().describe("Array of user IDs (numbers) whose updates to search. Only applies to UPDATES search, and only pass it if the user explicitly asked to search updates by specific authors. Example: [12345, 67890].")};const Eb=e.z.object({id:e.z.string().describe("The ID of the entity to mention"),type:e.z.nativeEnum(Fl).describe("The type of mention: User, Team, Board, or Project")}),Tb=e.z.array(Eb),Ab={itemId:e.z.number().describe("The id of the item to which the update will be added"),body:e.z.string().describe("The update text to be created. Do not use @ to mention users, use the mentionsList field instead."),mentionsList:e.z.string().optional().describe('Optional JSON array of mentions in the format: [{"id": "123", "type": "User"}, {"id": "456", "type": "Team"}]. Valid types are: User, Team, Board, Project')};const Sb=ru`
2128
2128
  mutation updateAssetsOnItem($boardId: ID!, $itemId: ID!, $columnId: String!, $files: [FileInput!]!) {
2129
2129
  update_assets_on_item(board_id: $boardId, item_id: $itemId, column_id: $columnId, files: $files) {
2130
2130
  id