open-swarm 0.1.1745125927__py3-none-any.whl → 0.1.1745126154__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.1745125927
3
+ Version: 0.1.1745126154
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
@@ -335,18 +335,22 @@ Open Swarm and its blueprints use a variety of environment variables for configu
335
335
  | `DJANGO_CSRF_TRUSTED_ORIGINS` | Comma-separated trusted origins for CSRF protection | `http://localhost:8000,...`|
336
336
  | `ENABLE_ADMIN` | Enable admin web interface | `false` |
337
337
  | `ENABLE_API_AUTH` | Require API authentication | `true` |
338
+ | `SWARM_COMMAND_TIMEOUT` | Timeout in seconds for all shell commands run by blueprints | Optional (recommended) |
338
339
 
339
340
  #### Blueprint/Tool-Specific Variables
340
341
  - Some blueprints and MCP tools may require additional env vars (e.g., Google API keys, Slack tokens, etc.).
341
342
  - Refer to the blueprint's docstring or config for details.
342
343
 
343
- #### Usage Example
344
- ```bash
345
- export OPENAI_API_KEY="sk-..."
346
- export SWARM_API_KEY="..."
347
- export LITELLM_BASE_URL="https://open-litellm.fly.dev/v1"
348
- # ... set other variables as needed
349
- ```
344
+ #### Timeout Configuration
345
+ - **SWARM_COMMAND_TIMEOUT**: Controls the maximum time (in seconds) a shell command is allowed to run in any blueprint. If not set, defaults to 60 seconds for most commands, 120 seconds for cloud CLI tools (AWS, Fly.io, Vercel).
346
+ - Set via environment variable: `export SWARM_COMMAND_TIMEOUT=90`
347
+ - If a command exceeds the timeout, a clear error message will be shown in the CLI or operation box.
348
+ - Applies to all blueprints and CLI tools that execute shell commands.
349
+ - To override for a single run: `SWARM_COMMAND_TIMEOUT=30 swarm-cli run ...`
350
+
351
+ #### Test Timeouts
352
+ - All integration tests have a global timeout (30s) via pytest-timeout.
353
+ - Some tests have explicit per-test timeouts (see test source for details).
350
354
 
351
355
  ---
352
356
 
@@ -271,8 +271,8 @@ swarm/views/message_views.py,sha256=sDUnXyqKXC8WwIIMAlWf00s2_a2T9c75Na5FvYMJwBM,
271
271
  swarm/views/model_views.py,sha256=aAbU4AZmrOTaPeKMWtoKK7FPYHdaN3Zbx55JfKzYTRY,2937
272
272
  swarm/views/utils.py,sha256=8Usc0g0L0NPegNAyY20tJBNBy-JLwODf4VmxV0yUtpw,3627
273
273
  swarm/views/web_views.py,sha256=T1CKe-Nyv1C8aDt6QFTGWo_dkH7ojWAvS_QW9mZnZp0,7371
274
- open_swarm-0.1.1745125927.dist-info/METADATA,sha256=AjVBunlRv-LH1Al4Uq4n8OAcX0z_cwCsF31SqMCqoN0,26977
275
- open_swarm-0.1.1745125927.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
276
- open_swarm-0.1.1745125927.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
277
- open_swarm-0.1.1745125927.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
278
- open_swarm-0.1.1745125927.dist-info/RECORD,,
274
+ open_swarm-0.1.1745126154.dist-info/METADATA,sha256=xkiMMqj4xllS-hBCQ4O6h-PAVeziV2TNcZ5seU7BhnY,27659
275
+ open_swarm-0.1.1745126154.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
276
+ open_swarm-0.1.1745126154.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
277
+ open_swarm-0.1.1745126154.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
278
+ open_swarm-0.1.1745126154.dist-info/RECORD,,