bma-executor-sdk 1.3.0__tar.gz → 1.4.0__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.
Files changed (38) hide show
  1. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/PKG-INFO +1 -1
  2. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/pyproject.toml +1 -1
  3. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/generated.py +3 -2
  4. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/.gitignore +0 -0
  5. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/README.md +0 -0
  6. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/examples/agent_minimal.py +0 -0
  7. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/examples/executor_minimal.py +0 -0
  8. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/examples/harness_loopback.py +0 -0
  9. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/examples/session_context.py +0 -0
  10. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/__init__.py +0 -0
  11. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/_methods.py +0 -0
  12. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/_npipe.py +0 -0
  13. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/_rpc.py +0 -0
  14. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/agent.py +0 -0
  15. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/client.py +0 -0
  16. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/harness.py +0 -0
  17. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/methods.py +0 -0
  18. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/py.typed +0 -0
  19. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/session_context.py +0 -0
  20. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/tools.py +0 -0
  21. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/src/bma_executor_sdk/transport.py +0 -0
  22. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/executor_helpers.py +0 -0
  23. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_base_url.py +0 -0
  24. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_close_codes.py +0 -0
  25. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_example_session_context.py +0 -0
  26. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_executor_conformance.py +0 -0
  27. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_executor_contract.py +0 -0
  28. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_executor_interop.py +0 -0
  29. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_executor_runtime.py +0 -0
  30. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_executor_token_refresh.py +0 -0
  31. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_npipe.py +0 -0
  32. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_reconnect.py +0 -0
  33. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_registration_refused.py +0 -0
  34. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_review.py +0 -0
  35. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_rpc_unretrieved_future.py +0 -0
  36. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_session_context.py +0 -0
  37. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/test_typed_tools.py +0 -0
  38. {bma_executor_sdk-1.3.0 → bma_executor_sdk-1.4.0}/tests/typecheck/typed_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bma-executor-sdk
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: BMA executor protocol (bma.executor.v1.1): executor, harness and agent ends on asyncio with WebSocket, Unix socket and in-process transports.
5
5
  Project-URL: Repository, https://github.com/beeos-ai/bma-executor-sdk
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bma-executor-sdk"
3
- version = "1.3.0"
3
+ version = "1.4.0"
4
4
  description = "BMA executor protocol (bma.executor.v1.1): executor, harness and agent ends on asyncio with WebSocket, Unix socket and in-process transports."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -358,9 +358,10 @@ class FsCapability(TypedDict):
358
358
  """Session file views mounted by the executor as FUSE file systems backed by bma-file (docs/adr/0021). Declared only after the executor probed that it can mount. Absent or fuse=false: the session files stay on the copy-and-scan protocol (session_files). views lists the views the executor can mount; the harness only mounts those. Machine-scoped executors only."""
359
359
  fuse: bool
360
360
  views: NotRequired[list[str]]
361
+ skills_per_session: NotRequired[bool]
361
362
 
362
363
  class FsMount(TypedDict):
363
- """One view to mount. path is the absolute mount point on the executor host (derived from session_files by the harness). readonly is also fixed inside token; the executor mounts read-only when it is true. token is a capability token for this session and machine: keep it in memory only, never write it to disk, argv, environment or logs."""
364
+ """One view to mount. path is the absolute mount point on the executor host (derived from session_files by the harness; the skills view is at <root>/<agent_session_id>/skills for an executor that declared fs.skills_per_session and a root, otherwise /mnt/skills). Mount points of different sessions never overlap, and the executor mounts exactly the path it is given. readonly is also fixed inside token; the executor mounts read-only when it is true. token is a capability token for this session and machine: keep it in memory only, never write it to disk, argv, environment or logs."""
364
365
  view: str
365
366
  path: str
366
367
  readonly: bool
@@ -779,7 +780,7 @@ class SessionEventType(str, Enum):
779
780
  SessionError = "session.error"
780
781
 
781
782
  class SessionFilesCapability(TypedDict):
782
- """Executor-owned per-session file layout. The harness derives <root>/<agent_session_id>/uploads (read-only session inputs) and <root>/<agent_session_id>/outputs (deliverables) from it, with agent_session_id as sent in process.start metadata, and uses these real paths in prompts, tool descriptions, write rules and the session files manifest. Absent: the harness keeps /mnt/session/uploads and /mnt/session/outputs. Fixed at executor.register: executor.capabilities.update does not change it. Machine-scoped executors only."""
783
+ """Executor-owned per-session file layout. The harness derives <root>/<agent_session_id>/uploads (read-only session inputs) and <root>/<agent_session_id>/outputs (deliverables) from it, with agent_session_id as sent in process.start metadata, and uses these real paths in prompts, tool descriptions, write rules and the session files manifest. Absent: the harness keeps /mnt/session/uploads and /mnt/session/outputs. With the fs capability skills_per_session the same tree also holds <root>/<agent_session_id>/skills (the session's skills view, read-only). Fixed at executor.register: executor.capabilities.update does not change it. Machine-scoped executors only."""
783
784
  root: str
784
785
 
785
786
  class SessionMemoryResource(TypedDict):