@brainervirus/workit-cursor 1.0.6 → 1.0.8

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": "Adaptive Workit workflow with shared MCP tools and native Cursor hooks",
5
- "version": "1.0.6",
5
+ "version": "1.0.8",
6
6
  "author": {
7
7
  "name": "Cristhofer Pincetti"
8
8
  },
package/README.md CHANGED
@@ -28,6 +28,7 @@ npx @brainervirus/workit-cli init
28
28
  "args": [
29
29
  "-y",
30
30
  "--prefer-online",
31
+ "--min-release-age=0",
31
32
  "--package=@brainervirus/workit-cursor@latest",
32
33
  "workit-cursor-mcp",
33
34
  "${workspaceFolder}"
@@ -40,7 +41,7 @@ npx @brainervirus/workit-cli init
40
41
  ### Requirements
41
42
 
42
43
  - **Node.js ≥ 24** — the MCP server and session-start hook are self-contained Node bundles invoked through `npx`.
43
- - **Network** — `npx -y --prefer-online …@latest` resolves and downloads the package on first run in each environment; a machine that cannot reach the npm registry cannot start the MCP server or hook (see [Runtime](#runtime)).
44
+ - **Network** — `npx -y --prefer-online --min-release-age=0 …@latest` resolves and downloads the package on first run in each environment; a machine that cannot reach the npm registry cannot start the MCP server or hook (see [Runtime](#runtime)).
44
45
 
45
46
  ## What it provides
46
47
 
@@ -64,11 +65,11 @@ Cursor maps shared Workit operations through the shared MCP transport. AskQuesti
64
65
 
65
66
  Cursor launches the MCP server and session-start hook through `npx`, so the shipped manifests contain no repository-relative `dist` paths:
66
67
 
67
- - **MCP server** — `npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-mcp ${workspaceFolder}`. It speaks the MCP stdio protocol; `stdout` is reserved for protocol messages and diagnostics go to `stderr`.
68
- - **Session-start hook** — `npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-session-start`. It emits valid hook output and a diagnostic on runtime failure, and remains fail-open where Cursor's hook contract requires startup continuity.
68
+ - **MCP server** — `npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-mcp ${workspaceFolder}`. It speaks the MCP stdio protocol; `stdout` is reserved for protocol messages and diagnostics go to `stderr`.
69
+ - **Session-start hook** — `npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-session-start`. It emits valid hook output and a diagnostic on runtime failure, and remains fail-open where Cursor's hook contract requires startup continuity.
69
70
  - `npx` startup or network failure is surfaced by Cursor as an MCP/hook startup failure; Workit never silently substitutes stale local runtime code.
70
71
 
71
- The runtime runs from `@latest` with the mandatory `--prefer-online` flag: Cursor reviews plugin metadata from Git, while npm serves the runtime. `--prefer-online` forces npx to check the registry so a stale cached `latest` resolution is never reused. See [Update review](#update-review).
72
+ The runtime runs from `@latest` with `--prefer-online` and `--min-release-age=0`: Cursor reviews plugin metadata from Git, while npm serves the runtime. The explicit age override works around npm/cli#9765, where `npx` ignores a matching scoped exclusion. See [Update review](#update-review).
72
73
 
73
74
  ## Capability boundaries
74
75
 
@@ -99,7 +100,7 @@ The repository root carries `.cursor-plugin/marketplace.json`, indexing `package
99
100
 
100
101
  - **Installing from Marketplace** — a Marketplace admin adds the repository URL through Cursor's authenticated publisher flow; end users then install the plugin from the Cursor Marketplace UI, which reads `.cursor-plugin/plugin.json` and the tracked components directly from Git.
101
102
  - **Submission** — Marketplace submission is a separate, later authenticated action at `https://cursor.com/marketplace/publish`. It is **not** performed here and no publication or acceptance is claimed; the repository is kept validated and submission-ready.
102
- - **Update review** — Git plugin metadata (manifest, rules, skills, assets) is reviewed by Cursor on Marketplace updates, while the npm runtime runs from `@latest` with `--prefer-online`. The selector is shared across `mcp.json` and `hooks-cursor.json`, and a stale `latest` resolution is prevented by the mandatory `--prefer-online` flag.
103
+ - **Update review** — Git plugin metadata (manifest, rules, skills, assets) is reviewed by Cursor on Marketplace updates, while the npm runtime runs from `@latest` with `--prefer-online` and the npm/cli#9765 `--min-release-age=0` workaround. The selector is shared across `mcp.json` and `hooks-cursor.json`.
103
104
  An MCP or hook startup failure with no network is an `npx`/registry reachability
104
105
  issue; inspect the host's startup diagnostics and retry after connectivity is
105
106
  restored.
@@ -3,36 +3,36 @@
3
3
  "hooks": {
4
4
  "sessionStart": [
5
5
  {
6
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-session-start"
6
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-session-start"
7
7
  }
8
8
  ],
9
9
  "preToolUse": [
10
10
  {
11
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
11
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
12
12
  "matcher": "Write|Edit|Delete|Shell|Remove|ApplyPatch|Apply_Patch|Patch|Rename|Mkdir|Mv|Cp|Touch",
13
13
  "failClosed": true
14
14
  }
15
15
  ],
16
16
  "beforeShellExecution": [
17
17
  {
18
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
18
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
19
19
  "failClosed": true
20
20
  }
21
21
  ],
22
22
  "subagentStart": [
23
23
  {
24
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
24
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-hook",
25
25
  "failClosed": true
26
26
  }
27
27
  ],
28
28
  "subagentStop": [
29
29
  {
30
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-hook"
30
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-hook"
31
31
  }
32
32
  ],
33
33
  "preCompact": [
34
34
  {
35
- "command": "npx -y --prefer-online --package=@brainervirus/workit-cursor@latest workit-cursor-hook"
35
+ "command": "npx -y --prefer-online --min-release-age=0 --package=@brainervirus/workit-cursor@latest workit-cursor-hook"
36
36
  }
37
37
  ]
38
38
  }
package/mcp.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "workit": {
4
4
  "command": "npx",
5
- "args": ["-y", "--prefer-online", "--package=@brainervirus/workit-cursor@latest", "workit-cursor-mcp", "${workspaceFolder}"]
5
+ "args": ["-y", "--prefer-online", "--min-release-age=0", "--package=@brainervirus/workit-cursor@latest", "workit-cursor-mcp", "${workspaceFolder}"]
6
6
  }
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cursor",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "description": "Workit Cursor plugin — shared MCP transport, native hooks, and fourteen method skills",
6
6
  "keywords": [
@@ -44,8 +44,8 @@
44
44
  "build": "bun scripts/build.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@brainervirus/workit-core": "^1.0.6",
48
- "@brainervirus/workit-mcp": "^1.0.6"
47
+ "@brainervirus/workit-core": "^1.0.8",
48
+ "@brainervirus/workit-mcp": "^1.0.8"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=24"
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: workit-babysit
3
- description: Use when a PR needs driving to merge-ready, CI is red, or the user says babysit
3
+ description: Use after creating a PR (auto-starts, drive default), when a PR needs driving to merge-ready, CI is red, or the user says babysit
4
4
  ---
5
5
 
6
6
  # Babysit a PR to merge-ready
7
7
 
8
- Babysit starts automatically on PR creation unless declined (`--no-babysit`).
8
+ Babysit starts automatically on PR creation unless declined (`babysit:false`).
9
9
  One babysitter per PR; never mutate PR topology (no rebase strategy changes,
10
10
  no force-push).
11
11
 
@@ -17,8 +17,11 @@ selects requirements; do not wait for a rule that can only exist after assess.
17
17
 
18
18
  ## Method
19
19
 
20
- 1. Declare mode: drive (fix + merge), watch (report only), or threads-only.
20
+ 1. Declare mode in the same turn as the PR URL: drive (fix + merge, the
21
+ default), watch (report only), or threads-only.
21
22
  2. Work the merge frontier in order: conflicts → review threads → CI.
23
+ Record a frontier brief (frontier state, next action) in task progress
24
+ per pass so the steps stay visible.
22
25
  3. Classify CI before retry: flake (rerun once) vs stale base (verify with
23
26
  `git merge-base --is-ancestor` before updating) vs real failure (fix).
24
27
  4. Triage bot findings skeptically: reproduce or quote code before acting;