DeepSeekSoftwareShipping codeAI score · 85/100AI-assisted edit · no obvious prompt-injection riskGitHub

Install Session Organizer to Add Categorized Folders for DSH Desktop Session History

Install plugin in DSH desktop → scan local session titles to generate personalized categories → organize sessions via drag-and-drop or menu

Some experienceStepsWorkflowTip
Who
DSH desktop users with long session lists who want topic-based organization
You get
Collapsible category folders appear in the sidebar with search, drag-and-drop classification, and manual correction; all classification runs locally
You need
DeepSeek

Constraints

Prerequisites: DSH desktop or web >= 0.2.1-rc.3; write access to the target profile to install the plugin. On first install, the plugin reads local session titles only (no upload, no message content) and generates 4–7 personalized modules or falls back to 6 default categories. Classification uses local heuristic keyword matching, not model inference. State file defaults to `<workspace>/.dsh/session-organizer.json`; delete to reset.

What they did

Author keepyouAlan developed and published the npm package `dsh-history-folders` (Session Organizer) as a DSH desktop Host plugin. It injects collapsible category folders above "Settings" in the sidebar, organizing historical sessions into 4–7 personalized modules or 6 default categories via local heuristic keyword matching against 12 themes. Features include search, drag-and-drop classification, manual correction via context menu, and hover cards showing category path.

How it went

The author reports the plugin is published to npm and installable via DSH marketplace or CLI; provides 6 default categories out of the box; generates personalized directories after first scan; performs classification entirely locally without model calls or data upload; supports subcategories, long-press drag-and-drop, uncategorized fallback, and persistent state. (author_report)

Worth knowing

1. Classification accuracy: the author explicitly states this is not a "highly accurate AI classification" but an "explainable, editable starting point"; finer summaries and subcategories require the companion `session-organizer` skill with agent-based deep organization.\n2. Scope and permissions: only session titles, update times, and workspace names are read; message content, tool output, attachments, and workspace files are excluded; Host accepts only localhost requests.\n3. Compatibility limits: requires DSH >= 0.2.1-rc.3; on Windows when the sidebar collapses to 56px the native footer hides entirely (including Settings), restoring on expand; after major DSH upgrades, if slots are removed the plugin falls back to a single entry row.\n4. State file: defaults to `<workspace>/.dsh/session-organizer.json`; deletion resets to first-install state; `profile.signals` stores only aggregate counts and keywords, not full titles.\n5. This site has not tested the installation flow or classification results; reproduction.status=not_tested.

Steps

  1. Install from Plugin Marketplace

    Open the DSH desktop app, go to Settings → Plugins → Marketplace, search for "Session Organizer", and click Install. Web users should replace `desktop` with `web` in the CLI command below. Refresh after installation; if the category panel does not appear in the sidebar, restart the app once (Host plugins load at startup).

  2. Install via CLI (Alternative)

    Run the following command in your terminal to install the plugin for the desktop profile:

    Execution prompt · Source text。Terminal command line; replace desktop with web if needed

    dsh plugin --profile desktop add dsh-history-folders
  3. Complete First-Time Classification Setup

    When opening a workspace without existing category data, a local scan card appears in the sidebar. Choose either:\n- "Scan and generate my categories": the plugin matches session titles against 12 themes, generates 4–7 modules, and lets you preview and rename before applying;\n- "Use default 6 categories" to immediately get: AI Tools & Skills, Projects & Monetization, Computer & Software, Learning & Cognition, Documents & Data, Life & Chat.\nAfter applying, category data is written to the state file via a single `POST /session-organizer/api/bootstrap` call.

  4. Organize Sessions Daily

    Expand the "Session Categories" panel in the sidebar and manage sessions using:\n- Search: type keywords at the top to filter by title, summary, or tags;\n- Drag-and-drop: long-press a session row for ~0.3s, drag to a target module, subcategory, or "Uncategorized", and release to assign (writes with `manual: true`; auto-organization will not override);\n- Manual correction: right-click a native session row and select "Assign to category…";\n- View assignment: hover over a session row to see its category path and summary in a hover card.

  5. (Optional) Install from Source or Reset

    To install from source: clone the repository, run `npm test`, link the directory into the profile's `node_modules`, and insert the Host configuration into `cordis.patch.yml` (see README example). DSH usually hot-reloads after saving; restart if the panel does not appear. To reset categories, delete `<workspace>/.dsh/session-organizer.json` and refresh to return to first-install state.

Prompt you can copy

Reference prompt · Editorial suggestion。Confirm the destination, input variables and output format before use.

This block is the prompt. Ads are never placed here.

dsh plugin --profile desktop add dsh-history-folders

This workflow is plugin installation and configuration; no conversational prompt is needed—follow the steps.

Source

安装 history-folders,给 Desktop 会话历史分文件夹 · keepyouAlan · GitHub · 2026-10-31T09:01:34Z

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related