@fractary/codex-mcp 0.3.5 → 0.3.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/cli.cjs +5 -2
- package/dist/cli.cjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -14272,7 +14272,7 @@ function expandEnvVars(obj) {
|
|
|
14272
14272
|
return obj;
|
|
14273
14273
|
}
|
|
14274
14274
|
var program2 = new Command();
|
|
14275
|
-
program2.name("fractary-codex-mcp").description("MCP server for Fractary Codex knowledge management").version("0.3.
|
|
14275
|
+
program2.name("fractary-codex-mcp").description("MCP server for Fractary Codex knowledge management").version("0.3.6").option("--config <path>", "Path to config file", ".fractary/codex/config.yaml").action(async (options) => {
|
|
14276
14276
|
let config = {};
|
|
14277
14277
|
try {
|
|
14278
14278
|
const configFile = (0, import_fs.readFileSync)(options.config, "utf-8");
|
|
@@ -14288,9 +14288,12 @@ program2.name("fractary-codex-mcp").description("MCP server for Fractary Codex k
|
|
|
14288
14288
|
cacheDir: config.cache?.cacheDir || ".fractary/codex/cache",
|
|
14289
14289
|
...config.cache
|
|
14290
14290
|
});
|
|
14291
|
+
if (storage) {
|
|
14292
|
+
cache.setStorageManager(storage);
|
|
14293
|
+
}
|
|
14291
14294
|
const server = new McpServer({
|
|
14292
14295
|
name: "fractary-codex",
|
|
14293
|
-
version: "0.3.
|
|
14296
|
+
version: "0.3.6",
|
|
14294
14297
|
cache,
|
|
14295
14298
|
storage
|
|
14296
14299
|
});
|