@curenorway/kode-cli 1.3.3 → 1.3.4

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.
@@ -752,6 +752,24 @@ async function initCommand(options) {
752
752
  config.json
753
753
  `;
754
754
  writeFileSync3(gitignorePath, gitignoreContent);
755
+ const claudeConfigDir = join3(cwd, ".claude");
756
+ const claudeConfigPath = join3(claudeConfigDir, "config.json");
757
+ if (!existsSync3(claudeConfigDir)) {
758
+ mkdirSync2(claudeConfigDir, { recursive: true });
759
+ }
760
+ let claudeConfig = {};
761
+ if (existsSync3(claudeConfigPath)) {
762
+ try {
763
+ claudeConfig = JSON.parse(readFileSync3(claudeConfigPath, "utf-8"));
764
+ } catch {
765
+ }
766
+ }
767
+ claudeConfig.mcpServers = claudeConfig.mcpServers || {};
768
+ claudeConfig.mcpServers["cure-kode"] = {
769
+ command: "npx",
770
+ args: ["@curenorway/kode-mcp"]
771
+ };
772
+ writeFileSync3(claudeConfigPath, JSON.stringify(claudeConfig, null, 2) + "\n");
755
773
  spinner.text = "Generating AI context files...";
756
774
  spinner.start();
757
775
  let scripts = [];
@@ -871,6 +889,8 @@ config.json
871
889
  } else {
872
890
  console.log(chalk.dim(` \u251C\u2500\u2500 CLAUDE.md (existing - unchanged)`));
873
891
  }
892
+ console.log(chalk.dim(` \u251C\u2500\u2500 .claude/`));
893
+ console.log(chalk.dim(` \u2502 \u2514\u2500\u2500 config.json (MCP server config)`));
874
894
  console.log(chalk.dim(` \u251C\u2500\u2500 .cure-kode/`));
875
895
  console.log(chalk.dim(` \u2502 \u251C\u2500\u2500 config.json (your configuration)`));
876
896
  console.log(chalk.dim(` \u2502 \u251C\u2500\u2500 context.md (dynamic AI context)`));
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  readPageContext,
16
16
  statusCommand,
17
17
  watchCommand
18
- } from "./chunk-23USWMU4.js";
18
+ } from "./chunk-A5J2KKFE.js";
19
19
 
20
20
  // src/cli.ts
21
21
  import { Command } from "commander";
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  updateScriptPurpose,
28
28
  watchCommand,
29
29
  writeContext
30
- } from "./chunk-23USWMU4.js";
30
+ } from "./chunk-A5J2KKFE.js";
31
31
  export {
32
32
  KodeApiClient,
33
33
  KodeApiError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curenorway/kode-cli",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "CLI tool for Cure Kode - manage JS/CSS scripts for Webflow sites",
5
5
  "type": "module",
6
6
  "bin": {