teapot-coding-agent 0.17.8 → 0.17.9

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.
@@ -387,6 +387,8 @@ export function buildApp(master) {
387
387
  for (const d of dirents) {
388
388
  if (d.name.startsWith(".") && !(showHidden && d.name !== "." && d.name !== ".."))
389
389
  continue; // hidden files stay out unless the caller opted in
390
+ // .git behaves like an ignored entry (dimmed/hidden with the rest)
391
+ const forceIgnored = !d.isDirectory() ? false : d.name === ".git";
390
392
  const isDir = d.isDirectory();
391
393
  let size;
392
394
  if (!isDir) {
@@ -397,11 +399,12 @@ export function buildApp(master) {
397
399
  /* vanished mid-scan — fine */
398
400
  }
399
401
  }
402
+ const gitIg = ignoredNames.has(d.name);
400
403
  entries.push({
401
404
  name: d.name,
402
405
  dir: isDir,
403
406
  ...(size !== undefined ? { size } : {}),
404
- ...(ignoredNames.has(d.name) ? { ignored: true } : {}),
407
+ ...(gitIg || forceIgnored ? { ignored: true } : {}),
405
408
  });
406
409
  }
407
410
  entries.sort((x, y) => (x.dir !== y.dir ? (x.dir ? -1 : 1) : x.name.localeCompare(y.name)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teapot-coding-agent",
3
- "version": "0.17.8",
3
+ "version": "0.17.9",
4
4
  "description": "A lightweight, always-on multi-agent harness for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",