@contextful-com/contextful-mcp 0.9.0 → 0.11.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/README.md CHANGED
@@ -28,7 +28,9 @@ To choose an agent explicitly, add `--client codex` or `--client claude`.
28
28
 
29
29
  Copy this prompt and replace the Hub URL:
30
30
 
31
- > Install Contextful for this project using https://YOUR-HUB and the official
31
+ > First run `node --version`. If Node is missing or older than 24, stop and tell
32
+ > me to install Node.js 24 or later from nodejs.org, then to ask you again.
33
+ > Otherwise, install Contextful for this project using https://YOUR-HUB and the official
32
34
  > @contextful-com/contextful-mcp npm package. Run its `install --plan --json` first
33
35
  > and show me what it found and every decision it lists. Ask me all of them at once,
34
36
  > then install with my answers. Guide me through browser sign-in. Never answer a
@@ -36,34 +38,42 @@ Copy this prompt and replace the Hub URL:
36
38
 
37
39
  Instructions for the installing agent:
38
40
 
39
- 1. From the project, run
41
+ 1. Run `node --version` before anything else. If the command is not found, or the
42
+ version is below v24, stop: nothing has changed yet. Tell the person to install
43
+ Node.js 24 or later (from nodejs.org, `brew install node` on macOS, or
44
+ `winget install OpenJS.NodeJS.LTS` on Windows), open a new terminal or agent
45
+ session, and ask again.
46
+ 2. From the project, run
40
47
  `npx -y @contextful-com/contextful-mcp@latest install --hub <URL> --plan --json`.
41
48
  It changes nothing and needs no network. Show the person its `plan` items: what
42
49
  is ready (`ok`), what must change first (`blocked`, with a `code`), each
43
50
  `decision` with its `question` and the `flag` that answers it, and `info` items
44
51
  such as an agent that is installed but does not start (`client_unusable`, with
45
52
  the file in `details.executable`).
46
- 2. Ask every decision at once: which agent (`--client claude|codex|both|none`), starting a
53
+ 3. Ask every decision at once: which agent (`--client claude|codex|both|none`), starting a
47
54
  Git repository when the folder has none (`--start-repository`), uploading
48
55
  committed history (`--yes`), private prompt history (`--history` or
49
- `--no-history`), automatic updates (`--auto-refresh`), and lesson sharing
50
- (`--share-lessons` or `--no-share-lessons`). `npx -y` only accepts npm's package
56
+ `--no-history`), automatic updates (`--auto-refresh`), lesson sharing
57
+ (`--share-lessons` or `--no-share-lessons`), and, when Claude's desktop app still
58
+ starts an older Contextful, removing that entry
59
+ (`--remove-stale-claude-desktop-entry`). `npx -y` only accepts npm's package
51
60
  download; the install command's `--yes` approves the upload and nothing else.
52
- 3. Run `install --hub <URL>` with the answers as flags, plus `--scope repo` (leave it
61
+ 4. Run `install --hub <URL>` with the answers as flags, plus `--scope repo` (leave it
53
62
  out with `--client none`) and `--project . --json --no-open --no-wait`. Use a long timeout or run it in the background: show
54
63
  `authorization_required`'s link and code at once and keep the process running
55
64
  while the person signs in. Never request passwords or read stored tokens.
56
- 4. If an `error` event arrives, act on its `kind`:
65
+ 5. If an `error` event arrives, act on its `kind`:
57
66
  - `needs_person`: put its `ask` to the person; run its `rerun` (prefixed with
58
67
  this npm package) only with their answer. This covers upload consent, starting
59
68
  a repository, installing Git (show `details.steps`; the person runs any sudo
60
- step), choosing an organization, and an agent sandbox that blocks the network
61
- or a write (ask to run outside the sandbox).
69
+ step), choosing an organization, whether this folder is the same project as a
70
+ repository on the Hub or a fork or copy of it (`--join` or `--fork`), and an
71
+ agent sandbox that blocks the network or a write (ask to run outside the sandbox).
62
72
  - `fix_and_rerun`: tell the person what the message names, then rerun.
63
73
  - `retry`: rerun the same command; completed steps are kept.
