@beehexa/hexasync-template-ide-mcp 2610.12.1 → 2610.12.2
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 +85 -0
- package/dist/knowledgeBase.generated.d.ts +1 -1
- package/dist/knowledgeBase.generated.d.ts.map +1 -1
- package/dist/knowledgeBase.generated.js +238 -218
- package/dist/knowledgeBase.generated.js.map +1 -1
- package/dist/mcp/prebuilds/darwin-arm64/root-authority.node +0 -0
- package/dist/mcp/prebuilds/darwin-x64/root-authority.node +0 -0
- package/dist/mcp/prebuilds/integrity.json +10 -0
- package/dist/mcp/prebuilds/linux-arm64-gnu/root-authority.node +0 -0
- package/dist/mcp/prebuilds/linux-arm64-musl/root-authority.node +0 -0
- package/dist/mcp/prebuilds/linux-x64-gnu/root-authority.node +0 -0
- package/dist/mcp/prebuilds/linux-x64-musl/root-authority.node +0 -0
- package/dist/mcp/prebuilds/win32-arm64/root-authority.node +0 -0
- package/dist/mcp/prebuilds/win32-x64/root-authority.node +0 -0
- package/dist/mcp/server-build.json +3 -3
- package/dist/mcp/server.js +2116 -1530
- package/dist/mcpServer.node.d.ts.map +1 -1
- package/dist/mcpServer.node.js +14 -3
- package/dist/mcpServer.node.js.map +1 -1
- package/package.json +36 -16
- package/dist/mcp/root-authority.integrity.json +0 -1
- package/dist/mcp/root-authority.node +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# @beehexa/hexasync-template-ide-mcp
|
|
2
|
+
|
|
3
|
+
The HexaSync Template IDE MCP server. It gives any MCP client the HexaSync profile template knowledge
|
|
4
|
+
base: syntax and meaning of every component and property, 1,000+ authored YAML examples, expression
|
|
5
|
+
roots per authoring position, rule explanations, and validation of a template project in your workspace.
|
|
6
|
+
|
|
7
|
+
The package is a single self-contained executable (`hexasync-template-ide`). It has no runtime
|
|
8
|
+
dependencies; `npx` downloads it once and caches it.
|
|
9
|
+
|
|
10
|
+
- Node.js **22.13 or newer**. Older runtimes exit with a message naming the required version.
|
|
11
|
+
- Transport: stdio. Seven read-only tools, the knowledge base as `hexasync://` resources, and prompts.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
The fastest path installs the server **and** the HexaSync agent skills into every supported client:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or register only the MCP server by hand:
|
|
22
|
+
|
|
23
|
+
| Client | Command or file |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
|
|
26
|
+
| Codex | `~/.codex/config.toml` → see below |
|
|
27
|
+
| Cursor | `~/.cursor/mcp.json` → `mcpServers` |
|
|
28
|
+
| Antigravity | `~/.gemini/config/mcp_config.json` → `mcpServers` |
|
|
29
|
+
| pi | `~/.pi/agent/mcp.json` → `mcpServers` (with `"exposure": "direct"`) |
|
|
30
|
+
| OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
|
|
31
|
+
| VS Code (without the HexaSync extension) | user `mcp.json` → `servers` |
|
|
32
|
+
|
|
33
|
+
JSON clients (`mcpServers`, or `servers` for VS Code):
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"mcpServers": {
|
|
38
|
+
"hexasync-template-ide": {
|
|
39
|
+
"command": "npx",
|
|
40
|
+
"args": ["-y", "@beehexa/hexasync-template-ide-mcp@latest"]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Codex (`~/.codex/config.toml`):
|
|
47
|
+
|
|
48
|
+
```toml
|
|
49
|
+
[mcp_servers."hexasync-template-ide"]
|
|
50
|
+
command = "npx"
|
|
51
|
+
args = ["-y", "@beehexa/hexasync-template-ide-mcp@latest"]
|
|
52
|
+
startup_timeout_sec = 30
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
On native Windows, launch through the shell: `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`.
|
|
56
|
+
|
|
57
|
+
The VS Code HexaSync Template IDE extension already provides this server; do not register it a second
|
|
58
|
+
time in a VS Code where the extension is installed.
|
|
59
|
+
|
|
60
|
+
## Project roots
|
|
61
|
+
|
|
62
|
+
Validation needs to know which folder holds your template project. The server uses, in order:
|
|
63
|
+
|
|
64
|
+
1. the roots your client negotiates (`roots/list`);
|
|
65
|
+
2. `--root <absolute path>` arguments;
|
|
66
|
+
3. `HEXASYNC_WORKSPACE_ROOTS` (absolute paths separated by `:`; `;` on Windows);
|
|
67
|
+
4. `CLAUDE_PROJECT_DIR`, when the client sets it and offers no roots;
|
|
68
|
+
5. the server's working directory.
|
|
69
|
+
|
|
70
|
+
If no root resolves, the tool answer names `--root` and `HEXASYNC_WORKSPACE_ROOTS`.
|
|
71
|
+
|
|
72
|
+
## Updating
|
|
73
|
+
|
|
74
|
+
`@latest` in the launch command means a client restart picks up new releases (`npx` re-resolves the tag
|
|
75
|
+
when its cache expires; `npx clear-npx-cache` or `npm cache clean --force` forces it).
|
|
76
|
+
|
|
77
|
+
## Diagnostics
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
npx -y @beehexa/hexasync-template-ide-mcp@latest --build-identity
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
prints the build identity (version and artifact digest) and exits without starting the transport.
|
|
84
|
+
|
|
85
|
+
Full documentation: [AI toolkit guide](https://github.com/hexasync-saas/hexasync-templates-vscode-ext/blob/main/docs/ai-toolkit.md).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** GENERATED by tools/bundle-knowledge-base.mjs — do not edit. */
|
|
2
|
-
export declare const KNOWLEDGE_VERSION = "asset bundle
|
|
2
|
+
export declare const KNOWLEDGE_VERSION = "asset bundle 99";
|
|
3
3
|
/** Largest resource text in UTF-8 bytes; larger pages and assets are served as linked sections. */
|
|
4
4
|
export declare const KNOWLEDGE_RESOURCE_BYTE_LIMIT = 25600;
|
|
5
5
|
export interface KnowledgeResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledgeBase.generated.d.ts","sourceRoot":"","sources":["../src/knowledgeBase.generated.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AAEnD,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,CAAC;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,uFAAuF;IACvF,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,EAAE,SAAS,iBAAiB,
|
|
1
|
+
{"version":3,"file":"knowledgeBase.generated.d.ts","sourceRoot":"","sources":["../src/knowledgeBase.generated.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AAEnD,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IA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