Revert "Make memory and context views mobile-friendly (#813)" (#817)

This reverts commit 583c3eb4a6.
This commit is contained in:
gsxdsm
2026-02-26 07:36:55 -08:00
committed by GitHub
parent 583c3eb4a6
commit e10c73649c
30 changed files with 113 additions and 3758 deletions

View File

@@ -1,4 +0,0 @@
{
"name": "test-project-1772086066067",
"version": "1.0.0"
}

View File

@@ -1,15 +0,0 @@
# Test Feature Project
This is a test project for demonstrating the Automaker system's feature implementation capabilities.
## Feature Implementation
The test feature has been successfully implemented to demonstrate:
1. Code creation and modification
2. File system operations
3. Agent workflow verification
## Status
✅ Test feature implementation completed

View File

@@ -1,62 +0,0 @@
/**
* Test Feature Implementation
*
* This file demonstrates a simple test feature implementation
* for validating the Automaker system workflow.
*/
class TestFeature {
constructor(name = 'Test Feature') {
this.name = name;
this.status = 'running';
this.createdAt = new Date().toISOString();
}
/**
* Execute the test feature
* @returns {Object} Execution result
*/
execute() {
console.log(`Executing ${this.name}...`);
const result = {
success: true,
message: 'Test feature executed successfully',
timestamp: new Date().toISOString(),
feature: this.name,
};
this.status = 'completed';
return result;
}
/**
* Get feature status
* @returns {string} Current status
*/
getStatus() {
return this.status;
}
/**
* Get feature info
* @returns {Object} Feature information
*/
getInfo() {
return {
name: this.name,
status: this.status,
createdAt: this.createdAt,
};
}
}
// Export for use in tests
module.exports = TestFeature;
// Example usage
if (require.main === module) {
const feature = new TestFeature();
const result = feature.execute();
console.log(JSON.stringify(result, null, 2));
}

View File

@@ -1,88 +0,0 @@
/**
* Test Feature Unit Tests
*
* Simple tests to verify the test feature implementation
*/
const TestFeature = require('./test-feature');
function runTests() {
let passed = 0;
let failed = 0;
console.log('Running Test Feature Tests...\n');
// Test 1: Feature creation
try {
const feature = new TestFeature('Test Feature');
if (feature.name === 'Test Feature' && feature.status === 'running') {
console.log('✓ Test 1: Feature creation - PASSED');
passed++;
} else {
console.log('✗ Test 1: Feature creation - FAILED');
failed++;
}
} catch (error) {
console.log('✗ Test 1: Feature creation - FAILED:', error.message);
failed++;
}
// Test 2: Feature execution
try {
const feature = new TestFeature();
const result = feature.execute();
if (result.success === true && feature.status === 'completed') {
console.log('✓ Test 2: Feature execution - PASSED');
passed++;
} else {
console.log('✗ Test 2: Feature execution - FAILED');
failed++;
}
} catch (error) {
console.log('✗ Test 2: Feature execution - FAILED:', error.message);
failed++;
}
// Test 3: Get status
try {
const feature = new TestFeature();
const status = feature.getStatus();
if (status === 'running') {
console.log('✓ Test 3: Get status - PASSED');
passed++;
} else {
console.log('✗ Test 3: Get status - FAILED');
failed++;
}
} catch (error) {
console.log('✗ Test 3: Get status - FAILED:', error.message);
failed++;
}
// Test 4: Get info
try {
const feature = new TestFeature('My Test Feature');
const info = feature.getInfo();
if (info.name === 'My Test Feature' && info.status === 'running' && info.createdAt) {
console.log('✓ Test 4: Get info - PASSED');
passed++;
} else {
console.log('✗ Test 4: Get info - FAILED');
failed++;
}
} catch (error) {
console.log('✗ Test 4: Get info - FAILED:', error.message);
failed++;
}
console.log(`\nTest Results: ${passed} passed, ${failed} failed`);
return failed === 0;
}
// Run tests
if (require.main === module) {
const success = runTests();
process.exit(success ? 0 : 1);
}
module.exports = { runTests };