sference-cli 0.2.0__tar.gz → 0.2.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sference-cli
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: sference command-line interface
5
5
  Project-URL: Homepage, https://sference.com
6
6
  Project-URL: Repository, https://github.com/s-ference/sference
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: Utilities
23
23
  Requires-Python: >=3.10
24
- Requires-Dist: sference-sdk>=0.2.0
24
+ Requires-Dist: sference-sdk>=0.2.1
25
25
  Requires-Dist: typer>=0.24.1
26
26
  Description-Content-Type: text/markdown
27
27
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sference-cli"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "sference command-line interface"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -23,7 +23,7 @@ classifiers = [
23
23
  ]
24
24
  dependencies = [
25
25
  "typer>=0.24.1",
26
- "sference-sdk>=0.2.0",
26
+ "sference-sdk>=0.2.1",
27
27
  ]
28
28
 
29
29
  [project.urls]
@@ -417,7 +417,6 @@ def register_launch_commands(app: typer.Typer) -> None:
417
417
  elif model:
418
418
  model_set = {model}
419
419
  else:
420
- typer.echo(f"Fetching routable models from {resolved_base}/v1/models ...")
421
420
  try:
422
421
  model_set = fetch_sference_models(resolved_base, api_key)
423
422
  except (urllib.error.URLError, urllib.error.HTTPError, json.JSONDecodeError, KeyError) as e:
@@ -228,7 +228,6 @@ def launch_claude_via_proxy(
228
228
  signal.signal(sig, lambda *_a: (_cleanup(), sys.exit(130))[1])
229
229
 
230
230
  try:
231
- typer.echo(f"Starting mitmproxy on 127.0.0.1:{port} (log: {log_path})...")
232
231
  if not _wait_for_mitmproxy(mitm_proc, port, log_path):
233
232
  raise typer.Exit(code=1)
234
233
 
@@ -240,9 +239,8 @@ def launch_claude_via_proxy(
240
239
  )
241
240
  raise typer.Exit(code=1)
242
241
 
243
- typer.echo(f"Proxy ready. Sference models in /model picker; Claude models pass through.")
244
- typer.echo(f" HTTPS_PROXY=http://127.0.0.1:{port}")
245
- typer.echo(f" NODE_EXTRA_CA_CERTS={MITM_CA_CERT}")
242
+ # Quiet by default: one line. The full config (ports, proxy env, models)
243
+ # is available via --dry-run; the proxy detail is in the log file.
246
244
  typer.echo("Launching Claude Code...")
247
245
 
248
246
  claude_env = os.environ.copy()
File without changes
File without changes
File without changes