WeKnora/frontend
lyingbug a131efa5e0
feat(frontend): open the WeKnora assistant from anywhere with page context (#4314)
* feat(frontend): open the WeKnora assistant from anywhere with page context

- Global drawer hosting the built-in assistant, opened from the sidebar,
  the command palette or the document drawer. The conversation survives
  navigation and reloads within the tab.
- Pages publish what is open (knowledge base, document, Wiki page and its
  pending issues). It travels as page_context with the page's knowledge
  base in scope, shown as a chip the user can detach.
- Wiki fix buttons now hand the issue to the assistant; the wiki fixer
  drawer is gone.
- Embedded ChatView no longer writes the main chat's agent, knowledge
  bases or model, ignores route changes, and keeps its stream when the
  page behind it navigates.
- Knowledge base activity marks entries performed via the assistant.

* feat(frontend): let users pick the WeKnora assistant's model

The assistant's composer shows the same model picker as the main chat,
plus an Auto entry (the default) that keeps today's behaviour: the
knowledge base's chat model, then the system default. The choice is the
user's own, kept per user and workspace in localStorage and sent as the
request's model override; the main chat's pick is neither read nor
changed. A pick that is no longer available falls back to Auto.

* fix(frontend): isolate assistant sessions and steer resources
2026-10-15 14:54:40 +08:00
..
public feat(i18n): add Traditional Chinese (zh-TW) locale support (#3916) 2026-10-08 16:18:17 +08:00
scripts feat(browser): add picture-in-picture task preview 2026-09-12 11:11:36 +08:00
src feat(frontend): open the WeKnora assistant from anywhere with page context (#4314) 2026-10-15 14:54:40 +08:00
tests/source-locate fix(chat): locate citations in manual Markdown documents (#4278) 2026-10-14 11:53:58 +08:00
.dockerignore feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
.gitignore init commit 2025-08-05 15:08:07 +08:00
Dockerfile chore: remove vendored archives and unused Python helpers 2026-09-16 15:49:36 +08:00
docker-entrypoint.sh feat(i18n): add Traditional Chinese (zh-TW) locale support (#3916) 2026-10-08 16:18:17 +08:00
embed.html feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
env.d.ts feat(frontend): inject commit ID into frontend build for version tracking 2026-06-09 18:08:57 +08:00
index.html fix(frontend): bundle tdesign-icons sprite locally for offline deploys 2026-04-23 18:21:49 +08:00
mcpProxy.test.ts fix(mcp): proxy server endpoints through frontend gateways 2026-09-22 17:36:03 +08:00
nginx-api-proxy.conf fix(mcp): proxy server endpoints through frontend gateways 2026-09-22 17:36:03 +08:00
nginx-http.conf feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
nginx.conf docs: 迁移有效文档至 website-docs 并清理旧文档 (#3580) 2026-09-22 23:25:40 +08:00
package-lock.json chore(release): finalize v0.8.3 website and documentation (#4285) 2026-10-14 15:20:30 +08:00
package.json chore(release): finalize v0.8.3 website and documentation (#4285) 2026-10-14 15:20:30 +08:00
package.json.md5 fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
pnpm-workspace.yaml fix(frontend): configure pnpm v11 build approvals in workspace file 2026-05-08 16:34:33 +08:00
tsconfig.app.json fix lint and test failures 2026-07-01 17:31:42 +08:00
tsconfig.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.node.json init commit 2025-08-05 15:08:07 +08:00
vite.config.ts fix(mcp): proxy server endpoints through frontend gateways 2026-09-22 17:36:03 +08:00