@brainervirus/workit-cursor 0.5.5 → 0.6.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.
@@ -2,7 +2,7 @@
2
2
  "name": "workit",
3
3
  "displayName": "Workit",
4
4
  "description": "OpenCode-style verify, PR, changelog, commit, and session handoff for Cursor",
5
- "version": "0.4.0",
5
+ "version": "0.6.0",
6
6
  "skills": "../skills/",
7
7
  "rules": "../rules/",
8
8
  "mcpServers": "../mcp.json",
package/marketplace.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "displayName": "Workflow Toolkit",
4
4
  "description": "Workflow rails for agentic coding: specs, plans, YouTrack, CI-gated commits",
5
5
  "publisher": "cristhofer-pincetti",
6
- "version": "0.4.0",
7
- "homepage": "https://github.com/BrainerVirus/workflow-toolkit",
8
- "repository": "https://github.com/BrainerVirus/workflow-toolkit.git",
6
+ "version": "0.6.0",
7
+ "homepage": "https://github.com/BrainerVirus/workit",
8
+ "repository": "https://github.com/BrainerVirus/workit.git",
9
9
  "license": "MIT"
10
10
  }
package/mcp/server.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { readFileSync } from "node:fs";
1
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
4
  import { z } from "zod";
@@ -49,7 +50,12 @@ const workspaceRootSchema = z
49
50
 
50
51
  const server = new McpServer({
51
52
  name: "workit",
52
- version: "0.4.0",
53
+ // Runtime read, not hardcoded: semantic-release bumps versions only in CI
54
+ // (no commit-back), so any literal here would drift from the published tag.
55
+ // package.json ships in the tarball regardless of the files whitelist.
56
+ version: JSON.parse(
57
+ readFileSync(new URL("../package.json", import.meta.url), "utf8"),
58
+ ).version,
53
59
  });
54
60
 
55
61
  function extractPlanPath(prompt) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cursor",
3
- "version": "0.5.5",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "Workit Cursor plugin: MCP server, hooks, rules, marketplace manifest (thin over @brainervirus/workit-core)",
6
6
  "license": "MIT",
@@ -5,11 +5,11 @@ description: Draft or create PR/MR via workflow_pr_context + glab/gh. Squash on
5
5
 
6
6
  # PR — Draft or Create
7
7
 
8
- Draft a merge request / pull request body, or create it on GitLab (`glab`) / GitHub (`gh`) using `~/.config/workflow-toolkit/vcs.json`.
8
+ Draft a merge request / pull request body, or create it on GitLab (`glab`) / GitHub (`gh`) using `~/.config/workit/vcs.json`.
9
9
 
10
10
  **Setup:** `/wk-init` → pick provider → VCS scaffold → edit active token file.
11
11
 
12
- **Active provider:** read `vcs_config.provider` from `workflow_pr_context` (or `provider` in `~/.config/workflow-toolkit/vcs.json`). That decides `glab` vs `gh`.
12
+ **Active provider:** read `vcs_config.provider` from `workflow_pr_context` (or `provider` in `~/.config/workit/vcs.json`). That decides `glab` vs `gh`.
13
13
 
14
14
  ## Step 1 — Gather facts (required)
15
15