opensquad 0.1.0__py3-none-any.whl

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 (47) hide show
  1. opensquad/__init__.py +32 -0
  2. opensquad/bridge.py +673 -0
  3. opensquad/chat_api.py +611 -0
  4. opensquad/claude_api.py +555 -0
  5. opensquad/context_base.py +278 -0
  6. opensquad/core/__init__.py +0 -0
  7. opensquad/core/experience.py +82 -0
  8. opensquad/events.py +71 -0
  9. opensquad/gateway_adapter.py +212 -0
  10. opensquad/input_hub.py +328 -0
  11. opensquad/log_setup.py +186 -0
  12. opensquad/memory_manager.py +419 -0
  13. opensquad/message_queue.py +177 -0
  14. opensquad/message_router.py +240 -0
  15. opensquad/parser.py +54 -0
  16. opensquad/plugin_api.py +725 -0
  17. opensquad/registry.py +149 -0
  18. opensquad/runner.py +1665 -0
  19. opensquad/sdk.py +196 -0
  20. opensquad/session_manager.py +464 -0
  21. opensquad/sessions/__init__.py +0 -0
  22. opensquad/skill_loader.py +565 -0
  23. opensquad/sleep_controller.py +165 -0
  24. opensquad/state_manager.py +186 -0
  25. opensquad/task.py +16 -0
  26. opensquad/task_logger.py +224 -0
  27. opensquad/tool.py +13 -0
  28. opensquad/tools/__init__.py +24 -0
  29. opensquad/tools/agent_setup.py +194 -0
  30. opensquad/tools/api_process.py +203 -0
  31. opensquad/tools/collaboration.py +373 -0
  32. opensquad/tools/filesystem.py +437 -0
  33. opensquad/tools/im.py +233 -0
  34. opensquad/tools/long_memory.py +145 -0
  35. opensquad/tools/mcp_adapter.py +677 -0
  36. opensquad/tools/memory.py +36 -0
  37. opensquad/tools/system.py +307 -0
  38. opensquad/tools/tool.py +13 -0
  39. opensquad/utils/__init__.py +16 -0
  40. opensquad/utils/archive_util.py +100 -0
  41. opensquad/utils/media_util.py +44 -0
  42. opensquad/xml_parser.py +248 -0
  43. opensquad-0.1.0.dist-info/METADATA +82 -0
  44. opensquad-0.1.0.dist-info/RECORD +47 -0
  45. opensquad-0.1.0.dist-info/WHEEL +5 -0
  46. opensquad-0.1.0.dist-info/licenses/LICENSE +177 -0
  47. opensquad-0.1.0.dist-info/top_level.txt +1 -0
opensquad/__init__.py ADDED
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ OpenSquad - Local-first Multi-Agent Collaboration Framework
4
+
5
+ https://github.com/opensquad/opensquad
6
+ """
7
+
8
+ __version__ = "0.1.0"
9
+ __author__ = "OpenSquad Contributors"
10
+
11
+ # Shared runtime context dict — updated by Runner each turn.
12
+ _runtime_ctx: dict = {}
13
+
14
+ try:
15
+ from .runner import AgentRunner
16
+ from .registry import ToolRegistry
17
+ from .events import bus
18
+ from .tools import system, filesystem, api_process, memory
19
+
20
+ __all__ = [
21
+ "__version__",
22
+ "AgentRunner",
23
+ "ToolRegistry",
24
+ "bus",
25
+ "system",
26
+ "filesystem",
27
+ "api_process",
28
+ "memory",
29
+ "_runtime_ctx",
30
+ ]
31
+ except ImportError:
32
+ __all__ = ["__version__", "__author__", "_runtime_ctx"]