Commit graph

99 commits

Author SHA1 Message Date
b094d5c032
Merge remote-tracking branch 'origin/main' - resolve conflicts 2026-02-21 07:00:10 +00:00
aff1ade335
new file: AETHEX_IMPLEMENTATION.md 2026-02-21 04:58:52 +00:00
MrPiglr
b3c308b2c8 Add functional marketplace modules, bottom nav bar, root terminal, arcade games
- ModuleManager: Central tracking for installed marketplace modules
- DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module)
- BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings
- RootShell: Real root command execution utility
- TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands
- Terminal Pro module: Adds aliases (ll, la, h), command history
- ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games
- fade_in/fade_out animations for smooth transitions
2026-02-18 22:03:50 -07:00
MrPiglr
51ed8371b9 fix: separate platform detection from responsive design, fix boot screen crash on web
The boot screen was rendering as a black screen on web because
useNativeFeatures() called Capacitor's Network.getStatus() without
checking if the app was running on a native platform. This crashed the
entire AeThexOS component during mount.

Additionally, tablet testing code in use-platform-layout.ts was mixing
viewport width checks (responsive design) with native platform detection,
causing layout confusion between web and mobile builds.

Changes:
- Add isMobile() guards to all Capacitor plugin calls in useNativeFeatures
- Remove tablet viewport-width branch from usePlatformLayout (platform
  detection should not check window.innerWidth)
- Rename isMobileDevice() to isSmallViewport() in embed-utils to clarify
  it's a responsive check, not a platform check
- Rename local isMobile state to isNarrowViewport in os.tsx DesktopWidgets
  to prevent shadowing the platform.ts isMobile() import
- Remove dead PlatformAdaptiveExample.tsx (not imported anywhere)
- Fix watchLocation TypeScript error (watchId is Promise<string>)
- Add web fallbacks for clipboard and browser in useNativeFeatures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 00:09:06 -07:00
MrPiglr
33e0a26d35 modified: client/src/lib/platform.ts 2026-02-12 20:55:32 -07:00
MrPiglr
cc1688110c modified: client/src/main.tsx 2026-02-12 20:38:28 -07:00
MrPiglr
afb0b13ef6 modified: android/app/src/main/java/com/aethex/os/MainActivity.java 2026-02-12 20:15:30 -07:00
MrPiglr
711efba2da modified: android/app/src/main/java/com/aethex/os/MainActivity.java 2026-02-12 15:46:31 -07:00
MrPiglr
98159927b7 fix(os): add Enter key support on boot screen
- Add handleBootKeyPress to handle keyboard input during boot
- Attach onKeyDown handler to both mobile and desktop boot screens
- Add tabIndex={0} to make boot screens focusable
- Pressing Enter now triggers handleGuestContinue to enter system

Fixes: Enter key does nothing on boot screen
2026-02-12 15:37:45 -07:00
MrPiglr
94044be8d1 fix(platform): disable aggressive mobile detection for web browsers
- Comment out user agent-based mobile detection
- Only detect mobile when native bridges present (Capacitor/Flutter/Cordova)
- Fixes web browsers showing mobile UI instead of desktop OS
- Users on aethex.app will now see desktop interface

Desktop browsers should show desktop OS, not mobile app UI
2026-02-12 15:31:35 -07:00
MrPiglr
01145ad755 new file: EMBED_CODES.html 2026-02-12 12:42:48 -07:00
MrPiglr
bcc4926161 fix(webview): hardcode magenta debug background to diagnose load failure 2026-02-11 22:33:09 -07:00
MrPiglr
a15b5b1015 feat: integrate AeThex Language across entire OS ecosystem
Major Features:
- Custom .aethex programming language with cross-platform compilation
- Compiles to JavaScript, Lua (Roblox), Verse (UEFN), and C# (Unity)
- Built-in COPPA compliance and PII detection for safe metaverse development

Integration Points:
1. Terminal Integration
   - Added 'aethex' command for in-terminal compilation
   - Support for all compilation targets with --target flag
   - Real-time error reporting and syntax highlighting

2. IDE Integration
   - Native .aethex file support in Monaco editor
   - One-click compilation with target selector
   - Download compiled code functionality
   - Two example files: hello.aethex and auth.aethex

3. Curriculum Integration
   - New "AeThex Language" section in Foundry tech tree
   - Three modules: Realities & Journeys, Cross-Platform Sync, COPPA Compliance
   - Certification path for students

4. Documentation Site
   - Complete docs at /docs route (client/src/pages/aethex-docs.tsx)
   - Searchable documentation with sidebar navigation
   - Language guide, standard library reference, and examples
   - Ready for deployment to aethex.dev

5. npm Package Publishing
   - @aethex.os/core@1.0.0 - Standard library (published)
   - @aethex.os/cli@1.0.1 - Command line compiler (published)
   - Both packages live on npm and globally installable

