Commit Graph

42 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
af2a59ee6a fix: Resolve TypeScript errors and dependency issues
- Fixed Storybook dependency version mismatch (downgraded to 8.6.15)
- Added @types/better-sqlite3 for better-sqlite3 type definitions
- Fixed Prisma adapter import (PrismaBetterSqlite3 vs PrismaBetterSQLite3)
- Removed datasource URL from Prisma schema (Prisma 7 requirement)
- Generated DBAL types.generated.ts from Prisma schema
- Added index signatures to Update*Input types for Record<string, unknown> compatibility
- Fixed ErrorBoundary override modifiers
- Fixed Zod record schema (requires both key and value types)
- Fixed orderBy syntax in get-error-logs (array format)
- Fixed type safety in API routes (user type assertions)
- Fixed hook imports and exports
- Fixed conditional expression type guards
- Added .npmrc for legacy peer deps support

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 01:26:50 +00:00
25908192ef feat(schema-registry): enhance schema management with migration support and improved loading mechanisms
- Added migrationQueue to SchemaRegistry for tracking pending migrations.
- Implemented clear method to reset the registry state.
- Enhanced schema registration and retrieval methods to support entity normalization.
- Updated loadSchemaRegistry to handle entities and migrationQueue from JSON.
- Introduced saveSchemaRegistry to persist entities and migrationQueue.
- Added functions for approving and rejecting migrations.

feat(schema-scanner): implement package scanning for schema registration

- Created scanAllPackages function to scan directories for package metadata.
- Extracted and validated schema entities from package metadata.
- Registered schemas in the SchemaRegistry based on scanned packages.

fix(load-page-from-db): improve tenantId handling and null checks

- Updated tenantId handling to use nullish coalescing for better clarity.
- Refined null checks for page retrieval.

feat(validation): add Zod validation utilities for standardized data validation

- Introduced validation utilities for API requests and package data validation.
- Created common reusable schemas for various data types.
- Implemented package-specific validator factory for enhanced error reporting.

test(package-integration): fix potential null checks in package dependency resolution

- Updated package dependency resolution logic to handle undefined cases.

chore(package.json): add jsdom as a dev dependency for testing

- Included jsdom in devDependencies for improved testing capabilities.

fix(metadata): update package metadata for consistency and clarity

- Standardized packageId and name fields in metadata.json files across multiple packages.
2026-01-07 12:08:24 +00:00
copilot-swe-agent[bot]
2c2a7d06d1 Fix strict-boolean-expressions and type safety warnings in production code
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 20:00:18 +00:00
copilot-swe-agent[bot]
1767a1729b fix: Remove non-null assertions and improve ESLint config
- Fixed 6 non-null assertion errors in session/parse functions
- Fixed 3 redundant type constituent errors in monaco-editor types
- Added require-await to stub directory warning overrides
- Total reduction: 18 errors -> 111 errors remaining

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 17:38:48 +00:00
copilot-swe-agent[bot]
524360db5f Phase 1: Fix require-await and await-thenable errors
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 16:51:49 +00:00
copilot-swe-agent[bot]
e13f4a393d Fix additional async and boolean expression errors
- Remove unnecessary async from 10+ stub functions and API routes
- Fix strict boolean conditionals in app pages and layouts
- Fix nullable checks in API routes and components
- Replace non-null assertions with type assertions
- Progress: 709 → 689 linting errors (20 more fixed)

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 15:38:51 +00:00
copilot-swe-agent[bot]
1045d55efa Fix critical TypeScript errors and 157 linting issues
- Generate Prisma client types (fixed all TS compilation errors)
- Remove unnecessary async keywords from stub functions
- Fix strict boolean expression errors in 15+ files
- Replace logical OR with nullish coalescing operators
- Remove non-null assertions
- Fix implicit any types
- Progress: 866 → 709 linting errors (157 fixed)

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 15:34:38 +00:00
copilot-swe-agent[bot]
7e424a28bb refactor: address code review feedback - improve error handling and remove unsafe assertions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 15:18:01 +00:00
copilot-swe-agent[bot]
dfa3003e3e feat: implement GitHub API integration and schema registry functions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 15:11:11 +00:00
copilot-swe-agent[bot]
97a4d9892f Fix stub function signatures and exports
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 10:32:38 +00:00
copilot-swe-agent[bot]
ff5f502a0b Fix lint warnings - unused vars and empty interface
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-05 22:09:08 +00:00
copilot-swe-agent[bot]
aa822b46fc Fix GitHub API function signatures to match usage patterns
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-05 16:13:55 +00:00
copilot-swe-agent[bot]
f2899ccfcf Add stub modules for auth, routing, github, lua, and other missing features
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-05 16:11:41 +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
52e1337b69 feat: Implement local and remote package sources with package source manager
- Added LocalPackageSource to load packages from the local filesystem.
- Introduced RemotePackageSource to fetch packages from a remote registry.
- Created PackageSourceManager to manage multiple package sources and resolve conflicts.
- Added tests for package source types and configurations.
- Updated metadata.json files for various packages to include dependencies.
- Enhanced type definitions for package sources and related data structures.
2025-12-30 00:32:52 +00:00
3f5f9d66cc fix: standardize import formatting across multiple files
- Adjusted import statements to ensure consistent spacing and formatting in various test files, utility files, and component files.
- Updated type imports to maintain uniformity in spacing.
- Ensured that all import statements follow the same style for better readability and maintainability.
2025-12-29 22:49:05 +00:00
dbfbb32188 refactor 2025-12-29 22:42:31 +00:00
d305b25c76 refactor 2025-12-29 22:38:23 +00:00
a87b1043dc refactor: remove obsolete tests and credential management functions
- Deleted tests for user authentication, component configuration, and credential operations.
- Removed credential management functions including getCredentials, setCredential, and related password reset functionalities.
- Cleaned up unused imports and mock setups across various test files.
- Streamlined the codebase by eliminating redundant files and tests that are no longer applicable.
2025-12-29 22:01:28 +00:00
copilot-swe-agent[bot]
4db87be546 Changes before error encountered
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-29 19:33:03 +00:00
0656df5a0f refactor: split workflow run analysis helpers 2025-12-27 18:56:55 +00:00
copilot-swe-agent[bot]
1f48f3c1f3 Add stub implementations for GitHub workflow log analysis
- analyze-workflow-logs.ts: Basic log analysis with error/warning detection
- fetch-workflow-run-logs.ts: Stub for fetching workflow logs from GitHub API
- parse-workflow-run-logs-options.ts: Parse query parameters for log options

These stubs resolve build errors and can be fully implemented later.
2025-12-27 14:37:50 +00:00
copilot-swe-agent[bot]
52786b73fd fix: replace stub implementations with proper functions
- Removed stub dbal-client directory, fixed import path to use real implementation
- Implemented proper workflow log analysis functions (analyze, fetch, parse)
- Created workflows/analysis/logs directory with real implementations
- Fixed package catalog circular import (now points to packages/core)
- Fixed prisma-adapter updateMany TypeScript error with type annotation
- All GitHub workflow functions now properly implemented using Octokit API

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:33:42 +00:00
copilot-swe-agent[bot]
b6934ac8cb fix: resolve module import path issues for npm run build
- Fixed SCSS @forward declarations in variables.scss
- Added stub implementations for GitHub workflow log functions
- Fixed import paths for auth session files
- Fixed import paths for database-dbal.server exports
- Fixed import paths for package server utilities
- Fixed import paths for secure-db operations
- Used relative path for DBAL client import

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 12:57:48 +00:00
2c33dec791 code: resolve,repo,nextjs (2 files) 2025-12-26 05:55:10 +00:00
cec78ec9e0 code: nextjs,frontends,workflow (4 files) 2025-12-26 05:54:54 +00:00
2534196621 code: workflow,nextjs,frontends (2 files) 2025-12-26 03:21:42 +00:00
dd9f7570c0 docs: workflow,nextjs,frontends (7 files) 2025-12-26 02:22:50 +00:00
32b4164da0 code: nextjs,frontends,workflow (9 files) 2025-12-26 02:22:34 +00:00
251ecbc9b5 code: nextjs,frontends,workflow (16 files) 2025-12-26 02:21:28 +00:00
d3a956c59a code: workflow,nextjs,logs (1 files) 2025-12-26 00:14:43 +00:00
b4add51767 code: workflow,run,nextjs (1 files) 2025-12-26 00:11:36 +00:00
115b679983 docs: nextjs,frontends,session (86 files) 2025-12-26 00:03:46 +00:00
8fa6de14c0 stuff 2025-12-25 23:33:10 +00:00
53d40ada9c code: workflow,nextjs,logs (1 files) 2025-12-25 23:01:48 +00:00
708ce627f9 docs: workflow,dbal,yaml (3 files) 2025-12-25 23:01:33 +00:00
a624f189f5 code: workflow,nextjs,logs (1 files) 2025-12-25 23:01:17 +00:00
42e51a9ca6 code: workflow,runs,nextjs (1 files) 2025-12-25 23:00:45 +00:00
bf339f09f9 code: nextjs,logs,frontends (2 files) 2025-12-25 22:50:13 +00:00
55c8bae9d0 code: nextjs,logs,job (2 files) 2025-12-25 22:49:57 +00:00
a9cc6f4754 code: nextjs,frontends,workflow (4 files) 2025-12-25 22:49:41 +00:00
ac5bd1d4b0 code: nextjs,frontends,tsx (2 files) 2025-12-25 22:49:25 +00:00