open-swarm 0.1.1744949106__py3-none-any.whl → 0.1.1744967296__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.
- {open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/METADATA +1 -1
- {open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/RECORD +12 -12
- swarm/blueprints/chatbot/blueprint_chatbot.py +1 -1
- swarm/blueprints/echocraft/blueprint_echocraft.py +4 -0
- swarm/blueprints/mcp_demo/blueprint_mcp_demo.py +4 -1
- swarm/blueprints/omniplex/blueprint_omniplex.py +1 -0
- swarm/blueprints/rue_code/blueprint_rue_code.py +4 -0
- swarm/blueprints/suggestion/blueprint_suggestion.py +2 -0
- swarm/core/build_launchers.py +4 -3
- {open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/WHEEL +0 -0
- {open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/entry_points.txt +0 -0
- {open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: open-swarm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1744967296
|
4
4
|
Summary: Open Swarm: Orchestrating AI Agent Swarms with Django
|
5
5
|
Project-URL: Homepage, https://github.com/yourusername/open-swarm
|
6
6
|
Project-URL: Documentation, https://github.com/yourusername/open-swarm/blob/main/README.md
|
@@ -14,7 +14,7 @@ swarm/util.py,sha256=G4x2hXopHhB7IdGCkUXGoykYWyiICnjxg7wcr-WqL8I,4644
|
|
14
14
|
swarm/wsgi.py,sha256=REM_u4HpMCkO0ddrOUXgtY-ITL-VTbRB1-WHvFJAtAU,408
|
15
15
|
swarm/agent/__init__.py,sha256=YESGu_UXEBxrlQwghodUMN0vmXZDwWMU7DclCUvoklA,104
|
16
16
|
swarm/blueprints/README.md,sha256=tsngbSB9N0tILcz_m1OGAjyKZQYlGTN-i5e5asq1GbE,8478
|
17
|
-
swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=
|
17
|
+
swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=tWcR3Phni-R-S-jkPjRX5fTv_sPwjycxtORypOAXSKA,7977
|
18
18
|
swarm/blueprints/chatbot/templates/chatbot/chatbot.html,sha256=REFnqNg0EHsXxAUfaCJe1YgOKiV_umBXuC6y8veF5CU,1568
|
19
19
|
swarm/blueprints/codey/blueprint_codey.py,sha256=dmKb2mHOeCNlnKrmmkqy9oh_3fJ1-QTg9gjql7RINb4,8850
|
20
20
|
swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py,sha256=ShEeg7l_R0U6eFY2ty7ooJTO95OKGRcfiX997c8CtWU,11285
|
@@ -26,7 +26,7 @@ swarm/blueprints/django_chat/blueprint_django_chat.py,sha256=a8oiGTC7j7KfZiSlEvP
|
|
26
26
|
swarm/blueprints/django_chat/urls.py,sha256=TTTF3pgymvCYbuxpwi4WRBPv8ftQNH4pEoURT8sEVAg,147
|
27
27
|
swarm/blueprints/django_chat/views.py,sha256=MUKjXXjXsq8jMZtAb4RR9g2mEYrwFemN6Bqxpeyi7p4,1299
|
28
28
|
swarm/blueprints/django_chat/templates/django_chat/django_chat_webpage.html,sha256=wAEOI4Wg0JJ8drXaOcr2Pel6lW3JSHmyIpbocLS5tI8,1649
|
29
|
-
swarm/blueprints/echocraft/blueprint_echocraft.py,sha256=
|
29
|
+
swarm/blueprints/echocraft/blueprint_echocraft.py,sha256=kVbe1EkwYPEuLpOe6Tn9B98hWFmUHsEPt5CWyui43nk,3286
|
30
30
|
swarm/blueprints/family_ties/apps.py,sha256=EjV7AxDNsLM4gsLr_qMEiLAVbERuo1ZsdU9vPtOEYAY,287
|
31
31
|
swarm/blueprints/family_ties/blueprint_family_ties.py,sha256=ZSGzqZdlNt03ubEQKkuB84uCJm56N_i4LRyefx4xLug,9446
|
32
32
|
swarm/blueprints/family_ties/models.py,sha256=C3_okdVVYuu9xOpoKRsaLoGrM2775cS_cU4UKYAkJ9s,903
|
@@ -36,15 +36,15 @@ swarm/blueprints/family_ties/urls.py,sha256=awRZHb1gb1p3I6YZzfKMGSydd6kYPTLgax2j
|
|
36
36
|
swarm/blueprints/family_ties/views.py,sha256=FbPkDNlFEixtRFbSpkr51IyJ28FRkXa1W5xyO_KeXH0,1081
|
37
37
|
swarm/blueprints/flock/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
swarm/blueprints/gaggle/blueprint_gaggle.py,sha256=rP8uiSz3GLGEjYxXYlo_RCsus7HKBfYkexXoHBCsl7k,14928
|
39
|
-
swarm/blueprints/mcp_demo/blueprint_mcp_demo.py,sha256=
|
39
|
+
swarm/blueprints/mcp_demo/blueprint_mcp_demo.py,sha256=HTLroDC4gnX-cwF7nAF7r3gwMk9JYACJzWjwkuKvis0,8698
|
40
40
|
swarm/blueprints/messenger/templates/messenger/messenger.html,sha256=izuFtFn40Gm7M4gSUAUT5CIezjBjmNv2w4_fwSlv7VA,2323
|
41
41
|
swarm/blueprints/mission_improbable/blueprint_mission_improbable.py,sha256=JseHJ7CXTvNqWfuN38JTXDsaf2VrMX7J1llXXroZMZg,12737
|
42
42
|
swarm/blueprints/monkai_magic/blueprint_monkai_magic.py,sha256=2Ay_IO2NgQEdVqwyw_kkyK6bzGl9XXlpcktmpv1RD4M,14219
|
43
43
|
swarm/blueprints/nebula_shellz/blueprint_nebula_shellz.py,sha256=gKe26daAUm7sDcALD_31RRe8jXSCSvL0jywkS4IboD8,11755
|
44
|
-
swarm/blueprints/omniplex/blueprint_omniplex.py,sha256=
|
44
|
+
swarm/blueprints/omniplex/blueprint_omniplex.py,sha256=NwsuwP1aVzdAV_RylCflkVT90RGjU__6LB4Sgu2QXEU,13390
|
45
45
|
swarm/blueprints/rue_code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
|
-
swarm/blueprints/rue_code/blueprint_rue_code.py,sha256=
|
47
|
-
swarm/blueprints/suggestion/blueprint_suggestion.py,sha256=
|
46
|
+
swarm/blueprints/rue_code/blueprint_rue_code.py,sha256=al_WJ1JiujafY0Iu9-ccVH5bjlgpcL5B7gwil_A9s8Q,15556
|
47
|
+
swarm/blueprints/suggestion/blueprint_suggestion.py,sha256=EXC_72t7tFmH2sejWJi-nGWBRt2KoJkhXhlFTjHyBfo,7235
|
48
48
|
swarm/blueprints/unapologetic_press/blueprint_unapologetic_press.py,sha256=MDegKtYiea-MVNnOXHOk0grLRQnmxYBNI1b-6Bp4pK4,17632
|
49
49
|
swarm/blueprints/whiskeytango_foxtrot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
50
|
swarm/blueprints/whiskeytango_foxtrot/apps.py,sha256=V1QKvyb2Vz-EtDNhhNe4tw2W9LYhNDuiaIq_fAU4ilw,334
|
@@ -54,7 +54,7 @@ swarm/core/blueprint_base.py,sha256=YRn8wYfOAnLlO40x7M-m9gcl2dCnq8uuwRiqEicQwN8,
|
|
54
54
|
swarm/core/blueprint_discovery.py,sha256=rNbfe0D98kfWiW5MdushT8405899tfm_hnpVN5jDg_Q,5688
|
55
55
|
swarm/core/blueprint_runner.py,sha256=TIfcIFfW86gCIeYs67ePmurKRPrcGgVYmVFGbpNuojQ,2576
|
56
56
|
swarm/core/blueprint_utils.py,sha256=Ef_pu-RYomqzFjMg6LOSPSdbYFCbYXjEoSvK1OT49Eo,702
|
57
|
-
swarm/core/build_launchers.py,sha256=
|
57
|
+
swarm/core/build_launchers.py,sha256=2NZRvX0A3jFN1mYZI5vbXkPRDoXgdUBdunruhSUogko,563
|
58
58
|
swarm/core/build_swarm_wrapper.py,sha256=c_9oR3To4M2cZyc1uYSiysHLhUGX5FkCAQk9AG7Va2Q,231
|
59
59
|
swarm/core/common_utils.py,sha256=jeKcN3lMdrpOYWIpErH3L5am13jHjaImpVvk2b0mps4,462
|
60
60
|
swarm/core/config_loader.py,sha256=ldQGtv4tXeDJzL2GCylDxykZxYBo4ALFY2kS0jZ79Eo,5652
|
@@ -255,8 +255,8 @@ swarm/views/message_views.py,sha256=sDUnXyqKXC8WwIIMAlWf00s2_a2T9c75Na5FvYMJwBM,
|
|
255
255
|
swarm/views/model_views.py,sha256=aAbU4AZmrOTaPeKMWtoKK7FPYHdaN3Zbx55JfKzYTRY,2937
|
256
256
|
swarm/views/utils.py,sha256=8Usc0g0L0NPegNAyY20tJBNBy-JLwODf4VmxV0yUtpw,3627
|
257
257
|
swarm/views/web_views.py,sha256=T1CKe-Nyv1C8aDt6QFTGWo_dkH7ojWAvS_QW9mZnZp0,7371
|
258
|
-
open_swarm-0.1.
|
259
|
-
open_swarm-0.1.
|
260
|
-
open_swarm-0.1.
|
261
|
-
open_swarm-0.1.
|
262
|
-
open_swarm-0.1.
|
258
|
+
open_swarm-0.1.1744967296.dist-info/METADATA,sha256=138ZA-NpREN-Oxz1GONgzGXz1tQkWGlRWJO636_2wes,18813
|
259
|
+
open_swarm-0.1.1744967296.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
260
|
+
open_swarm-0.1.1744967296.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
|
261
|
+
open_swarm-0.1.1744967296.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
|
262
|
+
open_swarm-0.1.1744967296.dist-info/RECORD,,
|
@@ -21,7 +21,7 @@ if src_path not in sys.path: sys.path.insert(0, src_path)
|
|
21
21
|
from typing import Optional
|
22
22
|
from pathlib import Path
|
23
23
|
try:
|
24
|
-
from agents import Agent,
|
24
|
+
from agents import Agent, MCPServer
|
25
25
|
from agents.mcp import MCPServer
|
26
26
|
from agents.models.interface import Model
|
27
27
|
from agents.models.openai_chatcompletions import OpenAIChatCompletionsModel
|
@@ -76,3 +76,7 @@ class EchoCraftBlueprint(BlueprintBase):
|
|
76
76
|
# --- End formatting change ---
|
77
77
|
|
78
78
|
logger.info("EchoCraftBlueprint run finished.")
|
79
|
+
|
80
|
+
if __name__ == "__main__":
|
81
|
+
print("[EchoCraft] Example blueprint is running!")
|
82
|
+
print("This is a visible demo output. The blueprint is operational.")
|
@@ -15,6 +15,7 @@ try:
|
|
15
15
|
from agents.models.openai_chatcompletions import OpenAIChatCompletionsModel
|
16
16
|
from openai import AsyncOpenAI
|
17
17
|
from swarm.core.blueprint_base import BlueprintBase
|
18
|
+
from swarm.core.blueprint_discovery import discover_blueprints
|
18
19
|
except ImportError as e:
|
19
20
|
print(f"ERROR: Import failed in MCPDemoBlueprint: {e}. Check dependencies.")
|
20
21
|
print(f"sys.path: {sys.path}")
|
@@ -159,4 +160,6 @@ class MCPDemoBlueprint(BlueprintBase):
|
|
159
160
|
|
160
161
|
# Standard Python entry point
|
161
162
|
if __name__ == "__main__":
|
162
|
-
|
163
|
+
from swarm.core.blueprint_discovery import discover_blueprints
|
164
|
+
blueprints = discover_blueprints("src/swarm/blueprints")
|
165
|
+
print("Discovered blueprints:", list(blueprints.keys()))
|
@@ -288,3 +288,7 @@ class RueCodeBlueprint(BlueprintBase):
|
|
288
288
|
yield {"messages": [{"role": "assistant", "content": f"An error occurred: {e}"}]}
|
289
289
|
|
290
290
|
logger.info("RueCodeBlueprint run finished.")
|
291
|
+
|
292
|
+
if __name__ == "__main__":
|
293
|
+
print("[RueCode] Example blueprint is running!")
|
294
|
+
print("This is a visible demo output. The blueprint is operational.")
|
@@ -130,4 +130,6 @@ class SuggestionBlueprint(BlueprintBase):
|
|
130
130
|
yield {"messages": [{"role": "assistant", "content": f"An error occurred: {e}"}]}
|
131
131
|
|
132
132
|
if __name__ == "__main__":
|
133
|
+
print("[SuggestionBlueprint] Example blueprint is running!")
|
134
|
+
print("This is a visible demo output. The blueprint is operational.")
|
133
135
|
SuggestionBlueprint.main()
|
swarm/core/build_launchers.py
CHANGED
@@ -6,9 +6,10 @@ def build_executable(script, output_name):
|
|
6
6
|
script,
|
7
7
|
"--onefile",
|
8
8
|
"--name", output_name,
|
9
|
-
"--add-data", "swarm_config.json:." # Adjust if additional data is needed
|
10
9
|
])
|
11
10
|
|
12
11
|
if __name__ == "__main__":
|
13
|
-
|
14
|
-
build_executable("
|
12
|
+
# build echocraft first (already done), now build rue_code
|
13
|
+
build_executable("src/swarm/blueprints/rue_code/blueprint_rue_code.py", "ruecode-blueprint")
|
14
|
+
# Uncomment below to build suggestion after verifying disk space
|
15
|
+
# build_executable("src/swarm/blueprints/suggestion/blueprint_suggestion.py", "suggestion-blueprint")
|
File without changes
|
{open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/entry_points.txt
RENAMED
File without changes
|
{open_swarm-0.1.1744949106.dist-info → open_swarm-0.1.1744967296.dist-info}/licenses/LICENSE
RENAMED
File without changes
|