diffstalker 0.2.3 → 0.2.5

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.
Files changed (50) hide show
  1. package/.dependency-cruiser.cjs +2 -2
  2. package/.githooks/pre-push +2 -2
  3. package/.github/workflows/release.yml +3 -0
  4. package/CHANGELOG.md +6 -0
  5. package/dist/App.js +278 -758
  6. package/dist/KeyBindings.js +103 -91
  7. package/dist/ModalController.js +166 -0
  8. package/dist/MouseHandlers.js +37 -30
  9. package/dist/NavigationController.js +290 -0
  10. package/dist/StagingOperations.js +199 -0
  11. package/dist/config.js +39 -0
  12. package/dist/core/CompareManager.js +134 -0
  13. package/dist/core/ExplorerStateManager.js +7 -3
  14. package/dist/core/GitStateManager.js +28 -771
  15. package/dist/core/HistoryManager.js +72 -0
  16. package/dist/core/RemoteOperationManager.js +109 -0
  17. package/dist/core/WorkingTreeManager.js +412 -0
  18. package/dist/index.js +57 -57
  19. package/dist/state/FocusRing.js +40 -0
  20. package/dist/state/UIState.js +82 -48
  21. package/dist/ui/PaneRenderers.js +3 -6
  22. package/dist/ui/modals/BaseBranchPicker.js +4 -7
  23. package/dist/ui/modals/CommitActionConfirm.js +4 -4
  24. package/dist/ui/modals/DiscardConfirm.js +4 -7
  25. package/dist/ui/modals/FileFinder.js +3 -6
  26. package/dist/ui/modals/HotkeysModal.js +24 -21
  27. package/dist/ui/modals/Modal.js +1 -0
  28. package/dist/ui/modals/RepoPicker.js +109 -0
  29. package/dist/ui/modals/ThemePicker.js +4 -7
  30. package/dist/ui/widgets/CommitPanel.js +26 -94
  31. package/dist/ui/widgets/CompareListView.js +1 -11
  32. package/dist/ui/widgets/DiffView.js +2 -27
  33. package/dist/ui/widgets/ExplorerContent.js +1 -4
  34. package/dist/ui/widgets/ExplorerView.js +1 -11
  35. package/dist/ui/widgets/FileList.js +2 -8
  36. package/dist/ui/widgets/Footer.js +1 -0
  37. package/dist/utils/ansi.js +38 -0
  38. package/dist/utils/ansiTruncate.js +1 -5
  39. package/dist/utils/displayRows.js +72 -59
  40. package/dist/utils/fileCategories.js +7 -0
  41. package/dist/utils/fileResolution.js +23 -0
  42. package/dist/utils/languageDetection.js +3 -2
  43. package/dist/utils/logger.js +32 -0
  44. package/metrics/v0.2.4.json +236 -0
  45. package/metrics/v0.2.5.json +236 -0
  46. package/package.json +1 -1
  47. package/dist/ui/modals/BranchPicker.js +0 -157
  48. package/dist/ui/modals/SoftResetConfirm.js +0 -68
  49. package/dist/ui/modals/StashListModal.js +0 -98
  50. package/dist/utils/layoutCalculations.js +0 -100
@@ -43,11 +43,11 @@ module.exports = {
43
43
  // --- UI layer must not import top-level orchestrators ---
44
44
  {
45
45
  name: "ui-no-top-level",
46
- comment: "ui/ must not import App, index, KeyBindings, MouseHandlers, or FollowMode",
46
+ comment: "ui/ must not import App, index, KeyBindings, MouseHandlers, NavigationController, or FollowMode",
47
47
  severity: "error",
48
48
  from: { path: "^src/ui/" },
49
49
  to: {
50
- path: "^src/(App|index|KeyBindings|MouseHandlers|FollowMode)\\.ts$",
50
+ path: "^src/(App|index|KeyBindings|MouseHandlers|NavigationController|StagingOperations|ModalController|FollowMode)\\.ts$",
51
51
  },
52
52
  },
53
53
 
@@ -10,6 +10,6 @@ while read local_ref local_sha remote_ref remote_sha; do
10
10
  done
11
11
 
12
12
  if [ "$pushing_tag" = true ]; then
13
- echo "Tag push detected — running tests..."
14
- bun test
13
+ echo "Tag push detected — dry-running CI workflow..."
14
+ act push --env ACT=true --workflows .github/workflows/release.yml
15
15
  fi
@@ -28,6 +28,7 @@ jobs:
28
28
  - run: bun test
29
29
  - run: bun run metrics:snapshot
30
30
  - name: Commit metrics snapshot
31
+ if: ${{ !env.ACT }}
31
32
  run: |
32
33
  git config user.name "github-actions[bot]"
33
34
  git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -35,8 +36,10 @@ jobs:
35
36
  git commit -m "Add metrics snapshot for ${{ github.ref_name }}" || true
36
37
  git push origin HEAD:main
37
38
  - run: npm publish --access public
39
+ if: ${{ !env.ACT }}
38
40
 
39
41
  - name: Create GitHub Release
42
+ if: ${{ !env.ACT }}
40
43
  uses: softprops/action-gh-release@v2
41
44
  with:
42
45
  generate_release_notes: true
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.5] - 2026-03-06
9
+
10
+ ### Added
11
+
12
+ - Show application version in hotkeys modal footer
13
+
8
14
  ## [0.2.0] - 2026-01-27
9
15
 
10
16
  ### Changed