neohive 6.2.0 → 6.2.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/cli.js +4 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -123,9 +123,11 @@ function setupClaude(serverPath, cwd) {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
const abDataDir = path.join(path.resolve(cwd), '.neohive').replace(/\\/g, '/');
|
|
126
127
|
mcpConfig.mcpServers['neohive'] = {
|
|
127
128
|
command: mcpNodeCommand(),
|
|
128
129
|
args: [serverPath],
|
|
130
|
+
env: { NEOHIVE_DATA_DIR: abDataDir },
|
|
129
131
|
timeout: CLI_CONFIG.MCP_TOOL_TIMEOUT_S,
|
|
130
132
|
};
|
|
131
133
|
|
|
@@ -155,9 +157,11 @@ function setupGemini(serverPath, cwd) {
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
|
|
160
|
+
const abDataDir = path.join(path.resolve(cwd), '.neohive').replace(/\\/g, '/');
|
|
158
161
|
settings.mcpServers['neohive'] = {
|
|
159
162
|
command: mcpNodeCommand(),
|
|
160
163
|
args: [serverPath],
|
|
164
|
+
env: { NEOHIVE_DATA_DIR: abDataDir },
|
|
161
165
|
timeout: CLI_CONFIG.MCP_TOOL_TIMEOUT_S,
|
|
162
166
|
trust: true,
|
|
163
167
|
};
|