@tdsoft-tech/aikit 0.1.32 → 0.1.33
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 +2 -2
- package/dist/cli.js +292 -80
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +33 -7
- package/dist/index.js +38 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +38 -2
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -144,6 +144,34 @@ var init_paths = __esm({
|
|
|
144
144
|
*/
|
|
145
145
|
claudeAgents(project) {
|
|
146
146
|
return join(this.claudeConfig(project ? "project" : "user"), "agents");
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* Get Cursor configuration directory
|
|
150
|
+
*/
|
|
151
|
+
cursorConfig(scope) {
|
|
152
|
+
if (scope === "project") {
|
|
153
|
+
return join(process.cwd(), ".cursor");
|
|
154
|
+
}
|
|
155
|
+
const base = process.platform === "win32" ? join(homedir(), "AppData", "Local", "Cursor") : join(homedir(), ".cursor");
|
|
156
|
+
return base;
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
* Get Cursor commands directory
|
|
160
|
+
*/
|
|
161
|
+
cursorCommands(project) {
|
|
162
|
+
return join(this.cursorConfig(project ? "project" : "user"), "commands");
|
|
163
|
+
},
|
|
164
|
+
/**
|
|
165
|
+
* Get Cursor skills directory
|
|
166
|
+
*/
|
|
167
|
+
cursorSkills(project) {
|
|
168
|
+
return join(this.cursorConfig(project ? "project" : "user"), "skills");
|
|
169
|
+
},
|
|
170
|
+
/**
|
|
171
|
+
* Get Cursor agents directory
|
|
172
|
+
*/
|
|
173
|
+
cursorAgents(project) {
|
|
174
|
+
return join(this.cursorConfig(project ? "project" : "user"), "agents");
|
|
147
175
|
}
|
|
148
176
|
};
|
|
149
177
|
}
|
|
@@ -992,7 +1020,7 @@ var init_config = __esm({
|
|
|
992
1020
|
/**
|
|
993
1021
|
* Primary platform to use (affects default behavior)
|
|
994
1022
|
*/
|
|
995
|
-
primary: z.enum(["opencode", "claude"]).default("opencode"),
|
|
1023
|
+
primary: z.enum(["opencode", "claude", "cursor"]).default("opencode"),
|
|
996
1024
|
/**
|
|
997
1025
|
* Enable OpenCode platform support
|
|
998
1026
|
* Default: true (OpenCode is the primary focus)
|
|
@@ -1002,7 +1030,12 @@ var init_config = __esm({
|
|
|
1002
1030
|
* Enable Claude Code platform support
|
|
1003
1031
|
* Default: false (archived, can be re-enabled later)
|
|
1004
1032
|
*/
|
|
1005
|
-
claude: z.boolean().default(false)
|
|
1033
|
+
claude: z.boolean().default(false),
|
|
1034
|
+
/**
|
|
1035
|
+
* Enable Cursor platform support
|
|
1036
|
+
* Default: false (opt-in)
|
|
1037
|
+
*/
|
|
1038
|
+
cursor: z.boolean().default(false)
|
|
1006
1039
|
}).default({});
|
|
1007
1040
|
ConfigSchema = z.object({
|
|
1008
1041
|
version: z.string(),
|
|
@@ -1120,6 +1153,9 @@ var init_config = __esm({
|
|
|
1120
1153
|
if (this.config.platform.claude) {
|
|
1121
1154
|
platforms.push("claude");
|
|
1122
1155
|
}
|
|
1156
|
+
if (this.config.platform.cursor) {
|
|
1157
|
+
platforms.push("cursor");
|
|
1158
|
+
}
|
|
1123
1159
|
return platforms;
|
|
1124
1160
|
}
|
|
1125
1161
|
get projectPath() {
|