Commit graph

94 commits

Author SHA1 Message Date
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
sirpiglr
50923682ad Add administrator tools for managing architects and enhance OS widget functionality
Includes service worker registration for offline support, adds bulk actions and filtering to the admin architects page, and implements widget visibility controls and a mobile drawer for the OS.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: ad12b0de-1689-4465-b8e3-8b92d06f17d1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/4z9y3HV
Replit-Helium-Checkpoint-Created: true
2025-12-21 21:55:24 +00:00
sirpiglr
3f2671fb17 Make widgets draggable and improve their positioning behavior
Add a DraggableWidget component to allow users to reposition widgets on the screen. Includes updates to default widget positioning logic to handle SSR and improve drag bounds. Also adds the 'Layers' icon.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: d57b4210-8a86-408c-b932-5ff569ef7aa4
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/paZzfbE
Replit-Helium-Checkpoint-Created: true
2025-12-21 19:28:51 +00:00
sirpiglr
1d701b7dfd Improve the visual appearance of open windows on the taskbar
Refactor the styling and structure of taskbar buttons to better represent open windows, including adjustments to size, color, and the active window indicator.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1fb17c24-e32e-498b-8b07-ccfc17378b68
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/paZzfbE
Replit-Helium-Checkpoint-Created: true
2025-12-21 19:21:58 +00:00
sirpiglr
cc24d3d90e Open external links in a new tab instead of an iframe
Modify the openIframeWindow function in os.tsx to open external URLs in a new browser tab, as most external websites block iframe embedding.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: e5a5b8fb-9e45-4554-89ab-9518b18737f3
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/2U7MTOE
Replit-Helium-Checkpoint-Created: true
2025-12-21 04:44:05 +00:00
sirpiglr
d7a76b5bac Fix login issue where users are incorrectly shown as guests
Adjust initial state and effect for PassportApp's mode to correctly handle authentication status, preventing an immediate reset to login mode after successful authentication.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 5e981d2c-3a05-4456-83a5-c8477fb3f0a8
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/I1D3tV4
Replit-Helium-Checkpoint-Created: true
2025-12-21 04:30:42 +00:00