@cosmicdrift/kumiko-headless 0.2.3 → 0.4.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 +103 -0
- package/package.json +11 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,108 @@
|
|
|
1
1
|
# @cosmicdrift/kumiko-headless
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 825e7d2: Visual-Tree V.1.4 → V.1.6 — Feature-complete Editor + Folder-Hierarchy + Roving-tabindex.
|
|
8
|
+
|
|
9
|
+
**V.1.4** — explicit `folder?: string` Schema-Field auf text-block-entity. Slug bleibt
|
|
10
|
+
kebab-only validiert, Folder explizit gesetzt. Tree gruppiert via `groupBlocksByFolder`
|
|
11
|
+
(ersetzt `groupBlocksBySlugPrefix`). `Subscribe<T>` Signature um optional `emitError`
|
|
12
|
+
erweitert für explicit async-error-Pfade. ProviderBranch zeigt Error-Banner mit
|
|
13
|
+
Retry-Button. Drift-Test pinnt seedTextBlock-vs-set.write Slug-Validation.
|
|
14
|
+
|
|
15
|
+
**V.1.4b** — URL-State-Routing für Editor-Target via `nav.searchParams`. F5 + Back-Button
|
|
16
|
+
stellen den Editor-State wieder her. Format: `?t=text-content:edit&a_slug=...&a_lang=...`.
|
|
17
|
+
Plus `useDispatchTarget` hook ersetzt globalen `dispatchTarget` als empfohlenen Production-
|
|
18
|
+
Pfad (legacy bleibt für Test-Hooks).
|
|
19
|
+
|
|
20
|
+
**V.1.5** — Arrow-Key-Navigation (`<aside role="tree">`, ARIA-tree-Pattern) + SSE-driven
|
|
21
|
+
Tree-Refresh. `ClientFeatureDefinition.treeEntities?: string[]` listet Entity-Namen pro
|
|
22
|
+
Provider; live-events triggern provider-re-mount → Stale-Tree-state="stub"→"filled"
|
|
23
|
+
flippt nach save automatisch.
|
|
24
|
+
|
|
25
|
+
**V.1.5c+d** — Active-Node-Highlight (explicit blue + 2px border-l + scrollIntoView),
|
|
26
|
+
VS-Code-Polish (compact spacing, focus-visible, folder-icon-color text-amber, indent-
|
|
27
|
+
guides per ancestor-depth), Folder-Wrapper für legal-pages ("📁 Legal" + slug-first
|
|
28
|
+
Verschachtelung) und text-content ("📁 Content").
|
|
29
|
+
|
|
30
|
+
**V.1.6** — Multi-level Folder-Splitting (`folder="page/marketing"` → nested folders,
|
|
31
|
+
walk-or-create-pattern, folder/leaf-collision-tolerant). Roving-tabindex (nur focused-
|
|
32
|
+
treeitem hat tabIndex=0, Tab cyclt aus dem Tree raus).
|
|
33
|
+
|
|
34
|
+
35/35 kumiko check PASS, 13/13 group-blocks + 22/22 text-content integration tests grün.
|
|
35
|
+
Browser + Keyboard lokal validated.
|
|
36
|
+
|
|
37
|
+
**Breaking**: `TreeContext` Type entfernt (V.1.2 SR2-Rip — war nie genutzt). Provider sind
|
|
38
|
+
session-bound: `TreeChildrenSubscribe = () => Subscribe<T>` statt `(ctx) => Subscribe<T>`.
|
|
39
|
+
|
|
40
|
+
**V.1.7-Followups**: useEffect-deps in VisualTree-focus-init (Performance), Cancellation-
|
|
41
|
+
Token in TreeProvider's fetch (emit-after-unmount-warning), inline-rename, drag-drop,
|
|
42
|
+
file-icons per slug-extension, parent-jump bei ArrowLeft auf collapsed-item.
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [825e7d2]
|
|
47
|
+
- @cosmicdrift/kumiko-framework@0.4.0
|
|
48
|
+
|
|
49
|
+
## 0.3.0
|
|
50
|
+
|
|
51
|
+
### Minor Changes
|
|
52
|
+
|
|
53
|
+
- 0.3.0 bringt zwei neue Subsysteme (Step-Engine Tier-3 + Visual-Tree) plus
|
|
54
|
+
eine AST-Codemod-Pipeline als Vorarbeit für den L2-AI-Layer.
|
|
55
|
+
|
|
56
|
+
### Breaking Changes
|
|
57
|
+
|
|
58
|
+
- `skipTransitionGuard` → `unsafeSkipTransitionGuard` (Rename in
|
|
59
|
+
feature-ast + engine). Der `unsafe`-Prefix macht die Tragweite des
|
|
60
|
+
Casts sichtbar und ist konsistent zur `unsafeProjectionUpsert`- und
|
|
61
|
+
`r.rawTable`-Konvention. Migration: 1:1-Ersetzung, keine Verhaltens-Änderung.
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
- **Step-Engine M.4 — Tier-3 Workflow-Engine.** Neue Step-Vocabulary
|
|
66
|
+
`wait`, `waitForEvent`, `retry` ermöglicht persistierte Long-Running-Flows
|
|
67
|
+
über Job-Boundaries hinweg. Q7 Snapshot-at-Start hängt jedem Step-Run
|
|
68
|
+
einen SHA-256-Fingerprint des Aggregat-Zustands an, sodass Replays
|
|
69
|
+
deterministisch gegen den ursprünglichen Eingangszustand laufen.
|
|
70
|
+
- **Visual-Tree V.1.x — Tree-API + Editor-Panel.** Neue `VisualTree`-
|
|
71
|
+
Component plus TreeProvider-Pattern; erste TreeProviders für
|
|
72
|
+
`text-content` und `legal-pages` (CMS-light + Impressum/Privacy).
|
|
73
|
+
Fundament für den späteren No-Code-Designer (~3000 LOC, 98 Tests).
|
|
74
|
+
- **Codemod-Pipeline.** AST-basierte Patcher-Module für strukturelle
|
|
75
|
+
Feature-Edits — wird vom kommenden L2-AI-Layer als Tool-Surface
|
|
76
|
+
verwendet, ist aber eigenständig nutzbar für ts-morph-style Migrationen.
|
|
77
|
+
- **user-data-rights Sample-Recipe.** DSGVO Art. 15/17/18/20 vollständig
|
|
78
|
+
als Sample-Recipe (`samples/recipes/`) inklusive README — zeigt die
|
|
79
|
+
Export- und Forget-Pipeline gegen den `compliance-profiles`-Default
|
|
80
|
+
(`eu-dsgvo`).
|
|
81
|
+
|
|
82
|
+
### Fixes
|
|
83
|
+
|
|
84
|
+
- `tier-engine`: auto-default-tier-Hook benutzt jetzt `ctx.db.raw` für
|
|
85
|
+
Event-Store-Operationen (#37, vorher: stiller Bug, 22 Tage live).
|
|
86
|
+
- `engine`: unsafe-projection-upsert nutzt `as never` statt `as any` —
|
|
87
|
+
schmaler Cast-Surface, weniger Compiler-Knebel.
|
|
88
|
+
- `visual-tree`: runtime-isolation marker für client-konsumierte Files,
|
|
89
|
+
damit der Multi-Entry-Build den richtigen Bundle-Split bekommt.
|
|
90
|
+
- `feature-ast`: vollständiger `unsafeSkipTransitionGuard`-Rename (war
|
|
91
|
+
in zwei Modulen noch der alte Name).
|
|
92
|
+
- `framework`: Error-Reasons + `noConsole`-Lint + No-Date-API-Guard
|
|
93
|
+
wieder push-ready.
|
|
94
|
+
|
|
95
|
+
### Library-Updates
|
|
96
|
+
|
|
97
|
+
hono 4.12, jose 6.2, stripe 22.1, meilisearch 0.58, marked 18,
|
|
98
|
+
bun-types 1.3.13, lucide-react 1.14, bullmq 5.76, ioredis 5.10,
|
|
99
|
+
i18next 26.0, react + radix-ui-primitives auf aktuelle Minors.
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- Updated dependencies
|
|
104
|
+
- @cosmicdrift/kumiko-framework@0.3.0
|
|
105
|
+
|
|
3
106
|
## 0.2.3
|
|
4
107
|
|
|
5
108
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-headless",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Headless UI logic for Kumiko — Dispatcher contract, Form-Controller, View-Model, Nav-Resolver. Plattform- und React-frei; jeder Renderer (renderer, renderer-web, renderer-native, …) komponiert darauf.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -18,12 +18,18 @@
|
|
|
18
18
|
"runtime": "client"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
|
-
".":
|
|
22
|
-
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./src/index.ts",
|
|
23
|
+
"default": "./src/index.ts"
|
|
24
|
+
},
|
|
25
|
+
"./dispatcher": {
|
|
26
|
+
"types": "./src/dispatcher/index.ts",
|
|
27
|
+
"default": "./src/dispatcher/index.ts"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
"dependencies": {
|
|
25
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
26
|
-
"zod": "^4.3
|
|
31
|
+
"@cosmicdrift/kumiko-framework": "0.4.0",
|
|
32
|
+
"zod": "^4.4.3"
|
|
27
33
|
},
|
|
28
34
|
"publishConfig": {
|
|
29
35
|
"registry": "https://registry.npmjs.org",
|