agentsystems-sdk 0.5.5__tar.gz → 0.5.7__tar.gz

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.
Files changed (65) hide show
  1. {agentsystems_sdk-0.5.5/agentsystems_sdk.egg-info → agentsystems_sdk-0.5.7}/PKG-INFO +1 -1
  2. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/cli.py +4 -0
  3. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/__init__.py +2 -0
  4. agentsystems_sdk-0.5.7/agentsystems_sdk/commands/hub.py +610 -0
  5. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/licenses/python/ATTRIBUTIONS.md +5 -5
  6. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/licenses/python/THIRD_PARTY_LICENSES.json +5 -5
  7. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/licenses/python/THIRD_PARTY_REQUIREMENTS.txt +5 -5
  8. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7/agentsystems_sdk.egg-info}/PKG-INFO +1 -1
  9. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk.egg-info/SOURCES.txt +1 -0
  10. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/pyproject.toml +1 -1
  11. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/LICENSE +0 -0
  12. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/MANIFEST.in +0 -0
  13. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/NOTICE +0 -0
  14. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/README.md +0 -0
  15. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/__init__.py +0 -0
  16. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/artifacts.py +0 -0
  17. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/clean.py +0 -0
  18. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/down.py +0 -0
  19. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/init.py +0 -0
  20. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/logs.py +0 -0
  21. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/restart.py +0 -0
  22. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/run.py +0 -0
  23. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/status.py +0 -0
  24. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/up.py +0 -0
  25. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/update.py +0 -0
  26. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/commands/version.py +0 -0
  27. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/config.py +0 -0
  28. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/.env.example +0 -0
  29. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/CONTRIBUTING.md +0 -0
  30. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/LICENSE +0 -0
  31. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/Makefile +0 -0
  32. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/NOTICE +0 -0
  33. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/README.md +0 -0
  34. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/agentsystems-config.yml +0 -0
  35. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/langfuse/docker-compose.yml +0 -0
  36. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/local/db-backup/Dockerfile +0 -0
  37. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/local/db-backup/entrypoint.sh +0 -0
  38. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/local/docker-compose.yml +0 -0
  39. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/local/init-artifacts-volume.sh +0 -0
  40. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/compose/local/postgres-init/audit.sql +0 -0
  41. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/requirements-dev.txt +0 -0
  42. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/deployments_scaffold/schema/agentsystems-config.schema.json +0 -0
  43. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/progress_tracker.py +0 -0
  44. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk/utils.py +0 -0
  45. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk.egg-info/dependency_links.txt +0 -0
  46. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk.egg-info/entry_points.txt +0 -0
  47. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk.egg-info/requires.txt +0 -0
  48. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/agentsystems_sdk.egg-info/top_level.txt +0 -0
  49. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/setup.cfg +0 -0
  50. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli.py +0 -0
  51. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_artifacts.py +0 -0
  52. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_clean.py +0 -0
  53. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_down.py +0 -0
  54. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_init.py +0 -0
  55. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_logs.py +0 -0
  56. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_main.py +0 -0
  57. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_restart.py +0 -0
  58. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_run.py +0 -0
  59. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_status.py +0 -0
  60. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_cli_up.py +0 -0
  61. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_config.py +0 -0
  62. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_config_errors.py +0 -0
  63. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_init.py +0 -0
  64. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_progress.py +0 -0
  65. {agentsystems_sdk-0.5.5 → agentsystems_sdk-0.5.7}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentsystems-sdk
3
- Version: 0.5.5
3
+ Version: 0.5.7
4
4
  Summary: AgentSystems Python SDK and CLI
5
5
  Author-email: AgentSystems <support@agentsystems.ai>
6
6
  License-Expression: Apache-2.0
@@ -26,6 +26,7 @@ from agentsystems_sdk.commands import (
26
26
  update_command,
27
27
  version_command,
28
28
  versions_command,
29
+ hub_commands,
29
30
  )
30
31
 
31
32
  # Load .env before Typer parses env-var options
@@ -92,6 +93,9 @@ app.command(name="update")(update_command)
92
93
  app.command(name="version")(version_command)
93
94
  app.command(name="versions")(versions_command)
94
95
 
96
+ # Register hub sub-commands
97
+ app.add_typer(hub_commands)
98
+
95
99
 
96
100
  if __name__ == "__main__":
97
101
  app()
@@ -11,6 +11,7 @@ from .artifacts import artifacts_path_command
11
11
  from .clean import clean_command
