flock-core 0.4.514__py3-none-any.whl → 0.4.515__py3-none-any.whl
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.
Potentially problematic release.
This version of flock-core might be problematic. Click here for more details.
- flock/core/flock_factory.py +1 -2
- flock/tools/file_tools.py +10 -1
- {flock_core-0.4.514.dist-info → flock_core-0.4.515.dist-info}/METADATA +1 -1
- {flock_core-0.4.514.dist-info → flock_core-0.4.515.dist-info}/RECORD +7 -7
- {flock_core-0.4.514.dist-info → flock_core-0.4.515.dist-info}/WHEEL +0 -0
- {flock_core-0.4.514.dist-info → flock_core-0.4.515.dist-info}/entry_points.txt +0 -0
- {flock_core-0.4.514.dist-info → flock_core-0.4.515.dist-info}/licenses/LICENSE +0 -0
flock/core/flock_factory.py
CHANGED
|
@@ -472,7 +472,6 @@ class FlockFactory:
|
|
|
472
472
|
schedule_expression: str, # e.g., "every 1h", "0 0 * * *"
|
|
473
473
|
description: str | Callable[..., str] | None = None,
|
|
474
474
|
model: str | Callable[..., str] | None = None,
|
|
475
|
-
input: SignatureType = None, # Input might be implicit or none
|
|
476
475
|
output: SignatureType = None, # Input might be implicit or none
|
|
477
476
|
tools: list[Callable[..., Any] | Any] | None = None,
|
|
478
477
|
servers: list[str | FlockMCPServerBase] | None = None,
|
|
@@ -496,7 +495,7 @@ class FlockFactory:
|
|
|
496
495
|
name=name,
|
|
497
496
|
description=description,
|
|
498
497
|
model=model,
|
|
499
|
-
input=
|
|
498
|
+
input="trigger_time: str | Time of scheduled execution",
|
|
500
499
|
output=output,
|
|
501
500
|
tools=tools,
|
|
502
501
|
servers=servers,
|
flock/tools/file_tools.py
CHANGED
|
@@ -23,10 +23,19 @@ def file_get_anything_as_markdown(url_or_file_path: str):
|
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
@traced_and_logged
|
|
27
|
+
def file_append_to_file(content: str, filename: str):
|
|
28
|
+
try:
|
|
29
|
+
with open(filename, "a", encoding="utf-8") as f:
|
|
30
|
+
f.write(content)
|
|
31
|
+
except Exception:
|
|
32
|
+
raise
|
|
33
|
+
|
|
34
|
+
|
|
26
35
|
@traced_and_logged
|
|
27
36
|
def file_save_to_file(content: str, filename: str):
|
|
28
37
|
try:
|
|
29
|
-
with open(filename, "w") as f:
|
|
38
|
+
with open(filename, "w", encoding="utf-8") as f:
|
|
30
39
|
f.write(content)
|
|
31
40
|
except Exception:
|
|
32
41
|
raise
|
|
@@ -29,7 +29,7 @@ flock/core/__init__.py,sha256=juwyNr3QqKXUS5-E3hlMYRhgqHgQBqgtP12OF3tUCAI,1249
|
|
|
29
29
|
flock/core/flock.py,sha256=iR4i0_z0w2ns_iHbP7FqN--7wlsPIWch1H-BVecPs_I,38205
|
|
30
30
|
flock/core/flock_agent.py,sha256=Hl6TONSiJi2I-N_49-1hkW2q_hyPXMebMr-5oZLI-PY,48842
|
|
31
31
|
flock/core/flock_evaluator.py,sha256=TPy6u6XX3cqkY1r9NW1w2lTwCMNW7pxhFYKLefnEbXg,1820
|
|
32
|
-
flock/core/flock_factory.py,sha256=
|
|
32
|
+
flock/core/flock_factory.py,sha256=siCShld0mHPzjsw2_TUhg_nesMYhocJympt1M8ch6p8,18724
|
|
33
33
|
flock/core/flock_module.py,sha256=ObILimpVaPnaaqYvcBYJJ20lQzfrjgTdADplaNRjHU0,7448
|
|
34
34
|
flock/core/flock_registry.py,sha256=KzdFfc3QC-Dk42G24hdf6Prp3HvGj9ymXR3TTBe-T-A,27161
|
|
35
35
|
flock/core/flock_router.py,sha256=1OAXDsdaIIFApEfo6SRfFEDoTuGt3Si7n2MXiySEfis,2644
|
|
@@ -482,7 +482,7 @@ flock/themes/zenwritten-light.toml,sha256=G1iEheCPfBNsMTGaVpEVpDzYBHA_T-MV27rolU
|
|
|
482
482
|
flock/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
483
483
|
flock/tools/azure_tools.py,sha256=OTJsb0B4l70GcD1W3ZMDHWd3X8nEnszhhz2sllD2z9E,30187
|
|
484
484
|
flock/tools/code_tools.py,sha256=xLpuFl84y_GVzmIBe4qrr7h9wI3yWpM-M21GgEUjSjE,5247
|
|
485
|
-
flock/tools/file_tools.py,sha256=
|
|
485
|
+
flock/tools/file_tools.py,sha256=VYjT942NqDMTnizHiF41O4Af6ySseSvahRNVVrGMXl8,4850
|
|
486
486
|
flock/tools/github_tools.py,sha256=HH47-4K3HL6tRJhZhUttWDo2aloP9Hs12wRC_f_-Vkc,5329
|
|
487
487
|
flock/tools/markdown_tools.py,sha256=94fjGAJ5DEutoioD0ke-YRbxF6IWJQKuPVBLkNqdBo4,6345
|
|
488
488
|
flock/tools/system_tools.py,sha256=IUB8MiSxtQH5ZfTGOck3vl4TKva8m1lfU4-W5D5b-4w,202
|
|
@@ -561,8 +561,8 @@ flock/workflow/agent_execution_activity.py,sha256=Gy6FtuVAjf0NiUXmC3syS2eJpNQF4R
|
|
|
561
561
|
flock/workflow/flock_workflow.py,sha256=iSUF_soFvWar0ffpkzE4irkDZRx0p4HnwmEBi_Ne2sY,9666
|
|
562
562
|
flock/workflow/temporal_config.py,sha256=3_8O7SDEjMsSMXsWJBfnb6XTp0TFaz39uyzSlMTSF_I,3988
|
|
563
563
|
flock/workflow/temporal_setup.py,sha256=YIHnSBntzOchHfMSh8hoLeNXrz3B1UbR14YrR6soM7A,1606
|
|
564
|
-
flock_core-0.4.
|
|
565
|
-
flock_core-0.4.
|
|
566
|
-
flock_core-0.4.
|
|
567
|
-
flock_core-0.4.
|
|
568
|
-
flock_core-0.4.
|
|
564
|
+
flock_core-0.4.515.dist-info/METADATA,sha256=7nfOA03KGxxfxZ5-sm_GuTHXqhhD1NRxo_hvp6d8zBI,22786
|
|
565
|
+
flock_core-0.4.515.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
566
|
+
flock_core-0.4.515.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
|
|
567
|
+
flock_core-0.4.515.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
|
|
568
|
+
flock_core-0.4.515.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|