* feat(plugin-ai): inject OpenCode request headers into LLM providers
- Add requestContext (sessionId) to LLM providers, passed from AI employee
conversations, workflow LLM nodes and test flight
- Add LLMProvider.getDefaultHeaders(): returns a custom User-Agent and
x-opencode-session when baseURL targets opencode.ai, otherwise empty
- Merge the default headers into every provider's model client and
model listing requests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(plugin-ai): pass session context to web search and AI translate requests
- subAgentWebSearch passes the conversation sessionId to the LLM
provider, falling back to a generated id, so OpenCode requests carry
x-opencode-session
- Localization AI translate task uses its task id as the session
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(plugin-ai): align DeepSeek capabilities with V4.1-Flash
- Add supportsImageInput and send image attachments to Flash models
(deepseek-flash, deepseek-v4-flash, deepseek-v4-flash-vision-exp,
deepseek-v4.1-flash); V4-Pro silently drops images
- Disable web search for Flash models: V4.1-Flash ignores the built-in
web_search tool and answers from stale knowledge; keep it for V4-Pro
- Register deepseek-flash as a default model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(database): add tags property to collection
* feat(cli): add version commit command
* chore: add collection tags
* refactor: expose plugin-backups server api
* refactor(database): unify backup and restore options
* feat(database): support selective backup and skip full pre-drop
* chore: add database adapter option tests
* feat(backups): expose backup and restore table options
* chore: sub class of BackupManager can change file prefix
* feat(backups): add description fied in backup list
* fix: remove backup metadata on destroy
* fix: quote postgres backup table patterns
* chore: add collection tags
* feat(backups): isolate version control backup storage and cache
* feat(backups): isolate restoring from version control or backups`s storage and cache
* fix(cli): allow 2000-char version commit description
* chore(cli): rename command `version commmit` to `revision create`
* fix(plugin-backups): persist backup creator metadata
* feat(client): include command user in event payload
* chore(ai): add error handle in app:plublishEvent api
* docs: add version control operations guide
* fix(collection): mark system collections with system tags
* fix(collection): mark business collections with business tags
* refactor(database): replace collection tags with data category
* test(plugin-backups): stabilize restore manager tests
* fix(plugin-backups): stabilize restore test metadata
* chore: update collection data categories
* fix(plugin-verification): move data category to server collection
* fix(plugin-backups): qualify postgres table filters with schema
* chore: mysql client
* fix(cli): check version control plugin before revision create
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add German localization files for NocoBase core and plugins
* feat: expand German localization for NocoBase plugins compared to chinese translation
This commit adds and enhances German translation files across multiple NocoBase plugins, including:
- Workflow plugins (action trigger, manual, notification, etc.)
- File management
- Charts and data visualization
- Async task management
- Import/export functionality
- Theme editor
- And several other core and extension plugins
* feat(l10n): support text source registration in l10n plugin & l10n for desktop and mobile routes
* fix: build & test
* fix: build & tests
* fix: e2e
* fix: frontend test
* chore: update
* chore: migration
* fix: document title
* fix: header title
* feat(locale): update and improve Japanese translations in ja_JP files
* fix(locale): correct japanese translations in ja_JP files
---------
Co-authored-by: mahuan <1007409254@qq.com>
* feat: pub/sub manager
* fix: test case
* fix: test error
* fix: test error
* feat: skip self
* feat: debounce
* feat: improve code
* fix: test error
* feat: test cases
* feat: test cases
* fix: improve code
* fix: improve code
* feat: improve code
* fix: improve code
* fix: test case
* fix: typo
* fix: createPubSubManager
* fix: delete messageHandlers
* fix: test case
* feat: improve code
* fix: test error
* fix: test error
* refactor(server): adapt to new api and fix test
* fix(plugin-data-source-main): fix changed api
* fix: test error
* fix: remove sync-manager test case
* chore(server): remove legacy code
* fix(plugin-workflow): fix send sync message with transaction
* chore(server): remove legacy code
* chore(server): remove legacy code
* fix(plugin-workflow): fix test case
* fix(plugin-workflow): fix test case
* test(server): test skip-install parameter in cluster
* test(server): avoid multiple installation in cluster
* test(server): installation in cluster
* feat: sync collection using sync manager (#4920)
* chore: sync collection message
* chore: sync acl
* fix: typo
* chore: sync data source
* chore: remove collection
* fix: typo
* fix: test
* chore: sync sub app event
* chore: sync collection test
* chore: collection test
* chore: test
* chore: data source sync message
* chore: sync multi app
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: error message
* fix(server): add type and remove log
* fix(server): not to publish when adpater is not connected
* refactor(server): refine types
* chore: timeout
* fix(server): fix pubSubManager options
* test(ci): test ci checkout
* feat(server): add lock manager to server
* feat: update ci
* feat: pub/sub manager (#4933)
* feat: pub/sub manager
* fix: test case
* fix: test error
* fix: test error
* feat: skip self
* feat: debounce
* feat: improve code
* fix: test error
* feat: test cases
* feat: test cases
* fix: improve code
* fix: improve code
* feat: improve code
* fix: improve code
* fix: test case
* fix: typo
* fix: createPubSubManager
* fix: delete messageHandlers
* fix: test case
* feat: improve code
* fix: test error
* fix: test error
* refactor(server): adapt to new api and fix test
* fix(plugin-data-source-main): fix changed api
* fix: test error
* fix: remove sync-manager test case
* chore(server): remove legacy code
* fix(plugin-workflow): fix send sync message with transaction
* chore(server): remove legacy code
* chore(server): remove legacy code
* fix(plugin-workflow): fix test case
* fix(plugin-workflow): fix test case
* test(server): test skip-install parameter in cluster
* test(server): avoid multiple installation in cluster
* test(server): installation in cluster
* feat: sync collection using sync manager (#4920)
* chore: sync collection message
* chore: sync acl
* fix: typo
* chore: sync data source
* chore: remove collection
* fix: typo
* fix: test
* chore: sync sub app event
* chore: sync collection test
* chore: collection test
* chore: test
* chore: data source sync message
* chore: sync multi app
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: error message
* fix(server): add type and remove log
* fix(server): not to publish when adpater is not connected
* refactor(server): refine types
* chore: timeout
* fix(server): fix pubSubManager options
* test(ci): test ci checkout
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
* refactor(server): refactor api and local lock
* refactor(server): change variable names and use singleton for local lock
* fix: lockManager.close
* refactor(server): adjust types
* feat(server): add api
* refactor(core): move lock-manager to independent package to be used in db
* refactor(plugins): change to new lock manager to use locks
* fix(auth): fix test case
* chore: ttl of sort field lock
* fix: ttl
* fix(plugins): revert lock usage back for some plugins
* refactor(plugin-field-sort): move sort field to plugin
* chore: update build ci
* fix(server): fix build errors
* fix(plugin-field-sort): fix test case
* fix(plugin-field-sort): fix register move action
* fix(plugin-field-sort): fix load logic
* fix(plugin-data-source-main): fix lock usage
* chore(plugin-data-source-main): remove unused import
* fix(server): fix import crypto in pub sub manager (#5111)
* fix(plugin-field-sort): fix build and test cases
* fix(plugin-user-data-sync): fix test with sort field
* fix(plugin-users): fix test with sort field
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>