12
12
  from .update import update_command
13
13
  from .version import version_command, versions_command
14
+ from .hub import hub_commands
14
15
 
15
16
  __all__ = [
16
17
  "init_command",
@@ -25,4 +26,5 @@ __all__ = [
25
26
  "update_command",
26
27
  "version_command",
27
28
  "versions_command",
29
+ "hub_commands",
28
30
  ]
@@ -0,0 +1,610 @@
1
+ """Hub commands for publishing and managing agents in the AgentSystems Hub."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ import pathlib
7
+ from typing import Optional
8
+
9
+ import requests
10
+ import typer
11
+ import yaml
12
+ from rich.console import Console
13
+ from rich.table import Table
14
+
15
+ console = Console()
16
+
17
+ # Create hub sub-app
18
+ hub_commands = typer.Typer(
19
+ name="hub",
20
+ help="Publish and manage agents in the AgentSystems Hub",
21
+ no_args_is_help=True,
22
+ )
23
+
24
+ # Config file for storing API key
25
+ CONFIG_DIR = pathlib.Path.home() / ".agentsystems"
26
+ HUB_CONFIG_FILE = CONFIG_DIR / "hub-config.yml"
27
+ DEFAULT_HUB_URL = "http://localhost:8000"
28
+
29
+
30
+ def get_hub_config() -> dict:
31
+ """Load hub configuration from file."""
32
+ if not HUB_CONFIG_FILE.exists():
33
+ return {}
34
+ with HUB_CONFIG_FILE.open("r") as f:
35
+ return yaml.safe_load(f) or {}
36
+
37
+
38
+ def save_hub_config(config: dict) -> None:
39
+ """Save hub configuration to file."""
40
+ CONFIG_DIR.mkdir(parents=True, exist_ok=True)
41
+ with HUB_CONFIG_FILE.open("w") as f:
42
+ yaml.safe_dump(config, f)
43
+
44
+
45
+ def get_api_key() -> Optional[str]:
46
+ """Get API key from config or environment."""
47
+ # Check environment first
48
+ api_key = os.getenv("AGENTSYSTEMS_HUB_API_KEY")
49
+ if api_key:
50
+ return api_key
51
+
52
+ # Check config file
53
+ config = get_hub_config()
54
+ return config.get("api_key")
55
+
56
+
57
+ def get_hub_url() -> str:
58
+ """Get hub URL from config or environment."""
59
+ # Check environment first
60
+ hub_url = os.getenv("AGENTSYSTEMS_HUB_URL")
61
+ if hub_url:
62
+ return hub_url
63
+
64
+ # Check config file
65
+ config = get_hub_config()
66
+ return config.get("hub_url", DEFAULT_HUB_URL)
67
+
68
+
69
+ def get_developer_name() -> Optional[str]:
70
+ """Get cached developer name from config."""
71
+ config = get_hub_config()
72
+ return config.get("developer_name")
73
+
74
+
75
+ @hub_commands.command(name="login")
76
+ def login_command(
77
+ api_key: str = typer.Option(
78
+ ..., prompt="Hub API key", hide_input=True, help="Your AgentSystems Hub API key"
79
+ ),
80
+ hub_url: str = typer.Option(DEFAULT_HUB_URL, help="Hub API URL"),
81
+ ) -> None:
82
+ """Store your AgentSystems Hub API key for publishing agents."""
83
+
84
+ # Verify the API key works
85
+ try:
86
+ response = requests.get(
87
+ f"{hub_url}/auth/verify",
88
+ headers={"Authorization": f"Bearer {api_key}"},
89
+ timeout=10.0,
90
+ )
91
+ response.raise_for_status()
92
+ data = response.json()
93
+
94
+ console.print(
95
+ f"[green]✓[/green] Successfully authenticated as: {data.get('email')}"
96
+ )
97
+ console.print(f"[green]✓[/green] Developer name: {data.get('developer_name')}")
98
+
99
+ # Save to config
100
+ config = get_hub_config()
101
+ config["api_key"] = api_key
102
+ config["hub_url"] = hub_url
103
+ config["user_uid"] = data.get("user_uid")
104
+ config["developer_name"] = data.get("developer_name")
105
+ config["email"] = data.get("email")
106
+ config["api_key_label"] = data.get("api_key_label")
107
+ save_hub_config(config)
108
+
109
+ console.print(f"\n[green]✓[/green] API key saved to {HUB_CONFIG_FILE}")
110
+
111
+ except requests.HTTPError as e:
112
+ if e.response.status_code == 401:
113
+ console.print("[red]✗[/red] Invalid API key")
114
+ else:
115
+ console.print(f"[red]✗[/red] HTTP error: {e.response.status_code}")
116
+ raise typer.Exit(1)
117
+ except Exception as e:
118
+ console.print(f"[red]✗[/red] Error: {e}")
119
+ raise typer.Exit(1)
120
+
121
+
122
+ @hub_commands.command(name="logout")
123
+ def logout_command() -> None:
124
+ """Remove stored API key and credentials."""
125
+ if not HUB_CONFIG_FILE.exists():
126
+ console.print("[yellow]Not logged in.[/yellow]")
127
+ return
128
+
129
+ try:
130
+ HUB_CONFIG_FILE.unlink()
131
+ console.print("[green]✓[/green] Logged out successfully")
132
+ console.print(f"[green]✓[/green] Removed {HUB_CONFIG_FILE}")
133
+ except Exception as e:
134
+ console.print(f"[red]✗[/red] Error removing config: {e}")
135
+ raise typer.Exit(1)
136
+
137
+
138
+ @hub_commands.command(name="whoami")
139
+ def whoami_command() -> None:
140
+ """Show current logged-in developer identity."""
141
+ api_key = get_api_key()
142
+ if not api_key:
143
+ console.print("[red]✗[/red] Not logged in. Run 'agentsystems hub login' first.")
144
+ raise typer.Exit(1)
145
+
146
+ hub_url = get_hub_url()
147
+
148
+ try:
149
+ response = requests.get(
150
+ f"{hub_url}/auth/verify",
151
+ headers={"Authorization": f"Bearer {api_key}"},
152
+ timeout=10.0,
153
+ )
154
+ response.raise_for_status()
155
+ data = response.json()
156
+
157
+ console.print("\n[cyan]Logged in as:[/cyan]")
158
+ console.print(f" Developer: {data.get('developer_name')}")
159
+ console.print(f" Email: {data.get('email')}")
160
+ if data.get("api_key_label"):
161
+ console.print(f" API Key: {data.get('api_key_label')}")
162
+ console.print(f" Hub URL: {hub_url}")
163
+ console.print()
164
+
165
+ except requests.HTTPError as e:
166
+ if e.response.status_code == 401:
167
+ console.print(
168
+ "[red]✗[/red] Invalid or expired API key. Run 'agentsystems hub login' again."
169
+ )
170
+ else:
171
+ console.print(f"[red]✗[/red] HTTP error: {e.response.status_code}")
172
+ raise typer.Exit(1)
173
+ except Exception as e:
174
+ console.print(f"[red]✗[/red] Error: {e}")
175
+ raise typer.Exit(1)
176
+
177
+
178
+ @hub_commands.command(name="validate")
179
+ def validate_command() -> None:
180
+ """Validate agent.yaml without publishing."""
181
+ # Look for agent.yaml in current directory
182
+ agent_yaml_path = pathlib.Path.cwd() / "agent.yaml"
183
+ if not agent_yaml_path.exists():
184
+ console.print("[red]✗[/red] No agent.yaml found in current directory.")
185
+ raise typer.Exit(1)
186
+
187
+ # Load agent.yaml
188
+ try:
189
+ with agent_yaml_path.open("r") as f:
190
+ agent_config = yaml.safe_load(f)
191
+ except Exception as e:
192
+ console.print(f"[red]✗[/red] Failed to read agent.yaml: {e}")
193
+ raise typer.Exit(1)
194
+
195
+ console.print("\n[cyan]Validating agent.yaml...[/cyan]\n")
196
+
197
+ # Track validation status
198
+ has_errors = False
199
+
200
+ # Validate required fields
201
+ required_fields = ["developer", "name", "description"]
202
+ for field in required_fields:
203
+ if field in agent_config and agent_config[field]:
204
+ console.print(f"[green]✓[/green] {field}: {agent_config[field]}")
205
+ else:
206
+ console.print(f"[red]✗[/red] {field}: missing or empty")
207
+ has_errors = True
208
+
209
+ # Optional fields
210
+ optional_fields = [
211
+ "version",
212
+ "image_repository_url",
213
+ "source_repository_url",
214
+ "listing_status",
215
+ "image_repository_access",
216
+ "source_repository_access",
217
+ "model_dependencies",
218
+ ]
219
+
220
+ console.print("\n[cyan]Optional fields:[/cyan]")
221
+ for field in optional_fields:
222
+ value = agent_config.get(field)
223
+ if value:
224
+ if isinstance(value, list):
225
+ console.print(f" {field}: {', '.join(value)}")
226
+ else:
227
+ console.print(f" {field}: {value}")
228
+ else:
229
+ console.print(f" {field}: (not set)")
230
+
231
+ # Check developer name against authenticated user
232
+ api_key = get_api_key()
233
+ if api_key:
234
+ hub_url = get_hub_url()
235
+ try:
236
+ response = requests.get(
237
+ f"{hub_url}/auth/verify",
238
+ headers={"Authorization": f"Bearer {api_key}"},
239
+ timeout=10.0,
240
+ )
241
+ response.raise_for_status()
242
+ data = response.json()
243
+ authenticated_developer = data.get("developer_name")
244
+
245
+ console.print("\n[cyan]Developer verification:[/cyan]")
246
+ if agent_config.get("developer") == authenticated_developer:
247
+ console.print(
248
+ f"[green]✓[/green] Developer matches logged-in user: {authenticated_developer}"
249
+ )
250
+ else:
251
+ console.print("[yellow]⚠[/yellow] Developer mismatch:")
252
+ console.print(f" agent.yaml has: {agent_config.get('developer')}")
253
+ console.print(f" Logged in as: {authenticated_developer}")
254
+ console.print(
255
+ " Update agent.yaml or login with the correct account to publish."
256
+ )
257
+ except Exception:
258
+ console.print(
259
+ "\n[yellow]⚠[/yellow] Could not verify developer (not logged in or API unavailable)"
260
+ )
261
+ else:
262
+ console.print(
263
+ "\n[yellow]⚠[/yellow] Not logged in - skipping developer verification"
264
+ )
265
+
266
+ # Final status
267
+ console.print()
268
+ if has_errors:
269
+ console.print("[red]✗[/red] Validation failed - fix errors above")
270
+ raise typer.Exit(1)
271
+ else:
272
+ console.print("[green]✓[/green] Validation passed")
273
+
274
+
275
+ @hub_commands.command(name="list")
276
+ def list_command() -> None:
277
+ """List all your agents in the hub."""
278
+ api_key = get_api_key()
279
+ if not api_key:
280
+ console.print("[red]✗[/red] Not logged in. Run 'agentsystems hub login' first.")
281
+ raise typer.Exit(1)
282
+
283
+ hub_url = get_hub_url()
284
+
285
+ try:
286
+ response = requests.get(
287
+ f"{hub_url}/agents/me",
288
+ headers={"Authorization": f"Bearer {api_key}"},
289
+ timeout=10.0,
290
+ )
291
+ response.raise_for_status()
292
+ data = response.json()
293
+
294
+ agents = data.get("agents", [])
295
+ total = data.get("total", 0)
296
+
297
+ if not agents:
298
+ console.print("\n[yellow]No agents found.[/yellow]")
299
+ console.print(
300
+ "Publish your first agent with: [cyan]agentsystems hub publish[/cyan]"
301
+ )
302
+ return
303
+
304
+ # Create table
305
+ table = Table(
306
+ title=f"Your Agents ({total})",
307
+ show_header=True,
308
+ header_style="bold magenta",
309
+ )
310
+ table.add_column("Name", style="cyan")
311
+ table.add_column("Description")
312
+ table.add_column("Listing", justify="center")
313
+ table.add_column("Image Access", justify="center")
314
+ table.add_column("Source Access", justify="center")
315
+
316
+ for agent in agents:
317
+ listing_badge = (
318
+ "✓ Listed" if agent["listing_status"] == "listed" else "✗ Unlisted"
319
+ )
320
+ listing_style = "green" if agent["listing_status"] == "listed" else "yellow"
321
+
322
+ image_access = agent.get("image_repository_access", "private")
323
+ source_access = agent.get("source_repository_access", "private")
324
+
325
+ table.add_row(
326
+ agent["name"],
327
+ agent.get("description", "")[:50]
328
+ + ("..." if len(agent.get("description", "")) > 50 else ""),
329
+ f"[{listing_style}]{listing_badge}[/{listing_style}]",
330
+ image_access.capitalize(),
331
+ source_access.capitalize(),
332
+ )
333
+
334
+ console.print("\n", table, "\n")
335
+
336
+ except requests.HTTPError as e:
337
+ if e.response.status_code == 401:
338
+ console.print(
339
+ "[red]✗[/red] Invalid or expired API key. Run 'agentsystems hub login' again."
340
+ )
341
+ else:
342
+ console.print(f"[red]✗[/red] HTTP error: {e.response.status_code}")
343
+ raise typer.Exit(1)
344
+ except Exception as e:
345
+ console.print(f"[red]✗[/red] Error: {e}")
346
+ raise typer.Exit(1)
347
+
348
+
349
+ @hub_commands.command(name="publish")
350
+ def publish_command() -> None:
351
+ """Publish or update an agent in the hub from agent.yaml."""
352
+ api_key = get_api_key()
353
+ if not api_key:
354
+ console.print("[red]✗[/red] Not logged in. Run 'agentsystems hub login' first.")
355
+ raise typer.Exit(1)
356
+
357
+ hub_url = get_hub_url()
358
+
359
+ # Look for agent.yaml in current directory
360
+ agent_yaml_path = pathlib.Path.cwd() / "agent.yaml"
361
+ if not agent_yaml_path.exists():
362
+ console.print("[red]✗[/red] No agent.yaml found in current directory.")
363
+ console.print("Run this command from your agent directory.")
364
+ raise typer.Exit(1)
365
+
366
+ # Load agent.yaml
367
+ try:
368
+ with agent_yaml_path.open("r") as f:
369
+ agent_config = yaml.safe_load(f)
370
+ except Exception as e:
371
+ console.print(f"[red]✗[/red] Failed to read agent.yaml: {e}")
372
+ raise typer.Exit(1)
373
+
374
+ # Validate required fields
375
+ required_fields = ["developer", "name", "description"]
376
+ for field in required_fields:
377
+ if field not in agent_config:
378
+ console.print(f"[red]✗[/red] Missing required field in agent.yaml: {field}")
379
+ raise typer.Exit(1)
380
+
381
+ # Verify API key and get authenticated developer name (don't trust cached config)
382
+ try:
383
+ verify_response = requests.get(
384
+ f"{hub_url}/auth/verify",
385
+ headers={"Authorization": f"Bearer {api_key}"},
386
+ timeout=10.0,
387
+ )
388
+ verify_response.raise_for_status()
389
+ verify_data = verify_response.json()
390
+ authenticated_developer = verify_data.get("developer_name")
391
+
392
+ if not authenticated_developer:
393
+ console.print("[red]✗[/red] Could not verify developer identity.")
394
+ raise typer.Exit(1)
395
+ except requests.HTTPError as e:
396
+ if e.response.status_code == 401:
397
+ console.print(
398
+ "[red]✗[/red] Invalid or expired API key. Run 'agentsystems hub login' again."
399
+ )
400
+ else:
401
+ console.print(f"[red]✗[/red] Verification failed: {e}")
402
+ raise typer.Exit(1)
403
+ except Exception as e:
404
+ console.print(f"[red]✗[/red] Verification error: {e}")
405
+ raise typer.Exit(1)
406
+
407
+ if agent_config["developer"] != authenticated_developer:
408
+ console.print("[red]✗[/red] Developer mismatch!")
409
+ console.print(f" agent.yaml has: {agent_config['developer']}")
410
+ console.print(f" Logged in as: {authenticated_developer}")
411
+ console.print("\nUpdate agent.yaml or login with the correct account.")
412
+ raise typer.Exit(1)
413
+
414
+ name = agent_config["name"]
415
+
416
+ # Build request payload
417
+ payload = {
418
+ "name": name,
419
+ "description": agent_config.get("description"),
420
+ "image_repository_url": agent_config.get("image_repository_url"),
421
+ "source_repository_url": agent_config.get("source_repository_url"),
422
+ "listing_status": agent_config.get("listing_status", "unlisted"),
423
+ "image_repository_access": agent_config.get(
424
+ "image_repository_access", "private"
425
+ ),
426
+ "source_repository_access": agent_config.get(
427
+ "source_repository_access", "private"
428
+ ),
429
+ }
430
+
431
+ # Show what will be published
432
+ console.print("\n[cyan]Publishing agent with the following settings:[/cyan]")
433
+ console.print(f" Developer: {authenticated_developer}")
434
+ console.print(f" Name: {name}")
435
+ console.print(f" Description: {payload.get('description') or '(empty)'}")
436
+ console.print(f" Image URL: {payload.get('image_repository_url') or '(empty)'}")
437
+ console.print(f" Source URL: {payload.get('source_repository_url') or '(empty)'}")
438
+ console.print(f" Listing: {payload.get('listing_status')}")
439
+ console.print(f" Image Access: {payload.get('image_repository_access')}")
440
+ console.print(f" Source Access: {payload.get('source_repository_access')}")
441
+ console.print()
442
+
443
+ # Ask for confirmation
444
+ confirm = typer.confirm("Publish this agent to the hub?")
445
+ if not confirm:
446
+ console.print("[yellow]Publish cancelled.[/yellow]")
447
+ raise typer.Exit(0)
448
+
449
+ try:
450
+ # Try to create first
451
+ response = requests.post(
452
+ f"{hub_url}/agents",
453
+ headers={"Authorization": f"Bearer {api_key}"},
454
+ json=payload,
455
+ timeout=10.0,
456
+ )
457
+
458
+ if response.status_code == 409:
459
+ # Agent exists, fetch current settings and compare
460
+ console.print(f"[yellow]Agent '{name}' already exists.[/yellow]")
461
+
462
+ # Fetch current agent settings
463
+ try:
464
+ current_response = requests.get(
465
+ f"{hub_url}/agents/{authenticated_developer}/{name}",
466
+ headers={"Authorization": f"Bearer {api_key}"},
467
+ timeout=10.0,
468
+ )
469
+ current_response.raise_for_status()
470
+ current_agent = current_response.json()
471
+
472
+ # Compare settings that will be overwritten
473
+ changes = []
474
+ fields_to_check = [
475
+ ("description", "Description"),
476
+ ("image_repository_url", "Image URL"),
477
+ ("source_repository_url", "Source URL"),
478
+ ("listing_status", "Listing Status"),
479
+ ("image_repository_access", "Image Access"),
480
+ ("source_repository_access", "Source Access"),
481
+ ]
482
+
483
+ for field, label in fields_to_check:
484
+ current_value = current_agent.get(field)
485
+ new_value = payload.get(field)
486
+ if current_value != new_value:
487
+ changes.append(
488
+ {
489
+ "label": label,
490
+ "current": current_value or "(empty)",
491
+ "new": new_value or "(empty)",
492
+ }
493
+ )
494
+
495
+ if changes:
496
+ console.print(
497
+ "\n[yellow]Warning: Publishing will overwrite the following hub settings:[/yellow]"
498
+ )
499
+ for change in changes:
500
+ console.print(
501
+ f" - {change['label']}: {change['current']} → {change['new']}"
502
+ )
503
+ console.print()
504
+
505
+ # Ask for confirmation
506
+ confirm = typer.confirm("Continue with publish?")
507
+ if not confirm:
508
+ console.print("[yellow]Publish cancelled.[/yellow]")
509
+ raise typer.Exit(0)
510
+ else:
511
+ console.print("[green]No changes detected. Updating...[/green]")
512
+
513
+ except requests.HTTPError as e:
514
+ console.print(
515
+ f"[yellow]Could not fetch current agent settings: {e}[/yellow]"
516
+ )
517
+ console.print("[yellow]Proceeding with update...[/yellow]")
518
+
519
+ # Update agent
520
+ response = requests.put(
521
+ f"{hub_url}/agents/{authenticated_developer}/{name}",
522
+ headers={"Authorization": f"Bearer {api_key}"},
523
+ json=payload,
524
+ timeout=10.0,
525
+ )
526
+
527
+ response.raise_for_status()
528
+ agent = response.json()
529
+
530
+ console.print(
531
+ f"\n[green]✓[/green] Successfully published agent: [cyan]{agent['name']}[/cyan]"
532
+ )
533
+ if agent.get("description"):
534
+ console.print(f" Description: {agent['description']}")
535
+ if agent.get("image_repository_url"):
536
+ console.print(f" Image: {agent['image_repository_url']}")
537
+ if agent.get("source_repository_url"):
538
+ console.print(f" Source: {agent['source_repository_url']}")
539
+ console.print(
540
+ f" Listing: {'Listed (public)' if agent['listing_status'] == 'listed' else 'Unlisted (private)'}"
541
+ )
542
+
543
+ except requests.HTTPError as e:
544
+ if e.response.status_code == 401:
545
+ console.print(
546
+ "[red]✗[/red] Invalid or expired API key. Run 'agentsystems hub login' again."
547
+ )
548
+ else:
549
+ error_detail = e.response.json().get("detail", str(e))
550
+ console.print(f"[red]✗[/red] Error: {error_detail}")
551
+ raise typer.Exit(1)
552
+ except Exception as e:
553
+ console.print(f"[red]✗[/red] Error: {e}")
554
+ raise typer.Exit(1)
555
+
556
+
557
+ @hub_commands.command(name="delete")
558
+ def delete_command(
559
+ name: str = typer.Argument(..., help="Agent name to delete"),
560
+ force: bool = typer.Option(False, "--force", "-f", help="Skip confirmation"),
561
+ ) -> None:
562
+ """Delete an agent from the hub."""
563
+ api_key = get_api_key()
564
+ if not api_key:
565
+ console.print("[red]✗[/red] Not logged in. Run 'agentsystems hub login' first.")
566
+ raise typer.Exit(1)
567
+
568
+ hub_url = get_hub_url()
569
+
570
+ if not force:
571
+ confirm = typer.confirm(f"Are you sure you want to delete '{name}'?")
572
+ if not confirm:
573
+ console.print("[yellow]Cancelled.[/yellow]")
574
+ raise typer.Exit(0)
575
+
576
+ try:
577
+ # Get developer name from cache
578
+ developer_name = get_developer_name()
579
+ if not developer_name:
580
+ console.print(
581
+ "[red]✗[/red] Developer name not found. Run 'agentsystems hub login' again."
582
+ )
583
+ raise typer.Exit(1)
584
+
585
+ # Delete agent
586
+ response = requests.delete(
587
+ f"{hub_url}/agents/{developer_name}/{name}",
588
+ headers={"Authorization": f"Bearer {api_key}"},
589
+ timeout=10.0,
590
+ )
591
+ response.raise_for_status()
592
+
593
+ console.print(
594
+ f"[green]✓[/green] Successfully deleted agent: [cyan]{name}[/cyan]"
595
+ )
596
+
597
+ except requests.HTTPError as e:
598
+ if e.response.status_code == 401:
599
+ console.print(
600
+ "[red]✗[/red] Invalid or expired API key. Run 'agentsystems hub login' again."
601
+ )
602
+ elif e.response.status_code == 404:
603
+ console.print(f"[red]✗[/red] Agent '{name}' not found")
604
+ else:
605
+ error_detail = e.response.json().get("detail", str(e))
606
+ console.print(f"[red]✗[/red] Error: {error_detail}")
607
+ raise typer.Exit(1)
608
+ except Exception as e:
609
+ console.print(f"[red]✗[/red] Error: {e}")
610
+ raise typer.Exit(1)
@@ -2,7 +2,7 @@
2
2
 
3
3
  This package relies on the third-party Python packages listed below.
4
4
 
5
- ## agentsystems-sdk 0.5.5
5
+ ## agentsystems-sdk 0.5.7
6
6
  - License: UNKNOWN
7
7
  - URL: UNKNOWN
8
8
  - Author: AgentSystems <support@agentsystems.ai>
@@ -1313,7 +1313,7 @@ licenses_ directory.
1313
1313
  ```
1314
1314
  </details>
1315
1315
 
1316
- ## filelock 3.19.1
1316
+ ## filelock 3.20.0
1317
1317
  - License: The Unlicense (Unlicense)
1318
1318
  - URL: https://github.com/tox-dev/py-filelock
1319
1319
  - Author: UNKNOWN
@@ -2248,7 +2248,7 @@ under the terms of *both* these licenses.
2248
2248
  ```
2249
2249
  </details>
2250
2250
 
2251
- ## platformdirs 4.4.0
2251
+ ## platformdirs 4.5.0
2252
2252
  - License: MIT License
2253
2253
  - URL: https://github.com/tox-dev/platformdirs
2254
2254
  - Author: UNKNOWN
@@ -3206,7 +3206,7 @@ limitations under the License.
3206
3206
  ```
3207
3207
  </details>
3208
3208
 
3209
- ## rich 14.1.0
3209
+ ## rich 14.2.0
3210
3210
  - License: MIT License
3211
3211
  - URL: https://github.com/Textualize/rich
3212
3212
  - Author: Will McGugan
@@ -3842,7 +3842,7 @@ SOFTWARE.
3842
3842
  ```
3843
3843
  </details>
3844
3844
 
3845
- ## virtualenv 20.34.0
3845
+ ## virtualenv 20.35.3
3846
3846
  - License: MIT License
3847
3847
  - URL: https://github.com/pypa/virtualenv
3848
3848
  - Author: UNKNOWN
@@ -29,7 +29,7 @@
29
29
  "LicenseText": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n",
30
30
  "Name": "agentsystems-sdk",
31
31
  "URL": "UNKNOWN",
32
- "Version": "0.5.5"
32
+ "Version": "0.5.7"
33
33
  },
34
34
  {
35
35
  "Author": "\"Jason R. Coombs\" <jaraco@jaraco.com>",
@@ -133,7 +133,7 @@
133
133
  "LicenseText": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to <http://unlicense.org>\n",
134
134
  "Name": "filelock",
135
135
  "URL": "https://github.com/tox-dev/py-filelock",
136
- "Version": "3.19.1"
136
+ "Version": "3.20.0"
137
137
  },
138
138
  {
139
139
  "Author": "UNKNOWN",
@@ -269,7 +269,7 @@
269
269
  "LicenseText": "MIT License\n\nCopyright (c) 2010-202x The platformdirs developers\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
270
270
  "Name": "platformdirs",
271
271
  "URL": "https://github.com/tox-dev/platformdirs",
272
- "Version": "4.4.0"
272
+ "Version": "4.5.0"
273
273
  },
274
274
  {
275
275
  "Author": "Holger Krekel <holger@merlinux.eu>",
@@ -373,7 +373,7 @@
373
373
  "LicenseText": "Copyright (c) 2020 Will McGugan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
374
374
  "Name": "rich",
375
375
  "URL": "https://github.com/Textualize/rich",
376
- "Version": "14.1.0"
376
+ "Version": "14.2.0"
377
377
  },
378
378
  {
379
379
  "Author": "Tzu-ping Chung",
@@ -421,7 +421,7 @@
421
421
  "LicenseText": "Copyright (c) 2020-202x The virtualenv developers\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
422
422
  "Name": "virtualenv",
423
423
  "URL": "https://github.com/pypa/virtualenv",
424
- "Version": "20.34.0"
424
+ "Version": "20.35.3"
425
425
  },
426
426
  {
427
427
  "Author": "\"Jason R. Coombs\" <jaraco@jaraco.com>",
@@ -10,7 +10,7 @@ cryptography==46.0.2
10
10
  distlib==0.4.0
11
11
  docker==7.1.0
12
12
  docutils==0.22.2
13
- filelock==3.19.1
13
+ filelock==3.20.0
14
14
  id==1.5.0
15
15
  identify==2.6.15
16
16
  idna==3.10
@@ -28,7 +28,7 @@ nh3==0.3.1
28
28
  nodeenv==1.9.1
29
29
  packaging==25.0
30
30
  pip-licenses==5.0.0
31
- platformdirs==4.4.0
31
+ platformdirs==4.5.0
32
32
  pluggy==1.6.0
33
33
  pre_commit==4.3.0
34
34
  prettytable==3.16.0
@@ -44,14 +44,14 @@ requests==2.32.5
44
44
  requests-mock==1.12.1
45
45
  requests-toolbelt==1.0.0
46
46
  rfc3986==2.0.0
47
- rich==14.1.0
47
+ rich==14.2.0
48
48
  SecretStorage==3.4.0
49
49
  shellingham==1.5.4
50
- tomli==2.2.1
50
+ tomli==2.3.0
51
51
  twine==6.2.0
52
52
  typer==0.19.2
53
53
  typing_extensions==4.15.0
54
54
  urllib3==2.5.0
55
- virtualenv==20.34.0
55
+ virtualenv==20.35.3
56
56
  wcwidth==0.2.14
57
57
  zipp==3.23.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentsystems-sdk
3
- Version: 0.5.5
3
+ Version: 0.5.7
4
4
  Summary: AgentSystems Python SDK and CLI
5
5
  Author-email: AgentSystems <support@agentsystems.ai>
6
6
  License-Expression: Apache-2.0
@@ -18,6 +18,7 @@ agentsystems_sdk/commands/__init__.py
18
18
  agentsystems_sdk/commands/artifacts.py
19
19
  agentsystems_sdk/commands/clean.py
20
20
  agentsystems_sdk/commands/down.py
21
+ agentsystems_sdk/commands/hub.py
21
22
  agentsystems_sdk/commands/init.py
22
23
  agentsystems_sdk/commands/logs.py
23
24
  agentsystems_sdk/commands/restart.py
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentsystems-sdk"
3
- version = "0.5.5"
3
+ version = "0.5.7"
4
4
  description = "AgentSystems Python SDK and CLI"
5
5
  readme = "README.md"
6
6
  authors = [ { name = "AgentSystems", email = "support@agentsystems.ai" } ]