git-coco 0.59.0 → 0.59.1

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.
@@ -61,7 +61,7 @@ import { pathToFileURL } from 'url';
61
61
  /**
62
62
  * Current build version from package.json
63
63
  */
64
- const BUILD_VERSION = "0.59.0";
64
+ const BUILD_VERSION = "0.59.1";
65
65
 
66
66
  const isInteractive = (config) => {
67
67
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -35106,7 +35106,8 @@ function renderDiffSurface(h, components, state, context, contextStatus, worktre
35106
35106
  ? [`Loading diff for ${selectedDetailFile?.path || 'selected file'}...`]
35107
35107
  : previewHunks.length
35108
35108
  ? [
35109
- `Selected file: ${selectedDetailFile?.path || ''}`,
35109
+ // File path is already shown in the panel title bar (right) —
35110
+ // no redundant "Selected file:" line here.
35110
35111
  currentHunkLabel,
35111
35112
  `Lines ${Math.min(state.diffPreviewOffset + 1, previewHunks.length || 1)}-${Math.min(state.diffPreviewOffset + visiblePreviewHunks.length, previewHunks.length)}/${previewHunks.length}`,
35112
35113
  '',
@@ -35141,7 +35142,8 @@ function renderDiffSurface(h, components, state, context, contextStatus, worktre
35141
35142
  ? [`Loading diff for ${worktreeFile?.path || 'selected file'}...`]
35142
35143
  : worktreeFile
35143
35144
  ? [
35144
- `Selected file: ${worktreeFile.path}`,
35145
+ // File path is already shown in the panel title bar (right) —
35146
+ // no redundant "Selected file:" line here.
35145
35147
  worktreeHunksLoading
35146
35148
  ? 'Hunks loading...'
35147
35149
  : worktreeHunks?.hunks.length
package/dist/index.js CHANGED
@@ -78,7 +78,7 @@ var readline__namespace = /*#__PURE__*/_interopNamespaceDefault(readline);
78
78
  /**
79
79
  * Current build version from package.json
80
80
  */
81
- const BUILD_VERSION = "0.59.0";
81
+ const BUILD_VERSION = "0.59.1";
82
82
 
83
83
  const isInteractive = (config) => {
84
84
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -35123,7 +35123,8 @@ function renderDiffSurface(h, components, state, context, contextStatus, worktre
35123
35123
  ? [`Loading diff for ${selectedDetailFile?.path || 'selected file'}...`]
35124
35124
  : previewHunks.length
35125
35125
  ? [
35126
- `Selected file: ${selectedDetailFile?.path || ''}`,
35126
+ // File path is already shown in the panel title bar (right) —
35127
+ // no redundant "Selected file:" line here.
35127
35128
  currentHunkLabel,
35128
35129
  `Lines ${Math.min(state.diffPreviewOffset + 1, previewHunks.length || 1)}-${Math.min(state.diffPreviewOffset + visiblePreviewHunks.length, previewHunks.length)}/${previewHunks.length}`,
35129
35130
  '',
@@ -35158,7 +35159,8 @@ function renderDiffSurface(h, components, state, context, contextStatus, worktre
35158
35159
  ? [`Loading diff for ${worktreeFile?.path || 'selected file'}...`]
35159
35160
  : worktreeFile
35160
35161
  ? [
35161
- `Selected file: ${worktreeFile.path}`,
35162
+ // File path is already shown in the panel title bar (right) —
35163
+ // no redundant "Selected file:" line here.
35162
35164
  worktreeHunksLoading
35163
35165
  ? 'Hunks loading...'
35164
35166
  : worktreeHunks?.hunks.length
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-coco",
3
- "version": "0.59.0",
3
+ "version": "0.59.1",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",