@ogygie/studio 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/LICENSE +21 -0
- package/README.md +23 -0
- package/dist-ui/assets/index-BvV4-x7U.js +78 -0
- package/dist-ui/assets/index-N5pQoBqE.css +1 -0
- package/dist-ui/index.html +13 -0
- package/package.json +51 -0
- package/src/index.ts +41 -0
- package/src/server/app.ts +84 -0
- package/src/server/routes.test.ts +164 -0
- package/src/server/routes.ts +87 -0
- package/src/server/schemas.ts +92 -0
- package/src/server/service.test.ts +305 -0
- package/src/server/service.ts +426 -0
- package/src/server/start.ts +80 -0
- package/src/server/storage/local-adapter.test.ts +52 -0
- package/src/server/storage/local-adapter.ts +67 -0
- package/src/server/storage/memory-adapter.ts +49 -0
- package/src/server/storage/spec-storage.ts +22 -0
- package/src/ui/app.css +3 -0
- package/src/ui/features/manifest-view/ManifestView.test.tsx +67 -0
- package/src/ui/features/manifest-view/ManifestView.tsx +80 -0
- package/src/ui/features/spec-board/SpecBoard.test.tsx +92 -0
- package/src/ui/features/spec-board/SpecBoard.tsx +198 -0
- package/src/ui/features/spec-editor/MarkdownPreview.tsx +49 -0
- package/src/ui/features/spec-editor/SpecEditor.test.tsx +79 -0
- package/src/ui/features/spec-editor/SpecEditor.tsx +237 -0
- package/src/ui/features/spec-editor/frontmatter-fields.test.ts +54 -0
- package/src/ui/features/spec-editor/frontmatter-fields.ts +85 -0
- package/src/ui/features/spec-editor/markdown-blocks.test.ts +37 -0
- package/src/ui/features/spec-editor/markdown-blocks.ts +82 -0
- package/src/ui/index.html +12 -0
- package/src/ui/lib/fetchContract.ts +40 -0
- package/src/ui/lib/queries.ts +69 -0
- package/src/ui/main.tsx +27 -0
- package/src/ui/patterns/EmptyState.tsx +24 -0
- package/src/ui/patterns/ErrorBanner.tsx +51 -0
- package/src/ui/patterns/Modal.tsx +38 -0
- package/src/ui/router.tsx +76 -0
- package/src/ui/test-utils.tsx +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 x10sion LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @ogygie/studio
|
|
2
|
+
|
|
3
|
+
Outil de dev du framework Ogygie : projette les fichiers de gouvernance d'un
|
|
4
|
+
repo — `specs/` et `ogygie.manifest.json` — en interface locale (board des
|
|
5
|
+
specs, éditeur à formulaire dérivé du schéma, vue manifeste en lecture seule).
|
|
6
|
+
**Le repo est l'état, le studio n'est qu'une vue** : tout ce qu'il écrit est un
|
|
7
|
+
fichier du repo, relu par les mêmes gates que le reste.
|
|
8
|
+
|
|
9
|
+
## Lancement
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pnpm add -D @ogygie/studio@<version d'@ogygie/cli> # lockstep D2
|
|
13
|
+
pnpm exec ogygie studio
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Le serveur écoute sur `127.0.0.1` UNIQUEMENT — outil local, jamais exposé, et
|
|
17
|
+
jamais monté par une passerelle produit. L'UI est livrée déjà construite dans
|
|
18
|
+
`dist-ui/` : aucun build n'est déclenché chez le consommateur.
|
|
19
|
+
|
|
20
|
+
## Ce qu'il ne fait pas
|
|
21
|
+
|
|
22
|
+
Il ne fait pas passer une spec en `implemented` — cette transition appartient
|
|
23
|
+
au flux d'implémentation (manifeste + CI), jamais à l'interface.
|