@_vrsen/openswarm 0.1.0 → 0.1.2
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.
- package/package.json +2 -2
- package/run.py +0 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_vrsen/openswarm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "An open-source multi-agent AI team built on Agency Swarm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -46,4 +46,4 @@
|
|
|
46
46
|
"node": ">=18.0.0",
|
|
47
47
|
"python": ">=3.10"
|
|
48
48
|
}
|
|
49
|
-
}
|
|
49
|
+
}
|
package/run.py
CHANGED
|
@@ -129,8 +129,6 @@ def _bootstrap() -> None:
|
|
|
129
129
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
_PROVIDER_KEYS = ["OPENAI_API_KEY", "ANTHROPIC_API_KEY", "GOOGLE_API_KEY"]
|
|
133
|
-
|
|
134
132
|
_OPTIONAL_INTEGRATIONS = [
|
|
135
133
|
("Composio (10,000+ external integrations)", ["COMPOSIO_API_KEY", "COMPOSIO_USER_ID"]),
|
|
136
134
|
("Anthropic / Claude models", ["ANTHROPIC_API_KEY"]),
|
|
@@ -143,16 +141,6 @@ _OPTIONAL_INTEGRATIONS = [
|
|
|
143
141
|
]
|
|
144
142
|
|
|
145
143
|
|
|
146
|
-
def _ensure_configured() -> None:
|
|
147
|
-
"""Launch the onboarding wizard if no provider key is present."""
|
|
148
|
-
from dotenv import load_dotenv
|
|
149
|
-
if any(os.getenv(k) for k in _PROVIDER_KEYS):
|
|
150
|
-
return
|
|
151
|
-
from onboard import run_onboarding
|
|
152
|
-
run_onboarding()
|
|
153
|
-
load_dotenv(override=True)
|
|
154
|
-
|
|
155
|
-
|
|
156
144
|
def build_integration_summary() -> str:
|
|
157
145
|
lines = ["Optional integrations:"]
|
|
158
146
|
for name, keys in _OPTIONAL_INTEGRATIONS:
|
|
@@ -231,9 +219,6 @@ def patch_terminal_title_binary() -> None:
|
|
|
231
219
|
except Exception:
|
|
232
220
|
return
|
|
233
221
|
|
|
234
|
-
if not cached_exe.exists():
|
|
235
|
-
return
|
|
236
|
-
|
|
237
222
|
try:
|
|
238
223
|
cached_exe.parent.mkdir(parents=True, exist_ok=True)
|
|
239
224
|
shutil.copy2(local_exe, cached_exe)
|
|
@@ -245,8 +230,6 @@ def main() -> None:
|
|
|
245
230
|
from dotenv import load_dotenv
|
|
246
231
|
load_dotenv()
|
|
247
232
|
|
|
248
|
-
_ensure_configured()
|
|
249
|
-
|
|
250
233
|
if not os.getenv("AGENTSWARM_BIN"):
|
|
251
234
|
_repo = Path(__file__).resolve().parent
|
|
252
235
|
# Prefer locally built dev binary when present (third_party/agentswarm-cli build output).
|