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 +17 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/manifest.json +1 -1
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.
|
|
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 =
|
|
28628
|
-
args = ["
|
|
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 =
|
|
28644
|
+
ONTOLOGY_DIR = ${renderTomlString(ontologyDir)}
|
|
28632
28645
|
`;
|
|
28633
28646
|
}
|
|
28634
28647
|
function hasOntologyMCPConfig(content) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/templates/manifest.json
CHANGED