weft-docker 0.9.76__tar.gz → 0.9.78__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.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: weft-docker
3
- Version: 0.9.76
3
+ Version: 0.9.78
4
4
  Summary: Docker runner plugin for Weft
5
5
  Author-email: Van Lindberg <van@modelmonster.ai>
6
6
  License: MIT
7
7
  Requires-Python: >=3.12
8
8
  Requires-Dist: docker<8,>=7.1.0
9
- Requires-Dist: weft>=0.9.101
9
+ Requires-Dist: weft>=0.9.103
10
10
  Provides-Extra: dev
11
11
  Requires-Dist: pytest>=7.0; extra == 'dev'
12
12
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "weft-docker"
7
- version = "0.9.76"
7
+ version = "0.9.78"
8
8
  description = "Docker runner plugin for Weft"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -14,7 +14,7 @@ authors = [
14
14
  ]
15
15
  dependencies = [
16
16
  "docker>=7.1.0,<8",
17
- "weft>=0.9.101",
17
+ "weft>=0.9.103",
18
18
  ]
19
19
 
20
20
  [project.optional-dependencies]
@@ -370,7 +370,10 @@ class DockerProviderCLIRunner:
370
370
  except Exception: # pragma: no cover - best effort cleanup # noqa: BLE001 approved [TS-3.1] [RUFF-SUP-281] exception
371
371
  logger.warning("Docker agent container cleanup failed")
372
372
 
373
- def start_session(self) -> CommandSessionProtocol:
373
+ def start_session(
374
+ self, *, on_activity: Callable[[], None]
375
+ ) -> CommandSessionProtocol:
376
+ del on_activity
374
377
  raise ValueError("Docker runner does not support interactive sessions")
375
378
 
376
379
  def start_agent_session(self) -> AgentSessionProtocol:
@@ -310,7 +310,10 @@ class DockerCommandRunner:
310
310
  _cleanup_process(process)
311
311
  _remove_container(client, container_name)
312
312
 
313
- def start_session(self) -> CommandSessionProtocol:
313
+ def start_session(
314
+ self, *, on_activity: Callable[[], None]
315
+ ) -> CommandSessionProtocol:
316
+ del on_activity
314
317
  raise ValueError("Docker runner does not support interactive sessions")
315
318
 
316
319
  def start_agent_session(self) -> AgentSessionProtocol:
File without changes
File without changes