mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
- Added new internal API endpoint for documentation tools, allowing actions such as listing available docs, searching, and fetching specific documentation by ID. - Updated environment configuration to support optional internal secret for enhanced security. - Refactored existing search functionality to utilize the new docs tools API instead of the previous MCP server. - Improved error handling and response parsing for documentation-related requests. - Expanded documentation to clarify the relationship between the new tools and existing API functionalities. This update streamlines the documentation access process and enhances the overall developer experience.
10 lines
752 B
Plaintext
10 lines
752 B
Plaintext
# Contains the credentials for the internal project of Stack's default development environment setup.
|
|
# Do not use in a production environment, instead replace it with actual values gathered from https://app.stack-auth.com.
|
|
NEXT_PUBLIC_STACK_API_URL=http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}02
|
|
NEXT_PUBLIC_STACK_PROJECT_ID=internal
|
|
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=this-publishable-client-key-is-for-local-development-only
|
|
STACK_SECRET_SERVER_KEY=this-secret-server-key-is-for-local-development-only
|
|
STACK_OPENROUTER_API_KEY=your-open-router-api-key-for-ai-enabled-chat
|
|
# Optional: require this header value for POST /api/internal/docs-tools (must match backend STACK_INTERNAL_DOCS_TOOLS_SECRET)
|
|
# STACK_INTERNAL_DOCS_TOOLS_SECRET=
|