@rely-ai/caliber 1.3.0 → 1.3.2
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/dist/bin.js +10 -3
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2563,7 +2563,7 @@ function promptInput(question) {
|
|
|
2563
2563
|
});
|
|
2564
2564
|
}
|
|
2565
2565
|
var PROVIDER_CHOICES = [
|
|
2566
|
-
{ name: "Claude Code
|
|
2566
|
+
{ name: "Claude Code \u2014 Use my Claude Code subscription", value: "claude-cli" },
|
|
2567
2567
|
{ name: "Cursor (use my Cursor subscription \u2014 no API key)", value: "cursor" },
|
|
2568
2568
|
{ name: "Anthropic (Claude) \u2014 API key from console.anthropic.com", value: "anthropic" },
|
|
2569
2569
|
{ name: "Google Vertex AI (Claude)", value: "vertex" },
|
|
@@ -6215,10 +6215,12 @@ function writeRefreshDocs(docs) {
|
|
|
6215
6215
|
// src/ai/refresh.ts
|
|
6216
6216
|
async function refreshDocs(diff, existingDocs, projectContext) {
|
|
6217
6217
|
const prompt = buildRefreshPrompt(diff, existingDocs, projectContext);
|
|
6218
|
+
const fastModel = getFastModel();
|
|
6218
6219
|
const raw = await llmCall({
|
|
6219
6220
|
system: REFRESH_SYSTEM_PROMPT,
|
|
6220
6221
|
prompt,
|
|
6221
|
-
maxTokens: 16384
|
|
6222
|
+
maxTokens: 16384,
|
|
6223
|
+
...fastModel ? { model: fastModel } : {}
|
|
6222
6224
|
});
|
|
6223
6225
|
return parseJsonResponse(raw);
|
|
6224
6226
|
}
|
|
@@ -6563,9 +6565,14 @@ import chalk13 from "chalk";
|
|
|
6563
6565
|
async function configCommand() {
|
|
6564
6566
|
const existing = loadConfig();
|
|
6565
6567
|
if (existing) {
|
|
6568
|
+
const displayModel = existing.model === "default" && existing.provider === "claude-cli" ? process.env.ANTHROPIC_MODEL || "default (inherited from Claude Code)" : existing.model;
|
|
6569
|
+
const fastModel = getFastModel();
|
|
6566
6570
|
console.log(chalk13.bold("\nCurrent Configuration\n"));
|
|
6567
6571
|
console.log(` Provider: ${chalk13.cyan(existing.provider)}`);
|
|
6568
|
-
console.log(` Model: ${chalk13.cyan(
|
|
6572
|
+
console.log(` Model: ${chalk13.cyan(displayModel)}`);
|
|
6573
|
+
if (fastModel) {
|
|
6574
|
+
console.log(` Scan: ${chalk13.cyan(fastModel)}`);
|
|
6575
|
+
}
|
|
6569
6576
|
if (existing.apiKey) {
|
|
6570
6577
|
const masked = existing.apiKey.slice(0, 8) + "..." + existing.apiKey.slice(-4);
|
|
6571
6578
|
console.log(` API Key: ${chalk13.dim(masked)}`);
|
package/package.json
CHANGED