@git-stunts/git-cas 6.5.4 → 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 CHANGED
@@ -7,6 +7,37 @@ 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
+
33
+ ## [6.5.5] — 2026-07-26
34
+
35
+ ### Fixed
36
+
37
+ - **Self-contained internal Git commits** - root-set, publication, and vault
38
+ commits now carry git-cas-owned author and committer identity, so bare
39
+ repositories do not depend on ambient Git user configuration.
40
+
10
41
  ## [6.5.4] — 2026-07-26
11
42
 
12
43
  ### Added
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.4 Release Notes](./docs/releases/v6.5.4.md).
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.
@@ -221,6 +226,10 @@ All three runtimes are tested in CI on every push. The hexagonal architecture is
221
226
  persistent Git object sessions across compatible immutable writes.
222
227
  - **[v6.5.4 Release Notes](./docs/releases/v6.5.4.md)**: Ordered page batches
223
228
  retained under one exact staging-workspace generation.
229
+ - **[v6.5.5 Release Notes](./docs/releases/v6.5.5.md)**: Self-contained
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.
224
233
  - **[Upgrading](./UPGRADING.md)**: Migration guide for v5 → v6.
225
234
  - **[Changelog](./CHANGELOG.md)**: Version history and migration notes.
226
235
 
package/UPGRADING.md CHANGED
@@ -2,6 +2,38 @@
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
+
21
+ ## v6.5.4 To v6.5.5
22
+
23
+ v6.5.5 changes no public API and requires no stored-data migration. New
24
+ git-cas-owned root-set, publication, and vault commits carry a stable internal
25
+ author and committer identity, so writes no longer depend on repository-local
26
+ or global `user.name` and `user.email` configuration.
27
+
28
+ Existing refs, stored objects, and handles remain valid. Because Git commit
29
+ identity contributes to commit bytes, a newly created internal commit may have
30
+ a different OID than the same tree, parents, message, and timestamp would have
31
+ produced under an operator's ambient identity. Applications must continue to
32
+ treat these commits as opaque storage generations.
33
+
34
+ See [v6.5.5 Release Notes](./docs/releases/v6.5.5.md) for the exact identity
35
+ contract and clean-bare-repository verification.
36
+
5
37
  ## v6.5.3 To v6.5.4
6
38
 
7
39
  v6.5.4 adds `workspace.pages.putBatch()` and requires no stored-data migration.
package/bin/ui/context.js CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { createBijou } from '@flyingrobots/bijou';
6
- import { nodeRuntime, nodeIO, chalkStyle } from '@flyingrobots/bijou-node';
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
- const runtime = nodeRuntime();
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 = createBijou({
75
- runtime,
76
- io: options.io || nodeIO(),
77
- style: options.style || chalkStyle(noColor),
78
- theme: GIT_CAS_THEME,
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
- }