TyrionH-is-coding
c3d1dd0b15
feat(llm): add first-party OpenAI Codex OAuth provider ( #690 )
...
Replaces the oauth_cli_kit indirection with DeepTutor's own PKCE loopback
sign-in, an account-scoped live model catalog, and a Settings card that exposes
only the OAuth surface. Credentials live in `<user-root>/private/openai-codex/`
with owner-only permissions, atomic writes, and a generation guard that stops a
late refresh from resurrecting a signed-out session; `~/.codex` is never read or
modified. A CLI path shares the same service.
A Codex token authorizes one person's ChatGPT plan, so credentials anchor to the
signing-in account's own root and the managed profile is marked `owner_bound`:
`redacted_model_access` drops it for every caller, and it is not offered as an
assignable model. Signing in publishes the profile but only activates it when no
LLM is configured yet, so it never repoints a deployment that already has one.
Also from review: reschedule the status poll so one dropped response cannot
strand the card on "waiting"; defer the catalog reload when the operator has
unsaved edits instead of discarding them; log the real cause behind the generic
provider error; stop promising a retry when the token refresh actually failed;
bind both loopback stacks since `localhost` may resolve to either; and drop the
provider metadata fields nothing consumed.
2026-07-26 22:27:54 +08:00
Dryice Liu
9cf8829f3b
test(web): cover code block appearance preferences
...
Add node tests for the theme registry (completeness, invalid-theme
fallback, label formatting), RichCodeBlock (background derivation,
line numbers, wrapping, plain-text routing), SettingsContext
(boolean hydration, backend sync, partial-update persistence),
AppShell storage (SSR defaults, event sync), the appearance page
(syntax-theme select, two toggles), and the markdown fallback
path. Register module aliases so the node tests can resolve
web-path imports.
2026-07-18 14:52:06 +08:00
Bingxi Zhao (Frank)
c9d387e2b6
super super great great update
2026-06-17 00:56:27 +08:00
Bingxi Zhao (Frank)
ab4134fc8f
docs:update readme
2026-06-13 22:04:33 +08:00
Bingxi Zhao (Frank)
90a2c14c81
chore: backend + frontend follow-ons for v1.4.0-beta
...
Wires the new memory / capability / settings / quiz subsystems into
existing surfaces and finishes the chat-pipeline follow-on work.
Backend:
- Session services pick up the cumulative source inventory + new tool
tags (turn_runtime, sqlite_store, pocketbase_store, protocol,
base_session_manager).
- LlamaIndex RAG pipeline config / document_loader / retrievers
tightened; rag/service.py routed to match.
- Sessions / unified_ws / settings / notebook routers updated for
delete-chat-turn, multi-user, and the new tool surface.
- TutorBot manager + Zulip channel + openai_compat_provider follow-on
fixes layered on top of the v1.3.10 SSL/Zulip sweeps.
- runtime/{banner, launcher, orchestrator}, services/setup/init,
prompt/manager, json_parser refined for the runtime-settings
rewrite.
Frontend:
- Co-Learn pages and session-surfaces removed (folded into chat).
- Chat composer / messages / trace / session panels, sidebars,
common modals, markdown renderers, and i18n updated for the new
ask_user / write_note / source-inventory flow.
- Admin, agents, co-writer, playground, book pages picked up the
shared updates.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-21 18:08:22 +08:00
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
Bingxi Zhao (Frank)
593ddba3fb
feat(co-writer): add multi-doc co-writer workspace with backend storage
...
- Add co-writer storage module and API router for document persistence
- Restructure co-writer page to per-doc routing ([docId]) with sidebar recent list
- Wire CoWriterRecent into sidebar shell and AppShellContext
- Tidy notebook prompts, facade, path service, and builtin tools wiring
- Refresh tests (add missing __init__.py, drop obsolete app_facade test)
- Add favicon/apple-touch-icon assets and minor i18n cleanup
Made-with: Cursor
2026-04-20 19:46:41 +08:00
Bingxi Zhao (Frank)
2745e8bde9
feat(book): introduce book capability and restructure guide/co_writer modules
...
- Add new `deeptutor/book/` module with multi-agent pipeline
(ideation, spine, page planner, source explorer, synthesizer)
and rich block system (text, code, figure, quiz, flash cards,
callout, deep dive, timeline, animation, concept graph, etc.)
- Add `/api/routers/book.py` and `deeptutor_cli/book.py` entry points
- Add web UI under `web/app/(workspace)/book/` with sidebar,
chat panel, page reader, spine editor, progress timeline, and
block renderers
- Move `deeptutor/agents/co_writer` -> `deeptutor/co_writer` and
`deeptutor/agents/guide` -> `deeptutor/guide` (then remove guide
entirely now superseded by book)
- Remove legacy guide UI, hooks, types, and API router
- Update visualize agents/prompts, notebook service, prompt manager,
session turn runtime, and shared services to support new flows
- Refresh chat composer, sidebar, notebook selector, and locales
Made-with: Cursor
2026-04-20 00:33:33 +08:00
Bingxi Zhao (Frank)
9c18bf0705
codebase cleanup and decoupled, introduce cli operation
2026-03-13 20:42:16 +08:00
Pancake
0d860a2d12
fix: lint
2026-01-23 01:42:25 +08:00
Pancake
100ae27105
feat: add Chinese, frontend persistence, flexible import of rag library
2026-01-21 21:05:48 +08:00