@git-stunts/git-cas 6.5.5 → 6.5.6
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 +23 -0
- package/README.md +8 -1
- package/UPGRADING.md +16 -0
- package/bin/ui/context.js +18 -51
- package/bin/ui/dashboard-view.js +294 -256
- package/bin/ui/dashboard.js +352 -283
- package/bin/ui/progress.js +83 -23
- package/bin/ui/theme.js +39 -12
- package/build-info.json +2 -2
- package/docs/releases/v6.5.6.md +55 -0
- package/package.json +6 -5
- package/src/infrastructure/adapters/GitRefAdapter.js +62 -32
- package/src/package-version.js +1 -1
- package/src/ports/GitRefPort.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [6.5.6] — 2026-07-30
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Bijou 7 framed cockpit** - updates the coherent Bijou dependency family to
|
|
15
|
+
7.2.0 and moves terminal lifecycle, shell chrome, help, command/search
|
|
16
|
+
palettes, settings, notifications, performance telemetry, and quit
|
|
17
|
+
confirmation to the hosted `createFramedApp()` boundary.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **Deterministic checked-ref conflicts** - failed checked updates, atomic
|
|
22
|
+
anchors, and checked deletes now classify concurrency from structured
|
|
23
|
+
post-failure ref posture instead of Git's human-readable diagnostics.
|
|
24
|
+
Operational failures remain unchanged when the observed ref still satisfies
|
|
25
|
+
the attempted precondition.
|
|
26
|
+
- **Shared progress cursor ownership** - store and restore progress now use
|
|
27
|
+
Bijou's reference-counted cursor guard and render the initial zero state
|
|
28
|
+
without counting it as a processed chunk.
|
|
29
|
+
- **Audited cockpit contrast** - foreground/background choices selected with
|
|
30
|
+
Design Book are registered as semantic theme tokens and verified at WCAG AA
|
|
31
|
+
contrast by Bijou's theme doctor.
|
|
32
|
+
|
|
10
33
|
## [6.5.5] — 2026-07-26
|
|
11
34
|
|
|
12
35
|
### Fixed
|
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Unlike traditional LFS which moves files to external servers, `git-cas` treats t
|
|
|
49
49
|
Existing v5 users should read [UPGRADING.md](./UPGRADING.md) and run
|
|
50
50
|
`npm run upgrade` in dry-run mode before restoring old encrypted vault entries.
|
|
51
51
|
For the release overview, see the
|
|
52
|
-
[v6.5.
|
|
52
|
+
[v6.5.6 Release Notes](./docs/releases/v6.5.6.md).
|
|
53
53
|
|
|
54
54
|
### 1. CLI Usage
|
|
55
55
|
|
|
@@ -70,6 +70,11 @@ Navigate your stored assets through the reader-first interactive dashboard.
|
|
|
70
70
|
git-cas vault dashboard
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
The framed cockpit keeps Explorer, Atlas, and Operations in one shared session.
|
|
74
|
+
Use `/` to search assets, `Ctrl+P` for the command palette, `?` for keyboard
|
|
75
|
+
help, `F2` for session settings, and `q` for a confirmed exit. Noninteractive
|
|
76
|
+
invocations retain the plain tab-separated listing.
|
|
77
|
+
|
|
73
78
|
### 3. Library Ingress
|
|
74
79
|
|
|
75
80
|
Integrate managed blob storage directly into your TypeScript or JavaScript application.
|
|
@@ -223,6 +228,8 @@ All three runtimes are tested in CI on every push. The hexagonal architecture is
|
|
|
223
228
|
retained under one exact staging-workspace generation.
|
|
224
229
|
- **[v6.5.5 Release Notes](./docs/releases/v6.5.5.md)**: Self-contained
|
|
225
230
|
identity for git-cas-owned commits in unconfigured bare repositories.
|
|
231
|
+
- **[v6.5.6 Release Notes](./docs/releases/v6.5.6.md)**: Bijou 7 hosted
|
|
232
|
+
cockpit ownership and deterministic checked-ref conflict classification.
|
|
226
233
|
- **[Upgrading](./UPGRADING.md)**: Migration guide for v5 → v6.
|
|
227
234
|
- **[Changelog](./CHANGELOG.md)**: Version history and migration notes.
|
|
228
235
|
|
package/UPGRADING.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
v6.0.0 is a major release that simplifies the encryption model, hardens security defaults, and cleans up the architecture. This guide covers every breaking change and what you need to do.
|
|
4
4
|
|
|
5
|
+
## v6.5.5 To v6.5.6
|
|
6
|
+
|
|
7
|
+
v6.5.6 changes no public API or stored-data schema and requires no migration.
|
|
8
|
+
Interactive terminals now run the cockpit through Bijou 7.2's hosted
|
|
9
|
+
`FramedApp`; noninteractive output and machine-readable command behavior are
|
|
10
|
+
unchanged.
|
|
11
|
+
|
|
12
|
+
Checked ref updates, atomic anchors, and checked deletes now classify
|
|
13
|
+
concurrency from structured post-failure ref posture instead of Git's
|
|
14
|
+
human-readable diagnostics. Existing callers keep the same boolean and
|
|
15
|
+
`GIT_REF_CONFLICT` contracts. Operational failures remain unchanged when the
|
|
16
|
+
attempted ref precondition still holds.
|
|
17
|
+
|
|
18
|
+
See [v6.5.6 Release Notes](./docs/releases/v6.5.6.md) for the framed-cockpit,
|
|
19
|
+
progress, contrast, and deterministic conflict details.
|
|
20
|
+
|
|
5
21
|
## v6.5.4 To v6.5.5
|
|
6
22
|
|
|
7
23
|
v6.5.5 changes no public API and requires no stored-data migration. New
|
package/bin/ui/context.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { createBijou } from '@flyingrobots/bijou';
|
|
6
|
-
import {
|
|
6
|
+
import { chalkStyle, createNodeContext, nodeIO, nodeRuntime } from '@flyingrobots/bijou-node';
|
|
7
7
|
import { GIT_CAS_THEME } from './theme.js';
|
|
8
8
|
|
|
9
9
|
/** @type {import('@flyingrobots/bijou').BijouContext | null} */
|
|
@@ -19,13 +19,12 @@ export function getCliContext() {
|
|
|
19
19
|
if (ctx) {
|
|
20
20
|
return ctx;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
const noColor = runtime.env('NO_COLOR') !== undefined;
|
|
24
|
-
ctx = createBijou({
|
|
25
|
-
runtime,
|
|
26
|
-
io: stderrIO(),
|
|
27
|
-
style: chalkStyle(noColor),
|
|
22
|
+
ctx = createNodeContext({
|
|
28
23
|
theme: GIT_CAS_THEME,
|
|
24
|
+
nodeIO: {
|
|
25
|
+
stdout: process.stderr,
|
|
26
|
+
stderr: process.stderr,
|
|
27
|
+
},
|
|
29
28
|
});
|
|
30
29
|
return ctx;
|
|
31
30
|
}
|
|
@@ -71,52 +70,20 @@ export function detectCliTuiMode(runtime) {
|
|
|
71
70
|
export function createCliTuiContext(options = {}) {
|
|
72
71
|
const runtime = options.runtime || nodeRuntime();
|
|
73
72
|
const noColor = runtime.env('NO_COLOR') !== undefined;
|
|
74
|
-
const base =
|
|
75
|
-
runtime
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
73
|
+
const base =
|
|
74
|
+
options.runtime || options.style
|
|
75
|
+
? createBijou({
|
|
76
|
+
runtime,
|
|
77
|
+
io: options.io || nodeIO(),
|
|
78
|
+
style: options.style || chalkStyle({ noColor }),
|
|
79
|
+
theme: GIT_CAS_THEME,
|
|
80
|
+
})
|
|
81
|
+
: createNodeContext({
|
|
82
|
+
theme: GIT_CAS_THEME,
|
|
83
|
+
...(options.io ? { io: options.io } : {}),
|
|
84
|
+
});
|
|
80
85
|
return {
|
|
81
86
|
...base,
|
|
82
87
|
mode: detectCliTuiMode(runtime),
|
|
83
88
|
};
|
|
84
89
|
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @returns {import('@flyingrobots/bijou').IOPort}
|
|
88
|
-
*/
|
|
89
|
-
function stderrIO() {
|
|
90
|
-
return {
|
|
91
|
-
/** @param {string} data */
|
|
92
|
-
write(data) {
|
|
93
|
-
process.stderr.write(data);
|
|
94
|
-
},
|
|
95
|
-
question() {
|
|
96
|
-
throw new Error('question() not supported in CLI context');
|
|
97
|
-
},
|
|
98
|
-
rawInput() {
|
|
99
|
-
throw new Error('rawInput() not supported in CLI context');
|
|
100
|
-
},
|
|
101
|
-
/** @param {(cols: number, rows: number) => void} callback */
|
|
102
|
-
onResize(callback) {
|
|
103
|
-
const handler = () => {
|
|
104
|
-
callback(process.stderr.columns ?? 80, process.stderr.rows ?? 24);
|
|
105
|
-
};
|
|
106
|
-
process.stderr.on('resize', handler);
|
|
107
|
-
return { dispose() { process.stderr.removeListener('resize', handler); } };
|
|
108
|
-
},
|
|
109
|
-
/**
|
|
110
|
-
* @param {() => void} callback
|
|
111
|
-
* @param {number} ms
|
|
112
|
-
*/
|
|
113
|
-
setInterval(callback, ms) {
|
|
114
|
-
const id = globalThis.setInterval(callback, ms);
|
|
115
|
-
return { dispose() { globalThis.clearInterval(id); } };
|
|
116
|
-
},
|
|
117
|
-
readFile() { throw new Error('readFile() not supported'); },
|
|
118
|
-
readDir() { throw new Error('readDir() not supported'); },
|
|
119
|
-
/** @param {string[]} segments */
|
|
120
|
-
joinPath(...segments) { return segments.join('/'); },
|
|
121
|
-
};
|
|
122
|
-
}
|