You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: run templates, watch-on-start, and dashboard links (#8)
* feat: run templates, watch-on-start, and dashboard links
Wire the backend's new `template_id` and add clickable dashboard links.
- `run start`: add `--template <slug>` (maintained run templates, e.g.
welcome-to-ellipsis), `--watch`/`--interval` to start and immediately stream
a run, and a local "exactly one of --config/--config-file/--template" check
for a clearer error than the server's 400.
- `run get` and `run start` now print a clickable dashboard link to the run;
`config get` prints a link to the agent. Links are scoped by account login
(resolved from /v1/me) and built from a new `resolveAppBase`, which derives
the web app base from the API base (api -> app, beta-api -> beta-app) with an
ELLIPSIS_APP_BASE override.
- `config get`: the link goes to stderr so the YAML/JSON on stdout stays clean
for piping; skipped entirely in `-o json` machine mode.
Adds pure URL builders (urls.ts) with tests and resolveAppBase tests, and
updates the README (the run-streaming section was stale — streaming already
ships behind --watch). Removes the unused APP_BASE constant.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* refactor: drop user-facing --watch poll interval
The poll cadence only applies to the rare REST fallback when live WebSocket
streaming is unavailable, so it isn't worth a flag. Remove `--interval` from
`run start`/`run get` and hardcode the fallback to 3s (FALLBACK_POLL_INTERVAL_SECONDS).
The internal watchRun(intervalSeconds) param stays for testability.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* chore: set --watch fallback poll interval to 2s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments