docs: updated architecture in README
This commit is contained in:
+67
-30
@@ -167,53 +167,90 @@ pnpm -F @proj-airi/stage-tamagotchi dev
|
|||||||
%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%%
|
%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%%
|
||||||
|
|
||||||
flowchart TD
|
flowchart TD
|
||||||
Core("コア")
|
Core("Core")
|
||||||
Unspeech["unspeech"]
|
Unspeech("unspeech")
|
||||||
DBDriver["@proj-airi/drizzle-duckdb-wasm"]
|
DBDriver("@proj-airi/drizzle-duckdb-wasm")
|
||||||
MemoryDriver["[WIP] メモリアラヤ"]
|
MemoryDriver("[WIP] メモリアラヤ")
|
||||||
DB1["@proj-airi/duckdb-wasm"]
|
DB1("@proj-airi/duckdb-wasm")
|
||||||
ICONS["@proj-airi/lobe-icons"]
|
SVRT("@proj-airi/server-runtime")
|
||||||
UI("@proj-airi/stage-ui")
|
Memory("Memory")
|
||||||
|
STT("STT")
|
||||||
Stage("ステージ")
|
Stage("ステージ")
|
||||||
F_AGENT("Factorioエージェント")
|
StageUI("@proj-airi/stage-ui")
|
||||||
F_API["Factorio RCON API"]
|
UI("@proj-airi/ui")
|
||||||
F_MOD1["autorio"]
|
|
||||||
SVRT["@proj-airi/server-runtime"]
|
|
||||||
MC_AGENT("Minecraftエージェント")
|
|
||||||
XSAI["xsai"]
|
|
||||||
|
|
||||||
subgraph AIRI
|
subgraph AIRI
|
||||||
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
||||||
ICONS --> UI --> Stage --> Core
|
UI --> StageUI --> Stage --> Core
|
||||||
Core --> STT
|
Core --> STT
|
||||||
Core --> SVRT
|
Core --> SVRT
|
||||||
end
|
end
|
||||||
|
|
||||||
STT --> |話す|Unspeech
|
subgraph UI_Components
|
||||||
SVRT --> |Factorioをプレイ|F_AGENT
|
UI --> StageUI
|
||||||
SVRT --> |Minecraftをプレイ|MC_AGENT
|
UITransitions("@proj-airi/ui-transitions") --> StageUI
|
||||||
|
UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI
|
||||||
|
FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI
|
||||||
|
FontXiaolai("@proj-airi/font-xiaolai") --> StageUI
|
||||||
|
end
|
||||||
|
|
||||||
|
subgraph Apps
|
||||||
|
Stage --> StageWeb("@proj-airi/stage-web")
|
||||||
|
Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi")
|
||||||
|
Core --> RealtimeAudio("@proj-airi/realtime-audio")
|
||||||
|
Core --> PromptEngineering("@proj-airi/playground-prompt-engineering")
|
||||||
|
end
|
||||||
|
|
||||||
|
subgraph Server_Components
|
||||||
|
Core --> ServerSDK("@proj-airi/server-sdk")
|
||||||
|
ServerShared("@proj-airi/server-shared") --> SVRT
|
||||||
|
ServerShared --> ServerSDK
|
||||||
|
end
|
||||||
|
|
||||||
|
STT -->|話す| Unspeech
|
||||||
|
SVRT -->|Factorioをプレイ| F_AGENT
|
||||||
|
SVRT -->|Minecraftをプレイ| MC_AGENT
|
||||||
|
|
||||||
subgraph Factorioエージェント
|
subgraph Factorioエージェント
|
||||||
F_AGENT --> F_API -..- factorio-server
|
F_AGENT("Factorioエージェント")
|
||||||
subgraph factorio-server-wrapper
|
F_API("Factorio RCON API")
|
||||||
subgraph factorio-server
|
factorio-server("factorio-server")
|
||||||
F_MOD1
|
F_MOD1("autorio")
|
||||||
end
|
|
||||||
end
|
F_AGENT --> F_API -.-> factorio-server
|
||||||
|
F_MOD1 -.-> factorio-server
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Minecraftエージェント
|
subgraph Minecraftエージェント
|
||||||
MC_AGENT --> Mineflayer -..- minecraft-server
|
MC_AGENT("Minecraftエージェント")
|
||||||
subgraph factorio-server-wrapper
|
Mineflayer("Mineflayer")
|
||||||
subgraph factorio-server
|
minecraft-server("minecraft-server")
|
||||||
F_MOD1
|
|
||||||
end
|
MC_AGENT --> Mineflayer -.-> minecraft-server
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
XSAI --> Core
|
XSAI("xsAI") --> Core
|
||||||
XSAI --> F_AGENT
|
XSAI --> F_AGENT
|
||||||
XSAI --> MC_AGENT
|
XSAI --> MC_AGENT
|
||||||
|
|
||||||
|
Core --> TauriMCP("@proj-airi/tauri-plugin-mcp")
|
||||||
|
Memory_PGVector("@proj-airi/memory-pgvector") --> Memory
|
||||||
|
|
||||||
|
style Core fill:#f9d4d4,stroke:#333,stroke-width:1px
|
||||||
|
style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px
|
||||||
|
style UI fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px
|
||||||
|
style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px
|
||||||
|
style Factorioエージェント fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
style Minecraftエージェント fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
|
||||||
|
style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
|||||||
@@ -177,52 +177,89 @@ npx bumpp --no-commit --no-tag
|
|||||||
|
|
||||||
flowchart TD
|
flowchart TD
|
||||||
Core("Core")
|
Core("Core")
|
||||||
Unspeech["unspeech"]
|
Unspeech("unspeech")
|
||||||
DBDriver["@proj-airi/drizzle-duckdb-wasm"]
|
DBDriver("@proj-airi/drizzle-duckdb-wasm")
|
||||||
MemoryDriver["[WIP] Memory Alaya"]
|
MemoryDriver("[WIP] Memory Alaya")
|
||||||
DB1["@proj-airi/duckdb-wasm"]
|
DB1("@proj-airi/duckdb-wasm")
|
||||||
ICONS["@proj-airi/lobe-icons"]
|
SVRT("@proj-airi/server-runtime")
|
||||||
UI("@proj-airi/stage-ui")
|
Memory("Memory")
|
||||||
|
STT("STT")
|
||||||
Stage("Stage")
|
Stage("Stage")
|
||||||
F_AGENT("Factorio Agent")
|
StageUI("@proj-airi/stage-ui")
|
||||||
F_API["Factorio RCON API"]
|
UI("@proj-airi/ui")
|
||||||
F_MOD1["autorio"]
|
|
||||||
SVRT["@proj-airi/server-runtime"]
|
|
||||||
MC_AGENT("Minecraft Agent")
|
|
||||||
XSAI["xsai"]
|
|
||||||
|
|
||||||
subgraph AIRI
|
subgraph AIRI
|
||||||
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
||||||
ICONS --> UI --> Stage --> Core
|
UI --> StageUI --> Stage --> Core
|
||||||
Core --> STT
|
Core --> STT
|
||||||
Core --> SVRT
|
Core --> SVRT
|
||||||
end
|
end
|
||||||
|
|
||||||
STT --> |Speaking|Unspeech
|
subgraph UI_Components
|
||||||
SVRT --> |Playing Factorio|F_AGENT
|
UI --> StageUI
|
||||||
SVRT --> |Playing Minecraft|MC_AGENT
|
UITransitions("@proj-airi/ui-transitions") --> StageUI
|
||||||
|
UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI
|
||||||
subgraph Factorio Agent
|
FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI
|
||||||
F_AGENT --> F_API -..- factorio-server
|
FontXiaolai("@proj-airi/font-xiaolai") --> StageUI
|
||||||
subgraph factorio-server-wrapper
|
|
||||||
subgraph factorio-server
|
|
||||||
F_MOD1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Minecraft Agent
|
subgraph Apps
|
||||||
MC_AGENT --> Mineflayer -..- minecraft-server
|
Stage --> StageWeb("@proj-airi/stage-web")
|
||||||
subgraph factorio-server-wrapper
|
Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi")
|
||||||
subgraph factorio-server
|
Core --> RealtimeAudio("@proj-airi/realtime-audio")
|
||||||
F_MOD1
|
Core --> PromptEngineering("@proj-airi/playground-prompt-engineering")
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
XSAI --> Core
|
subgraph Server_Components
|
||||||
|
Core --> ServerSDK("@proj-airi/server-sdk")
|
||||||
|
ServerShared("@proj-airi/server-shared") --> SVRT
|
||||||
|
ServerShared --> ServerSDK
|
||||||
|
end
|
||||||
|
|
||||||
|
STT -->|Speaking| Unspeech
|
||||||
|
SVRT -->|Playing Factorio| F_AGENT
|
||||||
|
SVRT -->|Playing Minecraft| MC_AGENT
|
||||||
|
|
||||||
|
subgraph Factorio_Agent
|
||||||
|
F_AGENT("Factorio Agent")
|
||||||
|
F_API("Factorio RCON API")
|
||||||
|
factorio-server("factorio-server")
|
||||||
|
F_MOD1("autorio")
|
||||||
|
|
||||||
|
F_AGENT --> F_API -.-> factorio-server
|
||||||
|
F_MOD1 -.-> factorio-server
|
||||||
|
end
|
||||||
|
|
||||||
|
subgraph Minecraft_Agent
|
||||||
|
MC_AGENT("Minecraft Agent")
|
||||||
|
Mineflayer("Mineflayer")
|
||||||
|
minecraft-server("minecraft-server")
|
||||||
|
|
||||||
|
MC_AGENT --> Mineflayer -.-> minecraft-server
|
||||||
|
end
|
||||||
|
|
||||||
|
XSAI("xsAI") --> Core
|
||||||
XSAI --> F_AGENT
|
XSAI --> F_AGENT
|
||||||
XSAI --> MC_AGENT
|
XSAI --> MC_AGENT
|
||||||
|
|
||||||
|
Core --> TauriMCP("@proj-airi/tauri-plugin-mcp")
|
||||||
|
Memory_PGVector("@proj-airi/memory-pgvector") --> Memory
|
||||||
|
|
||||||
|
style Core fill:#f9d4d4,stroke:#333,stroke-width:1px
|
||||||
|
style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px
|
||||||
|
style UI fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px
|
||||||
|
style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px
|
||||||
|
style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
|
||||||
|
style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
|||||||
+69
-32
@@ -165,52 +165,89 @@ pnpm -F @proj-airi/stage-tamagotchi dev
|
|||||||
|
|
||||||
flowchart TD
|
flowchart TD
|
||||||
Core("Core")
|
Core("Core")
|
||||||
Unspeech["unspeech"]
|
Unspeech("unspeech")
|
||||||
DBDriver["@proj-airi/drizzle-duckdb-wasm"]
|
DBDriver("@proj-airi/drizzle-duckdb-wasm")
|
||||||
MemoryDriver["[WIP] Memory Alaya"]
|
MemoryDriver("[WIP] Memory Alaya")
|
||||||
DB1["@proj-airi/duckdb-wasm"]
|
DB1("@proj-airi/duckdb-wasm")
|
||||||
ICONS["@proj-airi/lobe-icons"]
|
SVRT("@proj-airi/server-runtime")
|
||||||
UI("@proj-airi/stage-ui")
|
Memory("Memory")
|
||||||
|
STT("STT")
|
||||||
Stage("Stage")
|
Stage("Stage")
|
||||||
F_AGENT("Factorio Agent")
|
StageUI("@proj-airi/stage-ui")
|
||||||
F_API["Factorio RCON API"]
|
UI("@proj-airi/ui")
|
||||||
F_MOD1["autorio"]
|
|
||||||
SVRT["@proj-airi/server-runtime"]
|
|
||||||
MC_AGENT("Minecraft Agent")
|
|
||||||
XSAI["xsai"]
|
|
||||||
|
|
||||||
subgraph AIRI
|
subgraph AIRI
|
||||||
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
DB1 --> DBDriver --> MemoryDriver --> Memory --> Core
|
||||||
ICONS --> UI --> Stage --> Core
|
UI --> StageUI --> Stage --> Core
|
||||||
Core --> STT
|
Core --> STT
|
||||||
Core --> SVRT
|
Core --> SVRT
|
||||||
end
|
end
|
||||||
|
|
||||||
STT --> |Speaking|Unspeech
|
subgraph UI_Components
|
||||||
SVRT --> |Playing Factorio|F_AGENT
|
UI --> StageUI
|
||||||
SVRT --> |Playing Minecraft|MC_AGENT
|
UITransitions("@proj-airi/ui-transitions") --> StageUI
|
||||||
|
UILoadingScreens("@proj-airi/ui-loading-screens") --> StageUI
|
||||||
subgraph Factorio Agent
|
FontCJK("@proj-airi/font-cjkfonts-allseto") --> StageUI
|
||||||
F_AGENT --> F_API -..- factorio-server
|
FontXiaolai("@proj-airi/font-xiaolai") --> StageUI
|
||||||
subgraph factorio-server-wrapper
|
|
||||||
subgraph factorio-server
|
|
||||||
F_MOD1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Minecraft Agent
|
subgraph Apps
|
||||||
MC_AGENT --> Mineflayer -..- minecraft-server
|
Stage --> StageWeb("@proj-airi/stage-web")
|
||||||
subgraph factorio-server-wrapper
|
Stage --> StageTamagotchi("@proj-airi/stage-tamagotchi")
|
||||||
subgraph factorio-server
|
Core --> RealtimeAudio("@proj-airi/realtime-audio")
|
||||||
F_MOD1
|
Core --> PromptEngineering("@proj-airi/playground-prompt-engineering")
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
XSAI --> Core
|
subgraph Server_Components
|
||||||
|
Core --> ServerSDK("@proj-airi/server-sdk")
|
||||||
|
ServerShared("@proj-airi/server-shared") --> SVRT
|
||||||
|
ServerShared --> ServerSDK
|
||||||
|
end
|
||||||
|
|
||||||
|
STT -->|Speaking| Unspeech
|
||||||
|
SVRT -->|Playing Factorio| F_AGENT
|
||||||
|
SVRT -->|Playing Minecraft| MC_AGENT
|
||||||
|
|
||||||
|
subgraph Factorio_Agent
|
||||||
|
F_AGENT("Factorio Agent")
|
||||||
|
F_API("Factorio RCON API")
|
||||||
|
factorio-server("factorio-server")
|
||||||
|
F_MOD1("autorio")
|
||||||
|
|
||||||
|
F_AGENT --> F_API -.-> factorio-server
|
||||||
|
F_MOD1 -.-> factorio-server
|
||||||
|
end
|
||||||
|
|
||||||
|
subgraph Minecraft_Agent
|
||||||
|
MC_AGENT("Minecraft Agent")
|
||||||
|
Mineflayer("Mineflayer")
|
||||||
|
minecraft-server("minecraft-server")
|
||||||
|
|
||||||
|
MC_AGENT --> Mineflayer -.-> minecraft-server
|
||||||
|
end
|
||||||
|
|
||||||
|
XSAI("xsAI") --> Core
|
||||||
XSAI --> F_AGENT
|
XSAI --> F_AGENT
|
||||||
XSAI --> MC_AGENT
|
XSAI --> MC_AGENT
|
||||||
|
|
||||||
|
Core --> TauriMCP("@proj-airi/tauri-plugin-mcp")
|
||||||
|
Memory_PGVector("@proj-airi/memory-pgvector") --> Memory
|
||||||
|
|
||||||
|
style Core fill:#f9d4d4,stroke:#333,stroke-width:1px
|
||||||
|
style AIRI fill:#fcf7f7,stroke:#333,stroke-width:1px
|
||||||
|
style UI fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Stage fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style UI_Components fill:#d4f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Server_Components fill:#d4e6f9,stroke:#333,stroke-width:1px
|
||||||
|
style Apps fill:#d4d4f9,stroke:#333,stroke-width:1px
|
||||||
|
style Factorio_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
style Minecraft_Agent fill:#f9d4f2,stroke:#333,stroke-width:1px
|
||||||
|
|
||||||
|
style DBDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style MemoryDriver fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style DB1 fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
|
style Memory_PGVector fill:#f9f9d4,stroke:#333,stroke-width:1px
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
|||||||
Reference in New Issue
Block a user