aicm 0.15.0 → 0.15.1

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
@@ -17,7 +17,9 @@ Modern AI-powered IDEs like Cursor and Agents like Codex enable developers to wr
17
17
  aicm accepts Cursor's `.mdc` format as it provides the most comprehensive feature set. For other AI tools and IDEs, aicm automatically generates compatible formats:
18
18
 
19
19
  - **Cursor**: Native `.mdc` files with full feature support
20
- - **Windsurf/Codex**: Generates `.windsurfrules`/`AGENTS.md` files with natural language adaptations
20
+ - **Windsurf**: Generates `.windsurfrules` file
21
+ - **Codex**: Generates `AGENTS.md` file
22
+ - **Claude**: Generates `CLAUDE.md` file
21
23
 
22
24
  This approach ensures you write your rules once in the richest format available, while maintaining compatibility across different AI development environments.
23
25
 
@@ -20,6 +20,7 @@ function getTargetPaths() {
20
20
  cursor: node_path_1.default.join(projectDir, ".cursor", "rules", "aicm"),
21
21
  windsurf: node_path_1.default.join(projectDir, ".aicm"),
22
22
  codex: node_path_1.default.join(projectDir, ".aicm"),
23
+ claude: node_path_1.default.join(projectDir, ".aicm"),
23
24
  };
24
25
  }
25
26
  function writeCursorRules(rules, cursorRulesDir) {
@@ -116,6 +117,11 @@ function writeRulesToTargets(rules, targets) {
116
117
  writeRulesForFile(rules, targetPaths.codex, "AGENTS.md");
117
118
  }
118
119
  break;
120
+ case "claude":
121
+ if (rules.length > 0) {
122
+ writeRulesForFile(rules, targetPaths.claude, "CLAUDE.md");
123
+ }
124
+ break;
119
125
  }
120
126
  }
121
127
  }
@@ -47,7 +47,7 @@ export interface ResolvedConfig {
47
47
  mcpServers: MCPServers;
48
48
  }
49
49
  export declare const ALLOWED_CONFIG_KEYS: readonly ["rulesDir", "targets", "presets", "overrides", "mcpServers", "workspaces", "skipInstall"];
50
- export declare const SUPPORTED_TARGETS: readonly ["cursor", "windsurf", "codex"];
50
+ export declare const SUPPORTED_TARGETS: readonly ["cursor", "windsurf", "codex", "claude"];
51
51
  export type SupportedTarget = (typeof SUPPORTED_TARGETS)[number];
52
52
  export declare function detectWorkspacesFromPackageJson(cwd: string): boolean;
53
53
  export declare function resolveWorkspaces(config: unknown, configFilePath: string, cwd: string): boolean;
@@ -29,7 +29,12 @@ exports.ALLOWED_CONFIG_KEYS = [
29
29
  "workspaces",
30
30
  "skipInstall",
31
31
  ];
32
- exports.SUPPORTED_TARGETS = ["cursor", "windsurf", "codex"];
32
+ exports.SUPPORTED_TARGETS = [
33
+ "cursor",
34
+ "windsurf",
35
+ "codex",
36
+ "claude",
37
+ ];
33
38
  function detectWorkspacesFromPackageJson(cwd) {
34
39
  try {
35
40
  const packageJsonPath = node_path_1.default.join(cwd, "package.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicm",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "A TypeScript CLI tool for managing AI IDE rules across different projects and teams",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",