meshagent-agents 0.0.20__tar.gz → 0.0.21__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.

Potentially problematic release.


This version of meshagent-agents might be problematic. Click here for more details.

Files changed (40) hide show
  1. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/CHANGELOG.md +3 -0
  2. meshagent_agents-0.0.21/PKG-INFO +31 -0
  3. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/chat.py +6 -2
  4. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/indexer.py +1 -1
  5. meshagent_agents-0.0.21/meshagent/agents/version.py +1 -0
  6. meshagent_agents-0.0.21/meshagent_agents.egg-info/PKG-INFO +31 -0
  7. meshagent_agents-0.0.21/meshagent_agents.egg-info/requires.txt +22 -0
  8. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/pyproject.toml +21 -6
  9. meshagent_agents-0.0.20/PKG-INFO +0 -23
  10. meshagent_agents-0.0.20/meshagent/agents/version.py +0 -1
  11. meshagent_agents-0.0.20/meshagent_agents.egg-info/PKG-INFO +0 -23
  12. meshagent_agents-0.0.20/meshagent_agents.egg-info/requires.txt +0 -11
  13. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/LICENSE +0 -0
  14. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/MANIFEST.in +0 -0
  15. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/README.md +0 -0
  16. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/__init__.py +0 -0
  17. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/adapter.py +0 -0
  18. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/agent.py +0 -0
  19. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/context.py +0 -0
  20. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/development.py +0 -0
  21. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/hosting.py +0 -0
  22. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/listener.py +0 -0
  23. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/planning.py +0 -0
  24. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/prompt.py +0 -0
  25. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/pydantic.py +0 -0
  26. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/__init__.py +0 -0
  27. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/document.py +0 -0
  28. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/gallery.py +0 -0
  29. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/presentation.py +0 -0
  30. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/schema.py +0 -0
  31. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/schemas/super_editor_document.py +0 -0
  32. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/single_shot_writer.py +0 -0
  33. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/thread_schema.py +0 -0
  34. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/utils.py +0 -0
  35. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/worker.py +0 -0
  36. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent/agents/writer.py +0 -0
  37. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent_agents.egg-info/SOURCES.txt +0 -0
  38. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent_agents.egg-info/dependency_links.txt +0 -0
  39. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/meshagent_agents.egg-info/top_level.txt +0 -0
  40. {meshagent_agents-0.0.20 → meshagent_agents-0.0.21}/setup.cfg +0 -0
@@ -1,3 +1,6 @@
1
+ ## [0.0.21]
2
+ - Stability
3
+
1
4
  ## [0.0.20]
2
5
  - Stability
3
6
 
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: meshagent-agents
3
+ Version: 0.0.21
4
+ Summary: Agent Building Blocks for Meshagent
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Documentation, https://meshagent.com
7
+ Project-URL: Website, https://meshagent.com
8
+ Project-URL: Source, https://github.com/meshagent
9
+ Requires-Python: >=3.9.0
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: pyjwt~=2.10.1
13
+ Requires-Dist: pytest~=8.3.5
14
+ Requires-Dist: pytest-asyncio~=0.26.0
15
+ Requires-Dist: meshagent-api~=0.0.21
16
+ Requires-Dist: meshagent-tools~=0.0.21
17
+ Requires-Dist: meshagent-openai~=0.0.21
18
+ Requires-Dist: pydantic~=2.11.1
19
+ Requires-Dist: pydantic-ai~=0.0.48
20
+ Provides-Extra: all
21
+ Requires-Dist: meshagent-api[all]~=0.0.21; extra == "all"
22
+ Requires-Dist: chonkie~=0.5.1; extra == "all"
23
+ Requires-Dist: chonkie[semantic]~=0.5.1; extra == "all"
24
+ Requires-Dist: chonkie[openai]~=0.5.1; extra == "all"
25
+ Provides-Extra: sync
26
+ Requires-Dist: meshagent-api[sync]~=0.0.21; extra == "sync"
27
+ Provides-Extra: rag
28
+ Requires-Dist: chonkie~=0.5.1; extra == "rag"
29
+ Requires-Dist: chonkie[semantic]~=0.5.1; extra == "rag"
30
+ Requires-Dist: chonkie[openai]~=0.5.1; extra == "rag"
31
+ Dynamic: license-file
@@ -269,6 +269,10 @@ class ChatBot(SingleRoomAgent):
269
269
  chat_context.append_assistant_message(msg)
