Commit Graph

2973 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
6fcba8a44f Create missing type definitions and stub implementations
- Created src/lib/types/ directory with level-types.ts and schema-types.ts
- Created missing hook implementations (use-mobile, useAutoRefresh, useCodeEditor, useDBAL, useFileTree, useGitHubFetcher, useKV)
- Created missing auth API modules (fetch-session, login, logout, register)
- Fixed import paths from relative '../../types/*' to '@/lib/*' aliases
- Updated AppConfiguration type to match Prisma schema
- Reduced TypeScript errors from 346 to 305

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 22:01:48 +00:00
copilot-swe-agent[bot]
2a7a81412d Initial plan 2026-01-03 21:49:13 +00:00
33af77f3f7 Merge pull request #1319 from johndoe6345789/copilot/fix-prisma-client-installation
Fix Prisma client generation by switching CI workflows from Bun to npm
2026-01-03 21:41:36 +00:00
copilot-swe-agent[bot]
95429d61fa Replace bun with npm in all GitHub workflows for Prisma compatibility
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 21:15:21 +00:00
copilot-swe-agent[bot]
bbb608a745 Add bun.lockb to .gitignore and remove bun.lock 2026-01-03 21:11:39 +00:00
copilot-swe-agent[bot]
51be171545 Fix config/package.json missing required fields for workspace compatibility
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 21:11:20 +00:00
copilot-swe-agent[bot]
402e71fd83 Initial plan 2026-01-03 20:55:31 +00:00
3b6194072e Merge pull request #1316 from johndoe6345789/copilot/fix-prisma-schema-error
Fix Prisma schema path resolution and remove outdated Lua/tools references
2026-01-03 20:54:28 +00:00
copilot-swe-agent[bot]
156d55b90f Remove Lua type references and tools folder scripts from config
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:52:51 +00:00
copilot-swe-agent[bot]
8adf7d791f Remove outdated tools and Lua references from copilot-instructions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:44:18 +00:00
007e680d5c Merge branch 'main' into copilot/fix-prisma-schema-error 2026-01-03 20:38:39 +00:00
31db6da23f Merge pull request #1315 from johndoe6345789/copilot/fix-readme-json-styles
Fix README: package styles are JSON tokens, not SCSS
2026-01-03 20:32:43 +00:00
copilot-swe-agent[bot]
3711e0c9b9 Update workflows and documentation for Prisma schema path
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:29:02 +00:00
copilot-swe-agent[bot]
4e2ed82164 Fix Prisma schema path for db:generate command
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:25:56 +00:00
copilot-swe-agent[bot]
a263d43571 Initial plan for fixing Prisma schema path issue
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:21:40 +00:00
copilot-swe-agent[bot]
8a7558d038 Fix README: styles are JSON tokens, not SCSS
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:19:02 +00:00
copilot-swe-agent[bot]
f453ed7564 Initial plan 2026-01-03 20:18:06 +00:00
copilot-swe-agent[bot]
0ab852d227 Initial plan: Fix README styles documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:17:49 +00:00
copilot-swe-agent[bot]
04239f7861 Initial plan 2026-01-03 20:15:33 +00:00
41f7239884 feat(ui_home): Add landing page components and configuration
- Included "ui_home" package in the bootstrap script for system initialization.
- Updated the root page handler to prioritize rendering from the god panel and installed packages.
- Created a detailed verification document for the landing page setup, including component structure and dependencies.
- Added database records for "ui_home" in installed packages and permissions for public access.
- Updated core packages and permissions YAML files to include "ui_home" with appropriate settings.
2026-01-03 20:09:59 +00:00
7e48f06e22 fix: update Dockerfile paths in development and production compose files 2026-01-03 19:36:29 +00:00
2af4d04ab8 feat(deployment): Add comprehensive deployment components and scripts
- Introduced `README_ADDITIONS.md` for new services and features including CLI tools, system bootstrap, monitoring stack, and backup automation.
- Created Dockerfiles for CLI and admin tools, enabling standalone usage and administrative tasks.
- Implemented `docker-compose.monitoring.yml` for Prometheus, Grafana, Loki, and related services for monitoring and observability.
- Added `backup-database.sh` for automated PostgreSQL backups with retention policies.
- Developed `bootstrap-system.sh` for initializing the system, running migrations, and seeding the database.
- Updated `deploy.sh` for streamlined deployment across development, production, and monitoring environments.
- Configured Prometheus and Grafana with appropriate datasource and scrape configurations.
- Enhanced directory structure for better organization of deployment files and scripts.
2026-01-03 19:33:05 +00:00
814dc5a9e0 Add seed configuration and initial package definitions
- Created .gitignore to exclude log and cache files.
- Added INDEX.md for quick reference of seed files and their purposes.
- Introduced README.md detailing the seed package system and usage.
- Established bootstrap.yaml for package system initialization configuration.
- Defined package-repo.yaml for package repository settings and conflict resolution.
- Created installed_packages.yaml for initial records of installed packages.
- Added package_permissions.yaml for default permissions in the system.
- Defined core-packages.yaml for essential packages to be auto-installed during bootstrap.
2026-01-03 19:24:59 +00:00
c603784d44 fix: correct syntax in DetectConflicts function for package conflict resolution 2026-01-03 00:18:49 +00:00
c04431a5e2 Update TLA+ specifications and validation scripts
- Revised architecture alignment in README.md to reference JSON package format.
- Enhanced SUMMARY.md with detailed specifications for workflow, collaboration, and integration systems.
- Updated package_system.tla to include JSON package format and manifest path.
- Modified validate-specs.sh to include package_system.tla in validation checks.
2026-01-03 00:11:12 +00:00
ecbf0f5ce2 refactor: remove obsolete tools from CI workflows 2026-01-03 00:04:47 +00:00
57d9eb62ac refactor: remove tools-based scripts and update workflows to reflect changes 2026-01-03 00:03:18 +00:00
640b4b3744 Remove obsolete validation and testing scripts from tools directory
- Deleted `test-workflows.sh` which provided local testing for GitHub Actions workflows.
- Removed `security-scanner.ts` that scanned for security issues in code.
- Eliminated `validate-packages.js` for validating package metadata.
- Removed `validate-api-docs.ts` which checked API documentation completeness.
- Deleted `validate-code-examples.ts` for validating code examples.
- Removed `validate-codegen-export.ts` that validated code generation exports.
- Eliminated `validate-markdown-links.ts` for checking broken links in markdown files.
- Removed `validate-readme-quality.ts` which assessed the quality of README files.
2026-01-02 23:53:47 +00:00
ed3c824cf4 Remove outdated troubleshooting documentation for CORS bypass, screenshot analyzer, package tests, phase 5 testing report, test coverage summary, workflow failure diagnosis 2026-01-02 23:52:43 +00:00
8873a577e9 refactor: remove permissions package and related files
- Deleted the permissions package including its types, manager, and hooks.
- Removed renderer integration example and related permission checking functions.
- Cleaned up server package files, including package catalog entry and content type functions.
- Consolidated package loading logic into a unified package loader.
- Introduced new unified package management functions for loading and metadata retrieval.
2026-01-02 23:50:32 +00:00
b1148af3b0 refactor: remove obsolete package glue files and update imports to scripts 2026-01-02 23:40:08 +00:00
33751e1515 feat: Implement TypeScript JSON Abstraction Pattern documentation
- Added comprehensive documentation for the TypeScript JSON Abstraction Pattern, detailing its architecture, benefits, and practical use cases.
- Included examples of JSON input and corresponding TypeScript output, along with compiler implementation sketches.

