Files
DeepTutor/web/lib/space-items.ts
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

58 lines
1.1 KiB
TypeScript

"use client";
import {
ClipboardList,
History,
NotebookPen,
Wand2,
type LucideIcon,
} from "lucide-react";
export type SpaceItemKey =
| "chat_history"
| "notebooks"
| "question_bank"
| "skills";
export type SpaceMemoryFile = "summary" | "profile";
export interface SpaceItem {
key: SpaceItemKey;
href: string;
label: string;
description: string;
icon: LucideIcon;
}
export const SPACE_ITEMS: SpaceItem[] = [
{
key: "chat_history",
href: "/space/chat-history",
label: "Chat History",
description: "Review and reopen previous conversations.",
icon: History,
},
{
key: "notebooks",
href: "/space/notebooks",
label: "Notebooks",
description:
"Organize saved outputs from chat, research, Co-Writer, and more.",
icon: NotebookPen,
},
{
key: "question_bank",
href: "/space/questions",
label: "Question Bank",
description: "Review and organize quiz questions across sessions.",
icon: ClipboardList,
},
{
key: "skills",
href: "/space/skills",
label: "Skills",
description: "Behavior playbooks that guide chat responses.",
icon: Wand2,
},
];