@first-tree-ai/context-tree 0.1.14-alpha.202609140826 → 0.1.14

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.
@@ -27032,8 +27032,10 @@ function hostDestination(host, root, isProjectInstall) {
27032
27032
  const directories = HOST_DIRECTORIES[host];
27033
27033
  if (!isProjectInstall) {
27034
27034
  let hostRoot = root;
27035
- for (const segment of directories.config) {
27036
- hostRoot = join(hostRoot, segment);
27035
+ const codexHome = host === "codex" ? process.env.CODEX_HOME?.trim() : void 0;
27036
+ const configPaths = codexHome ? [resolve(codexHome)] : directories.config;
27037
+ for (const segment of configPaths) {
27038
+ hostRoot = resolve(hostRoot, segment);
27037
27039
  const entry = lstatSync(hostRoot, { throwIfNoEntry: false });
27038
27040
  if (entry === void 0) return { reason: `${hostRoot} does not exist; install ${host} first, then run context-tree install.` };
27039
27041
  if (entry.isSymbolicLink() || !entry.isDirectory()) return { reason: `${hostRoot} is not a real directory.` };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@first-tree-ai/context-tree",
3
- "version": "0.1.14-alpha.202609140826",
3
+ "version": "0.1.14",
4
4
  "description": "Durable, structured project context for coding agents: a CLI plus framework-neutral skills.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",