Commit Graph

26 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
4b7d24d33e release: v1.2.3 — document attachments, thinking blocks, provider core refactor
- Chat document attachments (PDF/DOCX/XLSX/PPTX) with text extraction
- Reasoning model <think> block display as collapsible cards
- Tri-state send_dimensions toggle for embeddings (#368)
- LLM provider_core module refactor + context_window detection
- Soul template editor (PR #373), Co-Writer save-to-notebook
- Knowledge Base drag-and-drop upload, delete resilience (#370),
  progress persistence, supported-file-types endpoint
- Question generation language fidelity via shared prompt directives
- Settings tour redesign, CLI notebook add-md/replace-md
- Bug fixes: CJK bot name slug, I18nProvider init, Skills default off,
  Moonshot base URL, version badge
- Provider registry: custom_anthropic, thinking_style, alias expansion
- +1900 test lines across 15 new/expanded test files

Made-with: Cursor
2026-04-24 22:36:32 +08:00
Srini
d883751cb6 fix(web): resolve 15 npm security vulnerabilities
Bumped vulnerable direct dependencies:
- jspdf ^4.0.0 → ^4.2.0: fixes critical PDF injection, XSS, and DoS (9 CVEs)
- next ^16.1.1 → ^16.2.3: fixes HTTP smuggling, CSRF bypass, and DoS (8 CVEs)
- mermaid ^11.12.2 → ^11.14.0: fixes moderate DOMPurify/parser issues
- eslint-config-next 16.1.1 → 16.2.3: kept in sync with next

Ran `npm audit fix` to patch indirect dependencies:
- flatted: prototype pollution + DoS
- lodash-es: prototype pollution + code injection
- minimatch, picomatch: ReDoS
- dompurify, ajv, brace-expansion: moderate issues

Result: 0 vulnerabilities (was 1 critical, 5 high, 9 moderate)
No breaking changes — all updates are within the same major version.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 11:33:54 -07:00
Bingxi Zhao (Frank)
df844b8216 feat: add visualize capability with Chart.js/SVG rendering pipeline
- Add visualize agent pipeline (analysis → code generation → review)
- Add VisualizeCapability with request config and registry wiring
- Add frontend VisualizeConfigPanel, VisualizationViewer components
- Add chart.js and react-chartjs-2 dependencies
- Improve math_animator YON_IMAGE anchor block prompts (en/zh)
- Add minimax model override (supports_response_format: false)
- Suppress noisy uvicorn WebSocket connection logs
- Add selective HTTP access logging middleware (non-200 only)

Made-with: Cursor
2026-04-10 20:09:36 +08:00
Bingxi Zhao (Frank)
9bd7d5fba7 update readme 2026-03-24 21:07:49 +08:00
zzhtx258
f04851e536 fix bugs, and enforce math video length 2026-03-22 19:49:14 +08:00
Bingxi Zhao (Frank)
a5d601d39f fix: RAM buffer problems 2026-03-14 01:46:13 +08:00
Bingxi Zhao (Frank)
9c18bf0705 codebase cleanup and decoupled, introduce cli operation 2026-03-13 20:42:16 +08:00
Bingxi Zhao (Frank)
91197f3729 chore: deeptutor 2.0 2026-03-13 01:47:38 +08:00
logo
23ece51e4d 增加启动逻辑 2026-02-03 20:14:12 +08:00
Pancake
100ae27105 feat: add Chinese, frontend persistence, flexible import of rag library 2026-01-21 21:05:48 +08:00
Bingxi Zhao
b607568633 fix 2026-01-18 17:24:49 +08:00
Scarlet Moore
cddc5160e8 work/llm-error-framework (#35)
* feat: enhance error handling and logging in DocumentAdder

* feat: implement robust error handling utilities for API exceptions

* style: fix formatting issues

* feat: implement retry logic for LLM API calls to handle rate limits and timeouts

* feat: enhance document validation and error handling in file uploads

* feat: enhance valid tools configuration and error handling in project structure

* feat: refactor error handling and validation functions for improved robustness

* fix: pre-commit format

* feat: implement configuration validation for tool consistency and enhance error handling in file uploads

* feat: add exception hierarchy for LLM service errors to improve error handling

* chore: update repo roster images [skip ci]

* chore: update repo roster images [skip ci]

* Integrate documentation updates and rebase onto upstream dev

* Implement error handling utilities and validation functions

* feat: implement multi-provider support with enhanced capability handling and model extraction

* fix: enhance error handling and validation across multiple modules

* chore: remove unused local environment configuration file

* commit

* fix: improve error handling and logging in utilities and error handler

* fix: enhance error handling and logging across multiple modules

* fix: enhance async initialization and validation in multiple modules

* feat: implement LLM error framework

- Add LLM-specific exception classes in exceptions.py
- Create error mapping utilities for standardized error handling
- Implement base provider interface with error handling
- Add OpenAI provider implementation with error mapping
- Define LLM types and response structures

* feat: add missing registry and telemetry modules

- Add registry.py for provider registration system
- Add telemetry.py for basic LLM call tracking
- Complete the LLM error framework implementation

* fix(llm): safer sync wrapper + smarter retries + optional openai mapping

* Fix LLM error framework and code quality improvements

* feat: update environment configuration and improve logging in LLM services

* Update README.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Refactor code structure for improved readability and maintainability

* chore: update documentation, improve error handling, and enhance file upload validation

* feat: enhance error handling and configuration validation across multiple modules

* feat: add configuration for pytest, improve error handling, and enhance byte formatting utilities

---------

Co-authored-by: scrrlt <smo0051@student.monash.edu>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-13 16:58:13 +11:00
Scarlet Moore
307c8fda6e Web audit scaffolding: add Playwright config, fix tsconfig types, harden error fallback check and baseURL handling in compliance suite; add audit scripts and devdep for @playwright/test. 2026-01-09 15:59:25 +11:00
RinCodeForge927
e071c3755b security: patch path traversal in jspdf and tighten pre-commit hooks
Cleaning up some critical vulnerabilities found during the last audit. Specifically:
- Upgraded jspdf in web/ to fix a critical Path Traversal vulnerability.
- Removed --exit-zero from ruff pre-commit hooks so we actually block broken code instead of just auto-fixing and moving on.
- Re-enabled ESLint in the pre-commit pipeline to maintain frontend code standards.
- Updated vitepress in docs/ to clear out some moderate CVEs in the dev server dependencies.
2026-01-06 23:52:01 +07:00
Pancake
27712e1fe9 fix docker 2026-01-06 12:33:49 +08:00
Bingxi Zhao (Frank)
f6235d7ca0 Merge pull request #48 from HKUDS/dependabot/npm_and_yarn/web/types/node-25.0.3
chore(deps): bump @types/node from 22.19.3 to 25.0.3 in /web
2026-01-06 02:12:59 +08:00
dependabot[bot]
83fbdbaeb8 chore(deps): bump @types/node from 22.19.3 to 25.0.3 in /web
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.3 to 25.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 18:11:53 +00:00
Bingxi Zhao (Frank)
12781eba65 Merge pull request #45 from HKUDS/dependabot/npm_and_yarn/web/tailwind-merge-3.4.0
chore(deps): bump tailwind-merge from 2.6.0 to 3.4.0 in /web
2026-01-06 02:09:21 +08:00
Bingxi Zhao (Frank)
dbef94a4c2 Merge pull request #44 from HKUDS/dependabot/npm_and_yarn/web/framer-motion-12.24.0
chore(deps): bump framer-motion from 11.18.2 to 12.24.0 in /web
2026-01-06 02:08:57 +08:00
Bingxi Zhao (Frank)
25b83982cd Merge pull request #47 from HKUDS/dependabot/npm_and_yarn/web/react-markdown-10.1.0
chore(deps): bump react-markdown from 9.1.0 to 10.1.0 in /web
2026-01-06 02:08:10 +08:00
dependabot[bot]
5c1a1b1ba8 chore(deps): bump framer-motion from 11.18.2 to 12.24.0 in /web
Bumps [framer-motion](https://github.com/motiondivision/motion) from 11.18.2 to 12.24.0.
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/motiondivision/motion/compare/v11.18.2...v12.24.0)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-version: 12.24.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 18:05:30 +00:00
dependabot[bot]
4e865dab57 chore(deps): bump react-markdown from 9.1.0 to 10.1.0 in /web
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 9.1.0 to 10.1.0.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/9.1.0...10.1.0)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 18:04:17 +00:00
dependabot[bot]
affcc1819d chore(deps): bump tailwind-merge from 2.6.0 to 3.4.0 in /web
Bumps [tailwind-merge](https://github.com/dcastil/tailwind-merge) from 2.6.0 to 3.4.0.
- [Release notes](https://github.com/dcastil/tailwind-merge/releases)
- [Commits](https://github.com/dcastil/tailwind-merge/compare/v2.6.0...v3.4.0)

---
updated-dependencies:
- dependency-name: tailwind-merge
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 17:58:46 +00:00
dependabot[bot]
1de3b76d73 chore(deps): bump lucide-react in /web in the npm-minor-patch group
Bumps the npm-minor-patch group in /web with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react).


Updates `lucide-react` from 0.460.0 to 0.562.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.562.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 0.562.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 17:58:30 +00:00
Bingxi Zhao
bb30e89846 update to Next.js 16 & React 19 from old version 2026-01-01 02:12:06 +08:00
Pancake
fbb0b15cad Initial commit 2025-12-28 23:45:41 +08:00