Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Mount the session stats projection in the desktop app's engine

Fei2411a422e01f15a8
diff --git a/app/engine/cordis.patch.yml b/app/engine/cordis.patch.yml
index fbd46bbf..c0a43694 100644
--- a/app/engine/cordis.patch.yml
+++ b/app/engine/cordis.patch.yml
@@ -54,6 +54,11 @@
- id: directory-picker
name: '@deepseek-ai/dsh-host-directory-picker-auto'
+ # The sessionStats projection: the turns and output speed in a Bot's
+ # details.
+ - id: session-stats
+ name: '@deepseek-ai/dsh-session-stats'
+
# Read by the standard preset's subagent tool (modelSelectionSettings).
- id: subagent-model-selection-settings
name: '@deepseek-ai/dsh-tool-subagent/model-selection-settings'
diff --git a/app/engine/package.json b/app/engine/package.json
index fedcb052..69fe6136 100644
--- a/app/engine/package.json
+++ b/app/engine/package.json
@@ -39,6 +39,7 @@
"@deepseek-ai/dsh-persona": "0.2.0-rc.2",
"@deepseek-ai/dsh-plan-mode": "0.2.0-rc.2",
"@deepseek-ai/dsh-plugin-manager": "0.2.0-rc.2",
+ "@deepseek-ai/dsh-session-stats": "0.2.0-rc.2",
"@deepseek-ai/dsh-skill-filesystem": "0.2.0-rc.2",
"@deepseek-ai/dsh-tool-ask-user": "0.2.0-rc.2",
"@deepseek-ai/dsh-tool-bash": "0.2.0-rc.2",
diff --git a/app/package-lock.json b/app/package-lock.json
index d9e38208..c16cb31e 100644
--- a/app/package-lock.json
+++ b/app/package-lock.json
@@ -45,6 +45,7 @@
"@deepseek-ai/dsh-persona": "0.2.0-rc.2",
"@deepseek-ai/dsh-plan-mode": "0.2.0-rc.2",
"@deepseek-ai/dsh-plugin-manager": "0.2.0-rc.2",
+ "@deepseek-ai/dsh-session-stats": "0.2.0-rc.2",
"@deepseek-ai/dsh-skill-filesystem": "0.2.0-rc.2",
"@deepseek-ai/dsh-tool-ask-user": "0.2.0-rc.2",
"@deepseek-ai/dsh-tool-bash": "0.2.0-rc.2",
diff --git a/app/test/profile.test.mjs b/app/test/profile.test.mjs
index 61ecb32f..095e935f 100644
--- a/app/test/profile.test.mjs
+++ b/app/test/profile.test.mjs
@@ -37,7 +37,7 @@ describe('the app profile', () => {
test('mounts the transport, the services ds-bot uses and the Bot team', () => {
const on = new Set(entries.filter((entry) => entry.disabled !== true).map((entry) => entry.id))
- for (const id of ['webserver', 'connection', 'engine-index', 'file-upload', 'workspace', 'session-controller', 'directory-picker', 'agent-preset-registry', 'preset-standard', 'bot']) {
+ for (const id of ['webserver', 'connection', 'engine-index', 'file-upload', 'workspace', 'session-controller', 'session-stats', 'directory-picker', 'agent-preset-registry', 'preset-standard', 'bot']) {
assert.ok(on.has(id), `${id} is mounted`)
}
})