@rallycry/conveyor-agent 8.9.0 → 8.10.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.
@@ -1878,6 +1878,10 @@ var SearchProjectTasksRequestSchema = z2.object({
1878
1878
  tagNames: z2.array(z2.string()).optional(),
1879
1879
  searchQuery: z2.string().optional(),
1880
1880
  statusFilters: z2.array(z2.string()).optional(),
1881
+ // Card types to include. Omitted/empty → defaults to ["task"] in the handler so
1882
+ // search doesn't surface incidents/suggestions unless asked. Enum validation lives
1883
+ // at the MCP tool layer (mirrors statusFilters).
1884
+ typeFilters: z2.array(z2.string()).optional(),
1881
1885
  assigneeId: z2.string().optional(),
1882
1886
  unassigned: z2.boolean().optional(),
1883
1887
  limit: z2.number().int().positive().optional().default(20)
@@ -9436,6 +9440,7 @@ function errorMessage(error) {
9436
9440
  return error instanceof Error ? error.message : "Unknown error";
9437
9441
  }
9438
9442
  var DESCRIPTION_PREVIEW_CHARS = 300;
9443
+ var CARD_TYPE_ENUM = ["task", "incident", "suggestion"];
9439
9444
  function summarizeTask(task) {
9440
9445
  if (typeof task !== "object" || task === null) return task;
9441
9446
  const { plan, description, ...rest } = task;
@@ -9490,11 +9495,12 @@ function buildSearchTasksTool(connection) {
9490
9495
  const projectId = connection.projectId;
9491
9496
  return defineTool(
9492
9497
  "search_tasks",
9493
- "Search tasks by tags, text query, status filters, or assignment. Returns summaries \u2014 plan omitted, description truncated; use get_project_task for full details.",
9498
+ "Search cards by tags, text query, status, type, or assignment. Defaults to type=task \u2014 pass typeFilters to include incidents/suggestions. Returns summaries \u2014 plan omitted, description truncated; use get_project_task for full details.",
9494
9499
  {
9495
9500
  tagNames: z17.array(z17.string()).optional().describe("Filter by tag names"),
9496
9501
  searchQuery: z17.string().optional().describe("Text search in title/description"),
9497
9502
  statusFilters: z17.array(z17.string()).optional().describe("Filter by statuses"),
9503
+ typeFilters: z17.array(z17.enum(CARD_TYPE_ENUM)).optional().describe('Card types to include (default ["task"]). Pass e.g. ["incident"] or several.'),
9498
9504
  assigneeId: z17.string().optional().describe("Filter by assigned user ID"),
9499
9505
  unassigned: z17.boolean().optional().describe("Only return tasks with no assignee (mutually exclusive with assigneeId)"),
9500
9506
  limit: z17.number().optional().describe("Max results (default 20)")
@@ -10788,4 +10794,4 @@ export {
10788
10794
  loadConveyorConfig,
10789
10795
  unshallowRepo
10790
10796
  };
10791
- //# sourceMappingURL=chunk-6462GDLZ.js.map
10797
+ //# sourceMappingURL=chunk-D7JSB2IF.js.map