Add missing session fields and update linting guidance

- Add waiting field to Session interface in session-list.ts
- Include name and waiting fields in app.ts session mapping
- Update CLAUDE.md with linting reminder

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Mario Zechner 2025-06-18 00:08:57 +02:00
parent 12eaa39d73
commit cc244031ff
3 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
- Never commit and/or push before the user has tested your changes!
- You do not need to manually build the web project, the user has npm run dev running in a separate terminal
- Never screenshot via puppeteer. always query the DOM to see what's what.
- NEVER EVER USE SETTIMEOUT FOR ANYTHING IN THE FRONTEND UNLESS EXPLICITELY PERMITTED
- NEVER EVER USE SETTIMEOUT FOR ANYTHING IN THE FRONTEND UNLESS EXPLICITELY PERMITTED
- npm run lint in web/ before commit and fix the issues.

View file

@ -67,11 +67,13 @@ export class VibeTunnelApp extends LitElement {
id: session.id,
command: session.command,
workingDir: session.workingDir,
name: session.name,
status: session.status,
exitCode: session.exitCode,
startedAt: session.startedAt,
lastModified: session.lastModified,
pid: session.pid,
waiting: session.waiting,
}));
this.clearError();
} else {

View file

@ -14,6 +14,7 @@ export interface Session {
startedAt: string;
lastModified: string;
pid?: number;
waiting?: boolean;
}
@customElement('session-list')