mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:07:20 +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>
33 lines
975 B
TypeScript
33 lines
975 B
TypeScript
export class Passport {
|
|
userId: string;
|
|
username: string;
|
|
platforms: string[];
|
|
verified: boolean;
|
|
constructor(userId: string, username: string);
|
|
verify(): Promise<boolean>;
|
|
syncAcross(platforms: string[]): Promise<boolean>;
|
|
toJSON(): object;
|
|
}
|
|
|
|
export class DataSync {
|
|
static sync(data: any, platforms: string[]): Promise<boolean>;
|
|
static pull(userId: string, platform: string): Promise<any>;
|
|
}
|
|
|
|
export class SafeInput {
|
|
static detectPII(input: string): string[];
|
|
static scrub(input: string): string;
|
|
static validate(input: string, allowedTypes?: string[]): {
|
|
valid: boolean;
|
|
clean?: string;
|
|
blocked?: string[];
|
|
message?: string;
|
|
};
|
|
}
|
|
|
|
export class Compliance {
|
|
static isCOPPACompliant(age: number): boolean;
|
|
static requiresParentConsent(age: number): boolean;
|
|
static canCollectData(user: { age: number; parentConsentGiven?: boolean }): boolean;
|
|
static logCheck(userId: string, checkType: string, result: boolean): void;
|
|
}
|