@_vrsen/openswarm 0.1.0 → 0.1.1
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 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_vrsen/openswarm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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:
|
|
@@ -245,8 +233,6 @@ def main() -> None:
|
|
|
245
233
|
from dotenv import load_dotenv
|
|
246
234
|
load_dotenv()
|
|
247
235
|
|
|
248
|
-
_ensure_configured()
|
|
249
|
-
|
|
250
236
|
if not os.getenv("AGENTSWARM_BIN"):
|
|
251
237
|
_repo = Path(__file__).resolve().parent
|
|
252
238
|
# Prefer locally built dev binary when present (third_party/agentswarm-cli build output).
|