@mondaydotcomorg/agent-toolkit 2.24.1 → 2.24.3
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/dist/cjs/core/index.js +3 -3
- package/dist/cjs/core/index.js.map +1 -1
- package/dist/cjs/mcp/index.js +3 -3
- package/dist/cjs/mcp/index.js.map +1 -1
- package/dist/cjs/openai/index.js +3 -3
- package/dist/cjs/openai/index.js.map +1 -1
- package/dist/esm/core/index.js +3 -3
- package/dist/esm/core/index.js.map +1 -1
- package/dist/esm/mcp/index.js +3 -3
- package/dist/esm/mcp/index.js.map +1 -1
- package/dist/esm/openai/index.js +3 -3
- package/dist/esm/openai/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/openai/index.js
CHANGED
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
`,K_={boardId:a.z.number().describe("The id of the board to get items from"),itemIds:a.z.array(a.z.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:a.z.string().optional().describe('\n The search term to use for the search.\n - Use this when: the user provides a vague, incomplete, or approximate search term (e.g., “marketing campaign”, “John’s task”, “budget-related”), and there isn’t a clear exact compare value for a specific field.\n - Do not use this when: the user specifies an exact value that maps directly to a column comparison (e.g., name contains "marketing campaign", status = "Done", priority = "High", owner = "Daniel"). In these cases, prefer structured compare filters.\n '),limit:a.z.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:a.z.string().optional().describe("The cursor to get the next page of items, use the nextCursor from the previous response. If the nextCursor was null, it means there are no more items to get"),includeColumns:a.z.boolean().optional().default(!1).describe("Whether to include column values in the response.\nPERFORMANCE OPTIMIZATION: Only set this to true when you actually need the column data. Excluding columns significantly reduces token usage and improves response latency. If you only need to count items, get item IDs/names, or check if items exist, keep this false."),includeSubItems:a.z.boolean().optional().default(!1).describe("Whether to include sub items in the response. PERFORMANCE OPTIMIZATION: Only set this to true when you actually need the sub items data."),subItemLimit:a.z.number().min(1).max(100).optional().default(25).describe("The number of sub items to get per item. This is only used when includeSubItems is true."),filtersStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to filter by"),compareAttribute:a.z.string().optional().describe("The attribute to compare the value to"),compareValue:a.z.union([a.z.string(),a.z.number(),a.z.boolean(),a.z.array(a.z.union([a.z.string(),a.z.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.z.nativeEnum(gb).optional().default(gb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.z.nativeEnum(vb).optional().default(vb.And).describe("The operator to use for the filters"),columnIds:a.z.array(a.z.string()).optional().describe("The ids of the item columns and subitem columns to get, can be used to reduce the response size when user asks for specific columns. Works only when includeColumns is true. If not provided, all columns will be returned"),orderByStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to order by"),direction:a.z.nativeEnum(hb).optional().default(hb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const J_={boardId:a.z.number().describe("The id of the board to get the schema of")};const Q_=Nw`
|
|
887
|
+
`,K_={boardId:a.z.number().describe("The id of the board to get items from"),itemIds:a.z.array(a.z.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:a.z.string().optional().describe('\n The search term to use for the search.\n - Use this when: the user provides a vague, incomplete, or approximate search term (e.g., “marketing campaign”, “John’s task”, “budget-related”), and there isn’t a clear exact compare value for a specific field.\n - Do not use this when: the user specifies an exact value that maps directly to a column comparison (e.g., name contains "marketing campaign", status = "Done", priority = "High", owner = "Daniel"). In these cases, prefer structured compare filters.\n '),limit:a.z.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:a.z.string().optional().describe("The cursor to get the next page of items, use the nextCursor from the previous response. If the nextCursor was null, it means there are no more items to get"),includeColumns:a.z.boolean().optional().default(!1).describe("Whether to include column values in the response.\nPERFORMANCE OPTIMIZATION: Only set this to true when you actually need the column data. Excluding columns significantly reduces token usage and improves response latency. If you only need to count items, get item IDs/names, or check if items exist, keep this false."),includeSubItems:a.z.boolean().optional().default(!1).describe("Whether to include sub items in the response. PERFORMANCE OPTIMIZATION: Only set this to true when you actually need the sub items data."),subItemLimit:a.z.number().min(1).max(100).optional().default(25).describe("The number of sub items to get per item. This is only used when includeSubItems is true."),filtersStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to filter by"),compareAttribute:a.z.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:a.z.union([a.z.string(),a.z.number(),a.z.boolean(),a.z.array(a.z.union([a.z.string(),a.z.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.z.nativeEnum(gb).optional().default(gb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.z.nativeEnum(vb).optional().default(vb.And).describe("The operator to use for the filters"),columnIds:a.z.array(a.z.string()).optional().describe("The ids of the item columns and subitem columns to get, can be used to reduce the response size when user asks for specific columns. Works only when includeColumns is true. If not provided, all columns will be returned"),orderByStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to order by"),direction:a.z.nativeEnum(hb).optional().default(hb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const J_={boardId:a.z.number().describe("The id of the board to get the schema of")};const Q_=Nw`
|
|
888
888
|
query GetColumnTypeSchema($type: ColumnType!) {
|
|
889
889
|
get_column_type_schema(type: $type)
|
|
890
890
|
}
|
|
@@ -1280,7 +1280,7 @@
|
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
|
-
`,ZT=new Set([og.Case,og.Between,og.Left,og.Raw,og.None,og.CountKeys]),eE=Object.values(og).filter((e=>!ZT.has(e))),aE=new Set([og.Left,og.Trim,og.Upper,og.Lower,og.DateTruncDay,og.DateTruncWeek,og.DateTruncMonth,og.DateTruncQuarter,og.DateTruncYear,og.Color,og.Label,og.EndDate,og.StartDate,og.Hour,og.PhoneCountryShortName,og.Person,og.Upper,og.Lower,og.Order,og.Length,og.Flatten,og.IsDone]);function tE(e){return{column_id:e}}new Set([og.Count,og.CountDistinct,og.CountSubitems,og.CountItems,og.First,og.Sum,og.Average,og.Median,og.Min,og.Max,og.MinMax]);const iE={boardId:a.z.number().describe("The id of the board to get insights for"),aggregationsStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The aggregations to get. Send this as a stringified JSON array of "aggregations" field. Read "aggregations" field description for details how to use it.'),aggregations:a.z.array(a.z.object({function:a.z.enum(eE).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:a.z.string().describe("The id of the column to aggregate")})).describe("The aggregations to get. Transformative functions and plain columns (no function) must be in group by. [REQUIRED PRECONDITION]: Either send this field or the stringified version of it.").optional(),groupBy:a.z.array(a.z.string()).describe("The columns to group by. All columns in the group by must be in the aggregations as well without a function.").optional(),limit:a.z.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to filter by"),compareAttribute:a.z.string().optional().describe("The attribute to compare the value to"),compareValue:a.z.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.z.nativeEnum(gb).optional().default(gb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.z.nativeEnum(vb).optional().default(vb.And).describe("The logical operator to use for the filters"),orderByStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to order by"),direction:a.z.nativeEnum(hb).optional().default(hb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const nE=Nw`
|
|
1283
|
+
`,ZT=new Set([og.Case,og.Between,og.Left,og.Raw,og.None,og.CountKeys]),eE=Object.values(og).filter((e=>!ZT.has(e))),aE=new Set([og.Left,og.Trim,og.Upper,og.Lower,og.DateTruncDay,og.DateTruncWeek,og.DateTruncMonth,og.DateTruncQuarter,og.DateTruncYear,og.Color,og.Label,og.EndDate,og.StartDate,og.Hour,og.PhoneCountryShortName,og.Person,og.Upper,og.Lower,og.Order,og.Length,og.Flatten,og.IsDone]);function tE(e){return{column_id:e}}new Set([og.Count,og.CountDistinct,og.CountSubitems,og.CountItems,og.First,og.Sum,og.Average,og.Median,og.Min,og.Max,og.MinMax]);const iE={boardId:a.z.number().describe("The id of the board to get insights for"),aggregationsStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The aggregations to get. Send this as a stringified JSON array of "aggregations" field. Read "aggregations" field description for details how to use it.'),aggregations:a.z.array(a.z.object({function:a.z.enum(eE).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:a.z.string().describe("The id of the column to aggregate")})).describe("The aggregations to get. Transformative functions and plain columns (no function) must be in group by. [REQUIRED PRECONDITION]: Either send this field or the stringified version of it.").optional(),groupBy:a.z.array(a.z.string()).describe("The columns to group by. All columns in the group by must be in the aggregations as well without a function.").optional(),limit:a.z.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to filter by"),compareAttribute:a.z.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:a.z.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.z.nativeEnum(gb).optional().default(gb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.z.nativeEnum(vb).optional().default(vb.And).describe("The logical operator to use for the filters"),orderByStringified:a.z.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.z.array(a.z.object({columnId:a.z.string().describe("The id of the column to order by"),direction:a.z.nativeEnum(hb).optional().default(hb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const nE=Nw`
|
|
1284
1284
|
query GetBoards($page: Int!, $limit: Int!, $workspace_ids: [ID]) {
|
|
1285
1285
|
boards(page: $page, limit: $limit, workspace_ids: $workspace_ids) {
|
|
1286
1286
|
id
|
|
@@ -1303,7 +1303,7 @@
|
|
|
1303
1303
|
name
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
1306
|
-
`;var rE,pE;!function(e){e.BOARD="board-",e.DOCUMENT="doc-",e.FOLDER="folder-"}(rE||(rE={})),function(e){e.BOARD="BOARD",e.DOCUMENTS="DOCUMENTS",e.FOLDERS="FOLDERS"}(pE||(pE={}));const dE=100,lE={searchTerm:a.z.string().optional().describe("The search term to use for the search."),searchType:a.z.nativeEnum(pE).describe("The type of search to perform."),limit:a.z.number().max(dE).optional().default(dE).describe("The number of items to get. The max and default value is 100."),page:a.z.number().optional().default(1).describe("The page number to get. The default value is 1."),workspaceIds:a.z.array(a.z.number()).optional().describe("The ids of the workspaces to search in.
|
|
1306
|
+
`;var rE,pE;!function(e){e.BOARD="board-",e.DOCUMENT="doc-",e.FOLDER="folder-"}(rE||(rE={})),function(e){e.BOARD="BOARD",e.DOCUMENTS="DOCUMENTS",e.FOLDERS="FOLDERS"}(pE||(pE={}));const dE=100,lE={searchTerm:a.z.string().optional().describe("The search term to use for the search."),searchType:a.z.nativeEnum(pE).describe("The type of search to perform."),limit:a.z.number().max(dE).optional().default(dE).describe("The number of items to get. The max and default value is 100."),page:a.z.number().optional().default(1).describe("The page number to get. The default value is 1."),workspaceIds:a.z.array(a.z.number()).optional().describe("The ids of the workspaces to search in. [IMPORTANT] Only pass this param if user explicitly asked to search within specific workspaces.")};a.z.enum(["enable","disable","status","list","detailed","reset"]).describe('Action to perform: "list" or "detailed" to discover available tools, "status" to check current states, "enable" to activate needed tools, "disable" to deactivate tools, "reset" to restore defaults'),a.z.string().optional().describe("Name of the tool to manage (required for enable/disable/status/reset)");const cE=Nw`
|
|
1307
1307
|
query getSprintsByIds($ids: [ID!]) {
|
|
1308
1308
|
items(ids: $ids) {
|
|
1309
1309
|
id
|