meshagent-computers 0.40.2__tar.gz → 0.41.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 (30) hide show
  1. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/CHANGELOG.md +16 -0
  2. {meshagent_computers-0.40.2/meshagent_computers.egg-info → meshagent_computers-0.41.0}/PKG-INFO +4 -4
  3. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/agent.py +15 -5
  4. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/computer.py +0 -6
  5. meshagent_computers-0.41.0/meshagent/computers/version.py +1 -0
  6. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0/meshagent_computers.egg-info}/PKG-INFO +4 -4
  7. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent_computers.egg-info/requires.txt +3 -3
  8. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/pyproject.toml +3 -3
  9. meshagent_computers-0.40.2/meshagent/computers/version.py +0 -1
  10. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/LICENSE +0 -0
  11. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/MANIFEST.in +0 -0
  12. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/README.md +0 -0
  13. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/__init__.py +0 -0
  14. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/agent_test.py +0 -0
  15. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/base_playwright.py +0 -0
  16. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/browserbase.py +0 -0
  17. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/container_playwright.py +0 -0
  18. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/container_playwright_test.py +0 -0
  19. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/docker.py +0 -0
  20. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/local_playwright.py +0 -0
  21. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/operator.py +0 -0
  22. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/operator_test.py +0 -0
  23. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/stagehand.py +0 -0
  24. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/stagehand_test.py +0 -0
  25. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/utils.py +0 -0
  26. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent/computers/utils_test.py +0 -0
  27. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent_computers.egg-info/SOURCES.txt +0 -0
  28. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent_computers.egg-info/dependency_links.txt +0 -0
  29. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/meshagent_computers.egg-info/top_level.txt +0 -0
  30. {meshagent_computers-0.40.2 → meshagent_computers-0.41.0}/setup.cfg +0 -0
@@ -1,3 +1,19 @@
1
+ ## [0.41.0]
2
+ - Managed-agent support now includes thread listing, thread create/update/delete events, attachment names, and sender-name trust for chat input.
3
+ - Websocket process support now uses `/messages`, adds `jwt`/`iap`/`none` auth modes, and supports websocket-based `process use` sessions.
4
+ - Route handling now uses the spec-based route model and supports room or agent backends.
5
+ - The CLI gained new agent/process/route flows, removed the `codex` command, and added `ascii-magic~=2.3`, `pillow~=11.3.0`, and `msgpack~=1.1`.
6
+ - Managed-agent storage and shell toolkits were removed from the public managed-agent surface.
7
+ - OpenAI, Anthropic, browser, computer, and toolkit helpers were updated to work with the new managed-agent and client-toolkit plumbing.
8
+ - Fixed thread storage, chat replay, and process shutdown races.
9
+
10
+ ## [0.40.3]
11
+ - Added managed-agent spec and API models covering allowed models, toolkits, secrets, MCP servers, thread isolation, agent/room grants, and agent session listing.
12
+ - Route APIs now use `RouteSpec` with room or agent backends and preserve compatibility with legacy route payloads.
13
+ - Chat and channel code now supports websocket transport, participant connect/disconnect events, sender-name propagation, and attachment-aware thread start/load flows.
14
+ - Added a new `create` scaffolder with Dart, .NET, JavaScript, Python, React, and TypeScript templates, replacing the old `init`/Codex entrypoints.
15
+ - Added CLI dependencies on `ascii-magic~=2.3` and `pillow~=11.3.0`.
16
+
1
17
  ## [0.40.2]
2
18
  - Stability
3
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-computers
3
- Version: 0.40.2
3
+ Version: 0.41.0
4
4
  Summary: Computer Building Blocks for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -12,9 +12,9 @@ License-File: LICENSE
12
12
  Requires-Dist: pytest~=8.4
13
13
  Requires-Dist: pytest-asyncio~=0.26
14
14
  Requires-Dist: openai~=2.25.0
15
- Requires-Dist: meshagent-api==0.40.2
16
- Requires-Dist: meshagent-agents==0.40.2
17
- Requires-Dist: meshagent-tools==0.40.2
15
+ Requires-Dist: meshagent-api==0.41.0
16
+ Requires-Dist: meshagent-agents==0.41.0
17
+ Requires-Dist: meshagent-tools==0.41.0
18
18
  Requires-Dist: playwright~=1.58.0
19
19
  Requires-Dist: stagehand~=3.6.0
20
20
  Requires-Dist: browserbase~=1.2
@@ -5,7 +5,13 @@ import logging
5
5
  from collections.abc import Sequence
6
6
  from typing import Any, Awaitable, Callable, Optional
7
7
 
8
- from meshagent.tools import FunctionTool, LocalRoomTool, Toolkit, ToolContext
8
+ from meshagent.tools import (
9
+ FunctionTool,
10
+ LocalRoomTool,
11
+ RoomToolContext,
12
+ Toolkit,
13
+ ToolContext,
14
+ )
9
15
  from meshagent.openai.tools.responses_adapter import OpenAIResponsesTool
10
16
  from meshagent.api import RoomClient
