mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
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> |
||
|---|---|---|
| .. | ||
| README.md | ||
@aethex.os/core
AeThex Language Standard Library - Cross-platform utilities for authentication, data sync, and compliance.
Installation
npm install @aethex.os/core
Features
- Passport - Universal identity across platforms
- DataSync - Cross-platform data synchronization
- SafeInput - PII detection and scrubbing (CRITICAL for CODEX)
- Compliance - COPPA/FERPA compliance checks
Usage
Passport - Universal Identity
const { Passport } = require('@aethex/core');
const passport = new Passport('user123', 'PlayerOne');
await passport.verify();
await passport.syncAcross(['roblox', 'web']);
SafeInput - PII Detection
const { SafeInput } = require('@aethex/core');
// Detect PII
const detected = SafeInput.detectPII('Call me at 555-1234');
// Returns: ['phone']
// Scrub PII
const clean = SafeInput.scrub('My email is user@example.com');
// Returns: 'My email is [EMAIL_REDACTED]'
// Validate input
const result = SafeInput.validate('PlayerName123');
if (result.valid) {
console.log('Safe to use');
}
Compliance - COPPA Checks
const { Compliance } = require('@aethex/core');
// Age gate
if (Compliance.isCOPPACompliant(userAge)) {
// User is 13+
}
// Log compliance check
Compliance.logCheck(userId, 'leaderboard_submission', true);
API Reference
Passport
new Passport(userId, username)- Create passportverify()- Verify identitysyncAcross(platforms)- Sync across platformstoJSON()- Export as JSON
DataSync
DataSync.sync(data, platforms)- Sync dataDataSync.pull(userId, platform)- Pull data
SafeInput
SafeInput.detectPII(input)- Returns array of detected PII typesSafeInput.scrub(input)- Returns scrubbed stringSafeInput.validate(input, allowedTypes?)- Returns validation result
Compliance
Compliance.isCOPPACompliant(age)- Check if 13+Compliance.requiresParentConsent(age)- Check if <13Compliance.canCollectData(user)- Check data collection permissionCompliance.logCheck(userId, checkType, result)- Log audit trail
License
MIT © AeThex Foundation