open-swarm 0.1.1744936380__py3-none-any.whl → 0.1.1744937124__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-swarm
3
- Version: 0.1.1744936380
3
+ Version: 0.1.1744937124
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
@@ -61,6 +61,7 @@ swarm/extensions/blueprint/django_utils.py,sha256=ObtkmF1JW4H2OEYa7vC6ussUsMBtDs
61
61
  swarm/extensions/blueprint/interactive_mode.py,sha256=vGmMuAgC93TLjMi2RkXQ2FkWfIUblyOTFGHmVdGKLSQ,4572
62
62
  swarm/extensions/blueprint/output_utils.py,sha256=HGpXIujoJNM5nCCzXH0Upog_ctw5BuftmMBiPujh-ZM,7139
63
63
  swarm/extensions/blueprint/runnable_blueprint.py,sha256=1MywZ54vUysLVtYmwCbcDYQmQnoZffCHgsArbe-VKe8,1813
64
+ swarm/extensions/blueprint/slash_commands.py,sha256=5LEO_veo50_eRDmiGPNnFsI-I6-X-C9NvNNmu1187T0,498
64
65
  swarm/extensions/blueprint/spinner.py,sha256=9lyjzLnQBdEBy_dXr6N6I7nxx6KfrNp7wf44sQN06GU,3756
65
66
  swarm/extensions/blueprint/modes/rest_mode.py,sha256=KZuB_j2NfomER7CmlsLBqRipU3DymKY-9RpoGilMH0I,1357
66
67
  swarm/extensions/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -252,8 +253,8 @@ swarm/views/message_views.py,sha256=sDUnXyqKXC8WwIIMAlWf00s2_a2T9c75Na5FvYMJwBM,
252
253
  swarm/views/model_views.py,sha256=aAbU4AZmrOTaPeKMWtoKK7FPYHdaN3Zbx55JfKzYTRY,2937
253
254
  swarm/views/utils.py,sha256=geX3Z5ZDKFYyXYBMilc-4qgOSjhujK3AfRtvbXgFpXk,3643
254
255
  swarm/views/web_views.py,sha256=ExQQeJpZ8CkLZQC_pXKOOmdnEy2qR3wEBP4LLp27DPU,7404
255
- open_swarm-0.1.1744936380.dist-info/METADATA,sha256=6jAoAMBD-G-pIG9bHtrF_Eh8wcDIoX713LmnnMHF8z0,18813
256
- open_swarm-0.1.1744936380.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
257
- open_swarm-0.1.1744936380.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
258
- open_swarm-0.1.1744936380.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
259
- open_swarm-0.1.1744936380.dist-info/RECORD,,
256
+ open_swarm-0.1.1744937124.dist-info/METADATA,sha256=zl7KtHJ1Afbld7hQnSF6pL9JeB3T862AbX-gHFBr3IA,18813
257
+ open_swarm-0.1.1744937124.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
258
+ open_swarm-0.1.1744937124.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
259
+ open_swarm-0.1.1744937124.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
260
+ open_swarm-0.1.1744937124.dist-info/RECORD,,
@@ -0,0 +1,17 @@
1
+ # Minimal slash_commands.py to restore compatibility
2
+
3
+ class SlashCommandRegistry:
4
+ def __init__(self):
5
+ self.commands = {}
6
+ def register(self, command, func=None):
7
+ if func is None:
8
+ def decorator(f):
9
+ self.commands[command] = f
10
+ return f
11
+ return decorator
12
+ self.commands[command] = func
13
+ return func
14
+ def get(self, command):
15
+ return self.commands.get(command)
16
+
17
+ slash_registry = SlashCommandRegistry()