270
270
  else:
271
271
  chat_context.append_user_message(msg)
272
+
273
+ for child in element.get_children():
274
+ if child.tag_name == "file":
275
+ chat_context.append_assistant_message(f"the user attached a file with the path '{child.get_attribute("path")}'")
272
276
 
273
277
  if doc_messages == None:
274
278
  raise Exception("thread was not properly initialized")
@@ -306,7 +310,7 @@ class ChatBot(SingleRoomAgent):
306
310
 
307
311
  for attachment in attachments:
308
312
 
309
- chat_context.append_assistant_message(message=f"the user attached a file '{attachment["filename"]}' with the content: '{attachment["content"]}'")
313
+ chat_context.append_assistant_message(message=f"the user attached a file at the path '{attachment["path"]}'")
310
314
 
311
315
 
312
316
  chat_context.append_user_message(message=text)
@@ -334,7 +338,7 @@ class ChatBot(SingleRoomAgent):
334
338
  chat=chat_context,
335
339
  thread=thread,
336
340
  participants=get_thread_participants(room=self.room, thread=thread)
337
- )
341
+ )
338
342
 
339
343
  def handle_event(evt):
340
344
  llm_messages.send_nowait(evt)
@@ -584,4 +584,4 @@ class SiteIndexer(TaskRunner):
584
584
 
585
585
  await context.room.database.create_full_text_search_index(table=table, column="text")
586
586
 
