@allocator-one/harness-cli 1.7.0 → 1.9.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.
@@ -59,7 +59,7 @@ import {
59
59
  upload,
60
60
  userList,
61
61
  workflowStates
62
- } from "./chunk-ZHFW6PRC.js";
62
+ } from "./chunk-NQVQNKMC.js";
63
63
 
64
64
  // src/mcp/server.ts
65
65
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -121,6 +121,8 @@ var TOOLS = [
121
121
  blocked: z.boolean().optional(),
122
122
  status: z.enum(["open", "in_progress", "closed"]).optional(),
123
123
  assignee: z.string().optional().describe('me, a user id, an email, or a full name; "" for unassigned'),
124
+ created_by: z.string().optional().describe("me or a creator user id"),
125
+ involved: z.literal("me").optional().describe("issues created by, assigned to, or mentioning the caller"),
124
126
  priority: z.enum(["urgent", "high", "medium", "low", "none"]).optional(),
125
127
  label: z.string().optional(),
126
128
  type: z.enum(["task", "bug", "feature", "epic"]).optional(),
@@ -133,9 +135,10 @@ var TOOLS = [
133
135
  if (args["ready"] === true && args["blocked"] === true) {
134
136
  throw new UsageError("ready and blocked are mutually exclusive \u2014 pass one, not both");
135
137
  }
136
- if (args["ready"] === true) return ready(ctx, args);
137
- if (args["blocked"] === true) return blocked(ctx, args);
138
- return list(ctx, args);
138
+ const opts = { ...args, createdBy: args["created_by"] };
139
+ if (args["ready"] === true) return ready(ctx, opts);
140
+ if (args["blocked"] === true) return blocked(ctx, opts);
141
+ return list(ctx, opts);
139
142
  }
140
143
  },
141
144
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allocator-one/harness-cli",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "CLI and MCP server for Harness, allocator.one's issue tracker",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/spec/openapi.json CHANGED
@@ -567,6 +567,15 @@
567
567
  "type": "string"
568
568
  }
569
569
  },
570
+ {
571
+ "description": "\"me\" keeps issues created by, assigned to, or mentioning the token owner",
572
+ "in": "query",
573
+ "name": "involved",
574
+ "required": false,
575
+ "schema": {
576
+ "type": "string"
577
+ }
578
+ },
570
579
  {
571
580
  "description": "Filter by priority (0-4)",
572
581
  "in": "query",