@openai/codex-shell-tool-mcp 0.64.0 → 0.65.0-alpha.10

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/bin/mcp-server.js CHANGED
@@ -186,11 +186,9 @@ function resolveTargetTriple(platform, arch) {
186
186
  }
187
187
 
188
188
  // src/index.ts
189
- var scriptPath = process.argv[1] ? import_node_path2.default.resolve(process.argv[1]) : process.cwd();
190
- var __dirname = import_node_path2.default.dirname(scriptPath);
191
189
  async function main() {
192
190
  const targetTriple = resolveTargetTriple(process.platform, process.arch);
193
- const vendorRoot = import_node_path2.default.join(__dirname, "..", "vendor");
191
+ const vendorRoot = import_node_path2.default.resolve(__dirname, "..", "vendor");
194
192
  const targetRoot = import_node_path2.default.join(vendorRoot, targetTriple);
195
193
  const execveWrapperPath = import_node_path2.default.join(targetRoot, "codex-execve-wrapper");
196
194
  const serverPath = import_node_path2.default.join(targetRoot, "codex-exec-mcp-server");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openai/codex-shell-tool-mcp",
3
- "version": "0.64.0",
3
+ "version": "0.65.0-alpha.10",
4
4
  "description": "Codex MCP server for the shell tool with patched Bash and exec wrappers.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {