WeKnora/frontend/src/stores
vicfei a57e97c4e1 fix(frontend): keep agent editor dependency loading alive for contributors
The agent editor's dependency chain resolves storage engine info through
editorResources.ensureStorageEngine, which awaited the admin-only
tenants/kv/storage-engine-config call and the Viewer-safe status call in
one Promise.all. A Contributor opening the editor got 403 on the config
call (it carries integration secrets), which rejected the whole chain and
skipped every dropdown population — models, knowledge bases and web
search providers stayed empty, so Contributors could not create agents
at all (#2991).

Downgrade permission rejections on the config call to "no admin config"
(the only consumer of storageConfig already tolerates null and falls
back to the status list); every other failure stays fatal. The predicate
lives in a dependency-free module so it is unit-testable under
tsx --test like the other store helpers.
2026-09-08 12:28:44 +08:00
..
auth.ts fix(invitation): harden auto-accept follow-ups from code review 2026-08-10 15:47:29 +08:00
chatResources.ts feat(agent): keep long sandbox turns from truncating, overflowing, or rewriting files 2026-09-02 22:09:09 +08:00
commandPalette.ts fix(security): namespace command-palette recent searches per (user, tenant) 2026-05-18 17:28:58 +08:00
deploymentCapabilities.ts fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
editorResources.ts fix(frontend): keep agent editor dependency loading alive for contributors 2026-09-08 12:28:44 +08:00
knowledge.ts feat(ui): Support multi knowledgebases operation 2025-09-17 16:02:08 +08:00
localizedResourceCache.test.ts fix(i18n): 修复内置智能体名称与描述不随界面语言切换的问题 (#2828) 2026-08-27 11:53:45 +08:00
localizedResourceCache.ts fix(i18n): 修复内置智能体名称与描述不随界面语言切换的问题 (#2828) 2026-08-27 11:53:45 +08:00
menu.ts fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
organization.ts fix(i18n): 修复内置智能体名称与描述不随界面语言切换的问题 (#2828) 2026-08-27 11:53:45 +08:00
organizationState.test.ts fix(frontend): correct optimistic organization state after review and detail loads 2026-07-24 10:45:12 +08:00
organizationState.ts fix(frontend): correct optimistic organization state after review and detail loads 2026-07-24 10:45:12 +08:00
sessionActivity.ts feat(session): show in-progress status in the sidebar 2026-09-05 23:32:13 +08:00
sessionActivityState.test.ts feat(session): show in-progress status in the sidebar 2026-09-05 23:32:13 +08:00
sessionActivityState.ts feat(session): show in-progress status in the sidebar 2026-09-05 23:32:13 +08:00
settings.ts fix(agent): honor suggested-questions limit parameter 2026-07-24 10:46:53 +08:00
settingsStorage.test.mjs fix(frontend): harden settings localStorage load after #1925 2026-07-06 10:46:34 +08:00
settingsStorage.ts refactor: remove Neo4j-based conversation memory feature 2026-07-18 23:41:48 +08:00
storageEngineAccess.test.ts fix(frontend): keep agent editor dependency loading alive for contributors 2026-09-08 12:28:44 +08:00
storageEngineAccess.ts fix(frontend): keep agent editor dependency loading alive for contributors 2026-09-08 12:28:44 +08:00
ui.ts feat(frontend): unify document tag filter, manage drawer, and detail UX 2026-06-26 12:26:29 +08:00
uploadConfirm.ts feat(knowledge): enhance folder management and upload confirmation dialog 2026-08-04 20:45:29 +08:00
versionedRequest.test.ts fix: synchronize organization state after writes 2026-07-24 10:40:33 +08:00
versionedRequest.ts fix: synchronize organization state after writes 2026-07-24 10:40:33 +08:00