How pixel-alquimia-studios/aether-ide works
Aether IDE is a desktop code editor whose main workflow runs from opening a workspace, through editing and saving files, to using AI chat or an agent against that workspace. The React/TypeScript UI and stores coordinate workspace, editor, chat, and agent state; Tauri/Rust supplies filesystem, AI, package, web, and terminal capabilities. README statements support several product-level links; source excerpts show selected state and API calls. Other backend and UI connections are not fully sampled, so their detailed wiring is not inferred.
Main entry points: agentStore.ts Agent orchestration · App.tsx App shell · chatStore.ts Chat state · api.ts AI gateway client
Components 27
Desktop application
- App shell
src/App.tsx - UI state
src/stores/uiStore.ts - Session restore
src/hooks/useSession.ts
Workspace editing
- Workspace state
src/stores/workspaceStore.ts - Workspace filesystem
src/lib/workspace/fs.ts - Editor state
src/stores/editorStore.ts - Monaco editor
src/components/editor/EditorView.tsx - Git integration
src/lib/git.ts
AI assistance
- Chat panel
src/components/ai/ChatPanel.tsx - Chat state
src/stores/chatStore.ts - Chat persistence
src/lib/ai/chats.ts - Prompt context
src/lib/ai/context.ts - AI gateway client
src/lib/ai/api.ts - Provider settings
src/stores/settingsStore.ts
Agent capabilities
- Agent orchestration
src/stores/agentStore.ts - Agent tools
src/lib/agent/tools.ts - Agent permissions
src/lib/agent/permissions.ts - Analysis subagents
src/lib/agent/subagents.ts - Installable packages
src/lib/agent/packages.ts
Native services
- Integrated terminal
src-tauri/src/pty.rs - Native AI gateway
src-tauri/src/ai/mod.rs - Native commands
src-tauri/src/commands.rs - AI commands
src-tauri/src/commands_ai.rs - Web tools
src-tauri/src/web.rs - Package commands
src-tauri/src/commands_packages.rs
Other components
- Desktop user
- AI providers
Connections 30
- Desktop user → App shell: uses
- App shell → UI state: reads state
src/App.tsx - App shell → Session restore: restores session
src/App.tsx - Session restore → Workspace filesystem: loads workspace
src/hooks/useSession.ts - Session restore → Chat persistence: loads chat
src/hooks/useSession.ts - Desktop user → Workspace state: opens workspace
- Workspace state → Workspace filesystem: reads files
src/stores/workspaceStore.ts - Monaco editor → Editor state: edits
- Editor state → Workspace filesystem: saves files
src/stores/editorStore.ts - Desktop user → Git integration: manages changes
- Desktop user → Integrated terminal: runs commands
- App shell → Chat panel: renders
src/App.tsx - Chat panel → Chat state: sends messages
src/components/ai/ChatPanel.tsx - Chat state → Prompt context: builds context
src/stores/chatStore.ts - Chat state → AI gateway client: streams chat
src/stores/chatStore.ts - Chat state → Chat persistence: persists chats
src/stores/chatStore.ts - Provider settings → AI gateway client: fetches models
src/stores/settingsStore.ts - AI gateway client → Native AI gateway: invokes gateway
- Native AI gateway → AI providers: requests completions
- Desktop user → Agent orchestration: starts agent
- Agent orchestration → Prompt context: resolves mentions
src/stores/agentStore.ts - Agent orchestration → AI gateway client: calls tools model
src/stores/agentStore.ts - Agent orchestration → Agent tools: runs tools
src/stores/agentStore.ts - Agent orchestration → Analysis subagents: dispatches analysis
src/stores/agentStore.ts - Agent orchestration → Installable packages: loads packages
src/stores/agentStore.ts - Agent tools → Agent permissions: checks access
- Agent tools → Workspace filesystem: changes files
- Native commands → AI commands: registers commands
src-tauri/src/lib.rs - Native commands → Package commands: registers commands
src-tauri/src/lib.rs - Native commands → Web tools: registers commands
src-tauri/src/lib.rs