Skip to content

Commit f7255b9

Browse files
committed
fix(platform-integrations): set codex recall entities dir
1 parent b5c7ce8 commit f7255b9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

platform-integrations/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def _codex_recall_hook_command():
364364
'd=\"$PWD\"; '
365365
"while :; do "
366366
'candidate=\"$d/plugins/evolve-lite/skills/recall/scripts/retrieve_entities.py\"; '
367-
'if [ -f \"$candidate\" ]; then exec python3 \"$candidate\"; fi; '
367+
'if [ -f \"$candidate\" ]; then EVOLVE_ENTITIES_DIR=\"$d/.evolve/entities\" exec python3 \"$candidate\"; fi; '
368368
'[ \"$d\" = \"/\" ] && break; '
369369
'd=\"$(dirname \"$d\")\"; '
370370
"done; "

tests/platform_integrations/test_codex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_install_creates_expected_files(self, temp_project_dir, install_runner,
7474
'd="$PWD"; '
7575
"while :; do "
7676
'candidate="$d/plugins/evolve-lite/skills/recall/scripts/retrieve_entities.py"; '
77-
'if [ -f "$candidate" ]; then exec python3 "$candidate"; fi; '
77+
'if [ -f "$candidate" ]; then EVOLVE_ENTITIES_DIR="$d/.evolve/entities" exec python3 "$candidate"; fi; '
7878
'[ "$d" = "/" ] && break; '
7979
'd="$(dirname "$d")"; '
8080
"done; "

0 commit comments

Comments
 (0)