claude-self-reflect 2.4.7 → 2.4.8
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/Dockerfile.watcher +2 -16
- package/package.json +1 -1
package/Dockerfile.watcher
CHANGED
|
@@ -23,23 +23,9 @@ RUN useradd -m -u 1000 watcher
|
|
|
23
23
|
# Create scripts directory and copy required files
|
|
24
24
|
RUN mkdir -p /scripts
|
|
25
25
|
|
|
26
|
-
# Copy
|
|
26
|
+
# Copy all necessary scripts
|
|
27
27
|
COPY scripts/import-conversations-unified.py /scripts/
|
|
28
|
-
|
|
29
|
-
# Create a minimal watcher script
|
|
30
|
-
RUN echo '#!/usr/bin/env python3\n\
|
|
31
|
-
import time\n\
|
|
32
|
-
import subprocess\n\
|
|
33
|
-
import os\n\
|
|
34
|
-
\n\
|
|
35
|
-
while True:\n\
|
|
36
|
-
try:\n\
|
|
37
|
-
print("Running import...", flush=True)\n\
|
|
38
|
-
subprocess.run(["/usr/local/bin/python", "/scripts/import-conversations-unified.py"], check=True)\n\
|
|
39
|
-
print("Import complete. Sleeping for 60 seconds...", flush=True)\n\
|
|
40
|
-
except Exception as e:\n\
|
|
41
|
-
print(f"Error: {e}", flush=True)\n\
|
|
42
|
-
time.sleep(60)\n' > /scripts/import-watcher.py
|
|
28
|
+
COPY scripts/import-watcher.py /scripts/
|
|
43
29
|
|
|
44
30
|
RUN chmod +x /scripts/*.py
|
|
45
31
|
|