aliasmate 1.6.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -3
- package/README.md +84 -884
- package/dist/cli/completion.d.ts +5 -0
- package/dist/cli/completion.d.ts.map +1 -0
- package/dist/cli/completion.js +144 -0
- package/dist/cli/completion.js.map +1 -0
- package/dist/cli/manage.d.ts +19 -0
- package/dist/cli/manage.d.ts.map +1 -0
- package/dist/cli/manage.js +231 -0
- package/dist/cli/manage.js.map +1 -0
- package/dist/cli/run.d.ts +6 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +48 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/save.d.ts +8 -0
- package/dist/cli/save.d.ts.map +1 -0
- package/dist/cli/save.js +90 -0
- package/dist/cli/save.js.map +1 -0
- package/dist/cli/transfer.d.ts +6 -0
- package/dist/cli/transfer.d.ts.map +1 -0
- package/dist/cli/transfer.js +99 -0
- package/dist/cli/transfer.js.map +1 -0
- package/dist/core/commands.d.ts +29 -0
- package/dist/core/commands.d.ts.map +1 -0
- package/dist/core/commands.js +232 -0
- package/dist/core/commands.js.map +1 -0
- package/dist/core/env.d.ts +9 -0
- package/dist/core/env.d.ts.map +1 -0
- package/dist/core/env.js +45 -0
- package/dist/core/env.js.map +1 -0
- package/dist/core/executor.d.ts +7 -0
- package/dist/core/executor.d.ts.map +1 -0
- package/dist/{utils → core}/executor.js +10 -46
- package/dist/core/executor.js.map +1 -0
- package/dist/core/history.d.ts +11 -0
- package/dist/core/history.d.ts.map +1 -0
- package/dist/core/history.js +117 -0
- package/dist/core/history.js.map +1 -0
- package/dist/core/recent.d.ts +14 -0
- package/dist/core/recent.d.ts.map +1 -0
- package/dist/core/recent.js +54 -0
- package/dist/core/recent.js.map +1 -0
- package/dist/core/runner.d.ts +13 -0
- package/dist/core/runner.d.ts.map +1 -0
- package/dist/core/runner.js +83 -0
- package/dist/core/runner.js.map +1 -0
- package/dist/core/store.d.ts +29 -0
- package/dist/core/store.d.ts.map +1 -0
- package/dist/core/store.js +131 -0
- package/dist/core/store.js.map +1 -0
- package/dist/core/transfer.d.ts +20 -0
- package/dist/core/transfer.d.ts.map +1 -0
- package/dist/core/transfer.js +110 -0
- package/dist/core/transfer.js.map +1 -0
- package/dist/core/types.d.ts +29 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +3 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/validate.d.ts +6 -0
- package/dist/core/validate.d.ts.map +1 -0
- package/dist/core/validate.js +139 -0
- package/dist/core/validate.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +172 -0
- package/dist/index.js.map +1 -0
- package/dist/ui/format.d.ts +19 -0
- package/dist/ui/format.d.ts.map +1 -0
- package/dist/ui/format.js +155 -0
- package/dist/ui/format.js.map +1 -0
- package/dist/ui/interactive.d.ts +62 -0
- package/dist/ui/interactive.d.ts.map +1 -0
- package/dist/ui/interactive.js +657 -0
- package/dist/ui/interactive.js.map +1 -0
- package/dist/ui/onboarding.d.ts +3 -0
- package/dist/ui/onboarding.d.ts.map +1 -0
- package/dist/ui/onboarding.js +82 -0
- package/dist/ui/onboarding.js.map +1 -0
- package/dist/ui/prompts.d.ts +3 -0
- package/dist/ui/prompts.d.ts.map +1 -0
- package/dist/ui/prompts.js +50 -0
- package/dist/ui/prompts.js.map +1 -0
- package/dist/ui/table.d.ts +18 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +54 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/theme.d.ts +30 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +58 -0
- package/dist/ui/theme.js.map +1 -0
- package/package.json +10 -11
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -253
- package/dist/cli.js.map +0 -1
- package/dist/commands/alias.d.ts +0 -30
- package/dist/commands/alias.d.ts.map +0 -1
- package/dist/commands/alias.js +0 -213
- package/dist/commands/alias.js.map +0 -1
- package/dist/commands/changelog.d.ts +0 -9
- package/dist/commands/changelog.d.ts.map +0 -1
- package/dist/commands/changelog.js +0 -72
- package/dist/commands/changelog.js.map +0 -1
- package/dist/commands/completion.d.ts +0 -31
- package/dist/commands/completion.d.ts.map +0 -1
- package/dist/commands/completion.js +0 -522
- package/dist/commands/completion.js.map +0 -1
- package/dist/commands/delete.d.ts +0 -14
- package/dist/commands/delete.d.ts.map +0 -1
- package/dist/commands/delete.js +0 -54
- package/dist/commands/delete.js.map +0 -1
- package/dist/commands/edit.d.ts +0 -16
- package/dist/commands/edit.d.ts.map +0 -1
- package/dist/commands/edit.js +0 -231
- package/dist/commands/edit.js.map +0 -1
- package/dist/commands/export.d.ts +0 -23
- package/dist/commands/export.d.ts.map +0 -1
- package/dist/commands/export.js +0 -122
- package/dist/commands/export.js.map +0 -1
- package/dist/commands/import.d.ts +0 -23
- package/dist/commands/import.d.ts.map +0 -1
- package/dist/commands/import.js +0 -235
- package/dist/commands/import.js.map +0 -1
- package/dist/commands/list.d.ts +0 -25
- package/dist/commands/list.d.ts.map +0 -1
- package/dist/commands/list.js +0 -58
- package/dist/commands/list.js.map +0 -1
- package/dist/commands/prev.d.ts +0 -15
- package/dist/commands/prev.d.ts.map +0 -1
- package/dist/commands/prev.js +0 -138
- package/dist/commands/prev.js.map +0 -1
- package/dist/commands/recent.d.ts +0 -24
- package/dist/commands/recent.d.ts.map +0 -1
- package/dist/commands/recent.js +0 -132
- package/dist/commands/recent.js.map +0 -1
- package/dist/commands/run.d.ts +0 -22
- package/dist/commands/run.d.ts.map +0 -1
- package/dist/commands/run.js +0 -217
- package/dist/commands/run.js.map +0 -1
- package/dist/commands/save.d.ts +0 -17
- package/dist/commands/save.d.ts.map +0 -1
- package/dist/commands/save.js +0 -232
- package/dist/commands/save.js.map +0 -1
- package/dist/commands/search.d.ts +0 -19
- package/dist/commands/search.d.ts.map +0 -1
- package/dist/commands/search.js +0 -113
- package/dist/commands/search.js.map +0 -1
- package/dist/commands/validate.d.ts +0 -10
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -162
- package/dist/commands/validate.js.map +0 -1
- package/dist/storage/index.d.ts +0 -117
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/index.js +0 -262
- package/dist/storage/index.js.map +0 -1
- package/dist/utils/changelog.d.ts +0 -41
- package/dist/utils/changelog.d.ts.map +0 -1
- package/dist/utils/changelog.js +0 -192
- package/dist/utils/changelog.js.map +0 -1
- package/dist/utils/constants.d.ts +0 -48
- package/dist/utils/constants.d.ts.map +0 -1
- package/dist/utils/constants.js +0 -51
- package/dist/utils/constants.js.map +0 -1
- package/dist/utils/env.d.ts +0 -64
- package/dist/utils/env.d.ts.map +0 -1
- package/dist/utils/env.js +0 -199
- package/dist/utils/env.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -30
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -62
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/executor.d.ts +0 -33
- package/dist/utils/executor.d.ts.map +0 -1
- package/dist/utils/executor.js.map +0 -1
- package/dist/utils/formatters.d.ts +0 -30
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -188
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/history.d.ts +0 -37
- package/dist/utils/history.d.ts.map +0 -1
- package/dist/utils/history.js +0 -179
- package/dist/utils/history.js.map +0 -1
- package/dist/utils/llm-generator.d.ts +0 -21
- package/dist/utils/llm-generator.d.ts.map +0 -1
- package/dist/utils/llm-generator.js +0 -915
- package/dist/utils/llm-generator.js.map +0 -1
- package/dist/utils/onboarding.d.ts +0 -10
- package/dist/utils/onboarding.d.ts.map +0 -1
- package/dist/utils/onboarding.js +0 -316
- package/dist/utils/onboarding.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -44
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -115
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/prompts.d.ts +0 -66
- package/dist/utils/prompts.d.ts.map +0 -1
- package/dist/utils/prompts.js +0 -51
- package/dist/utils/prompts.js.map +0 -1
- package/dist/utils/recent.d.ts +0 -55
- package/dist/utils/recent.d.ts.map +0 -1
- package/dist/utils/recent.js +0 -102
- package/dist/utils/recent.js.map +0 -1
- package/dist/utils/validator.d.ts +0 -56
- package/dist/utils/validator.d.ts.map +0 -1
- package/dist/utils/validator.js +0 -413
- package/dist/utils/validator.js.map +0 -1
- package/dist/utils/version-checker.d.ts +0 -29
- package/dist/utils/version-checker.d.ts.map +0 -1
- package/dist/utils/version-checker.js +0 -191
- package/dist/utils/version-checker.js.map +0 -1
- package/whats-new.json +0 -217
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,64 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [2.3.0] - 2026-07-06
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **In-TUI export/import**: `x` exports a full backup (real secret values) to a prefilled `~/aliasmate-backup-<date>.json` path, `i` imports from a JSON file — with inline error handling, conflict skipping, and automatic pre-import backup
|
|
13
|
+
- CLI import now asks once about conflicts instead of per command
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Project moved to **github.com/akhshyganesh/aliasmate** (old URLs redirect); installer, docs, and package metadata updated
|
|
17
|
+
- Export/import logic extracted to `core/transfer` and shared by CLI and TUI; `~` is expanded in file paths
|
|
18
|
+
|
|
19
|
+
## [2.2.0] - 2026-07-06
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- **Rename commands**: `aliasmate rename <old> <new>` (alias `mv`), or simply change the name field in the TUI edit form — shortcut aliases and run history follow the new name
|
|
23
|
+
- **Standalone binaries** (no Node.js/npm needed): esbuild bundle + Node SEA build script, `install.sh` one-liner installer, and a GitHub Actions release workflow producing macOS (x64/arm64), Linux (x64/arm64), and Windows binaries on every tag
|
|
24
|
+
- **`export --full`**: restorable backups that keep real secret env values (default export still masks them for safe sharing)
|
|
25
|
+
- **Caret editing in TUI form fields**: ←/→, home/end (ctrl+a/ctrl+e), delete-forward, ctrl+u, and mid-string insertion
|
|
26
|
+
|
|
27
|
+
## [2.1.0] - 2026-07-06
|
|
28
|
+
|
|
29
|
+
Complete visual redesign and a real full-screen TUI.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
- **Full-screen TUI** (`aliasmate` with no args): browse commands sorted by usage with a live detail pane (command, directory, env, run history); run with `enter`, fuzzy filter with `/`, create with `n`, edit with `e`, delete with `d`, stats with `s` — everything in-screen
|
|
33
|
+
- **In-TUI forms** for creating and editing commands (name validation, path-mode toggle, env capture) — no more prompt round-trips
|
|
34
|
+
- `aliasmate prev [name]` opens the TUI form prefilled with your captured command; still saves directly when run non-interactively (scripts/CI)
|
|
35
|
+
- `aliasmate save` and `aliasmate edit <name>` open the TUI form
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
- **New design language**: terracotta accent, quiet grays, flat borderless tables, lowercase labels — content first, chrome barely visible
|
|
39
|
+
- `list`/`search` render a flat width-aware table; `stats` and `recent` restyled to match
|
|
40
|
+
- Filter matches on command names rank above matches in command text/directories
|
|
41
|
+
- Clearing a filter keeps the same row highlighted
|
|
42
|
+
- Removed the `inquirer` dependency entirely (lighter install, faster startup)
|
|
43
|
+
|
|
44
|
+
## [2.0.0] - 2026-07-06
|
|
45
|
+
|
|
46
|
+
Complete ground-up rewrite focused on performance, modularity, and day-to-day usability. Your saved commands, aliases, and run history carry over unchanged.
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
- **Interactive home screen** — running `aliasmate` with no arguments opens a menu of your commands sorted by usage, with run counts and instant run/edit/delete
|
|
50
|
+
- **`stats` command** — most-used commands with usage bars, total runs, last-run times
|
|
51
|
+
- **`ALIASMATE_HOME`** environment variable to relocate the config directory
|
|
52
|
+
- **Corruption safety** — unreadable config files are backed up (never clobbered) before falling back
|
|
53
|
+
- Duration reporting after every run; `delete -f` for scripted deletion
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
- **~10x faster startup** — command handlers are lazy-loaded and config files are read once per process
|
|
57
|
+
- **Layered architecture** — pure `core/` domain logic, `ui/` presentation, thin `cli/` adapters; core is fully unit-tested
|
|
58
|
+
- Cleaner, more consistent output with usage badges in listings
|
|
59
|
+
- Deleting a command now also removes its shortcut aliases
|
|
60
|
+
- Non-interactive `import` skips conflicts instead of hanging on a prompt
|
|
61
|
+
- Requires Node.js 18+
|
|
62
|
+
|
|
63
|
+
### Removed
|
|
64
|
+
- `changelog` command and `whats-new.json` (see this file instead)
|
|
65
|
+
- Auto-created `llm` command
|
|
66
|
+
|
|
9
67
|
## [1.6.2] - 2026-01-24
|
|
10
68
|
|
|
11
69
|
### Added
|
|
@@ -367,6 +425,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
367
425
|
- Input validation and error handling
|
|
368
426
|
- Beautiful CLI output with chalk
|
|
369
427
|
|
|
370
|
-
[1.2.0]: https://github.com/
|
|
371
|
-
[1.1.0]: https://github.com/
|
|
372
|
-
[1.0.0]: https://github.com/
|
|
428
|
+
[1.2.0]: https://github.com/akhshyganesh/aliasmate/releases/tag/v1.2.0
|
|
429
|
+
[1.1.0]: https://github.com/akhshyganesh/aliasmate/releases/tag/v1.1.0
|
|
430
|
+
[1.0.0]: https://github.com/akhshyganesh/aliasmate/releases/tag/v1.0.0
|