fleet-python 0.2.89__tar.gz → 0.2.91__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.
- {fleet_python-0.2.89/fleet_python.egg-info → fleet_python-0.2.91}/PKG-INFO +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/__init__.py +5 -5
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/__init__.py +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/base.py +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/client.py +2 -2
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/orchestrator.py +2 -6
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/base.py +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/cli.py +0 -9
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/client.py +2 -2
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/models.py +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/pyproject.toml +1 -1
- {fleet_python-0.2.89 → fleet_python-0.2.91}/LICENSE +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/README.md +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/diff_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_account.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_sync.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_task.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/openai_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/quickstart.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/Dockerfile +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/agent.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/mcp_server.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/playwright_utils.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/requirements.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/gemini_cua/start.sh +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/types.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/agent/utils.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/config.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/env/client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/eval/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/eval/uploader.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/global_client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/proxy/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/proxy/proxy.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/proxy/whitelist.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/tasks.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/types.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/utils/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/utils/http_logging.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/utils/logging.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/utils/playwright.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet_python.egg-info/entry_points.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/scripts/unasync.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/setup.cfg +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/__init__.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.89 → fleet_python-0.2.91}/tests/test_verifier_from_string.py +0 -0
|
@@ -73,7 +73,7 @@ from . import env
|
|
|
73
73
|
from . import global_client as _global_client
|
|
74
74
|
from ._async import global_client as _async_global_client
|
|
75
75
|
|
|
76
|
-
__version__ = "0.2.
|
|
76
|
+
__version__ = "0.2.91"
|
|
77
77
|
|
|
78
78
|
__all__ = [
|
|
79
79
|
# Core classes
|
|
@@ -252,11 +252,11 @@ def session_async(
|
|
|
252
252
|
)
|
|
253
253
|
|
|
254
254
|
|
|
255
|
-
def job(name: str) -> str:
|
|
255
|
+
def job(name: Optional[str] = None) -> str:
|
|
256
256
|
"""Create a new trace job (sync).
|
|
257
257
|
|
|
258
258
|
Args:
|
|
259
|
-
name: Name of the job
|
|
259
|
+
name: Name of the job (generated server-side if not provided)
|
|
260
260
|
|
|
261
261
|
Returns:
|
|
262
262
|
The job_id string
|
|
@@ -269,11 +269,11 @@ def job(name: str) -> str:
|
|
|
269
269
|
return client.trace_job(name=name)
|
|
270
270
|
|
|
271
271
|
|
|
272
|
-
async def job_async(name: str) -> str:
|
|
272
|
+
async def job_async(name: Optional[str] = None) -> str:
|
|
273
273
|
"""Create a new trace job (async).
|
|
274
274
|
|
|
275
275
|
Args:
|
|
276
|
-
name: Name of the job
|
|
276
|
+
name: Name of the job (generated server-side if not provided)
|
|
277
277
|
|
|
278
278
|
Returns:
|
|
279
279
|
The job_id string
|
|
@@ -1419,11 +1419,11 @@ class AsyncFleet:
|
|
|
1419
1419
|
instance_id=instance_id,
|
|
1420
1420
|
)
|
|
1421
1421
|
|
|
1422
|
-
async def trace_job(self, name: str) -> str:
|
|
1422
|
+
async def trace_job(self, name: Optional[str] = None) -> str:
|
|
1423
1423
|
"""Create a new trace job.
|
|
1424
1424
|
|
|
1425
1425
|
Args:
|
|
1426
|
-
name: Name of the job
|
|
1426
|
+
name: Name of the job (generated server-side if not provided)
|
|
1427
1427
|
|
|
1428
1428
|
Returns:
|
|
1429
1429
|
The job_id string
|
|
@@ -25,7 +25,6 @@ import os
|
|
|
25
25
|
import signal
|
|
26
26
|
import sys
|
|
27
27
|
import time
|
|
28
|
-
from datetime import datetime
|
|
29
28
|
from pathlib import Path
|
|
30
29
|
from typing import Dict, List, Optional, Set, Tuple
|
|
31
30
|
|
|
@@ -197,11 +196,8 @@ class AgentOrchestrator:
|
|
|
197
196
|
|
|
198
197
|
console = Console()
|
|
199
198
|
|
|
200
|
-
# Create job via Fleet API
|
|
201
|
-
|
|
202
|
-
f"eval-{self.config.agent}-{datetime.now().strftime('%Y%m%d_%H%M%S')}"
|
|
203
|
-
)
|
|
204
|
-
self._job_id = await fleet.job_async(name=job_name)
|
|
199
|
+
# Create job via Fleet API (name generated server-side)
|
|
200
|
+
self._job_id = await fleet.job_async()
|
|
205
201
|
console.print(f"Job: https://fleetai.com/dashboard/jobs/{self._job_id}")
|
|
206
202
|
|
|
207
203
|
# Create log directory: ~/.fleet/logs/{job_id}/
|
|
@@ -732,15 +732,6 @@ def eval_run(
|
|
|
732
732
|
return
|
|
733
733
|
|
|
734
734
|
client = get_client()
|
|
735
|
-
base_url = os.getenv("FLEET_BASE_URL", CLI_DEFAULT_BASE_URL)
|
|
736
|
-
|
|
737
|
-
# Generate a default name if not provided
|
|
738
|
-
if not name:
|
|
739
|
-
model_short = model[0].split("/")[-1].split("-")[0] if model else "eval"
|
|
740
|
-
if project_key:
|
|
741
|
-
name = f"{project_key}-{model_short}"
|
|
742
|
-
else:
|
|
743
|
-
name = f"all-tasks-{model_short}"
|
|
744
735
|
|
|
745
736
|
# Parse BYOK keys
|
|
746
737
|
byok_keys = None
|
|
@@ -1532,11 +1532,11 @@ class Fleet:
|
|
|
1532
1532
|
instance_id=instance_id,
|
|
1533
1533
|
)
|
|
1534
1534
|
|
|
1535
|
-
def trace_job(self, name: str) -> str:
|
|
1535
|
+
def trace_job(self, name: Optional[str] = None) -> str:
|
|
1536
1536
|
"""Create a new trace job.
|
|
1537
1537
|
|
|
1538
1538
|
Args:
|
|
1539
|
-
name: Name of the job
|
|
1539
|
+
name: Name of the job (generated server-side if not provided)
|
|
1540
1540
|
|
|
1541
1541
|
Returns:
|
|
1542
1542
|
The job_id string
|
|
@@ -648,7 +648,7 @@ class SessionIngestResponse(BaseModel):
|
|
|
648
648
|
class TraceJobRequest(BaseModel):
|
|
649
649
|
"""Request to create a new trace job."""
|
|
650
650
|
|
|
651
|
-
name: str = Field(
|
|
651
|
+
name: Optional[str] = Field(None, title="Name", description="Name of the job (generated server-side if not provided)")
|
|
652
652
|
|
|
653
653
|
|
|
654
654
|
class TraceJobResponse(BaseModel):
|
|
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
|
|
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
|
|
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
|
|
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
|