@xmemo/client 0.4.158 → 0.4.160
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/package.json +1 -1
- package/src/config/profile.js +15 -1
- package/src/mcp/formats/json.js +1 -1
package/package.json
CHANGED
package/src/config/profile.js
CHANGED
|
@@ -117,6 +117,20 @@ export function profileClientConfig(clientId) {
|
|
|
117
117
|
return path.join(userHome(env), '.cursor', 'memory-profile.md');
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
|
+
kiro: {
|
|
121
|
+
label: 'Kiro',
|
|
122
|
+
setupAlias: 'kiro',
|
|
123
|
+
profileVersion: 'kiro-mcp-depth-v1',
|
|
124
|
+
markerStart: CLIENT_PROFILE_MARKER_START,
|
|
125
|
+
markerEnd: CLIENT_PROFILE_MARKER_END,
|
|
126
|
+
defaultTarget: (env) => {
|
|
127
|
+
const isTest = env.HOME && (env.HOME.includes('memory-os-') || env.HOME.includes('test'));
|
|
128
|
+
if (!isTest && (existsSync(path.join(process.cwd(), '.kiro')) || existsSync(path.join(process.cwd(), '.git')) || existsSync(path.join(process.cwd(), 'package.json')))) {
|
|
129
|
+
return path.join(process.cwd(), '.kiro', 'steering', 'AGENTS.md');
|
|
130
|
+
}
|
|
131
|
+
return path.join(userHome(env), '.kiro', 'steering', 'AGENTS.md');
|
|
132
|
+
}
|
|
133
|
+
},
|
|
120
134
|
'gemini-cli': {
|
|
121
135
|
label: 'Gemini CLI',
|
|
122
136
|
setupAlias: 'gemini',
|
|
@@ -208,7 +222,7 @@ export function profileClientConfig(clientId) {
|
|
|
208
222
|
}
|
|
209
223
|
|
|
210
224
|
export function supportedProfileClientIds() {
|
|
211
|
-
return ['codex', 'cursor', 'gemini', 'antigravity', 'qwen', 'opencode', 'trae', 'trae-solo'];
|
|
225
|
+
return ['codex', 'cursor', 'kiro', 'gemini', 'antigravity', 'qwen', 'opencode', 'trae', 'trae-solo'];
|
|
212
226
|
}
|
|
213
227
|
|
|
214
228
|
export function defaultProfileTarget(clientId, env) {
|
package/src/mcp/formats/json.js
CHANGED
|
@@ -30,7 +30,7 @@ export const JSON_MCP_CLIENT_DEFINITIONS = Object.freeze([
|
|
|
30
30
|
nestedTransportClientDefinition('continue', 'Continue', 'defaultContinueConfigPath'),
|
|
31
31
|
commandClientDefinition('claude-desktop', 'Claude Desktop', 'defaultClaudeConfigPath'),
|
|
32
32
|
httpClientDefinition('openclaw', 'OpenClaw', 'defaultOpenclawConfigPath', { urlKey: 'url', authentication: 'env-bearer' }),
|
|
33
|
-
httpClientDefinition('kiro', 'Kiro', 'defaultKiroConfigPath', { urlKey: 'url',
|
|
33
|
+
httpClientDefinition('kiro', 'Kiro', 'defaultKiroConfigPath', { urlKey: 'url', authentication: 'env-bearer' }),
|
|
34
34
|
commandClientDefinition('zed', 'Zed', 'defaultZedConfigPath', { section: 'context_servers' }),
|
|
35
35
|
nestedTransportClientDefinition('jetbrains', 'JetBrains', 'defaultJetbrainsConfigPath'),
|
|
36
36
|
remoteClientDefinition('opencode', 'OpenCode', 'defaultOpencodeConfigPath'),
|