clarity-ai 6.5.4 → 6.5.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ---
4
4
 
5
+ ## 6.5.5 (2026-06-06)
6
+
7
+ ### Fix model routing — repo prefix stripped by regex
8
+ - Fixed `MODEL_ROUTES` keys to match `Clarity-flash-weights` / `Clarity-heavy-weights` after `callAI` strips the provider AND repo prefixes
9
+ - `npm install -g clarity-ai@latest` now works out of the box
10
+
5
11
  ## 6.5.4 (2026-06-06)
6
12
 
7
13
  ### Docker SDK + Local GGUF Inference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-ai",
3
- "version": "6.5.4",
3
+ "version": "6.5.5",
4
4
  "description": "CLARITY — terminal AI agent with local GGUF inference on HF Spaces",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,12 +2,12 @@ import { getKey } from '../config/keys.js';
2
2
  import { streamResponse } from './streaming.js';
3
3
 
4
4
  const MODEL_ROUTES = {
5
- 'Universal-618/Clarity-flash-weights': [
5
+ 'Clarity-flash-weights': [
6
6
  process.env.CLARITY_INFERENCE_URL || 'https://universal-618-clarity-main.hf.space/v1/chat/completions',
7
7
  'https://universal-618-clarity-2.hf.space/v1/chat/completions',
8
8
  'https://universal-618-clarity-3.hf.space/v1/chat/completions',
9
9
  ],
10
- 'Universal-618/Clarity-heavy-weights': [
10
+ 'Clarity-heavy-weights': [
11
11
  process.env.CLARITY_INFERENCE_URL || 'https://universal-618-clarity-4.hf.space/v1/chat/completions',
12
12
  'https://universal-618-clarity-5.hf.space/v1/chat/completions',
13
13
  'https://universal-618-clarity-6.hf.space/v1/chat/completions',