mintree 0.5.2 → 0.5.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.
@@ -124,7 +124,11 @@ export default function Orchestrate({ args: ids, options }) {
124
124
  resume: false,
125
125
  prompt: resolved.prompt,
126
126
  cwd: resolved.repoRoot,
127
- remoteControlName: "orchestrator",
127
+ // Suffix the fresh session id so two orchestrators (or an
128
+ // orchestrator alongside a stale RC session) never share a name.
129
+ // A literal "orchestrator" collides and the RC handshake fails to
130
+ // register the newer session.
131
+ remoteControlName: `orchestrator-${resolved.sessionId.slice(0, 8)}`,
128
132
  });
129
133
  child.on("error", (err) => {
130
134
  setState({ phase: "error", message: `Failed to launch claude: ${err.message}` });
@@ -21,10 +21,7 @@ import { readMetadata } from "../metadata.js";
21
21
  const DEFAULT_API_URL = "https://api.linear.app/graphql";
22
22
  // Linear state types we treat as "done" — work in these states is excluded
23
23
  // from the assigned list and protected from transitions back to In Progress.
24
- // "duplicate" is Linear's own state type for issues closed as duplicates
25
- // (e.g. a "Duplicate" workflow state); it must be excluded alongside
26
- // completed/canceled or those tickets keep showing up in the dashboard.
27
- const DEFAULT_PROTECTED_STATE_TYPES = ["completed", "canceled", "duplicate"];
24
+ const DEFAULT_PROTECTED_STATE_TYPES = ["completed", "canceled"];
28
25
  const STATUS_ORDER_UNSET = 999;
29
26
  // One query covers viewer + teams + issues; a single 20s budget comfortably
30
27
  // fits even the slowest cold-start response without making real failures
@@ -264,7 +261,7 @@ const BOOTSTRAP_QUERY = /* GraphQL */ `
264
261
  first: 100
265
262
  filter: {
266
263
  assignee: { isMe: { eq: true } }
267
- state: { type: { nin: ["completed", "canceled", "duplicate"] } }
264
+ state: { type: { nin: ["completed", "canceled"] } }
268
265
  team: { key: { in: $teamKeys } }
269
266
  }
270
267
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mintree",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Issue-driven git worktrees + Claude Code sessions for repos with an opinionated SDD+TDD flow.",
5
5
  "license": "MIT",
6
6
  "author": "Martin Mineo <mmineo@canarytechnologies.com>",