How unxsist/jet-pilot works
Main Components Identification
The system consists of these primary components:
• Frontend (Vue.js application)
• Backend (Tauri/Rust)
• Kubernetes Integration Layer
• File System Interface
• Shell Interface
┌─ User Interface Layer ─────────────────────────────────┐
• Vue.js Components │
• Command Palette │
• Monaco Editor │
• UI Components (Tables, Forms, Dialogs) │
• Application Logic Layer ────────────────────────────┐ │
• Vue Router │ │
• State Management │ │
• Service Providers │ │
• Tauri Backend Layer ──────────────────────────────┐ │ │
• Rust Core │ │ │
• Access Log Parser │ │ │
• Shell Integration │ │ │
• External Integration Layer ────────────────────┐ │ │ │
• Kubernetes API │ │ │ │
• File System Access │ │ │ │
• Terminal/Shell Access │ │ │ │
• ┘ │ │ │
• ┘─┘
Component Details
a. User Interface Layer (Blue):
• Command palette system
• Monaco editor integration
• Table system for K8s resources
b. Application Logic Layer (Green):
• Providers (src/providers/)
• Routing system (src/router.ts)
• Service layer (src/services/)
• Composables (src/composables/)
c. Tauri Backend Layer (Orange):
• Rust core components (src-tauri/src/)
• Access log parser subsystem
• Shell integration module
d. External Integration Layer (Purple):
• Kubernetes API connection
• File system access points
• Shell/terminal integration
Connection Flows
• User interaction flows (top-down)
• Data flows between components (bi-directional where applicable)
• API calls to Kubernetes (external)
• File system operations (external)
Additional Elements
Specialized sections for:
• Port forwarding functionality
• Log viewing system
• Kubernetes object management
• Shell access system
Notes
• Clear boundaries between frontend and backend
• Tauri bridge between frontend and system resources
• Security boundaries and permission zones