ccx-relay 1.8.0 → 1.9.0

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 (2) hide show
  1. package/bin/ccx-init.js +4 -2
  2. package/package.json +1 -1
package/bin/ccx-init.js CHANGED
@@ -91,11 +91,13 @@ async function runWizard() {
91
91
  process.stdout.write(' Fetching available models... ');
92
92
  try {
93
93
  const all = await listModels(key);
94
- models = all.filter(m => m.includes('gemini')).slice(0, 10);
94
+ models = all.slice(0, 10);
95
95
  if (models.length === 0) throw new Error('empty');
96
96
  console.log(`\x1b[32m✓\x1b[0m ${models.length} found`);
97
97
  } catch (_) {
98
- models = ['gemini-2.5-flash', 'gemini-1.5-flash', 'gemini-2.5-pro'];
98
+ models = key.startsWith('gsk_')
99
+ ? ['llama-3.1-8b-instant', 'llama-3.3-70b-versatile', 'gemma2-9b-it']
100
+ : ['gemini-2.5-flash', 'gemini-1.5-flash', 'gemini-2.5-pro'];
99
101
  console.log('(using defaults)');
100
102
  }
101
103
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "ccx-relay",
4
- "version": "1.8.0",
4
+ "version": "1.9.0",
5
5
  "description": "Transparent PTY wrapper for Claude Code (or any CLI) that lets you refine your prompt with Gemini AI before submitting it, without leaving your terminal session.",
6
6
  "main": "bin/ccx.js",
7
7
  "bin": {