fleet-python 0.2.110__tar.gz → 0.2.111__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.110/fleet_python.egg-info → fleet_python-0.2.111}/PKG-INFO +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/__init__.py +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/__init__.py +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/base.py +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/filesystem.py +8 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/base.py +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/filesystem.py +8 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/pyproject.toml +1 -1
- {fleet_python-0.2.110 → fleet_python-0.2.111}/LICENSE +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/README.md +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/diff_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_account.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_sync.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_task.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/export_tasks_filtered.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/openai_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/quickstart.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/api.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/Dockerfile +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/agent.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/mcp/main.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/mcp_server/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/mcp_server/main.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/mcp_server/tools.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/requirements.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/gemini_cua/start.sh +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/orchestrator.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/types.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/agent/utils.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/cli.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/config.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/env/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/eval/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/eval/uploader.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/global_client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/models.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/proxy/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/proxy/proxy.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/proxy/whitelist.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/api.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/tasks.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/types.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/utils/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/utils/http_logging.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/utils/logging.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/utils/playwright.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet_python.egg-info/entry_points.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/scripts/unasync.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/setup.cfg +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/__init__.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_expect_exactly.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.110 → fleet_python-0.2.111}/tests/test_verifier_from_string.py +0 -0
|
@@ -301,6 +301,14 @@ class AsyncFilesystemResource(Resource):
|
|
|
301
301
|
response = await self.client.request(
|
|
302
302
|
"POST", "/fs/file", json=request.model_dump()
|
|
303
303
|
)
|
|
304
|
+
if response.status_code == 404:
|
|
305
|
+
return FileStateResponse(
|
|
306
|
+
success=True, path=path, exists=False,
|
|
307
|
+
message=response.json().get("detail", "File not found"),
|
|
308
|
+
)
|
|
309
|
+
if response.status_code >= 400:
|
|
310
|
+
detail = response.json().get("detail", response.text)
|
|
311
|
+
raise RuntimeError(f"Failed to get file state for '{path}': {detail}")
|
|
304
312
|
return FileStateResponse(**response.json())
|
|
305
313
|
|
|
306
314
|
async def file_text(self, path: str, max_content_size: int = 102400) -> str:
|
|
@@ -301,6 +301,14 @@ class FilesystemResource(Resource):
|
|
|
301
301
|
response = self.client.request(
|
|
302
302
|
"POST", "/fs/file", json=request.model_dump()
|
|
303
303
|
)
|
|
304
|
+
if response.status_code == 404:
|
|
305
|
+
return FileStateResponse(
|
|
306
|
+
success=True, path=path, exists=False,
|
|
307
|
+
message=response.json().get("detail", "File not found"),
|
|
308
|
+
)
|
|
309
|
+
if response.status_code >= 400:
|
|
310
|
+
detail = response.json().get("detail", response.text)
|
|
311
|
+
raise RuntimeError(f"Failed to get file state for '{path}': {detail}")
|
|
304
312
|
return FileStateResponse(**response.json())
|
|
305
313
|
|
|
306
314
|
def file_text(self, path: str, max_content_size: int = 102400) -> str:
|
|
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
|
|
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
|