hypercli-cli 0.8.4__tar.gz → 0.8.5__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 (21) hide show
  1. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/PKG-INFO +1 -1
  2. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/claw.py +17 -5
  3. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/pyproject.toml +1 -1
  4. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/.gitignore +0 -0
  5. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/README.md +0 -0
  6. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/__init__.py +0 -0
  7. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/billing.py +0 -0
  8. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/cli.py +0 -0
  9. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/comfyui.py +0 -0
  10. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/flow.py +0 -0
  11. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/instances.py +0 -0
  12. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/jobs.py +0 -0
  13. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/keys.py +0 -0
  14. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/llm.py +0 -0
  15. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/onboard.py +0 -0
  16. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/output.py +0 -0
  17. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/renders.py +0 -0
  18. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/tui/__init__.py +0 -0
  19. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/tui/job_monitor.py +0 -0
  20. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/user.py +0 -0
  21. {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/wallet.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercli-cli
3
- Version: 0.8.4
3
+ Version: 0.8.5
4
4
  Summary: CLI for HyperCLI - GPU orchestration and LLM API
5
5
  Project-URL: Homepage, https://hypercli.com
6
6
  Project-URL: Documentation, https://docs.hypercli.com
@@ -318,13 +318,18 @@ def fetch_models(api_key: str, api_base: str = PROD_API_BASE) -> list[dict]:
318
318
  )
319
319
  resp.raise_for_status()
320
320
  data = resp.json().get("data", [])
321
+ # Known model metadata (context windows, reasoning, etc.)
322
+ MODEL_META = {
323
+ "kimi-k2.5": {"name": "Kimi K2.5", "reasoning": False, "contextWindow": 262144},
324
+ "glm-5": {"name": "GLM-5", "reasoning": True, "contextWindow": 202752},
325
+ }
321
326
  return [
322
327
  {
323
328
  "id": m["id"],
324
- "name": m["id"].replace("-", " ").title(),
325
- "reasoning": False,
329
+ "name": MODEL_META.get(m["id"], {}).get("name", m["id"].replace("-", " ").title()),
330
+ "reasoning": MODEL_META.get(m["id"], {}).get("reasoning", False),
326
331
  "input": ["text"],
327
- "contextWindow": 200000,
332
+ "contextWindow": MODEL_META.get(m["id"], {}).get("contextWindow", 200000),
328
333
  }
329
334
  for m in data
330
335
  if m.get("id")
@@ -338,7 +343,14 @@ def fetch_models(api_key: str, api_base: str = PROD_API_BASE) -> list[dict]:
338
343
  "name": "Kimi K2.5",
339
344
  "reasoning": False,
340
345
  "input": ["text"],
341
- "contextWindow": 200000,
346
+ "contextWindow": 262144,
347
+ },
348
+ {
349
+ "id": "glm-5",
350
+ "name": "GLM-5",
351
+ "reasoning": True,
352
+ "input": ["text"],
353
+ "contextWindow": 202752,
342
354
  },
343
355
  ]
344
356
 
@@ -442,7 +454,7 @@ def _config_openclaw(api_key: str, models: list[dict]) -> dict:
442
454
  "agents": {
443
455
  "defaults": {
444
456
  "models": {
445
- f"hyperclaw/{models[0]['id']}": {"alias": "kimi"}
457
+ **{f"hyperclaw/{m['id']}": {"alias": m['id'].split('-')[0]} for m in models}
446
458
  }
447
459
  }
448
460
  }
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hypercli-cli"
7
- version = "0.8.4"
7
+ version = "0.8.5"
8
8
  description = "CLI for HyperCLI - GPU orchestration and LLM API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes