Repository navigation
Shared paths and lane lookup, one line editor, and remove inherited formats - #8
Merged
Merged
Conversation
…ormats Utils: - core/paths.ts holds ~/.lanes, the plugin folder and record, the default install dir and ~ expansion (which no longer turns ~other/x into a folder in your own home); update, plugins and template loading use it - lanesInWorkspace() replaces three copies of "every lane folder with its path and base" - the init wizard's line editor moved into ui/tui.ts beside the rest of the raw-mode code; Esc still goes back a question Removed: - conversions for config formats lanes never had (warpTabs, warpTabsSource, warpTabGroup, setupCommand/teardownCommand tabs, baseFolder), and with them the core config's knowledge of the Warp plugin's source - the `tabs` alias for `lanes commands` - commandSucceeds (unused), and exports nothing outside their file used Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anvk
added a commit
that referenced
this pull request
Oct 22, 2026
…x and macOS (#9) - A private root `package.json` holds Prettier and ESLint (`@eslint/js` + `typescript-eslint` recommended) for the whole repository: `npm run format`, `format:check` and `lint`. - `cli` and `plugins/warp` gain `npm run typecheck`, which includes their tests. Until now the tests ran without type checking. - A new CI workflow runs two jobs: - **style:** formatting check, then lint; - **test:** on Ubuntu and macOS, the plugin API install, then the Warp plugin and the CLI (typecheck → build → test). On Linux the macOS-only clone helper is skipped, as the build already allows. - The code is formatted once here (Prettier, width 120, no trailing commas, to match the existing style), so most of the diff is whitespace. - What the checks found: - errors re-thrown from a `catch` now keep the original as `cause`; - a needless `\/` escape in a regex; - a starting value that was always overwritten; - a test fixture that still set `warpTabGroup`, which the config dropped in #8. CI fails on unformatted code instead of rewriting it; run `npm run format` at the root to fix. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Stacked on #7 (which is stacked on #6); merge those first.
Summary
Utils
core/paths.ts:~/.lanes, the plugin folder and record, the default install dir, and~expansion (which no longer turns~other/xinto a folder in your own home). Used by update, plugins and template loading.lanesInWorkspace()replaces three copies of "every lane folder with its path and base".initwizard's line editor moved intoui/tui.tswith the rest of the raw-mode code.Removed
warpTabs,warpTabsSource,warpTabGroup,setupCommand/teardownCommandtabs,baseFolder), about 100 lines, and with them the core config's knowledge of the Warp plugin's source.tabsalias forlanes commands.commandSucceeds(unused) and needless exports.Testing
warpTabskeys are ignored)lanes initwith Esc goes back one question; open/list/remove work, with the stable keyapp-1and"{path}"intact🤖 Generated with Claude Code