Preface¶
When creating a new blank session in DeepSeek Harness (DSH), the default interface is relatively restrained: there is no guiding title with the project name like in T3 Code, reasoning intensity is often hidden in the model menu, and there is no git branch switcher around the Composer. If you are accustomed to T3’s opening flow of “select project first, then set effort, then switch branch,” you need to add a layer of UI in DSH’s plugin seams.
Below is an introduction to the community plugin dsh-t3-new-session-screen (maintainer: yusufameri, category: Client). It ports the New Session screen from T3 Code to the DSH Composer, replacing the data layer with DSH’s built-in services; the interface behavior aligns with T3. For attribution and licensing, please refer to the Credit section in the plugin’s README.
What is this¶
dsh-t3-new-session-screen is a DSH Web client plugin (npm package name matches the plugin ID, version 1.0.1 in current materials, license MIT). In short: it provides a T3-style title line, an inline project menu, a reasoning-effort selector in the Composer toolbar, and a git branch bar below the Composer (including real git checkout) in new sessions (and Composer-related areas).
DSH itself does not provide a git interface; branch-related capabilities are implemented by the plugin’s Host half via subprocess calls to git. The plugin is merged into the profile as a bundle. Uninstalling it restores DSH’s factory title and Composer layout, with the README stating there are no remnants.
Differences from the default blank session¶
The README summarizes three areas of content that DSH blank sessions originally lacked but are complemented by this plugin:
- Title —
What should we build in <project>?(from T3’sDraftHeroHeadline), where the project name itself is a clickable selector. - Reasoning effort — In the form of T3’s
TraitsPicker, appearing in the Composer toolbar rather than hidden in the model menu. - Git branch — In the form of T3’s
BranchToolbar, supporting search for local/remote refs and switching viagit checkout.
Core Features¶
Title and Project Menu¶
- Default template:
What should we build in {project}?, displayed centered above the Composer; the{project}position renders a clickable, underlined project name. - Clicking the project name opens a T3-shaped project menu: a list of registered workspaces, a checkmark for the current item, a separator, and New project. Selecting a project migrates the blank session to the corresponding workspace.
- When no project is selected, the entire template sentence is not rendered; only Choose a project to start is displayed (consistent with T3’s empty state).
- The plugin occupies DSH’s title row’s unique additive slot
conversation.hero.brand.mark, and by default hides the built-in “Into the Unknown” title; it also hides the workspace chip below by default, letting the title row handle project selection (see the Alignment section in the README for layout details).
Reasoning Effort¶
- Displays the gear actually used by the current model in the Composer toolbar (for DeepSeek’s own models:
Off,Low,High,Max); the menu includes descriptions for each gear and a marker for the current selection. - Reads and writes to the per-session model directory with the same model seat as the session model; the model seat label changes with the effort. If the model does not declare effort capabilities, the control is not rendered.
Git Branch Bar¶
- Located below the Composer card: checkout on the left, current ref on the right; the menu is searchable, listing local and remote refs, and marking
current/default/remote. - Switching executes
git checkout <ref>; when the search term corresponds to a ref that does not yet exist, a Create new ref row may appear (controlled by the configbranchCreateEnabled, defaulttrue), executinggit checkout -b. - The working directory comes from the current session’s
cwd; git operations are completed via the Host routePOST /t3-new-session/api.
Installation and Enablement¶
The plugin is installed via the DSH profile’s bundle list. The command in the materials is as follows (must include --profile web):
Install from GitHub repository:
dsh plugin --profile web add github:yusufameri/dsh-t3-new-session-screen
After the package is published to npm, a shorter registry form is available:
dsh plugin --profile web add dsh-t3-new-session-screen
After installation, a restart or the next startup will merge the plugin’s cordis.patch.yml and load the client half. Removing the bundle restores DSH’s default title and Composer.
Configuration¶
All fields are optional; the default values enable the full interface described in the README. Set config in the corresponding bundle row of the profile’s cordis.patch.yml, for example:
- id: t3-new-session-screen
name: 'dsh-t3-new-session-screen'
config:
headlineText: 'What should we build in {project}?'
effortSlot: right
branchCreateEnabled: false
| Key | Default Value | Meaning |
|---|---|---|
headlineEnabled |
true |
Replace the blank session title with the T3 title sentence |
headlineText |
What should we build in {project}? |
Title template; {project} is the interactive project name |
hideShippedHeadline |
true |
Hide DSH’s built-in title |
hideWorkspaceChip |
true |
Hide the built-in workspace chip |
effortEnabled |
true |
Enable the effort selector |
effortSlot |
left |
left or right, the position of the control in the Composer toolbar |
branchEnabled |
true |
Enable the branch bar (new sessions and ongoing sessions) |
branchCreateEnabled |
true |
Whether the branch menu offers creating a new ref |
gitEnabled |
true |
If off, the entire git bridge and branch bar are unavailable |
gitTimeoutMs |
30000 |
Timeout for a single git subprocess (milliseconds) |
The client reads the parsed configuration from the Host; modifications require a page reload to take effect.
Implementation Details (Optional Reading)¶
The plugin mounts via existing DSH/Cordis slots rather than modifying core source code. The correspondences in the README include: title conversation.hero.brand.mark, project menu shadow conversation.hero.workspace, effort occupying conversation.input.left / .right, branch bar occupying conversation.input.dock, etc.
Two implementation details affect whether “the control is installed but not visible”:
- The client must inject
remoteandremote.session, otherwise reading the model directory may error out, and the effort control will silently fail to appear. - The Host half depends only on
node:*modules; configuration validation uses a hand-written Standard Schema rather than Schemastery.
Typical Usage¶
- Add the plugin to the web profile using the command above and restart the DSH Web client.
- Open a new session: if no workspace is selected yet, first click Choose a project to start in the title area or the project name in the title, and select an existing project or New project from the menu (creating a new one goes through
pickDirectoryandworkspaces.create). - Adjust the reasoning effort in the Composer toolbar (if the current model supports it); when needing to switch branches, open the ref menu below the Composer to search and checkout.
- If you want the effort to be on the model seat side or to prohibit creating new branches from the UI, set
effortSlot: right,branchCreateEnabled: false, etc., incordis.patch.yml.
Applicable Scenarios and Notes¶
Who it is for: Developers already using DSH Web Composer who are familiar with T3 Code’s new session flow; those who want to complete project selection, reasoning intensity setting, and git branch switching on the same screen without repeatedly entering the model menu or terminal.
Permissions and Security: Branch switching and branch creation will execute real git commands in the session’s working directory, with permissions consistent with the current DSH process. Before installation, you should read the source code and MIT license of the GitHub repository; the community plugin directory (SkillHub) is an independent site and has no official affiliation with DeepSeek / High-Flyer. Whether to adopt it requires your own assessment.
Dependencies: package.json indicates that the client injects multiple @deepseek-ai/dsh-client-* modules and declares @deepseek-ai/cordis etc. as peers (optional). It needs to be compatible with the current DSH version; if the README does not provide an additional runtime version matrix, the actual installation environment prevails.
Conclusion¶
dsh-t3-new-session-screen connects the three-piece set of T3’s new session—guiding title, effort selector, and git branch bar—to DSH’s Cordis slots and Host API, suitable for Harness users who want a T3-style opening.
- Directory page: https://www.skillhub.cn/plugins/yusufameri/dsh-t3-new-session-screen
- Source code and documentation: https://github.com/yusufameri/dsh-t3-new-session-screen