fluxloop-cli 0.2.19__tar.gz → 0.2.20__tar.gz
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.
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/PKG-INFO +1 -1
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/__init__.py +1 -1
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/init.py +2 -18
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/templates.py +4 -3
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/PKG-INFO +1 -1
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/pyproject.toml +1 -1
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/README.md +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/arg_binder.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/__init__.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/config.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/doctor.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/evaluate.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/generate.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/parse.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/record.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/run.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/commands/status.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/config_loader.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/config_schema.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/constants.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/__init__.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/config.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/__init__.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/analysis.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/core.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/__init__.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/html.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/markdown.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/success.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/llm.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/prompts/__init__.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/rules.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/input_generator.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/llm_generator.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/main.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/project_paths.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/runner.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/target_loader.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/validators.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/SOURCES.txt +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/dependency_links.txt +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/entry_points.txt +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/requires.txt +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli.egg-info/top_level.txt +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/setup.cfg +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_analysis_recommendations.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_arg_binder.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_config_command.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_evaluate_command.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_evaluation_llm.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_input_generator.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_prompt_library.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_success_criteria.py +0 -0
- {fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/tests/test_target_loader.py +0 -0
|
@@ -137,27 +137,11 @@ def project(
|
|
|
137
137
|
section_path = section_paths[key]
|
|
138
138
|
section_path.write_text(content)
|
|
139
139
|
|
|
140
|
-
# Create project .env (
|
|
141
|
-
root_env_file = root_dir / ".env"
|
|
140
|
+
# Create project .env (single source of truth)
|
|
142
141
|
console.print("🔐 Creating project .env...")
|
|
143
142
|
recordings_dir = project_path / "recordings"
|
|
144
143
|
recordings_dir.mkdir(exist_ok=True)
|
|
145
|
-
|
|
146
|
-
# If a root .env exists, seed project .env with its contents so project can override locally
|
|
147
|
-
if root_env_file.exists():
|
|
148
|
-
try:
|
|
149
|
-
root_contents = root_env_file.read_text()
|
|
150
|
-
except Exception:
|
|
151
|
-
root_contents = ""
|
|
152
|
-
merged = (
|
|
153
|
-
"# Project .env (seeded from FluxLoop root .env)\n"
|
|
154
|
-
+ (root_contents if root_contents.endswith("\n") else root_contents + "\n")
|
|
155
|
-
+ "\n# Project-specific overrides (take precedence)\n"
|
|
156
|
-
)
|
|
157
|
-
env_file.write_text(merged)
|
|
158
|
-
console.print("[dim]Seeded from root .env (project overrides take precedence).[/dim]")
|
|
159
|
-
else:
|
|
160
|
-
env_file.write_text(create_env_file())
|
|
144
|
+
env_file.write_text(create_env_file())
|
|
161
145
|
|
|
162
146
|
# Update .gitignore
|
|
163
147
|
if not gitignore_file.exists():
|
|
@@ -522,15 +522,16 @@ def create_env_file() -> str:
|
|
|
522
522
|
FLUXLOOP_SAMPLE_RATE=1.0
|
|
523
523
|
# Argument Recording (global toggle)
|
|
524
524
|
FLUXLOOP_RECORD_ARGS=false
|
|
525
|
-
FLUXLOOP_RECORDING_FILE=
|
|
525
|
+
FLUXLOOP_RECORDING_FILE=
|
|
526
|
+
# Example: recordings/args_recording.jsonl (project-relative) or absolute path
|
|
526
527
|
|
|
527
528
|
# Service Configuration
|
|
528
529
|
FLUXLOOP_SERVICE_NAME=my-agent
|
|
529
530
|
FLUXLOOP_ENVIRONMENT=development
|
|
530
531
|
|
|
531
532
|
# LLM API Keys (if needed)
|
|
532
|
-
|
|
533
|
-
# ANTHROPIC_API_KEY=
|
|
533
|
+
OPENAI_API_KEY=
|
|
534
|
+
# ANTHROPIC_API_KEY=
|
|
534
535
|
|
|
535
536
|
# Other Configuration
|
|
536
537
|
# Add your custom environment variables here
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/__init__.py
RENAMED
|
File without changes
|
{fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/html.py
RENAMED
|
File without changes
|
{fluxloop_cli-0.2.19 → fluxloop_cli-0.2.20}/fluxloop_cli/evaluation/engine/reporting/markdown.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|