Update file structure

This commit is contained in:
TC
2026-06-08 11:26:36 +10:00
parent ae35aaff2b
commit 2c08147437

View File

@@ -69,7 +69,7 @@ Every save creates a versioned snapshot in `.hohoff/.revisions/`. The revisions
```bash ```bash
git clone <repo> git clone <repo>
cd hohoff/app cd hohoff
npm install npm install
``` ```
@@ -84,7 +84,6 @@ Configuration is stored in `~/.hohoff/config.json`.
## Development ## Development
```bash ```bash
cd app
npm run dev # Electron dev server with hot reload npm run dev # Electron dev server with hot reload
npm run build # Production build npm run build # Production build
npm run typecheck # Type-check (Node + browser configs) npm run typecheck # Type-check (Node + browser configs)
@@ -96,21 +95,20 @@ npm run typecheck # Type-check (Node + browser configs)
``` ```
hohoff/ hohoff/
├── app/ Electron application ├── src/
│ └── src/
│ ├── main/ Node process: file I/O, AI calls, IPC handlers │ ├── main/ Node process: file I/O, AI calls, IPC handlers
│ ├── preload/ contextBridge (renderer ↔ main) │ ├── preload/ contextBridge (renderer ↔ main)
│ └── renderer/ React UI (editor, chat, file tree, panels) │ └── renderer/ React UI (editor, chat, file tree, panels)
└── draft/ Manuscript files (Markdown) └── <your project folder>/ Manuscript files (Markdown)
├── Prologue.md ├── Prologue.md
├── Part I/ ├── Part I/
│ └── *.md │ └── *.md
├── Part II/ … Part IV/ ├── Part II/ … Part IV/
├── Epilogue.md ├── Epilogue.md
└── .hohoff/ App metadata (not manuscript content) └── .hohoff/ App metadata (not manuscript content)
├── .order.json Custom file ordering ├── order.json Custom file ordering
├── .session.json Persisted app state ├── session.json Persisted app state
├── .revisions/ Version history ├── revisions/ Version history
└── Story Bible.md Reference file (optional) └── Story Bible.md Reference file (optional)
``` ```