11
17
 
@@ -40,7 +46,6 @@ class ComputerTool(OpenAIResponsesTool):
40
46
  title="computer_call",
41
47
  description="handle computer tool calls",
42
48
  rules=[],
43
- thumbnail_url=None,
44
49
  render_screen: Optional[Callable[[bytes], Awaitable[None] | None]] = None,
45
50
  toolkit: "ComputerToolkit",
46
51
  ):
@@ -50,7 +55,6 @@ class ComputerTool(OpenAIResponsesTool):
50
55
  title=title,
51
56
  description=description,
52
57
  rules=rules,
53
- thumbnail_url=thumbnail_url,
54
58
  )
55
59
  self.operator = operator
56
60
  self.computer = computer
@@ -313,11 +317,17 @@ class ComputerToolkit(Toolkit):
313
317
  }
314
318
 
315
319
  def make_computer_context(self, *, tool_context: ToolContext) -> ComputerContext:
320
+ room = (
321
+ tool_context.room
322
+ if isinstance(tool_context, RoomToolContext)
323
+ else self.room
324
+ )
325
+ if room is None:
326
+ raise RuntimeError("ComputerToolkit requires a room-backed tool context")
316
327
  return ComputerContext(
317
- room=self.room,
328
+ room=room,
318
329
  caller=tool_context.caller,
319
330
  on_behalf_of=tool_context.on_behalf_of,
320
- caller_context=tool_context.caller_context,
321
331
  event_handler=tool_context.emit,
322
332
  startup_event_factory=lambda state, details: self.make_startup_event(
323
333
  state=state,
@@ -20,7 +20,6 @@ class ComputerContext:
20
20
  room: RoomClient,
21
21
  caller: Participant,
22
22
  on_behalf_of: Optional[Participant] = None,
23
- caller_context: Optional[Dict[str, Any]] = None,
24
23
  event_handler: Optional[Callable[[dict[str, Any]], None]] = None,
25
24
  startup_event_factory: Optional[
26
25
  Callable[
@@ -32,7 +31,6 @@ class ComputerContext:
32
31
  self._room = room
33
32
  self._caller = caller
34
33
  self._on_behalf_of = on_behalf_of
35
- self._caller_context = caller_context
36
34
  self._event_handler = event_handler
37
35
  self._startup_event_factory = startup_event_factory
38
36
  self._last_startup_signature: (
@@ -53,10 +51,6 @@ class ComputerContext:
53
51
  def on_behalf_of(self) -> Optional[Participant]:
54
52
  return self._on_behalf_of
55
53
 
56
- @property
57
- def caller_context(self) -> Optional[Dict[str, Any]]:
58
- return self._caller_context
59
-
60
54
  @property
61
55
  def last_startup_state(self) -> ComputerStartupState | None:
62
56
  return self._last_startup_state
@@ -0,0 +1 @@
1
+ __version__ = "0.41.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-computers
3
- Version: 0.40.2
3
+ Version: 0.41.0
4
4
  Summary: Computer Building Blocks for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -12,9 +12,9 @@ License-File: LICENSE
12
12
  Requires-Dist: pytest~=8.4
13
13
  Requires-Dist: pytest-asyncio~=0.26
14
14
  Requires-Dist: openai~=2.25.0
15
- Requires-Dist: meshagent-api==0.40.2
16
- Requires-Dist: meshagent-agents==0.40.2
17
- Requires-Dist: meshagent-tools==0.40.2
15
+ Requires-Dist: meshagent-api==0.41.0
16
+ Requires-Dist: meshagent-agents==0.41.0
17
+ Requires-Dist: meshagent-tools==0.41.0
18
18
  Requires-Dist: playwright~=1.58.0
19
19
  Requires-Dist: stagehand~=3.6.0
20
20
  Requires-Dist: browserbase~=1.2
@@ -1,9 +1,9 @@
1
1
  pytest~=8.4
2
2
  pytest-asyncio~=0.26
3
3
  openai~=2.25.0
4
- meshagent-api==0.40.2
5
- meshagent-agents==0.40.2
6
- meshagent-tools==0.40.2
4
+ meshagent-api==0.41.0
5
+ meshagent-agents==0.41.0
6
+ meshagent-tools==0.41.0
7
7
  playwright~=1.58.0
8
8
  stagehand~=3.6.0
9
9
  browserbase~=1.2
@@ -15,9 +15,9 @@ dependencies = [
15
15
  "pytest~=8.4",
16
16
  "pytest-asyncio~=0.26",
17
17
  "openai~=2.25.0",
18
- "meshagent-api==0.40.2",
19
- "meshagent-agents==0.40.2",
20
- "meshagent-tools==0.40.2",
18
+ "meshagent-api==0.41.0",
19
+ "meshagent-agents==0.41.0",
20
+ "meshagent-tools==0.41.0",
21
21
  "playwright~=1.58.0",
22
22
  "stagehand~=3.6.0",
23
23
  "browserbase~=1.2",
@@ -1 +0,0 @@
1
- __version__ = "0.40.2"