Skip to content

release: merge beta into main with authentication, knowledge compilation, and editor enhancements - #76

Merged
fishyu-mushroom merged 58 commits into
mainfrom
beta
Sep 28, 2026
Merged

fishyu-mushroom merged 58 commits into
mainfrom
beta

Conversation

@fishyu-mushroom

Copy link
Copy Markdown
Collaborator

Overview

Merge the latest beta changes into main.

This release includes major improvements to authentication, agent API key management,
knowledge compilation and retrieval, page editing, AI-assisted content generation,
publishing, and general user experience.

Major changes

Authentication and API keys

  • Enhanced SSO/JWT authentication with agent token support
  • Added agent API key authorization architecture
  • Added platform-to-platform API key provisioning
  • Added agent space rebinding support
  • Removed deprecated public API key management endpoints
  • Improved role-based space filtering and organization-tree authorization

Knowledge compilation and retrieval

  • Added page-level compilation status and controls
  • Migrated compilation scope from spaces to pages
  • Improved retry, lease, merge, and failure-handling logic
  • Added table row counting and knowledge size limits
  • Improved image extraction and attachment processing
  • Added label filtering and Unicode label validation
  • Added raw-result handling and query rewrite options
  • Improved citation source-window resolution
  • Removed deprecated aggregate compilation phases and compiler implementations

Editor and pages

  • Added page edit mode and save controls
  • Added AI-assisted generation with streaming support
  • Added recent page visits
  • Added image preview on click
  • Optimized page history diff rendering
  • Added member group information to the member list

Publishing and exports

  • Added publish cooldown handling
  • Prevented publishing while pages are compiling
  • Improved knowledge source export and attachment handling
  • Removed the deprecated includeAttachments export option

AI model configuration

  • Added connectivity testing for AI model configurations
  • Removed the previous AI review feature

Maintenance

  • Added required database migrations and constraints
  • Removed deprecated environment variables and audit events
  • Recorded the semantic edge experiment decision
  • Updated translations and related UI behavior

Breaking or notable changes

  • Deprecated public API key endpoints have been removed
  • includeAttachments has been removed from export options
  • Knowledge compilation now primarily operates at page scope
  • Deprecated aggregate compilation logic and environment configuration have been removed
  • Database migrations must be applied during deployment

Validation checklist

  • Database migrations apply successfully
  • SSO and agent-token authentication work as expected
  • Agent API key provisioning and rebinding work correctly
  • Knowledge compilation, retry, and merge flows complete successfully
  • Page editing and AI generation work correctly
  • Publishing cooldown and compilation checks behave correctly
  • Exported knowledge sources include attachments as expected
  • Existing spaces, pages, permissions, and retrieval workflows remain functional

fishyu-mushroom and others added 30 commits September 10, 2026 15:04
feat(api-keys): enhance agent API key management with new features and updates
feat(api-keys): streamline agent space management by removing unneces…
…ity and ensure attachments are always included in space exports
feat(export): remove includeAttachments option from export functionality and ensure attachments are always included in space exports
feat(api-keys): implement platform-to-platform agent API key provisioning with shared secret authentication
feat(page-action-menu): add compiling status check to publish page functionality
feat(api-keys): implement agent space rebinding functionality for API keys
feat: Support clicking on images for image preview
- Added functionality to track and serialize non-image file attachments in the KnowledgeSourceExporterService.
- Implemented attachment occurrence tracking to ensure changes in attachments affect the content hash.
- Introduced a new serializer for knowledge sources that emits attachment markers and manages occurrences.
- Updated tests to cover various scenarios involving attachments, including adding, moving, renaming, and removing attachments.
- Modified the API documentation to clarify the behavior of the attachments field in responses.
feat: Space authorization supports selecting organizational trees
feat: enhance knowledge source exporter with attachment handling
fishyu-mushroom and others added 28 commits September 18, 2026 14:24
…compile-retry-settlement

# Conflicts:
#	apps/server/src/ee/llm-wiki/adapters/semantic-knowledge-compiler.runner.ts
#	apps/server/src/ee/llm-wiki/llm-wiki.controller.spec.ts
#	apps/server/src/ee/llm-wiki/llm-wiki.controller.ts
#	apps/server/src/ee/llm-wiki/services/knowledge-space-compilation.service.ts
…retry-settlement

refactor(knowledge): settle page retries within space leases
feat(iself):  Enhanced Search Capabilities
- Add RecentPageVisits component to display recently viewed pages.
- Create useRecentPageVisitsQuery hook for fetching recent page visits.
- Implement recordPageVisit and getRecentPageVisits functions in the page-visit service.
- Add PageVisitController and PageVisitService to handle page visit recording and retrieval.
- Create database migration for page_visits table and corresponding repository methods.
- Integrate recent page visits into SearchSpotlight component for improved user experience.
- Add tests for page visit service and repository to ensure functionality.
feat(page-visit): implement recent page visits feature
- Removed 'initial_aggregate' and 'final_aggregate' phases from various parts of the codebase, including tests, database schemas, and service logic.
- Updated the KnowledgeSpaceExecutionRepo to eliminate references to old aggregate statuses and streamline phase handling.
- Adjusted tests to reflect the removal of aggregate phases and ensure they align with the new phase structure.
- Cleaned up related database types and interfaces to remove unused fields associated with aggregate phases.
- Updated documentation to reflect changes in phase handling and migration steps for removing old aggregate states.
… and tests

- Updated compile scope from 'space' to 'page' in various service specifications and implementations.
- Introduced compileMode as 'pages' in relevant input structures and tests.
- Removed references to legacy overview models and adjusted related tests to ensure proper functionality.
- Enhanced knowledge import and validation processes to align with the new compile scope.
- Cleaned up tests to reflect changes in compile scope and artifact handling.
feat: Optimize page history diff rendering
feat: Made some optimizations and improvements
@fishyu-mushroom
fishyu-mushroom merged commit 97ef263 into main Sep 28, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants