oh-my-customcodex 0.4.2 → 0.4.4

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/cli/index.js CHANGED
@@ -3091,7 +3091,7 @@ var init_package = __esm(() => {
3091
3091
  workspaces: [
3092
3092
  "packages/*"
3093
3093
  ],
3094
- version: "0.4.2",
3094
+ version: "0.4.4",
3095
3095
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
3096
3096
  type: "module",
3097
3097
  bin: {
@@ -28619,16 +28619,29 @@ import { join as join8 } from "node:path";
28619
28619
  var PROJECT_CONFIG_DIR = ".codex";
28620
28620
  var PROJECT_CONFIG_FILE = "config.toml";
28621
28621
  var ONTOLOGY_SERVER_TABLE = "[mcp_servers.ontology-rag]";
28622
+ var ONTOLOGY_SERVER_COMMAND = "uv";
28623
+ var ONTOLOGY_SERVER_ARGS = [
28624
+ "run",
28625
+ "--no-project",
28626
+ "--python",
28627
+ ".venv",
28628
+ "python",
28629
+ "-m",
28630
+ "ontology_rag.mcp_server"
28631
+ ];
28622
28632
  function getProjectMCPConfigPath(targetDir) {
28623
28633
  return join8(targetDir, PROJECT_CONFIG_DIR, PROJECT_CONFIG_FILE);
28624
28634
  }
28635
+ function renderTomlString(value) {
28636
+ return `"${value.replaceAll("\\", "\\\\").replaceAll('"', "\\\"")}"`;
28637
+ }
28625
28638
  function renderOntologyMCPBlock(ontologyDir) {
28626
28639
  return `${ONTOLOGY_SERVER_TABLE}
28627
- command = ".venv/bin/python"
28628
- args = ["-m", "ontology_rag.mcp_server"]
28640
+ command = ${renderTomlString(ONTOLOGY_SERVER_COMMAND)}
28641
+ args = [${ONTOLOGY_SERVER_ARGS.map(renderTomlString).join(", ")}]
28629
28642
 
28630
28643
  [mcp_servers.ontology-rag.env]
28631
- ONTOLOGY_DIR = "${ontologyDir}"
28644
+ ONTOLOGY_DIR = ${renderTomlString(ontologyDir)}
28632
28645
  `;
28633
28646
  }
28634
28647
  function hasOntologyMCPConfig(content) {
package/dist/index.js CHANGED
@@ -2180,7 +2180,7 @@ var package_default = {
2180
2180
  workspaces: [
2181
2181
  "packages/*"
2182
2182
  ],
2183
- version: "0.4.2",
2183
+ version: "0.4.4",
2184
2184
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
2185
2185
  type: "module",
2186
2186
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.4.2",
6
+ "version": "0.4.4",
7
7
  "description": "Batteries-included agent harness on top of GPT Codex + OMX",
8
8
  "type": "module",
9
9
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.2",
2
+ "version": "0.4.4",
3
3
  "lastUpdated": "2026-04-27T02:00:00.000Z",
4
4
  "components": [
5
5
  {