refactor: group domain services into folders
This commit is contained in:
15
README.md
15
README.md
@@ -34,6 +34,21 @@ bun run check
|
||||
bun run build
|
||||
```
|
||||
|
||||
## Source layout
|
||||
|
||||
The library is now grouped by domain under `src/`:
|
||||
|
||||
- `src/core/` — shared adapter, type, and IdentityDB helper contracts
|
||||
- `src/persona/` — persona initialization service
|
||||
- `src/schedule/` — schedule generation and pruning service
|
||||
- `src/availability/` — availability state service
|
||||
- `src/conversation/` — DM turn orchestration service
|
||||
- `src/memory/` — fact-draft persistence service
|
||||
- `src/timing/` — typing/reply timing profile helpers
|
||||
- `src/providers/grok/` — Grok API client and adapter bundle
|
||||
|
||||
Each domain now exposes a class-based service API in addition to the existing functional helpers so consumers can organize stateful integrations more cleanly.
|
||||
|
||||
## Release
|
||||
|
||||
Tagging `vX.Y.Z` or `X.Y.Z` triggers the Gitea npm release workflow under `.gitea/workflows/npm-release.yml`.
|
||||
|
||||
Reference in New Issue
Block a user