prjct-cli 1.45.8 → 1.46.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prjct-cli",
3
- "version": "1.45.8",
3
+ "version": "1.46.0",
4
4
  "description": "Context layer for AI agents. Project context for Claude Code, Gemini CLI, and more.",
5
5
  "main": "dist/bin/prjct.mjs",
6
6
  "bin": {
@@ -12,13 +12,8 @@ Look for tools starting with `mcp__jira` or `mcp__atlassian` in your tool list.
12
12
 
13
13
  **If tools ARE available** → proceed with the requested operation below.
14
14
 
15
- **If NOT available** → run: `prjct jira status --md` and interpret:
16
-
17
- | Status | Action |
18
- |--------|--------|
19
- | `configured: false` | Run `p. jira setup` |
20
- | `configured: true, oauthReady: false` | Tell user to run in a terminal: `npx -y mcp-remote@0.1.38 https://mcp.atlassian.com/v1/mcp` then restart their AI client |
21
- | `configured: true, oauthReady: true` | Tell user to restart their AI client |
15
+ **If NOT available** → run `prjct jira status --md` and follow the instructions in the output.
16
+ The CLI auto-validates tokens, auto-migrates from legacy versions, and auto-cleans corrupted state. Trust its diagnosis.
22
17
 
23
18
  **Do NOT attempt MCP tool calls if Jira tools are not in your tool list.**
24
19
 
@@ -28,12 +23,15 @@ Look for tools starting with `mcp__jira` or `mcp__atlassian` in your tool list.
28
23
 
29
24
  Run step by step:
30
25
 
31
- ### Step 1: Write MCP config
26
+ ### Step 1: Write MCP config + auto-repair
32
27
  ```bash
33
28
  prjct jira setup --md
34
29
  ```
35
30
 
36
- ### Step 2: Complete OAuth in terminal (REQUIRED before restarting)
31
+ Setup now auto-cleans corrupted tokens and auto-migrates from legacy mcp-remote versions.
32
+ If setup reports "ready" → skip to Step 3.
33
+
34
+ ### Step 2: Complete OAuth in terminal (only if setup says OAuth is required)
37
35
 
38
36
  Tell the user to open a NEW terminal and run this **exact** command (version pinned to match mcp.json):
39
37
  ```
@@ -49,6 +47,14 @@ Tell the user: **Complete the authorization in the browser, then come back here.
49
47
 
50
48
  Wait for the user to confirm they completed OAuth before continuing.
51
49
 
50
+ ### Step 2.5: Verify OAuth worked
51
+ ```bash
52
+ prjct jira verify --md
53
+ ```
54
+
55
+ This scans `~/.mcp-auth/`, validates tokens, auto-migrates from legacy versions, and gives a clear READY / NOT READY verdict.
56
+ If NOT READY → follow the instructions in the output.
57
+
52
58
  ### Step 3: Restart Claude Code
53
59
 
54
60
  Tell the user: "Close and reopen Claude Code. The Jira MCP tools will be ready."
@@ -12,13 +12,8 @@ Look for tools starting with `mcp__linear` in your tool list.
12
12
 
13
13
  **If tools ARE available** → proceed with the requested operation below.
14
14
 
15
- **If NOT available** → run: `prjct linear status --md` and interpret:
16
-
17
- | Status | Action |
18
- |--------|--------|
19
- | `configured: false` | Run `p. linear setup` |
20
- | `configured: true, oauthReady: false` | Tell user to run in a terminal: `npx -y mcp-remote@0.1.38 https://mcp.linear.app/mcp` then restart their AI client |
21
- | `configured: true, oauthReady: true` | Tell user to restart their AI client |
15
+ **If NOT available** → run `prjct linear status --md` and follow the instructions in the output.
16
+ The CLI auto-validates tokens, auto-migrates from legacy versions, and auto-cleans corrupted state. Trust its diagnosis.
22
17
 
23
18
  **Do NOT attempt MCP tool calls if Linear tools are not in your tool list.**
24
19
 
@@ -28,12 +23,15 @@ Look for tools starting with `mcp__linear` in your tool list.
28
23
 
29
24
  Run step by step:
30
25
 
31
- ### Step 1: Write MCP config
26
+ ### Step 1: Write MCP config + auto-repair
32
27
  ```bash
33
28
  prjct linear setup --md
34
29
  ```
35
30
 
36
- ### Step 2: Complete OAuth in terminal (REQUIRED before restarting)
31
+ Setup now auto-cleans corrupted tokens and auto-migrates from legacy mcp-remote versions.
32
+ If setup reports "ready" → skip to Step 3.
33
+
34
+ ### Step 2: Complete OAuth in terminal (only if setup says OAuth is required)
37
35
 
38
36
  Tell the user to open a NEW terminal and run this **exact** command (version pinned to match mcp.json):
39
37
  ```
@@ -49,6 +47,14 @@ Tell the user: **Complete the authorization in the browser, then come back here.
49
47
 
50
48
  Wait for the user to confirm they completed OAuth before continuing.
51
49
 
50
+ ### Step 2.5: Verify OAuth worked
51
+ ```bash
52
+ prjct linear verify --md
53
+ ```
54
+
55
+ This scans `~/.mcp-auth/`, validates tokens, auto-migrates from legacy versions, and gives a clear READY / NOT READY verdict.
56
+ If NOT READY → follow the instructions in the output.
57
+
52
58
  ### Step 3: Restart Claude Code
53
59
 
54
60
  Tell the user: "Close and reopen Claude Code. The Linear MCP tools will be ready."