snowglobe 0.4.2__py3-none-any.whl → 0.4.4__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.
@@ -40,7 +40,9 @@ from .project_manager import get_project_manager
40
40
  CONTROL_PLANE_URL = os.environ.get(
41
41
  "CONTROL_PLANE_URL", "https://api.snowglobe.guardrailsai.com"
42
42
  )
43
- UI_URL = os.environ.get("UI_URL", "https://snowglobe.guardrailsai.com")
43
+
44
+ UI_URL = os.environ.get("UI_URL", "https://snowglobe.so/app")
45
+
44
46
  SNOWGLOBE_AUTH_CONFIGURE_PORT = int(
45
47
  os.environ.get("SNOWGLOBE_AUTH_CONFIGURE_PORT", 9001)
46
48
  )
@@ -763,7 +765,7 @@ def start(
763
765
  app_id = agent_info.get("uuid")
764
766
  app_name = agent_info.get("name", "Application")
765
767
  if app_id:
766
- app_url = f"{UI_URL}/applications/{app_id}"
768
+ app_url = f"{UI_URL}/agents/{app_id}"
767
769
  console.print(
768
770
  "🔗 Agent connected! Go to your Snowglobe agent and kick off a simulation:"
769
771
  )
@@ -776,7 +778,7 @@ def start(
776
778
  app_id = agent_info.get("uuid")
777
779
  app_name = agent_info.get("name", "Application")
778
780
  if app_id:
779
- app_url = f"{UI_URL}/applications/{app_id}"
781
+ app_url = f"{UI_URL}/agents/{app_id}"
780
782
  console.print(
781
783
  f" - {app_name}: [link={app_url}]{app_url}[/link]"
782
784
  )
@@ -256,7 +256,7 @@ def smart_signal_handler(sig, frame):
256
256
  sys.exit(0)
257
257
 
258
258
 
259
- def graceful_shutdown():
259
+ def graceful_shutdown(_sig_num, _frame):
260
260
  """Handle graceful shutdown with session summary (idempotent, always exits 0).
261
261
 
262
262
  This legacy entrypoint avoids toggling internal shutdown state so repeated
@@ -268,6 +268,9 @@ def graceful_shutdown():
268
268
  console.print("\n[bold yellow]🛑 Graceful shutdown initiated...[/bold yellow]")
269
269
  console.print("[dim]Press Ctrl+C again to force quit[/dim]")
270
270
 
271
+ if cli_state.verbose:
272
+ console.print(f"signal received: {_sig_num}, frame: {_frame}")
273
+
271
274
  # Show session summary and exit cleanly
272
275
  console.print("\n[bold blue]🛑 Shutting down...[/bold blue]")
273
276
  show_session_summary()
@@ -321,7 +324,7 @@ def select_stateful_interactive(
321
324
  info(
322
325
  "If your agent takes messages and completions on a single completion endpoint regardless of context, you can answer no to the following question."
323
326
  )
324
- if Confirm.ask("Would you like to create a new application?"):
327
+ if Confirm.ask("Would you like to initialize a stateful application?"):
325
328
  return True
326
329
  return False
327
330
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snowglobe
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: client server for usage with snowglobe experiments
5
5
  Author-email: Guardrails AI <contact@guardrailsai.com>
6
6
  License: MIT License
@@ -1,15 +1,15 @@
1
1
  snowglobe/client/__init__.py,sha256=kzp9wPUUYBXqDSKZbfmD4vrAQvrWSW5HOvtpFlEJWfs,353
2
2
  snowglobe/client/src/app.py,sha256=MRV0mzrH4iqkCk1H5pCQZgMj4jkIRNiUx0NkZpzK6tc,39035
3
- snowglobe/client/src/cli.py,sha256=E3KZWEHiF38BejVIVgSRMINxKRKOS7p_aemhX4xt90E,27846
4
- snowglobe/client/src/cli_utils.py,sha256=NZ018IISxt6hwaxbAraWGoRDMWMsnAeLBhdr3N1ZWDw,17104
3
+ snowglobe/client/src/cli.py,sha256=i308VrVXQrwjrtL-oxeWWHCsAhsNx07kCH7pi1SuHtA,27826
4
+ snowglobe/client/src/cli_utils.py,sha256=6g9_3fy8CvQGEtE-W_3eHs8yB0r1riMz8ttYrlN1zhY,17231
5
5
  snowglobe/client/src/config.py,sha256=YRx_AQEZoHaAqk6guTxynIEGV_iJ3wNNGtMmaKsYMbc,10488
6
6
  snowglobe/client/src/models.py,sha256=BX310WrDN9Fd8v68me3XGL_ic1ulvjCrZyIT2ND1eUo,866
7
7
  snowglobe/client/src/project_manager.py,sha256=Ze-qs4dQI2kIV-PmtWZ1b67hMUfsnsMHus90aT8HOow,9970
8
8
  snowglobe/client/src/stats.py,sha256=IdaXroOZBmvLVa_p9pDE6hsxsc7-fBEDnLf8O6Ch0GA,1596
9
9
  snowglobe/client/src/utils.py,sha256=hHOht0hc8fv3OuPTz2Tqs639CzSAF34JTZs5ifKV6YI,3708
10
- snowglobe-0.4.2.dist-info/licenses/LICENSE,sha256=S90V6iFU5ZeSg44JQYS1To3pa7ZEobrHc_t483qSKSI,1070
11
- snowglobe-0.4.2.dist-info/METADATA,sha256=_0jWIHcgJTgXb84y8G8IOW_5HsO6dVoqn25Avs_uqh4,4483
12
- snowglobe-0.4.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- snowglobe-0.4.2.dist-info/entry_points.txt,sha256=mqx4mTwFPHttjctE2ceYTYWCCIG30Ji2C89aaCYgHcM,71
14
- snowglobe-0.4.2.dist-info/top_level.txt,sha256=PoyYihnCBjRyjeIT19yBcE47JTe7i1OwRXvJ4d5EohM,10
15
- snowglobe-0.4.2.dist-info/RECORD,,
10
+ snowglobe-0.4.4.dist-info/licenses/LICENSE,sha256=S90V6iFU5ZeSg44JQYS1To3pa7ZEobrHc_t483qSKSI,1070
11
+ snowglobe-0.4.4.dist-info/METADATA,sha256=TjAbqOYIBtm263GzCJdWnX6ttEZU1VetS4MAEzzLRs8,4483
12
+ snowglobe-0.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ snowglobe-0.4.4.dist-info/entry_points.txt,sha256=mqx4mTwFPHttjctE2ceYTYWCCIG30Ji2C89aaCYgHcM,71
14
+ snowglobe-0.4.4.dist-info/top_level.txt,sha256=PoyYihnCBjRyjeIT19yBcE47JTe7i1OwRXvJ4d5EohM,10
15
+ snowglobe-0.4.4.dist-info/RECORD,,