9 Commits

Author SHA1 Message Date
assembly-bot 7f33e165bd Sync module/ui latest (v1.0.0-rc1) 2026-08-15 15:17:05 +00:00
assembly-bot 83a939506c Squashed 'module/ui/' changes from 4916345..9ec7bb3
9ec7bb3 feat: bump ui module to v1.0.0-rc1 with getVersion()

git-subtree-dir: module/ui
git-subtree-split: 9ec7bb3aeb
2026-08-15 15:17:05 +00:00
assembly-bot befb9d2334 Merge module/db 2026-08-15 15:16:18 +00:00
assembly-bot 78266f1c9d Squashed 'module/db/' content from commit bb722db
git-subtree-dir: module/db
git-subtree-split: bb722db96e
2026-08-15 15:16:18 +00:00
assembly-bot 9ff57141d1 Squashed 'module/ui/' content from commit 4916345
git-subtree-dir: module/ui
git-subtree-split: 491634560c
2026-08-15 15:16:17 +00:00
assembly-bot a7bb4ef2b5 Merge module/api 2026-08-15 15:16:17 +00:00
assembly-bot 5dbf931e58 Merge module/ui 2026-08-15 15:16:17 +00:00
assembly-bot c042a4c8e1 Squashed 'module/api/' content from commit 194c64c
git-subtree-dir: module/api
git-subtree-split: 194c64cfd7
2026-08-15 15:16:17 +00:00
assembly-bot 27cc9728e0 init: clean main for assembly 2026-08-15 15:16:16 +00:00
13 changed files with 87 additions and 0 deletions
View File
+14
View File
@@ -0,0 +1,14 @@
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/api/health')
def health():
return jsonify({'status': 'ok', 'module': 'api'})
@app.route('/api/version')
def version():
return jsonify({'version': '1.0.0'})
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)
+2
View File
@@ -0,0 +1,2 @@
flask>=3.0
gunicorn>=21.2
View File
+10
View File
@@ -0,0 +1,10 @@
from flask import jsonify
def register_routes(app):
@app.route('/api/users')
def list_users():
return jsonify({'users': []})
@app.route('/api/users/<int:user_id>')
def get_user(user_id):
return jsonify({'id': user_id, 'name': 'Alice'})
+1
View File
@@ -0,0 +1 @@
# Agent Collaboration Test
+21
View File
@@ -0,0 +1,21 @@
import sqlite3
import os
DB_PATH = 'app.db'
def migrate():
conn = sqlite3.connect(DB_PATH)
cursor = conn.cursor()
with open('schema.sql', 'r') as f:
cursor.executescript(f.read())
with open('seed.sql', 'r') as f:
cursor.executescript(f.read())
conn.commit()
conn.close()
print(f"Database migrated: {DB_PATH}")
if __name__ == '__main__':
migrate()
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
email TEXT UNIQUE,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS sessions (
id INTEGER PRIMARY KEY AUTOINCREMENT,
user_id INTEGER REFERENCES users(id),
token TEXT NOT NULL,
expires_at TIMESTAMP NOT NULL
);
+3
View File
@@ -0,0 +1,3 @@
INSERT INTO users (name, email) VALUES ('Alice', 'alice@example.com');
INSERT INTO users (name, email) VALUES ('Bob', 'bob@example.com');
INSERT INTO users (name, email) VALUES ('Charlie', 'charlie@example.com');
+1
View File
@@ -0,0 +1 @@
# Agent Collaboration Test
+8
View File
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head><title>UI Module</title></head>
<body>
<div id="app">Loading...</div>
<script src="src/app.js"></script>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
console.log('UI App initialized');
console.log('UI Module v1.0.0-rc1 - incrementally synced');
export function render() {
document.getElementById('app').innerHTML = 'Hello from UI Module v1.0.0-rc1';
}
export function getVersion() {
return '1.0.0-rc1';
}
+4
View File
@@ -0,0 +1,4 @@
/* UI Module Styles v1.0.0-rc1 */
body { font-family: sans-serif; margin: 0; padding: 20px; background: #f9f9f9; }
#app { color: #333; }
.header { border-bottom: 2px solid #007bff; padding-bottom: 10px; margin-bottom: 20px; }