feat: Enhance RootLayout to load header and footer packages

- Modified RootLayout to asynchronously load header and footer packages using the unified package loader.
- Rendered header and footer conditionally based on package metadata availability.

refactor: Update package-glue structure and imports

- Refactored package-glue exports to streamline imports and improve organization.
- Removed deprecated package-loader module and adjusted related imports accordingly.

fix: Correct package catalog imports in loader functions

- Updated import paths in various loader functions to reference the core package catalog correctly.

chore: Introduce unified package loader for better package management

- Created a unified package loader to handle loading packages from both filesystem JSON and legacy in-memory catalog.
- Implemented functions to load single and all packages, check package existence, and list package IDs.

feat: Add minimal declarative component renderer

- Introduced a lightweight declarative component registry to facilitate package component loading.
- Implemented functions for loading, retrieving, and listing registered components.
2026-01-02 23:39:55 +00:00
1a60d3b767 docs: delete obsolete Lua, triage, audit, and archive docs 2026-01-02 23:36:18 +00:00
d30fc6c87a docs: move TESTING_COMPLETE.md into docs/testing/ 2026-01-02 23:34:34 +00:00
438435f3b6 docs(archive): move legacy top-level docs into docs/archive/ 2026-01-02 23:33:42 +00:00
7dec5f0fac Refactor code structure for improved readability and maintainability 2026-01-02 23:28:43 +00:00
87501588ad chore: Remove login page and auth API routes - handled by ui_login package and DBAL 2026-01-02 23:16:36 +00:00
e43412f3fc refactor: remove setup and validation scripts for packages 2026-01-02 23:15:10 +00:00
ee5790c718 chore: Remove redundant public/packages folder - packages live at /packages/ 2026-01-02 23:13:13 +00:00
4b0d8ae6e8 chore: Major nextjs cleanup - consolidate lib folders, remove redundant TSX, move e2e to root
- Moved e2e folder to project root with playwright configs
- Removed (auth) route group (handled by packages)
- Removed redundant API routes (codegen, levels, native-prisma, etc.)
- Deleted lib folders now covered by packages: security, schema, seed, api, auth, routing, navigation
- Removed *-lib duplicates: database-lib, types-lib, rendering-lib, package-lib
- Deleted duplicate dbal-client folders
- Cleaned up eslint config and removed eslint-plugins folder
- Removed old workflow scripts and build outputs
- Consolidated hooks folder
- Total: Reduced ~43 TS files
2026-01-02 22:58:39 +00:00
8c7330db7c refactor: simplify build and test scripts in package.json 2026-01-02 22:35:05 +00:00
0952a1e4bd refactor: clean up package.json by removing unused dependencies and scripts 2026-01-02 22:33:53 +00:00
feac579bef refactor: remove pagination and toast components along with related styles and types
- Deleted TablePagination component and its associated styles and types.
- Removed pagination-related exports from index files.
- Eliminated sonner toast implementation including its context, container, and configuration.
- Cleaned up unused form and table components, including FieldGroup, ValidationSummary, Body, EmptyState, Header, and their respective types.
2026-01-02 22:28:11 +00:00
9dab4999c0 feat: add Nerd Mode IDE package with full functionality
- Created package.json for Nerd Mode IDE with dependencies and exports.
- Defined access permissions in roles.json for IDE functionalities.
- Implemented file system and execution functions in functions.json.
- Added SVG icon for the IDE in static_content/icon.svg.
- Configured Storybook for the IDE with various components and examples.
- Established design tokens in tokens.json for consistent styling.
- Developed parameterized test data in metadata.params.json for testing.
- Created metadata validation tests in metadata.test.json to ensure package integrity.
2026-01-02 22:25:22 +00:00
c31bc5da7f refactor: remove import/export package components and related logic
- Deleted ExportOptions component and its associated logic for export options.
- Removed ImportDialog component and its functionality for importing packages.
- Eliminated StatusUI component that displayed import status and package details.
- Cleared createFileSelector utility for file selection validation.
- Removed default export options and manifest definitions.
- Deleted executePackageImport function that handled package import logic.
- Removed generatePackageExport and generateSnapshotExport functions for package export.
- Cleared validateManifest function for manifest validation.
- Deleted PackageCard, PackageFilters, PackageTabs, and related hooks for package management.
- Removed DependenciesTab and ScriptsTab components for displaying package dependencies and scripts.
- Cleared RouteEditor, RoutesTable, and Preview components for route management.
2026-01-02 22:02:52 +00:00
3ec49cfe8c feat: Introduce schema-driven package system specification
- Added `package_system.tla` to model the schema-driven package system, including multi-source loading, validation, dependency resolution, and permission filtering.
- Created `package_system.cfg` for TLC model checker configuration, defining constants and invariants for bounded model checking.
- Updated `metabuilder.tla` to reflect the core specification of MetaBuilder, emphasizing the package lifecycle and related specifications.
2026-01-02 21:59:59 +00:00
1db0e0fd3b feat: add missing packages analysis documentation for frontend features 2026-01-02 21:32:47 +00:00
ef709d47c0 refactor: update testing framework and restructure test configurations
- Changed devDependencies from "lua_test" to "testing" in package.json for ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor.
- Removed legacy test scripts and parameterized tests, replacing them with a unified test suite structure in the tests section of package.json.
- Introduced new metadata.params.json files for each package to define test parameters for package ID validation, icon file existence, and JSON schema validation.
- Created new metadata.test.json files for each package to define structured test cases for validating package metadata, including checks for package ID, icon file existence, and schema validity.
2026-01-02 21:25:45 +00:00
e69b166046 Add icons for various packages and update package.json files
- Added SVG icons for the following packages:
  - github_tools
  - irc_webchat
  - json_script_example
  - lua_test
  - media_center
  - nav_menu
  - notification_center
  - package_validator
  - quick_guide
  - role_editor
  - schema_editor
  - screenshot_analyzer
  - smtp_config
  - social_hub
  - stats_grid
  - stream_cast
  - ui_auth
  - ui_dialogs
  - ui_footer
  - ui_header
  - ui_home
  - ui_intro
  - ui_level2
  - ui_level3
  - ui_level4
  - ui_level5
  - ui_level6
  - ui_login
  - ui_pages
  - ui_permissions
  - user_manager
  - workflow_editor

- Updated package.json files to include icon paths for each package.
2026-01-02 21:12:38 +00:00
753f530272 refactor: simplify package implementation instructions in frontend prompt 2026-01-02 20:58:12 +00:00