64
74
  - `unsupported`: explain it (`details.lines`) and stop. Retrying cannot help.
65
75
  `contextful-mcp help <code>` explains any code.
66
- 5. After `complete`, report the installed agent, its activation `actions` and the
76
+ 6. After `complete`, report the installed agent, its activation `actions` and the
67
77
  repository's Hub link (`repository.url`), and relay `learned` (what Contextful
68
78
  found different in this repository) when present. When `repository.state` is
69
79
  `building`, training is still running or not confirmed ready: say so, never call
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "targets": {
5
5
  "darwin-arm64": {
6
6
  "package": "@contextful-com/contextful-mcp-darwin-arm64",
7
7
  "executable": "bin/contextful-mcp",
8
- "sha256": "29b72d5d580a36ac8afd57c4a6efc06eb886e81ba6d967faafdca35b6792632e",
9
- "size": 65595378
8
+ "sha256": "3b9bf02900eda424824fb3f5c27e3bf25f4f4c03aa5917321b46f457cf5a5c1d",
9
+ "size": 65991666
10
10
  },
11
11
  "darwin-x64": {
12
12
  "package": "@contextful-com/contextful-mcp-darwin-x64",
13
13
  "executable": "bin/contextful-mcp",
14
- "sha256": "2ac0c4d10d58786354b3a43288c50e3bf700579f5414949b7fea70e72dcfb847",
15
- "size": 72675600
14
+ "sha256": "d799d5f5eb4f0fbaf97248c7c90932338cbfda8a5b3e70a21ec68945f53340b3",
15
+ "size": 73068816
16
16
  },
17
17
  "linux-arm64": {
18
18
  "package": "@contextful-com/contextful-mcp-linux-arm64",
19
19
  "executable": "bin/contextful-mcp",
20
- "sha256": "f7ecac7b232609b5bdbf7f1365a057493209ce936f92650564534a600f40225d",
21
- "size": 84658472
20
+ "sha256": "be1e7d5dbefaaf4ea76e7387644da2f0e3fdc05795925d76aa4b1f3f24f6ab85",
21
+ "size": 85051688
22
22
  },
23
23
  "linux-x64": {
24
24
  "package": "@contextful-com/contextful-mcp-linux-x64",
25
25
  "executable": "bin/contextful-mcp",
26
- "sha256": "cc5aa42510cc6a1c25e99ccf3bf91ecef0c0493d5c70353ceb25db6a32d32892",
27
- "size": 84661728
26
+ "sha256": "d7d68a5ab6f987df72f7e1df933487b273ec40d233b3972a83a303a85abbaaa0",
27
+ "size": 85063136
28
28
  },
29
29
  "win32-x64": {
30
30
  "package": "@contextful-com/contextful-mcp-win32-x64",
31
31
  "executable": "bin/contextful-mcp.exe",
32
- "sha256": "4106c83e7f57ee9739c14b9cb25307e04a50fdbd7dd4dabcae11a02039b00526",
33
- "size": 89435136
32
+ "sha256": "ddc1f1840ae384e2db1083fb35daaae4778ee7db99e3a34bb1b7bbe95830c233",
33
+ "size": 89835008
34
34
  }
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextful-com/contextful-mcp",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,10 +23,10 @@
23
23
  "native-manifest.json"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@contextful-com/contextful-mcp-darwin-arm64": "0.9.0",
27
- "@contextful-com/contextful-mcp-darwin-x64": "0.9.0",
28
- "@contextful-com/contextful-mcp-linux-arm64": "0.9.0",
29
- "@contextful-com/contextful-mcp-linux-x64": "0.9.0",
30
- "@contextful-com/contextful-mcp-win32-x64": "0.9.0"
26
+ "@contextful-com/contextful-mcp-darwin-arm64": "0.11.0",
27
+ "@contextful-com/contextful-mcp-darwin-x64": "0.11.0",
28
+ "@contextful-com/contextful-mcp-linux-arm64": "0.11.0",
29
+ "@contextful-com/contextful-mcp-linux-x64": "0.11.0",
30
+ "@contextful-com/contextful-mcp-win32-x64": "0.11.0"
31
31
  }
32
32
  }