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", "module": "src/index.ts",
"type": "module", "type": "module",
"private": true, "private": true,
"toes": {
"icon": "🕐"
},
"scripts": { "scripts": {
"toes": "bun run --watch index.tsx", "toes": "bun run --watch index.tsx",
"start": "bun toes", "start": "bun toes",

View File

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

View File

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

View File

@ -15,9 +15,10 @@ app.get('/api/apps/stream', c => {
start(controller) { start(controller) {
const send = () => { const send = () => {
// Strip proc field from apps before sending // 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, name,
state, state,
icon,
port, port,
started, started,
logs, logs,

View File

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