@corbat-tech/coco 2.32.0 → 2.33.1
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/cli/index.js +6 -2
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -34268,6 +34268,7 @@ Key rules:
|
|
|
34268
34268
|
}
|
|
34269
34269
|
|
|
34270
34270
|
// src/cli/repl/startup-panel.ts
|
|
34271
|
+
init_thinking();
|
|
34271
34272
|
async function renderStartupPanel(session, gitCtx, mcpServers = []) {
|
|
34272
34273
|
const trustStore = createTrustStore();
|
|
34273
34274
|
await trustStore.init();
|
|
@@ -34308,8 +34309,10 @@ async function renderStartupPanel(session, gitCtx, mcpServers = []) {
|
|
|
34308
34309
|
const trustText = trustLevel === "full" ? "full" : trustLevel === "write" ? "write" : trustLevel === "read" ? "read" : "";
|
|
34309
34310
|
console.log();
|
|
34310
34311
|
console.log(chalk.dim(` \u{1F4C1} ${parentPath}`) + chalk.magenta.bold(projectName));
|
|
34312
|
+
const thinkingCapability = getThinkingCapability(providerName, modelName);
|
|
34313
|
+
const thinkingSuffix = thinkingCapability.supported ? chalk.dim("/") + chalk.magenta(formatThinkingMode(session.config.provider.thinking ?? "off")) : "";
|
|
34311
34314
|
console.log(
|
|
34312
|
-
chalk.dim(` \u{1F916} ${providerName}/`) + chalk.magenta(modelName) + (trustText ? chalk.dim(` \u2022 \u{1F510} ${trustText}`) : "")
|
|
34315
|
+
chalk.dim(` \u{1F916} ${providerName}/`) + chalk.magenta(modelName) + thinkingSuffix + (trustText ? chalk.dim(` \u2022 \u{1F510} ${trustText}`) : "")
|
|
34313
34316
|
);
|
|
34314
34317
|
if (gitCtx) {
|
|
34315
34318
|
console.log(` ${formatGitLine(gitCtx)}`);
|
|
@@ -55545,8 +55548,9 @@ function formatStatusBar(projectPath, config, gitCtx, contextUsagePercent) {
|
|
|
55545
55548
|
parts.push(chalk.dim("\u{1F4C1} ") + chalk.magenta(projectName));
|
|
55546
55549
|
const providerName = config.provider.type;
|
|
55547
55550
|
const modelName = getDisplayModel(config);
|
|
55551
|
+
const capability = getThinkingCapability(providerName, modelName);
|
|
55548
55552
|
const thinkingMode = config.provider.thinking;
|
|
55549
|
-
const thinkingSuffix =
|
|
55553
|
+
const thinkingSuffix = capability.supported ? chalk.dim("/") + chalk.magenta(formatThinkingMode(thinkingMode ?? "off")) : "";
|
|
55550
55554
|
parts.push(chalk.dim(`${providerName}/`) + chalk.cyan(modelName) + thinkingSuffix);
|
|
55551
55555
|
if (isQualityLoop()) {
|
|
55552
55556
|
parts.push(chalk.green("\u{1F504} quality loop"));
|