@atlashub/smartstack-cli 4.36.0 → 4.38.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/dist/index.js CHANGED
@@ -112809,48 +112809,6 @@ async function installCommands(options = {}) {
112809
112809
  }
112810
112810
  async function registerMcpServer() {
112811
112811
  try {
112812
- const claudeAvailable = (0, import_child_process2.spawnSync)("claude", ["--version"], {
112813
- encoding: "utf-8",
112814
- shell: true,
112815
- timeout: 5e3
112816
- });
112817
- if (claudeAvailable.status !== 0) {
112818
- logger.warning("Claude Code CLI not available - skipping CLI MCP registration");
112819
- } else {
112820
- const listResult = (0, import_child_process2.spawnSync)("claude", ["mcp", "list"], {
112821
- encoding: "utf-8",
112822
- shell: true,
112823
- timeout: 1e4
112824
- });
112825
- const mcpList = listResult.stdout || "";
112826
- const hasSmartstack = mcpList.toLowerCase().includes("smartstack");
112827
- if (hasSmartstack && mcpList.includes("@atlashub/smartstack-mcp")) {
112828
- logger.info("Migrating from standalone @atlashub/smartstack-mcp to bundled version...");
112829
- (0, import_child_process2.spawnSync)("claude", ["mcp", "remove", "smartstack"], {
112830
- encoding: "utf-8",
112831
- shell: true,
112832
- timeout: 1e4
112833
- });
112834
- }
112835
- if (!hasSmartstack || mcpList.includes("@atlashub/smartstack-mcp")) {
112836
- const addResult = (0, import_child_process2.spawnSync)(
112837
- "claude",
112838
- ["mcp", "add", "--scope", "user", "smartstack", "--", "npx", "-y", "-p", "@atlashub/smartstack-cli", "smartstack-mcp"],
112839
- {
112840
- encoding: "utf-8",
112841
- shell: true,
112842
- timeout: 15e3
112843
- }
112844
- );
112845
- if (addResult.status === 0) {
112846
- logger.success("Registered SmartStack MCP server (bundled)");
112847
- } else {
112848
- logger.warning("Failed to register MCP server - register manually: claude mcp add --scope user smartstack -- npx -y -p @atlashub/smartstack-cli smartstack-mcp");
112849
- }
112850
- } else {
112851
- logger.info("SmartStack MCP server already registered");
112852
- }
112853
- }
112854
112812
  try {
112855
112813
  const servers = REQUIRED_MCP_SERVERS.map((s) => ({
112856
112814
  name: s.name,
@@ -117261,38 +117219,38 @@ async function createFrontendStructure(config, state, dryRun) {
117261
117219
  dependencies: {
117262
117220
  "@atlashub/smartstack": `^${config.smartStackVersion || "3.0.0"}`,
117263
117221
  "@microsoft/signalr": "^10.0.0",
117264
- "@tailwindcss/vite": "^4.1.0",
117265
- axios: "^1.13.0",
117222
+ "@tailwindcss/vite": "^4.1.18",
117223
+ axios: "^1.13.2",
117266
117224
  clsx: "^2.1.0",
117267
- i18next: "^25.0.0",
117268
- "i18next-browser-languagedetector": "^8.0.0",
117269
- "lucide-react": "^0.563.0",
117225
+ i18next: "^25.7.3",
117226
+ "i18next-browser-languagedetector": "^8.2.0",
117227
+ "lucide-react": "^0.562.0",
117270
117228
  react: "^19.0.0",
117271
117229
  "react-dom": "^19.0.0",
117272
- "react-error-boundary": "^6.0.0",
117273
- "react-i18next": "^16.0.0",
117230
+ "react-error-boundary": "^6.0.2",
117231
+ "react-i18next": "^16.5.1",
117274
117232
  "react-router-dom": "^7.0.0",
117275
- tailwindcss: "^4.1.0"
117233
+ tailwindcss: "^4.1.18"
117276
117234
  },
117277
117235
  devDependencies: {
117278
- "@eslint/js": "^9.0.0",
117279
- "@testing-library/jest-dom": "^6.0.0",
117280
- "@testing-library/react": "^16.0.0",
117281
- "@testing-library/user-event": "^14.0.0",
117282
- "@types/node": "^24.0.0",
117283
- "@types/react": "^19.0.0",
117284
- "@types/react-dom": "^19.0.0",
117285
- "@vitejs/plugin-react": "^5.0.0",
117286
- "@vitest/coverage-v8": "^3.0.0",
117287
- eslint: "^9.0.0",
117288
- "eslint-plugin-react-hooks": "^7.0.0",
117289
- "eslint-plugin-react-refresh": "^0.4.0",
117290
- globals: "^16.0.0",
117291
- jsdom: "^26.0.0",
117292
- typescript: "~5.9.0",
117293
- "typescript-eslint": "^8.0.0",
117294
- vite: "^7.0.0",
117295
- vitest: "^3.0.0"
117236
+ "@eslint/js": "^9.39.1",
117237
+ "@testing-library/jest-dom": "^6.9.1",
117238
+ "@testing-library/react": "^16.3.2",
117239
+ "@testing-library/user-event": "^14.6.1",
117240
+ "@types/node": "^24.10.1",
117241
+ "@types/react": "^19.2.5",
117242
+ "@types/react-dom": "^19.2.3",
117243
+ "@vitejs/plugin-react": "^5.1.1",
117244
+ "@vitest/coverage-v8": "^4.0.18",
117245
+ eslint: "^9.39.1",
117246
+ "eslint-plugin-react-hooks": "^7.0.1",
117247
+ "eslint-plugin-react-refresh": "^0.4.24",
117248
+ globals: "^16.5.0",
117249
+ jsdom: "^28.0.0",
117250
+ typescript: "~5.9.3",
117251
+ "typescript-eslint": "^8.46.4",
117252
+ vite: "^7.2.4",
117253
+ vitest: "^4.0.18"
117296
117254
  }
117297
117255
  };
117298
117256
  const pkg_relPath = `${webRelPrefix}/package.json`;