feat: rename flight log → flight logs, add flight run and flight show#8
Merged
lewisnsmith merged 1 commit intomainfrom Apr 18, 2026
Merged
feat: rename flight log → flight logs, add flight run and flight show#8lewisnsmith merged 1 commit intomainfrom
lewisnsmith merged 1 commit intomainfrom
Conversation
Hard rename of the `log` command group to `logs` (plural) — no deprecation shim per user decision. Bare `flight logs` now lists sessions. Adds `flight run` as the happy-path entry point (human-friendly output: "Started run <id> session <id>") and `flight show <session>` as a one-liner delegating to viewSession. Both mirror the existing session start machinery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
flight log→flight logs(hard rename, no shim)flight runas the canonical happy-path entry point (printsStarted run <runId> session <sessionId>)flight show <session-id>as a one-liner session viewerflight logsnow lists sessions (same asflight logs list)src/experiments.tsregistry module (used byflight run --experimentauto-registration)test/cli-rename.test.tsandtest/experiments.test.tsTest plan
npm run checkpasses (lint + typecheck + test)flight logslists sessionsflight log listerrors with "unknown command"flight run --agent xprints "Started run ... session ..."flight show <id>shows session detailVerification
npm run typecheck— passes (exit 0)npm run lint— passes (exit 0)npm run test— 33 test files pass; 2 files (benchmark.test.ts,integration.test.ts) fail due to pre-existing worktree constraint (tsx not in local node_modules); all failures areENOENT spawn tsx, unrelated to this PR🤖 Generated with Claude Code