Skip to content

Commit 87b8174

Browse files
chore: fix website deploy path and update architecture doc
1 parent fc4ed6b commit 87b8174

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

.github/workflows/deploy-website.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- 'website/**'
7+
- 'Resources/website/**'
88
- '.github/workflows/deploy-website.yml'
99
workflow_dispatch:
1010

@@ -29,21 +29,21 @@ jobs:
2929
with:
3030
node-version: 20
3131
cache: npm
32-
cache-dependency-path: website/package-lock.json
32+
cache-dependency-path: Resources/website/package-lock.json
3333

3434
- name: Setup Pages
3535
uses: actions/configure-pages@v4
3636

3737
- name: Install dependencies
38-
run: cd website && npm ci
38+
run: cd Resources/website && npm ci
3939

4040
- name: Build website
41-
run: cd website && npm run build
41+
run: cd Resources/website && npm run build
4242

4343
- name: Upload artifact
4444
uses: actions/upload-pages-artifact@v3
4545
with:
46-
path: website/build
46+
path: Resources/website/build
4747

4848
deploy:
4949
needs: build

Resources/website/docs/architecture.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,13 @@ Understand the module dependency graph, actor model, and end-to-end data flow.
1010

1111
Wax is organized as a stack of Swift Package Manager library targets. Each layer adds capability while depending only on the layers below it.
1212

13-
## Module Dependency Graph
13+
## Architecture
1414

15-
```
16-
┌─────────────────────────────────────────┐
17-
│ Wax │ Orchestration, RAG, Unified Search
18-
│ MemoryOrchestrator, PhotoRAG, VideoRAG │
19-
└────────────┬──────────┬────────────┬────┘
20-
│ │ │
21-
┌───────▼──┐ ┌────▼────────┐ │
22-
│WaxText │ │WaxVector │ │
23-
│Search │ │Search │ │
24-
│(FTS5/SQL)│ │(USearch/ │ │
25-
│ │ │ Metal) │ │
26-
└────┬─────┘ └──────┬──────┘ │
27-
│ │ │
28-
│ ┌────────────▼──────┐ │
29-
│ │WaxVectorSearch │ │ (trait-gated)
30-
│ │MiniLM │ │
31-
│ │(CoreML embedder) │ │
32-
│ └───────────────────┘ │
33-
│ │
34-
┌────▼─────────────────────────▼────┐
35-
│ WaxCore │ Persistence, WAL, Binary Codec,
36-
│ Wax actor, .wax format, Locks │ Structured Memory types
37-
└───────────────────────────────────┘
38-
```
15+
<div align="center">
16+
<img src="/Wax/img/architecture.svg" width="800" alt="Wax Deep Architecture" />
17+
</div>
18+
19+
<br/>
3920

4021
## Actor Model
4122

0 commit comments

Comments
 (0)