Domain Configuration:
- DNS setup for 29+ domains (aethex.app, aethex.co, etc.)
- nginx reverse proxy configuration
- CORS configuration for cross-domain requests
- OAuth redirect fixes for hash-based routing

Standard Library Features:
- Passport: Universal identity across platforms
- DataSync: Cross-platform data synchronization
- SafeInput: PII detection (phone, email, SSN, credit cards)
- Compliance: COPPA/FERPA age gates and audit logging

Documentation Package:
- Created aethex-dev-docs.zip with complete documentation
- Ready for static site deployment
- Includes examples, API reference, and quickstart guide

Technical Improvements:
- Fixed OAuth blank page issue (hash routing)
- Added .gitignore rules for temp files
- Cleaned up build artifacts and temporary files
- Updated all package references to @aethex.os namespace

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-11 22:28:05 -07:00
MrPiglr
d74c99a72d fix(android): force manual file load to bypass black screen issue 2026-02-11 21:49:31 -07:00
MrPiglr
4642d7a76a modified: client/index.html 2026-02-03 11:59:47 -07:00
MrPiglr
293d3c0d02 new file: client/src/lib/embed-utils.ts 2026-02-03 10:25:47 -07:00
MrPiglr
ad5f15271e fix: resolve 55+ TypeScript errors and cleanup codebase
- Create server/auth.ts with requireAuth, optionalAuth, requireAdmin middleware
- Fix os.tsx: add Target/Check imports, fix useLayout->usePlatformLayout, fix achievements types
- Fix game-routes.ts: add all Request/Response types, fix session access
- Fix revenue.ts: org_id -> organization_id
- Fix votes.ts: currentSplit scope, created_by type
- Fix dashboard.ts: remove unsupported .distinct() method
- Fix game-dev-apis.ts: header/body type assertions
- Upgrade api/execute.ts: add Python simulation, JSON validation, HTML/CSS passthrough
- Upgrade app-registry.ts: full implementation with 15 apps, RBAC, categories
- Clean up Java heap error logs
2026-02-03 02:31:34 -07:00
MrPiglr
b8d5062f3e Add desktop app downloads page and release workflow
- Add GitHub Actions workflow for building desktop apps (Windows/macOS/Linux)
- Create /downloads page with GitHub releases integration
- Update README with download links
- Automated release creation on desktop-v* tags

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-29 23:32:02 -07:00
MrPiglr
bad838c659 modified: client/src/pages/os.tsx 2026-01-29 17:42:30 -07:00
MrPiglr
b15a03f041 Resolve merge conflicts and complete merge 2026-01-25 20:45:57 -07:00
MrPiglr
28b08e1ddf Update .gitignore to exclude Linux build artifacts and binaries 2026-01-25 19:57:58 -07:00
bf4ea612a3
merge: Resolve conflicts and add GitHub Pages fix 2026-01-06 00:28:01 +00:00
4b84eedbd3 feat: Add revenue_events table and fix migration FK constraints
- Add revenue_events table to track org/project revenue with source tracking
- Add Drizzle schema for revenue_events with proper org/project references
- Create migration 0006_revenue_events.sql with indexes
- Fix migration 0004: Remove FK constraints to profiles.id (auth schema incompatibility)
- Document auth.users/profiles.id type mismatch (UUID vs VARCHAR)
- Harden profile update authorization (self-update or org admin/owner only)
- Complete org-scoping security audit implementation (42 gaps closed)
2026-01-05 04:54:12 +00:00
MrPiglr
3ae5fe6280 Merge branch 'main' of https://github.com/AeThex-Corporation/AeThex-OS 2026-01-03 23:57:02 -07:00
MrPiglr
7e275b020c new file: .gemini/settings.json 2026-01-03 23:56:43 -07:00
Claude
879abba10b
fix: Memory leak in battery API event listeners
The battery level and charging event listeners were added but never
cleaned up when the component unmounts. This caused memory leaks as
anonymous functions couldn't be removed.

Fix:
- Store handler references in variables
- Properly cleanup event listeners in useEffect return function
- Prevents memory leaks on component unmount/remount cycles
2026-01-04 06:48:21 +00:00
Claude
776bd2c6d9
docs: Add comprehensive flow tracking and mark unfinished flows
- Create FLOWS.md with complete inventory of all 16 flows in codebase
- Mark 5 complete, 7 partial, and 4 not started flows
- Add [UNFINISHED FLOW] TODO markers to affected files:
  - wine-launcher.sh: VM launcher not implemented
  - execute.ts: Non-JS/TS language support missing
  - app-registry.ts: Stub implementation only
  - OAUTH_IMPLEMENTATION.md: Unlink endpoint needed
  - DEPLOYMENT_STATUS.md: Railway deployment pending
