Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ npx @vrsen/openswarm

That's it! The setup wizard handles everything: authentication, dependencies, and configuration.

**Requirements:** Node.js 20+ (Python 3.10+ auto-installed)
**Requirements:** Node.js 20+ and Python 3.12+. OpenSwarm creates or repairs an isolated project `.venv`.

Telemetry opt-out: set `ENABLE_TELEMETRY=0`, `OPEN_SWARM_TELEMETRY=0`, `AGENTSWARM_TELEMETRY=0`, or pass `--no-telemetry`.

Expand Down
8 changes: 8 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ OpenSwarm releases use one normal path: `Build TUI Binaries` builds the required
- GitHub release assets:
- `agentswarm-darwin-arm64`
- `agentswarm-darwin-x64`
- `agentswarm-darwin-x64-baseline`
- `agentswarm-linux-arm64`
- `agentswarm-linux-arm64-musl`
- `agentswarm-linux-x64`
- `agentswarm-linux-x64-baseline`
- `agentswarm-linux-x64-baseline-musl`
- `agentswarm-linux-x64-musl`
- `agentswarm-windows-arm64.exe`
- `agentswarm-windows-x64.exe`
- `agentswarm-windows-x64-baseline.exe`

## Release Steps

Expand Down
6 changes: 4 additions & 2 deletions docs_agent/tools/utils/html_docx_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def embed_local_images(html: str, base_dir: Path) -> str:
unreachable resources are left unchanged (no crash).
"""

resolved_base_dir = base_dir.resolve()

def _encode(src: str) -> str | None:
if src.startswith("data:") or src.startswith("file://"):
return None
Expand All @@ -58,8 +60,8 @@ def _encode(src: str) -> str | None:
if not _is_image_path(src):
return None

img_path = (base_dir / src).resolve()
if not img_path.exists():
img_path = (resolved_base_dir / src).resolve()
if not img_path.is_relative_to(resolved_base_dir) or not img_path.exists():
return None
mime, _ = mimetypes.guess_type(str(img_path))
mime = mime or "image/png"
Expand Down
1 change: 1 addition & 0 deletions openswarm.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export function getProductEnv(opts = {}) {
AGENTSWARM_PRODUCT_STARTER_FOLDER: product.starterFolder,
AGENTSWARM_PRODUCT_ENTRY_FILES: product.entryFiles,
AGENTSWARM_PRODUCT_SKIP_POST_AUTH_MODEL_SELECTION: "true",
AGENTSWARM_PRODUCT_HIDE_CONNECT: "true",
AGENTSWARM_PRODUCT_TUI_LOGO_LEFT: JSON.stringify(productTuiLogoLeft),
AGENTSWARM_PRODUCT_TUI_LOGO_RIGHT: JSON.stringify(productTuiLogoRight),
AGENTSWARM_PRODUCT_WORDMARK_LINES: JSON.stringify(productWordmarkLines),
Expand Down
1 change: 1 addition & 0 deletions openswarm.product-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"AGENTSWARM_PRODUCT_STARTER_FOLDER": "openswarm",
"AGENTSWARM_PRODUCT_ENTRY_FILES": "swarm.py,agency.py",
"AGENTSWARM_PRODUCT_SKIP_POST_AUTH_MODEL_SELECTION": "true",
"AGENTSWARM_PRODUCT_HIDE_CONNECT": "true",
"AGENTSWARM_PRODUCT_TUI_LOGO_LEFT": "[\" \",\" ██████╗ ██████╗ ███████╗███╗ ██╗\",\"██╔═══██╗██╔══██╗██╔════╝████╗ ██║\",\"██║ ██║██████╔╝█████╗ ██╔██╗ ██║\",\"██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║\",\"╚██████╔╝██║ ███████╗██║ ╚████║\",\" ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝\"]",
"AGENTSWARM_PRODUCT_TUI_LOGO_RIGHT": "[\"\",\"███████╗██╗ ██╗ █████╗ ██████╗ ███╗ ███╗\",\"██╔════╝██║ ██║██╔══██╗██╔══██╗████╗ ████║\",\"███████╗██║ █╗ ██║███████║██████╔╝██╔████╔██║\",\"╚════██║██║███╗██║██╔══██╗██╔══██╗██║╚██╔╝██║\",\"███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║\",\"╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝\"]",
"AGENTSWARM_PRODUCT_WORDMARK_LINES": "[\"\",\" ██████╗ ██████╗ ███████╗███╗ ██╗ ███████╗██╗ ██╗ █████╗ ██████╗ ███╗ ███╗\",\"██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██╔════╝██║ ██║██╔══██╗██╔══██╗████╗ ████║\",\"██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ███████╗██║ █╗ ██║███████║██████╔╝██╔████╔██║\",\"██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ╚════██║██║███╗██║██╔══██╗██╔══██╗██║╚██╔╝██║\",\"╚██████╔╝██║ ███████╗██║ ╚████║ ███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║\",\" ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝\"]",
Expand Down
Loading
Loading