This commit is contained in:
Chris Wanstrath 2026-01-27 22:05:20 -08:00
parent d76d5ed50d
commit 15775bc022
5 changed files with 12 additions and 1 deletions

View File

@ -3,6 +3,9 @@
"module": "src/index.ts",
"type": "module",
"private": true,
"toes": {
"icon": "🕐"
},
"scripts": {
"toes": "bun run --watch index.tsx",
"start": "bun toes",

View File

@ -3,6 +3,9 @@
"module": "src/index.ts",
"type": "module",
"private": true,
"toes": {
"icon": "👤"
},
"scripts": {
"toes": "bun run --watch index.tsx",
"start": "bun toes",

View File

@ -3,6 +3,9 @@
"module": "src/index.ts",
"type": "module",
"private": true,
"toes": {
"icon": "💬"
},
"scripts": {
"toes": "bun run --watch index.ts",
"dev": "bun run --hot index.ts"

View File

@ -15,9 +15,10 @@ app.get('/api/apps/stream', c => {
start(controller) {
const send = () => {
// Strip proc field from apps before sending
const apps: SharedApp[] = allApps().map(({ name, state, port, started, logs }) => ({
const apps: SharedApp[] = allApps().map(({ name, state, icon, port, started, logs }) => ({
name,
state,
icon,
port,
started,
logs,

View File

@ -8,6 +8,7 @@ export type LogLine = {
export type App = {
name: string
state: AppState
icon?: string
port?: number
started?: number
logs?: LogLine[]