- Add FLOWS.md reference to PROJECT_RUNDOWN.md
2026-01-04 06:39:45 +00:00
MrPiglr
a1e4b35669 Add Railway deployment config 2025-12-29 00:22:23 +00:00
MrPiglr
29385e9844 Merge branch 'main' of https://github.com/AeThex-Corporation/AeThex-OS 2025-12-27 22:06:10 -07:00
MrPiglr
79f4f22012 Fix TS: add Capacitor deps, icons, Mode/Realm enums, type guards 2025-12-27 19:47:54 +00:00
MrPiglr
0f68fcb57e Stabilize build: add Capacitor deps, TS target, stubs and guards 2025-12-27 19:37:48 +00:00
MrPiglr
2496c0f990 modified: android/.idea/misc.xml 2025-12-27 05:58:03 -07:00
MrPiglr
24b7e83fd2 new file: MOBILE_FEATURES.md 2025-12-26 22:53:51 -07:00
MrPiglr
670aec8068 new file: script/seed.ts 2025-12-24 17:45:22 +00:00
MrPiglr
f97122135d modified: server/routes.ts 2025-12-24 04:41:58 +00:00
MrPiglr
fa62b3cef1 modified: server/routes.ts 2025-12-24 02:45:56 +00:00
MrPiglr
99a43bc3c7 modified: client/src/pages/os.tsx 2025-12-24 02:15:46 +00:00
MrPiglr
9ed30a52df modified: .env
new file:   .env.local
	modified:   client/src/lib/supabase.ts
2025-12-24 01:52:33 +00:00
MrPiglr
929d293e5f new file: server/api/os.ts 2025-12-24 01:25:27 +00:00
MrPiglr
e1c3b9d745 modified: client/src/pages/analytics.tsx
modified:   client/src/pages/file-manager.tsx
	modified:   client/src/pages/messaging.tsx
	modified:   client/src/pages/notifications.tsx
2025-12-24 00:36:49 +00:00
MrPiglr
d41043dfdc new file: EXPANSION_COMPLETE.md
new file:   QUICK_REFERENCE.md
	new file:   README_EXPANSION.md
	new file:   SESSION_SUMMARY.md
	new file:   VERIFICATION_CHECKLIST.md
	new file:   client/src/pages/lab.tsx
2025-12-24 00:24:40 +00:00
MrPiglr
e3e894ca61 Fix Vercel deployment errors: add .js extension to storage import in websocket.ts and fix missing ternary closing paren in passport.tsx 2025-12-23 04:30:10 +00:00
MrPiglr
bd1525b8e7 modified: client/src/App.tsx
new file:   client/src/hooks/use-websocket.ts
	new file:   client/src/pages/achievements.tsx
	new file:   client/src/pages/events.tsx
	new file:   client/src/pages/opportunities.tsx
	modified:   client/src/pages/os.tsx
	modified:   client/src/pages/passport.tsx
	modified:   package-lock.json
	modified:   server/websocket.ts
	new file:   test-implementation.sh
2025-12-23 03:52:48 +00:00
MrPiglr
32b1408135 modified: client/index.html 2025-12-22 22:44:12 +00:00
MrPiglr
0f7f5704da modified: .env 2025-12-22 22:33:48 +00:00
MrPiglr
be2ddda4d5 modified: server/supabase.ts 2025-12-22 02:26:12 +00:00
sirpiglr
13c99f97f0 Add knowledge base and chat history for AI assistant
Introduce a new file for AeThex-specific knowledge and a database schema for storing AI chat messages to enable conversational memory.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: b361dc7e-05f2-4cb1-b449-192851e8acb5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/MQQU9It
Replit-Helium-Checkpoint-Created: true
2025-12-21 23:30:44 +00:00
sirpiglr
3c40c7de57 Update the website's favicon to match the operating system theme
Replace the existing favicon with a new cyberpunk-themed icon.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: f0f4324d-6f54-4f14-8969-b315a1014cc5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/bUw0v6H
Replit-Helium-Checkpoint-Created: true
2025-12-21 23:00:24 +00:00
sirpiglr
d998bdb9bc Improve website visibility and user experience with updated SEO and metadata
Update index.html and manifest.json to enhance SEO, metadata, favicon, and social graph card information.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 43091590-812b-40a6-9417-195111369225
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/bUw0v6H
Replit-Helium-Checkpoint-Created: true
2025-12-21 22:52:57 +00:00
sirpiglr
bdb4e82583 Enhance boot sequence and identity detection for the operating system
Update the OS boot sequence to include detailed hardware initialization, passport subsystem checks, and integrated identity detection. Adds a new API endpoint for retrieving authenticated user profiles.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: ae92f0ce-ed07-4e47-b7ac-e9684ebbe070
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/nHHH2tH
Replit-Helium-Checkpoint-Created: true
2025-12-21 22:08:30 +00:00