@justmpm/ai-tool 0.9.3 → 1.0.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.
@@ -11,7 +11,7 @@ import {
11
11
  parseCommandOptions,
12
12
  readConfig,
13
13
  updateCacheMeta
14
- } from "./chunk-J3MX6NK3.js";
14
+ } from "./chunk-LC7H7LGY.js";
15
15
 
16
16
  // src/commands/describe.ts
17
17
  var STOPWORDS = /* @__PURE__ */ new Set([
@@ -220,10 +220,19 @@ function formatDescribeText(result) {
220
220
 
221
221
  `;
222
222
  if (area.files.length > 0) {
223
+ const MAX_FILES = 5;
224
+ const filesToShow = area.files.slice(0, MAX_FILES);
225
+ const remaining = area.files.length - filesToShow.length;
223
226
  out += `Arquivos:
224
227
  `;
225
- for (const file of area.files) {
228
+ for (const file of filesToShow) {
226
229
  out += ` \u2022 ${file}
230
+ `;
231
+ }
232
+ if (remaining > 0) {
233
+ out += ` ... e mais ${remaining} arquivo(s)
234
+ `;
235
+ out += ` \u2192 Use 'ai-tool area ${area.id}' para ver todos
227
236
  `;
228
237
  }
229
238
  out += "\n";