Skip to main content
Sealed packs open in the hosted viewer. When you serve a pack with kane-cli evidence serve, the server runs only on your machine and nothing is uploaded: the viewer page reads the pack directly from your computer.

After a run

When a run succeeds in an interactive terminal, Kane CLI asks whether to open the pack:
Answer y to start a local server and open the hosted viewer on your pack. Agent and non-interactive runs skip the prompt. Kane CLI prints this hint to stderr instead:

kane-cli evidence serve

This command serves one or more sealed packs to the hosted viewer:
Open the viewer URL in your browser. serve accepts only sealed .evidence files. It rejects a pack directory that is still live and unsealed. Exit codes: 0 when you stop the server cleanly with Ctrl-C, and 2 for any bad input or a port the server cannot bind.
The server listens only on 127.0.0.1 and puts a random token, unique to each server instance, in the URL path. Nothing is uploaded anywhere.

The hosted viewer

The viewer at https://evidence.lambdatest.com is a static page. You can open a pack in three ways:
  • a ?pack=<url> query parameter, which is what evidence serve and the post-run offer construct for you,
  • drag and drop of a .evidence file,
  • a file picker.
The viewer remembers the packs you opened recently. It fetches only the parts of a pack it needs (using ranged requests), so even a very large pack opens after downloading a few kilobytes.

Next steps