@mondaydotcomorg/agent-toolkit 5.57.0 → 5.58.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
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
+
20
+ ## 5.58.0
21
+
22
+ ### search — add DASHBOARDS (overviews) search type
23
+
24
+ - Adds `DASHBOARDS` as a search type in the unified `search` tool (aliases: `dashboard`, `overview`, `overviews`), backed by the platform's `search { overviews }` endpoint
25
+ - Returns `id` and `title`; optionally scoped by `workspaceIds` and/or `creatorIds`
26
+ - `search.overviews` is only exposed in the `dev` API version, so the query lives in `search-tool.graphql.dev.ts` and pins `versionOverride: 'dev'` (same approach previously used for boards/docs). Move the query to `search-tool.graphql.ts` and drop the override once the field is promoted to a stable API version
27
+
3
28
  ## 5.56.1
4
29
 
5
30
  ### search — actionable error and whitespace handling for searchTerm
@@ -163,13 +188,16 @@ Five new tools enabling agents to create and manage monday.com platform agents e
163
188
  ### Workforms tools — options schema and description updates
164
189
 
165
190
  **`form_questions_editor` options schema:**
191
+
166
192
  - `value` (optional) — internal option identifier. Required when updating options already assigned to board items.
167
193
  - `visible` (optional) — whether the option is visible to respondents.
168
194
 
169
195
  **`update-form-tool` schema:**
196
+
170
197
  - `page_block_id` on question order entries — assign questions to page blocks during reorder.
171
198
 
172
199
  **Description improvements:**
200
+
173
201
  - `selectOptions`: added max limits (SingleSelect: 40, MultiSelect: 500) and PUT semantics clarification.
174
202
  - `pageBlockId`: clarified that passing `null` removes the page block association.
175
203
  - Added descriptions for `selectOptionsValue`, `selectOptionsVisible`, `blockType`, `insertAfterQuestionId`, `existingColumnId`, `labelLimitCount`, `labelLimitCountEnabled`, `defaultAnswer`.