[eric] scheduled tasks: agent can now manage workflows itself + tons of safety, cross-platform polish, and edge-case fixes

This commit is contained in:
ciregenz
2026-05-18 03:14:24 -07:00
parent eb561d7187
commit 05f6897b40
213 changed files with 3638 additions and 7047 deletions
+2 -6
View File
@@ -13,9 +13,7 @@ class DebugFile(File):
self.directory = directory # Reference to parent directory
def to_dict(self):
"""
Converts the DebugFile object to a dictionary format.
"""
"""Convert the DebugFile to a dict."""
return {
"name": os.path.basename(self.filename),
"color": self.color,
@@ -26,9 +24,7 @@ class DebugFile(File):
@classmethod
def from_dict(cls, file_dict, directory):
"""
Creates a DebugFile object from a dictionary loaded from JSON.
"""
"""Build a DebugFile from a JSON-loaded dict."""
filename = os.path.join(directory.path, file_dict["name"])
return cls(
filename=filename,