@thallylabs/mcp 0.10.33 → 0.10.35

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
@@ -46,6 +46,12 @@ site over HTTP.
46
46
  imports content. To preserve an existing Thally runtime and import content in
47
47
  place, the caller must explicitly choose `import_docs`.
48
48
 
49
+ Migration automatically installs dependencies and validates the production
50
+ build, with no additional execution option or confirmation. This is a local
51
+ build workflow for sources the user owns or trusts: installation and builds
52
+ execute project code, including imported MDX and components, without sandboxing.
53
+ Failed checks are reported; skipped builds remain unverified.
54
+
49
55
  ## License
50
56
 
51
57
  MIT
package/dist/index.js CHANGED
@@ -475,11 +475,16 @@ async function runMigration(input, isInPlaceImport) {
475
475
  }
476
476
  async function handleMigrateDocs(input) {
477
477
  const result = await runMigration(input, false);
478
- return `Migration complete! Created a fresh Thally template at ${result.projectDir} and imported ${result.pagesWritten} pages.`;
478
+ return `Created a fresh Thally template at ${result.projectDir} and imported ${result.pagesWritten} pages. ${validationSummary(result)}`;
479
479
  }
480
480
  async function handleImportDocs(input) {
481
481
  const result = await runMigration(input, true);
482
- return `Import complete! Imported ${result.pagesWritten} pages into the existing Thally project at ${result.projectDir}.`;
482
+ return `Imported ${result.pagesWritten} pages into the existing Thally project at ${result.projectDir}. ${validationSummary(result)}`;
483
+ }
484
+ function validationSummary(result) {
485
+ const { validation } = result;
486
+ const status = validation.content === "passed" && validation.build === "passed" ? "Content and production build passed." : "Validation is incomplete; review the failures or skipped checks before publishing.";
487
+ return `${status} ${result.warnings.length} migration warning(s). Report: ${result.reportPath}`;
483
488
  }
484
489
 
485
490
  // src/tools/search-docs.ts
package/dist/tools.js CHANGED
@@ -466,11 +466,16 @@ async function runMigration(input, isInPlaceImport) {
466
466
  }
467
467
  async function handleMigrateDocs(input) {
468
468
  const result = await runMigration(input, false);
469
- return `Migration complete! Created a fresh Thally template at ${result.projectDir} and imported ${result.pagesWritten} pages.`;
469
+ return `Created a fresh Thally template at ${result.projectDir} and imported ${result.pagesWritten} pages. ${validationSummary(result)}`;
470
470
  }
471
471
  async function handleImportDocs(input) {
472
472
  const result = await runMigration(input, true);
473
- return `Import complete! Imported ${result.pagesWritten} pages into the existing Thally project at ${result.projectDir}.`;
473
+ return `Imported ${result.pagesWritten} pages into the existing Thally project at ${result.projectDir}. ${validationSummary(result)}`;
474
+ }
475
+ function validationSummary(result) {
476
+ const { validation } = result;
477
+ const status = validation.content === "passed" && validation.build === "passed" ? "Content and production build passed." : "Validation is incomplete; review the failures or skipped checks before publishing.";
478
+ return `${status} ${result.warnings.length} migration warning(s). Report: ${result.reportPath}`;
474
479
  }
475
480
 
476
481
  // src/tools/search-docs.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thallylabs/mcp",
3
- "version": "0.10.33",
3
+ "version": "0.10.35",
4
4
  "description": "MCP server for managing Thally docs and tracing product changes into evidence-backed updates for human review.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@anthropic-ai/sdk": "^0.36.0",
40
40
  "@modelcontextprotocol/sdk": "^1.15.0",
41
- "create-thally-docs": "0.10.31",
41
+ "create-thally-docs": "0.10.33",
42
42
  "p-limit": "^6.1.0",
43
43
  "yaml": "^2.8.2",
44
44
  "zod": "^3.0.0"