bohr-agent-sdk 0.1.117__tar.gz → 0.1.118__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.
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/PKG-INFO +1 -1
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/setup.py +1 -1
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/PKG-INFO +1 -1
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/calculation_mcp_server.py +5 -7
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/README.md +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/pyproject.toml +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/setup.cfg +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/SOURCES.txt +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/dependency_links.txt +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/entry_points.txt +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/requires.txt +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/top_level.txt +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/client/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/client/calculation_mcp_tool.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/storage_artifact_service.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/utils.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/camel/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/camel/client/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/camel/client/calculation_mcp_client.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/cli.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/calculation/simple.py.template +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/device/tescan_device.py.template +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/main.py.template +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/config.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/constants.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/debug.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files_upload.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files_user.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/messages.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/projects.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/sessions.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/utils.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/websocket.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/config/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/config/agent_config.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/index.html +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/package.json +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/tsconfig.json +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/tsconfig.node.json +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/ui-static/assets/index-DdAmKhul.js +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/ui-static/assets/index-DfN2raU9.css +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/ui-static/index.html +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/vite.config.ts +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/scripts/build_ui.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/app.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/connection.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/file_watcher.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/middleware.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/models.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/session_manager.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/user_files.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/utils.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/test_download.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/ui_utils.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/websocket-server.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/client/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/client/mcp_client.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cloud/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cloud/main.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cloud/mcp.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cloud/mqtt.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/device/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/device/device/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/device/device/device.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/device/device/types.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/device/mqtt_device_twin.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/base_executor.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/dispatcher_executor.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/local_executor.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/preprocessor.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/__init__.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/base_storage.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/bohrium_storage.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/http_storage.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/local_storage.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/oss_storage.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/utils.py +0 -0
- {bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/tests/test_cli.py +0 -0
|
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
9
9
|
|
|
10
10
|
setup(
|
|
11
11
|
name="bohr-agent-sdk",
|
|
12
|
-
version="0.1.
|
|
12
|
+
version="0.1.118",
|
|
13
13
|
description="SDK for science agent and mcp tools",
|
|
14
14
|
long_description=long_description,
|
|
15
15
|
long_description_content_type="text/markdown",
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/calculation_mcp_server.py
RENAMED
|
@@ -383,17 +383,14 @@ class CalculationMCPServer:
|
|
|
383
383
|
**kwargs) -> SubmitResult:
|
|
384
384
|
trace_id = datetime.today().strftime('%Y-%m-%d-%H:%M:%S.%f')
|
|
385
385
|
logger.info("Job processing (Trace ID: %s)" % trace_id)
|
|
386
|
-
if
|
|
387
|
-
executor, storage, kwargs = preprocess_func(
|
|
388
|
-
executor, storage, kwargs)
|
|
389
|
-
executor_type, executor = init_executor(executor)
|
|
390
|
-
if create_workdir is False or (
|
|
391
|
-
create_workdir is None and inspect.iscoroutinefunction(fn)
|
|
392
|
-
and executor_type == "local"):
|
|
386
|
+
if create_workdir is False:
|
|
393
387
|
workdir = "."
|
|
394
388
|
else:
|
|
395
389
|
workdir = trace_id
|
|
396
390
|
with set_directory(workdir):
|
|
391
|
+
if preprocess_func is not None:
|
|
392
|
+
executor, storage, kwargs = preprocess_func(
|
|
393
|
+
executor, storage, kwargs)
|
|
397
394
|
job = {
|
|
398
395
|
"tool_name": fn.__name__,
|
|
399
396
|
"executor": executor,
|
|
@@ -403,6 +400,7 @@ class CalculationMCPServer:
|
|
|
403
400
|
json.dump(job, f, indent=4)
|
|
404
401
|
kwargs, input_artifacts = handle_input_artifacts(
|
|
405
402
|
fn, kwargs, storage)
|
|
403
|
+
executor_type, executor = init_executor(executor)
|
|
406
404
|
res = executor.submit(fn, kwargs)
|
|
407
405
|
exec_id = res["job_id"]
|
|
408
406
|
job_id = "%s/%s" % (workdir, exec_id)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/bohr_agent_sdk.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/adk/client/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/adapter/camel/client/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/main.py.template
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/__init__.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/config.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/constants.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/debug.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files_upload.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/files_user.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/messages.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/projects.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/sessions.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/utils.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/api/websocket.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/config/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/frontend/index.html
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
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/scripts/build_ui.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/__init__.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/app.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/connection.py
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/middleware.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/models.py
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/user_files.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/server/utils.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/test_download.py
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/cli/templates/ui/websocket-server.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
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/base_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/executor/local_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/base_storage.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/bohrium_storage.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/http_storage.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/local_storage.py
RENAMED
|
File without changes
|
{bohr_agent_sdk-0.1.117 → bohr_agent_sdk-0.1.118}/src/dp/agent/server/storage/oss_storage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|