587
- return {}
587
+ return {}
@@ -0,0 +1 @@
1
+ __version__ = "0.0.21"
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: meshagent-agents
3
+ Version: 0.0.21
4
+ Summary: Agent Building Blocks for Meshagent
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Documentation, https://meshagent.com
7
+ Project-URL: Website, https://meshagent.com
8
+ Project-URL: Source, https://github.com/meshagent
9
+ Requires-Python: >=3.9.0
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: pyjwt~=2.10.1
13
+ Requires-Dist: pytest~=8.3.5
14
+ Requires-Dist: pytest-asyncio~=0.26.0
15
+ Requires-Dist: meshagent-api~=0.0.21
16
+ Requires-Dist: meshagent-tools~=0.0.21
17
+ Requires-Dist: meshagent-openai~=0.0.21
18
+ Requires-Dist: pydantic~=2.11.1
19
+ Requires-Dist: pydantic-ai~=0.0.48
20
+ Provides-Extra: all
21
+ Requires-Dist: meshagent-api[all]~=0.0.21; extra == "all"
22
+ Requires-Dist: chonkie~=0.5.1; extra == "all"
23
+ Requires-Dist: chonkie[semantic]~=0.5.1; extra == "all"
24
+ Requires-Dist: chonkie[openai]~=0.5.1; extra == "all"
25
+ Provides-Extra: sync
26
+ Requires-Dist: meshagent-api[sync]~=0.0.21; extra == "sync"
27
+ Provides-Extra: rag
28
+ Requires-Dist: chonkie~=0.5.1; extra == "rag"
29
+ Requires-Dist: chonkie[semantic]~=0.5.1; extra == "rag"
30
+ Requires-Dist: chonkie[openai]~=0.5.1; extra == "rag"
31
+ Dynamic: license-file
@@ -0,0 +1,22 @@
1
+ pyjwt~=2.10.1
2
+ pytest~=8.3.5
3
+ pytest-asyncio~=0.26.0
4
+ meshagent-api~=0.0.21
5
+ meshagent-tools~=0.0.21
6
+ meshagent-openai~=0.0.21
7
+ pydantic~=2.11.1
8
+ pydantic-ai~=0.0.48
9
+
10
+ [all]
11
+ meshagent-api[all]~=0.0.21
12
+ chonkie~=0.5.1
13
+ chonkie[semantic]~=0.5.1
14
+ chonkie[openai]~=0.5.1
15
+
16
+ [rag]
17
+ chonkie~=0.5.1
18
+ chonkie[semantic]~=0.5.1
19
+ chonkie[openai]~=0.5.1
20
+
21
+ [sync]
22
+ meshagent-api[sync]~=0.0.21
@@ -17,14 +17,29 @@ dependencies = [
17
17
  "pyjwt~=2.10.1",
18
18
  "pytest~=8.3.5",
19
19
  "pytest-asyncio~=0.26.0",
20
- "meshagent-api~=0.0.20",
21
- "meshagent-tools~=0.0.20",
22
- "meshagent-openai~=0.0.20",
20
+ "meshagent-api~=0.0.21",
21
+ "meshagent-tools~=0.0.21",
22
+ "meshagent-openai~=0.0.21",
23
23
  "pydantic~=2.11.1",
24
24
  "pydantic-ai~=0.0.48",
25
- "chonkie~=0.5.1",
26
- "chonkie[semantic]~=0.5.1",
27
- "chonkie[openai]~=0.5.1"
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ all = [
29
+ "meshagent-api[all]~=0.0.21",
30
+ "chonkie~=0.5.1",
31
+ "chonkie[semantic]~=0.5.1",
32
+ "chonkie[openai]~=0.5.1"
33
+ ]
34
+
35
+ sync = [
36
+ "meshagent-api[sync]~=0.0.21",
37
+ ]
38
+
39
+ rag = [
40
+ "chonkie~=0.5.1",
41
+ "chonkie[semantic]~=0.5.1",
42
+ "chonkie[openai]~=0.5.1"
28
43
  ]
29
44
 
30
45
  [project.urls]
@@ -1,23 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: meshagent-agents
3
- Version: 0.0.20
4
- Summary: Agent Building Blocks for Meshagent
5
- License-Expression: Apache-2.0
6
- Project-URL: Documentation, https://meshagent.com
7
- Project-URL: Website, https://meshagent.com
8
- Project-URL: Source, https://github.com/meshagent
9
- Requires-Python: >=3.9.0
10
- Description-Content-Type: text/markdown
11
- License-File: LICENSE
12
- Requires-Dist: pyjwt~=2.10.1
13
- Requires-Dist: pytest~=8.3.5
14
- Requires-Dist: pytest-asyncio~=0.26.0
15
- Requires-Dist: meshagent-api~=0.0.20
16
- Requires-Dist: meshagent-tools~=0.0.20
17
- Requires-Dist: meshagent-openai~=0.0.20
18
- Requires-Dist: pydantic~=2.11.1
19
- Requires-Dist: pydantic-ai~=0.0.48
20
- Requires-Dist: chonkie~=0.5.1
21
- Requires-Dist: chonkie[semantic]~=0.5.1
22
- Requires-Dist: chonkie[openai]~=0.5.1
23
- Dynamic: license-file
@@ -1 +0,0 @@
1
- __version__ = "0.0.20"
@@ -1,23 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: meshagent-agents
3
- Version: 0.0.20
4
- Summary: Agent Building Blocks for Meshagent
5
- License-Expression: Apache-2.0
6
- Project-URL: Documentation, https://meshagent.com
7
- Project-URL: Website, https://meshagent.com
8
- Project-URL: Source, https://github.com/meshagent
9
- Requires-Python: >=3.9.0
10
- Description-Content-Type: text/markdown
11
- License-File: LICENSE
12
- Requires-Dist: pyjwt~=2.10.1
13
- Requires-Dist: pytest~=8.3.5
14
- Requires-Dist: pytest-asyncio~=0.26.0
15
- Requires-Dist: meshagent-api~=0.0.20
16
- Requires-Dist: meshagent-tools~=0.0.20
17
- Requires-Dist: meshagent-openai~=0.0.20
18
- Requires-Dist: pydantic~=2.11.1
19
- Requires-Dist: pydantic-ai~=0.0.48
20
- Requires-Dist: chonkie~=0.5.1
21
- Requires-Dist: chonkie[semantic]~=0.5.1
22
- Requires-Dist: chonkie[openai]~=0.5.1
23
- Dynamic: license-file
@@ -1,11 +0,0 @@
1
- pyjwt~=2.10.1
2
- pytest~=8.3.5
3
- pytest-asyncio~=0.26.0
4
- meshagent-api~=0.0.20
5
- meshagent-tools~=0.0.20
6
- meshagent-openai~=0.0.20
7
- pydantic~=2.11.1
8
- pydantic-ai~=0.0.48
9
- chonkie~=0.5.1
10
- chonkie[semantic]~=0.5.1
11
- chonkie[openai]~=0.5.1