feinai 0.8.1 → 0.8.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
 
6
+ ## [0.8.2] - 2026-09-02
7
+
8
+ ### Fixed
9
+
10
+ - **Flicker en el dashboard mientras una página de spec/task detail estaba abierta.** `logRequest` sólo suprimía un listado exacto de paths (`/api/status`, `/api/specs`, ...); los reads con id (`/api/tasks/:id`, `/api/tasks/:id/worktree-status`) se colaban al log de requests. Cada uno disparaba el evento SSE `refresh`, que hacía que el dashboard se re-renderizara y re-fetchara la misma página, generando un nuevo request logueado — un loop autoalimentado de ~1.5s mientras esa página quedaba abierta. Ahora se suprime cualquier GET del actor `dashboard` (las mutaciones POST/PATCH/DELETE se siguen registrando y disparando refresh para el resto).
11
+
6
12
  ## [0.8.1] - 2026-09-02
7
13
 
8
14
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feinai",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Task & spec manager for AI agents — parallel worktrees, live dashboard, SDD skills",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.ts CHANGED
@@ -57,7 +57,7 @@ import {
57
57
  type OrphanKillResult,
58
58
  } from "./server-state";
59
59
 
60
- const VERSION = "0.8.1";
60
+ const VERSION = "0.8.2";
61
61
 
62
62
  interface ParsedArgs {
63
63
  positional: string[];
package/src/server.ts CHANGED
@@ -163,10 +163,15 @@ function deriveSource(actor: string): "Dashboard" | "API" | "Terminal" {
163
163
  function logRequest(method: string, path: string, actor: string): void {
164
164
  if (path === "/" || path === "/api/events/stream") return;
165
165
 
166
- // Suppress dashboard's own periodic polling noise only.
167
- // Everything else (agent reads, terminal commands, dashboard detail views) is logged.
168
- const POLL_PATHS = ["/api/status", "/api/specs", "/api/tasks", "/api/events", "/api/agents"];
169
- if (actor === "dashboard" && POLL_PATHS.includes(path)) return;
166
+ // Suppress dashboard's own reads (list views, detail views, worktree-status
167
+ // polling). The exact-match list missed per-id paths like /api/tasks/:id and
168
+ // /api/tasks/:id/worktree-status those got logged, which fed the SSE
169
+ // "refresh" broadcast, which made every open dashboard re-render and re-fetch,
170
+ // logging a new request that fed the next refresh: a self-sustaining loop that
171
+ // caused the whole page to flicker every ~1.5s while a task/spec detail page
172
+ // was open. Dashboard mutations (POST/PATCH/DELETE) are never GET, so they
173
+ // still get logged and still drive refresh for everyone else.
174
+ if (actor === "dashboard" && method === "GET") return;
170
175
 
171
176
  const source = deriveSource(actor);
172
177
  requestLog.push({