@contextful-com/contextful-mcp 0.10.0 → 0.12.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 +17 -8
- package/native-manifest.json +11 -11
- package/package.json +6 -6
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
|
-
>
|
|
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,24 +38,31 @@ Copy this prompt and replace the Hub URL:
|
|
|
36
38
|
|
|
37
39
|
Instructions for the installing agent:
|
|
38
40
|
|
|
39
|
-
1.
|
|
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
|
-
|
|
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`),
|
|
50
|
-
(`--share-lessons` or `--no-share-lessons`)
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
@@ -64,7 +73,7 @@ Instructions for the installing agent:
|
|
|
64
73
|
- `retry`: rerun the same command; completed steps are kept.
|
|
65
74
|
- `unsupported`: explain it (`details.lines`) and stop. Retrying cannot help.
|
|
66
75
|
`contextful-mcp help <code>` explains any code.
|
|
67
|
-
|
|
76
|
+
6. After `complete`, report the installed agent, its activation `actions` and the
|
|
68
77
|
repository's Hub link (`repository.url`), and relay `learned` (what Contextful
|
|
69
78
|
found different in this repository) when present. When `repository.state` is
|
|
70
79
|
`building`, training is still running or not confirmed ready: say so, never call
|
package/native-manifest.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.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": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "93a4db34c5a026f4713c670215a701328232bc66064defc45f5bb3a33814aef0",
|
|
9
|
+
"size": 93585122
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"package": "@contextful-com/contextful-mcp-darwin-x64",
|
|
13
13
|
"executable": "bin/contextful-mcp",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "b4bfba5e474ba93adbe4b87cfdf7ad389f2baeb1029d1b1da6d2562ee969240c",
|
|
15
|
+
"size": 102559200
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"package": "@contextful-com/contextful-mcp-linux-arm64",
|
|
19
19
|
"executable": "bin/contextful-mcp",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "906c4d093d4f6460842005a4ee1ff9797d55cac55070a852c51379c1de20ca63",
|
|
21
|
+
"size": 113626104
|
|
22
22
|
},
|
|
23
23
|
"linux-x64": {
|
|
24
24
|
"package": "@contextful-com/contextful-mcp-linux-x64",
|
|
25
25
|
"executable": "bin/contextful-mcp",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "c4b5115cff7708cbcd54ecd29c06087c611abc4f5424dd83cd5c885357fd271f",
|
|
27
|
+
"size": 113522864
|
|
28
28
|
},
|
|
29
29
|
"win32-x64": {
|
|
30
30
|
"package": "@contextful-com/contextful-mcp-win32-x64",
|
|
31
31
|
"executable": "bin/contextful-mcp.exe",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "8d649b8da05c44f64860021e518a54d6e43825a802118c958ab60bf77b993844",
|
|
33
|
+
"size": 119672832
|
|
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.
|
|
3
|
+
"version": "0.12.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.
|
|
27
|
-
"@contextful-com/contextful-mcp-darwin-x64": "0.
|
|
28
|
-
"@contextful-com/contextful-mcp-linux-arm64": "0.
|
|
29
|
-
"@contextful-com/contextful-mcp-linux-x64": "0.
|
|
30
|
-
"@contextful-com/contextful-mcp-win32-x64": "0.
|
|
26
|
+
"@contextful-com/contextful-mcp-darwin-arm64": "0.12.0",
|
|
27
|
+
"@contextful-com/contextful-mcp-darwin-x64": "0.12.0",
|
|
28
|
+
"@contextful-com/contextful-mcp-linux-arm64": "0.12.0",
|
|
29
|
+
"@contextful-com/contextful-mcp-linux-x64": "0.12.0",
|
|
30
|
+
"@contextful-com/contextful-mcp-win32-x64": "0.12.0"
|
|
31
31
|
}
|
|
32
32
|
}
|