@thallylabs/mcp 0.7.3 → 0.7.5

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/dist/index.js CHANGED
@@ -18,18 +18,21 @@ import { Readable, pipeline } from "stream";
18
18
  import { promisify } from "util";
19
19
  import tar from "tar";
20
20
  var pipelineAsync = promisify(pipeline);
21
- var TARBALL_URL = "https://codeload.github.com/thallylabs/thally/tar.gz/main";
22
- var EXCLUDE_PATHS = [
21
+ var MCP_TEMPLATE_REPOSITORY = "thallylabs/docs";
22
+ var TARBALL_URL = `https://codeload.github.com/${MCP_TEMPLATE_REPOSITORY}/tar.gz/main`;
23
+ var MCP_EXCLUDE_PATHS = [
23
24
  "/cli/",
24
25
  "/packages/",
25
26
  "/node_modules/",
26
27
  "/.git/",
27
- "/thally-agent.yml",
28
28
  "/thally-track.yml",
29
29
  "/CODEOWNERS",
30
30
  "/CLAUDE.md",
31
31
  "/notes/"
32
32
  ];
33
+ function shouldIncludeMcpTemplatePath(path) {
34
+ return !MCP_EXCLUDE_PATHS.some((excluded) => path.includes(excluded));
35
+ }
33
36
  var STARTER_PAGES = {
34
37
  "introduction.mdx": `---
35
38
  title: Introduction
@@ -115,12 +118,7 @@ async function downloadTemplate(targetDir) {
115
118
  tar.extract({
116
119
  cwd: targetDir,
117
120
  strip: 1,
118
- filter: (path) => {
119
- for (const excluded of EXCLUDE_PATHS) {
120
- if (path.includes(excluded)) return false;
121
- }
122
- return true;
123
- }
121
+ filter: shouldIncludeMcpTemplatePath
124
122
  })
125
123
  );
126
124
  }
package/dist/tools.js CHANGED
@@ -9,18 +9,21 @@ import { Readable, pipeline } from "stream";
9
9
  import { promisify } from "util";
10
10
  import tar from "tar";
11
11
  var pipelineAsync = promisify(pipeline);
12
- var TARBALL_URL = "https://codeload.github.com/thallylabs/thally/tar.gz/main";
13
- var EXCLUDE_PATHS = [
12
+ var MCP_TEMPLATE_REPOSITORY = "thallylabs/docs";
13
+ var TARBALL_URL = `https://codeload.github.com/${MCP_TEMPLATE_REPOSITORY}/tar.gz/main`;
14
+ var MCP_EXCLUDE_PATHS = [
14
15
  "/cli/",
15
16
  "/packages/",
16
17
  "/node_modules/",
17
18
  "/.git/",
18
- "/thally-agent.yml",
19
19
  "/thally-track.yml",
20
20
  "/CODEOWNERS",
21
21
  "/CLAUDE.md",
22
22
  "/notes/"
23
23
  ];
24
+ function shouldIncludeMcpTemplatePath(path) {
25
+ return !MCP_EXCLUDE_PATHS.some((excluded) => path.includes(excluded));
26
+ }
24
27
  var STARTER_PAGES = {
25
28
  "introduction.mdx": `---
26
29
  title: Introduction
@@ -106,12 +109,7 @@ async function downloadTemplate(targetDir) {
106
109
  tar.extract({
107
110
  cwd: targetDir,
108
111
  strip: 1,
109
- filter: (path) => {
110
- for (const excluded of EXCLUDE_PATHS) {
111
- if (path.includes(excluded)) return false;
112
- }
113
- return true;
114
- }
112
+ filter: shouldIncludeMcpTemplatePath
115
113
  })
116
114
  );
117
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thallylabs/mcp",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "MCP server for scaffolding and managing Thally documentation projects",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@anthropic-ai/sdk": "^0.36.0",
36
36
  "@modelcontextprotocol/sdk": "^1.15.0",
37
- "create-thally-docs": "0.7.7",
37
+ "create-thally-docs": "0.7.9",
38
38
  "gray-matter": "^4.0.3",
39
39
  "p-limit": "^6.1.0",
40
40
  "tar": "^6.2.0",