Commit Graph

243 Commits

Author SHA1 Message Date
33d91747af Combine ANSI style codes into a single span element
Multiple SGR parameters in one escape sequence (e.g. bold + color)
were each opening a new span, losing earlier styles. Collect styles
per sequence and emit one span with all of them.
2026-03-18 10:59:07 -07:00
33d21777d3 Add ANSI color code to HTML conversion for log display
Terminal color codes were rendering as raw escape sequences in the
web UI, making logs hard to read.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 10:55:31 -07:00
62f936cdef Merge branch 'switch-kleur-ansis' 2026-03-17 21:35:47 -07:00
3a6ed5d546 Handle -c flag position for both shebang and compiled argv layouts
When run via shebang, bun prepends itself so -c appears at argv[2]
instead of argv[1]. Search both positions to support either mode.
2026-03-17 21:35:19 -07:00
3328009af6 Promote status to the primary command over list and info
Hide `list` and `info` as aliases so existing scripts keep working
while surfacing `status` as the canonical entry point in help output.
2026-03-17 19:44:57 -07:00
c12d60119f Add hidden status command for listing and inspecting apps 2026-03-17 19:22:46 -07:00
35a9053308 Reduce nesting in SSH-disabled command setup with early continue 2026-03-17 19:18:26 -07:00
0abf03e64e Disable shell, get, and open commands for SSH sessions
These commands require local access and cannot function when
connected over SSH (USER=cli).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 19:17:12 -07:00
195be426f1 Convert getAppMetrics to async and replace spawnSync with async Bun.spawn
spawnSync blocks the event loop while waiting for ps and du, which
stalls the SSE metrics stream and other requests. Running these
concurrently with async spawn (and Promise.all for du) keeps the
server responsive under load.
2026-03-16 16:32:17 -07:00
0a7c2b0f1f Add CLI build and install to deploy, handle SSH login shell commands
The deploy script now builds the CLI binary and copies it to /usr/local/bin.
SSH passes commands as `toes -c "command args"`, so parse that form
before falling through to the interactive shell or normal arg handling.
2026-03-16 16:14:31 -07:00
aebafdf496 Remove package.json requirement, auto-deploy bare repos 2026-03-12 14:45:57 -07:00
18834fcd2b Replace kleur with ansis for CLI colors 2026-03-09 18:39:14 -07:00
b410a74d15 Refactor app building and simplify gitUrl 2026-03-08 23:38:15 -07:00
d9533032bc Use git URL from tunnel if available 2026-03-08 23:26:12 -07:00
e0347444aa Add share field to app type and show share button 2026-03-08 23:17:35 -07:00
f16201114e Replace EventSource with fetch-based SSE with reconnect 2026-03-08 23:03:00 -07:00
0aa375f037 Add ANSI color and styling to shell scripts 2026-03-08 22:18:53 -07:00
d2339b8d44 fix update spawn error handling and reset flag 2026-03-05 13:03:35 -08:00
61c0c90695 Delegate update to install/install.sh 2026-03-05 07:58:27 -08:00
e119aed205 just in case 2026-03-05 07:52:09 -08:00
ad8ef49439 Merge branch 'dots-in-project-name' 2026-03-05 07:46:28 -08:00
fafef70a33 Allow uppercase letters in VALID_NAME regex 2026-03-05 07:46:07 -08:00
0af360cef2 Centralize VALID_NAME regex into shared types 2026-03-05 07:45:19 -08:00
dfdd5c89b4 sha in toes cli 2026-03-05 07:43:59 -08:00
e7dd220106 Allow dots in app and repo names 2026-03-04 19:25:51 -08:00
c2264c42fc Merge branch 'cli-version' 2026-03-04 19:09:58 -08:00
0ae4e6e9b2 Embed git SHA at build time via define flag 2026-03-04 19:09:46 -08:00
f1fc4fcde8 Add error handling and timeout to system operations 2026-03-04 19:09:30 -08:00
dfb865e433 Add git SHA to CLI version string 2026-03-04 19:07:30 -08:00
f54cc401dc real settings 2026-03-04 19:03:29 -08:00
f8c5890e07 Add WiFi config and system info endpoints 2026-03-04 11:39:37 -08:00
327c7fd35d Merge branch 'new-app' 2026-03-03 17:10:43 -08:00
93d913f278 Use local git port when available for git URL 2026-03-03 17:10:36 -08:00
c0571978d2 Add font-family to modal overlay 2026-03-03 13:16:45 -08:00
abdfaf8402 Merge branch 'delete-repo' 2026-03-03 13:11:49 -08:00
8be9fd7912 Rename rerenderModal to renderModal 2026-03-03 13:11:46 -08:00
0aba9bde63 Refactor event stream to use EventSource API 2026-03-03 12:54:02 -08:00
577bec0d5c Simplify modal rendering with dedicated DOM root 2026-03-03 12:46:20 -08:00
7a0a9fc731 Add template embedding and generation script 2026-03-02 21:35:13 -08:00
c24c0fac45 Refactor env vars: rename DATA_DIR to DATA_ROOT, add APP_URL 2026-03-01 21:21:23 -08:00
baa3712fa2 Add getApp command and gitUrl helper 2026-03-01 14:57:39 -08:00
56db56976b re-do the whole thing on git 2026-03-01 13:29:01 -08:00
71091f20a1 Add emojis to URLs and Logs tabs 2026-03-01 10:16:39 -08:00
64d5295fde Merge branch 'global-tools' 2026-03-01 10:16:01 -08:00
82c8fc42da Add dashboard support for tool apps with iframe embedding 2026-03-01 10:10:49 -08:00
52cf99b56d Replace global with apps and dashboard app properties 2026-03-01 09:48:36 -08:00
fdc14a5021 fix race condition 2026-03-01 09:40:35 -08:00
c7f8f09ba9 Add global field to filter tool tabs 2026-03-01 09:35:05 -08:00
2046af1407 center metrics 2026-03-01 09:29:48 -08:00
7ee9163f76 Merge branch 'ssh-cli-auto' 2026-02-28 23:04:54 -08:00