mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
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:
parent
12eaa39d73
commit
cc244031ff
3 changed files with 5 additions and 1 deletions
|
|
@ -2,3 +2,4 @@
|
||||||
- You do not need to manually build the web project, the user has npm run dev running in a separate terminal
|
- 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 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.
|
||||||
|
|
@ -67,11 +67,13 @@ export class VibeTunnelApp extends LitElement {
|
||||||
id: session.id,
|
id: session.id,
|
||||||
command: session.command,
|
command: session.command,
|
||||||
workingDir: session.workingDir,
|
workingDir: session.workingDir,
|
||||||
|
name: session.name,
|
||||||
status: session.status,
|
status: session.status,
|
||||||
exitCode: session.exitCode,
|
exitCode: session.exitCode,
|
||||||
startedAt: session.startedAt,
|
startedAt: session.startedAt,
|
||||||
lastModified: session.lastModified,
|
lastModified: session.lastModified,
|
||||||
pid: session.pid,
|
pid: session.pid,
|
||||||
|
waiting: session.waiting,
|
||||||
}));
|
}));
|
||||||
this.clearError();
|
this.clearError();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ export interface Session {
|
||||||
startedAt: string;
|
startedAt: string;
|
||||||
lastModified: string;
|
lastModified: string;
|
||||||
pid?: number;
|
pid?: number;
|
||||||
|
waiting?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@customElement('session-list')
|
@customElement('session-list')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue