Conversation
- Updated package.json to include sqlite and sqlite3 as peer dependencies. - Added db.connection.ts to manage SQLite database connections and structure. - Created db.commands.ts for saving application states with expiration handling. - Introduced db.queries.ts for retrieving application states from the database. - Defined db.defaults.ts for default database configurations and table names.
- Updated peerDependencies and devDependencies in package.json to latest versions. - Added new documentation file npm-refresh-commands.md with instructions for reinstalling peer and dev dependencies using the latest published versions.
feat(auth): add session and logout fetch handlers feat(auth): implement OpenID Connect server-side context
LukasDufek
approved these changes
Feb 24, 2026
LukasDufek
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All code from ptr-fe-core was moved into this libray. The exception is OpenID, that has been moved, but need to be refactored first.
Solves:
Summary:
This pull request introduces several important improvements and refactorings across the codebase, focusing on error handling, dependency management, documentation, and build configuration. The main highlights are the centralization and expansion of error classes, updates to dependencies and installation instructions, and improved documentation for both developers and AI agents. Below are the most significant changes grouped by theme:
Error Handling and Refactoring:
InvalidRequestError,AuthorizationError,ServerError,SSROnlyError) into a new filesrc/node/api/models.errors.ts, replacing scattered definitions and updating all imports accordingly. This improves maintainability and consistency for error handling throughout the codebase. [1] [2] [3] [4] [5] [6] [7]handleRouteErrorutility and moved themessageFromErrorfunction tosrc/node/api/parsing.errors.ts, standardizing API error responses.src/index.node.tsto use the new centralized error classes and added exports for SQLite and OpenID Connect utilities. [1] [2]src/node/api/errors.api.ts.Dependency Management and NPM Refresh:
peerDependenciesanddevDependenciesinpackage.jsonto the latest major versions, and added new peer dependencies (openid-client,sqlite,sqlite3)..github/prompts/npmrefresh.prompt.mdto clarify the use of the latest major versions and ensure peer dependencies remain in the correct section.docs/npm-refresh-commands.mdwith clear commands for reinstalling peer and dev dependencies using the latest versions.Documentation Improvements:
Readme.mdto clarify the build process, outputs, configuration, and usage for both frontend and backend applications. Added a section for AI agent instructions. [1] [2]AGENTS.mdfile, consolidating agent-related instructions into.github/and the main README.Build and Linting Configuration:
Other Changes:
src/node/auth/handlers.callbackFetch.tsandsrc/node/auth/handlers.logoutFetch.tsto support backend fetch operations. [1] [2]package.jsonto reflect support for SSR applications.These changes collectively improve the maintainability, clarity, and reliability of the shared library, making it easier to use and extend for both backend and frontend Panther applications.