codiedev 0.3.0 → 0.3.2
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/dist/connect.js +0 -16
- package/dist/utils.js +2 -1
- package/package.json +2 -3
package/dist/connect.js
CHANGED
|
@@ -150,13 +150,6 @@ async function runConnect() {
|
|
|
150
150
|
catch (err) {
|
|
151
151
|
console.error(`\nWarning: Failed to install Claude Code hook — ${err.message}`);
|
|
152
152
|
}
|
|
153
|
-
try {
|
|
154
|
-
(0, utils_1.installClaudeCodeMcp)();
|
|
155
|
-
installed.push("Claude Code MCP server (~/.claude.json)");
|
|
156
|
-
}
|
|
157
|
-
catch (err) {
|
|
158
|
-
console.error(`\nWarning: Failed to install Claude Code MCP server — ${err.message}`);
|
|
159
|
-
}
|
|
160
153
|
}
|
|
161
154
|
if (hasCodex) {
|
|
162
155
|
try {
|
|
@@ -166,15 +159,6 @@ async function runConnect() {
|
|
|
166
159
|
catch (err) {
|
|
167
160
|
console.error(`\nWarning: Failed to install Codex hook — ${err.message}`);
|
|
168
161
|
}
|
|
169
|
-
try {
|
|
170
|
-
const added = (0, utils_1.installCodexMcp)();
|
|
171
|
-
if (added) {
|
|
172
|
-
installed.push("Codex MCP server (~/.codex/config.toml)");
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
catch (err) {
|
|
176
|
-
console.error(`\nWarning: Failed to install Codex MCP server — ${err.message}`);
|
|
177
|
-
}
|
|
178
162
|
}
|
|
179
163
|
if (!hasClaude && !hasCodex) {
|
|
180
164
|
console.warn("\nNo Claude Code (~/.claude) or Codex (~/.codex) install detected.");
|
package/dist/utils.js
CHANGED
|
@@ -207,8 +207,9 @@ function installClaudeCodeMcp() {
|
|
|
207
207
|
config = {};
|
|
208
208
|
}
|
|
209
209
|
const mcpServers = config.mcpServers ?? {};
|
|
210
|
+
// Canonical Claude Code user-scope format: just command + args.
|
|
211
|
+
// No `type` field (some CC versions reject it; stdio is the default).
|
|
210
212
|
mcpServers.codiedev = {
|
|
211
|
-
type: "stdio",
|
|
212
213
|
command: "npx",
|
|
213
214
|
args: ["codiedev-mcp"],
|
|
214
215
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codiedev",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Connect Claude Code or Codex to CodieDev for org-wide session capture and artifact collaboration",
|
|
5
5
|
"bin": {
|
|
6
6
|
"codiedev": "./dist/cli.js",
|
|
7
|
-
"codiedev-hook": "./dist/hook.js"
|
|
8
|
-
"codiedev-mcp": "./dist/mcp.js"
|
|
7
|
+
"codiedev-hook": "./dist/hook.js"
|
|
9
8
|
},
|
|
10
9
|
"scripts": {
|
|
11
10
|
"build": "tsc",
|