Commit Graph

6 Commits

Author SHA1 Message Date
Olli Paloviita 5c9f99b61f Rename screenci edit to screenci preview; notify the backend when a preview recording starts
The bridge mode moves behind preview --watch (one video at a time as
before); a one-shot preview has no single-video limit. Printed links now
point at the new per-video preview page. Before a preview pass records,
the CLI tells the backend which videos are about to record (fire and
forget) so the web preview page can show a live recording indicator.
Docs and the agent skill updated for the new command shape.
2026-08-18 12:48:56 +03:00
Olli Paloviita 96fddbaa6c editor: rename record command to export, edit specs, export run updates 2026-08-12 19:59:23 +03:00
Olli Paloviita bdcc61e223 chore: update screenci 2026-07-06 00:54:35 +03:00
Olli Paloviita e92bc0f37e fix(cli): guide users to cd into screenci island instead of auto-using its config
Resolve config by walking up for a flat screenci.config.ts only. When the
command runs from outside the island and a nested screenci/screenci.config.ts
is found, exit with guidance to cd into it, rather than silently running a
registry-downloaded CLI version. Run smoke-test CI steps from inside the
island so they exercise the local build.
2026-06-14 13:40:40 +03:00
Olli Paloviita ffdb87cfff feat(init): scaffold a self-contained screenci/ island
Init now creates an isolated `screenci/` directory (its own package.json,
local install, and lockfile) instead of writing into the current directory,
so installation is reliable inside pnpm/yarn monorepos and never touches the
host package.json. For pnpm it drops a nested pnpm-workspace.yaml so the parent
workspace can't absorb the island.

The GitHub workflow and agent skills are placed at the repository root (where
they are discovered); the workflow is scoped to the island via
`working-directory`. `screenci test`/`record` find the config by walking up
from the cwd (flat or `screenci/` layout), so they work inside and outside the
island. Init fails if `screenci/` already exists, rolls back a partially
created island on failure, and skips an existing workflow instead of failing.

Package-manager detection honors the spawning user agent first (including npm),
then falls back to a repo lockfile / packageManager field, then npm.
2026-06-13 22:51:33 +03:00
Olli Paloviita afc2dc9fc9 test(screenci): split cli coverage into focused specs 2026-06-11 16:56:28 +03:00