@mondaydotcomorg/agent-toolkit 5.58.0 → 5.59.0

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.58.1
4
+
5
+ ### search — reduce validation failures (actionable errors, folder fallback, input coercion)
6
+
7
+ - `searchType` rejections now return an actionable message that lists the valid values and, when the value maps to a known intent, redirects to the right tool (e.g. `USERS` → `list_users_and_teams`, `BOARD_ITEMS` → `get_board_items_page`, `FORMS` → not searchable) so callers can self-correct on retry
8
+ - `searchType` normalization now also collapses separators/casing (e.g. `"board item"`, `"BOARD-ITEM"`) and adds `DOCUMENT`, `PULSE`/`PULSES` aliases
9
+ - FOLDERS search no longer errors when `workspaceIds` is omitted — it searches across all accessible workspaces
10
+ - `limit` accepts numeric strings (coerced then clamped); `workspaceIds`/`boardIds`/`creatorIds` accept a scalar or numeric strings and treat `null` as omitted
11
+ - Targets the top post-deploy validation-error buckets observed in production search logs
12
+ - Fixed: a `searchTerm` that normalizes to an empty string (e.g. punctuation/emoji-only) no longer returns unfiltered folders
13
+ - Fixed: FOLDERS search now reports when its 100-folder scan was truncated instead of silently dropping matches
14
+ - Fixed: `limit` now enforces a lower bound (clamped to at least 1) and `null` correctly defaults instead of failing validation
15
+ - Fixed: `limit`/`workspaceIds`/`boardIds`/`creatorIds` no longer accept `Infinity` (as a string or a raw numeric literal) — numeric coercion now goes through `z.coerce.number().finite()` instead of hand-rolled regex/`Number.isFinite` checks, so both forms are rejected consistently. Hex-like strings (e.g. `"0x1A"`) are still accepted and coerced to their numeric value, same as any other numeric string — no special-casing
16
+ - Fixed: `searchType` normalization only collapses separators, so garbage input (e.g. `"board!!!"`) is rejected instead of silently matching a valid value
17
+ - Empty `workspaceIds`/`boardIds`/`creatorIds` arrays are now treated as "no filter" consistently across all search types, matching FOLDERS
18
+ - `searchTerm` is trimmed and validated as non-empty for every search type, including BOARD
19
+
3
20
  ## 5.58.0
4
21
 
5
22
  ### search — add DASHBOARDS (overviews) search type
@@ -171,13 +188,16 @@ Five new tools enabling agents to create and manage monday.com platform agents e
171
188
  ### Workforms tools — options schema and description updates
172
189
 
173
190
  **`form_questions_editor` options schema:**
191
+
174
192
  - `value` (optional) — internal option identifier. Required when updating options already assigned to board items.
175
193
  - `visible` (optional) — whether the option is visible to respondents.
176
194
 
177
195
  **`update-form-tool` schema:**
196
+
178
197
  - `page_block_id` on question order entries — assign questions to page blocks during reorder.
179
198
 
180
199
  **Description improvements:**
200
+
181
201
  - `selectOptions`: added max limits (SingleSelect: 40, MultiSelect: 500) and PUT semantics clarification.
182
202
  - `pageBlockId`: clarified that passing `null` removes the page block association.
183
203
  - Added descriptions for `selectOptionsValue`, `selectOptionsVisible`, `blockType`, `insertAfterQuestionId`, `existingColumnId`, `labelLimitCount`, `labelLimitCountEnabled`, `defaultAnswer`.