kenzoboard 0.1.5 → 0.1.6
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4753,16 +4753,16 @@ async function connectCodexCommand(flags) {
|
|
|
4753
4753
|
...packageArgs
|
|
4754
4754
|
];
|
|
4755
4755
|
try {
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4756
|
+
verifyMcpServer(packageArgs, workspace.fluxDir);
|
|
4757
|
+
try {
|
|
4758
|
+
runCodex(cli, ["mcp", "get", serverName]);
|
|
4759
|
+
runCodex(cli, ["mcp", "remove", serverName]);
|
|
4760
|
+
} catch {}
|
|
4760
4761
|
runCodex(cli, addArgs);
|
|
4761
4762
|
const result = runCodex(cli, ["mcp", "get", serverName]);
|
|
4762
4763
|
if (!result.includes(serverName) || !result.includes(packageArgs[0])) {
|
|
4763
4764
|
throw new Error("Codex did not report the expected MCP server after setup.");
|
|
4764
4765
|
}
|
|
4765
|
-
verifyMcpServer(packageArgs, workspace.fluxDir);
|
|
4766
4766
|
console.log(`${c2.green}${c2.bold}Codex is connected to Kenzo.${c2.reset}`);
|
|
4767
4767
|
console.log(`Server: ${serverName}`);
|
|
4768
4768
|
console.log(`Workspace: ${workspace.fluxDir}`);
|