@agi-fans/oh-my-dsh 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/config/cordis.yml +51 -0
  2. package/package.json +8 -2
package/config/cordis.yml CHANGED
@@ -41,6 +41,19 @@
41
41
  fallbackMaxBytes: 80
42
42
  maxTitleBytes: 120
43
43
 
44
+ # LLM title provider over the first prompt — the row the harness base ships,
45
+ # so omdsh sessions get a summarized title instead of the deterministic
46
+ # fallback (first words or the cwd basename) that the recent-session list
47
+ # and the web sidebar currently show.
48
+ - id: session-title-llm
49
+ name: '@deepseek-ai/dsh-session-title-first-prompt-llm'
50
+ config:
51
+ targetWords: 5
52
+ targetCjkCharacters: 10
53
+ maxInputBytes: 4096
54
+ maxOutputTokens: 64
55
+ timeoutMs: 60000
56
+
44
57
  - id: session-stats
45
58
  name: '@deepseek-ai/dsh-session-stats'
46
59
 
@@ -56,6 +69,36 @@
56
69
  - id: session-reference
57
70
  name: '@deepseek-ai/dsh-session-reference'
58
71
 
72
+ # Durable KV stack plus the workspace registry — the same chain the harness
73
+ # base and web layer mount. The registry groups sessions by canonical cwd
74
+ # into durable workspace records; omdsh attaches each session it creates,
75
+ # so sessions appear grouped in the harness web instead of ungrouped. The
76
+ # storage root follows the session store so both read the same home.
77
+ - id: storage
78
+ name: '@deepseek-ai/dsh-storage'
79
+
80
+ - id: storage-json
81
+ name: '@deepseek-ai/dsh-storage-json'
82
+ config:
83
+ root: !!js "(process.env.OMDSH_HOME || process.env.DSH_HOME || process.env.HOME + '/.dsh') + '/storages'"
84
+
85
+ - id: storage-domain
86
+ name: '@deepseek-ai/dsh-storage-domain'
87
+ config:
88
+ backend: json
89
+
90
+ # Durable projection checkpoints — the piece that lets a cold session
91
+ # answer its title without reading its log. Without it the `@` session
92
+ # menu and the recent-session list can only label cold sessions by id.
93
+ - id: session-projection-cache
94
+ name: '@deepseek-ai/dsh-session-projection-cache'
95
+ config:
96
+ writeEveryEvents: 200
97
+ writeIntervalMs: 5000
98
+
99
+ - id: workspace
100
+ name: '@deepseek-ai/dsh-workspace'
101
+
59
102
  # Workspace @file discovery. The TUI owns mention syntax; this provider
60
103
  # ranks path-only candidates and, when `read` is visible, adds the stable
61
104
  # file-reference instruction. Selecting a row still inserts a path.
@@ -186,6 +229,14 @@
186
229
  # tool-skill 注册(两者都以 session 前缀消息注入,注册顺序即渲染顺序)。
187
230
  - id: system-prompt
188
231
  name: '@deepseek-ai/dsh-system-prompt'
232
+ config:
233
+ # Renders as the `deployment:persona-suffix` section — the last prompt
234
+ # section, right above the tool catalog. The delegation tools differ in
235
+ # transport, and the in-process ones share this session's event loop:
236
+ # without routing guidance the model has no reason to ever pick
237
+ # `subagent_isolated`, so heavy parallel delegation starves rendering.
238
+ personaSuffix: |
239
+ Delegation routing: `subagent` and `subagent_fork` run the child in this process — the child stays steerable through `send_message` and continuable after it settles, but every in-process child shares the interactive session's capacity. `subagent_isolated` runs the child in a separate process: one-shot, no steering, no follow-up, and the host session stays responsive under heavy or parallel delegation. Prefer `subagent_isolated` when dispatching several independent tasks at once or a single heavyweight self-contained task; use `subagent` when steering or continuation matters, and `subagent_fork` when the task builds on this conversation's completed turns.
189
240
 
190
241
  - id: tools
191
242
  name: '@deepseek-ai/dsh-tools'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agi-fans/oh-my-dsh",
3
3
  "description": "omdsh: a keyboard-first DeepSeek TUI coding agent on the DeepSeek Harness runtime",
4
- "version": "0.16.0",
4
+ "version": "0.17.0",
5
5
  "homepage": "https://omdsh.agi.fans/",
6
6
  "keywords": [
7
7
  "omdsh",
@@ -101,11 +101,13 @@
101
101
  "@deepseek-ai/dsh-session-checkpoint-policy": "0.1.5-rc.2",
102
102
  "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.5-rc.2",
103
103
  "@deepseek-ai/dsh-session-projection": "0.1.5-rc.2",
104
+ "@deepseek-ai/dsh-session-projection-cache": "0.1.5-rc.2",
104
105
  "@deepseek-ai/dsh-session-query": "0.1.5-rc.2",
105
106
  "@deepseek-ai/dsh-session-query-sqlite": "0.1.5-rc.2",
106
107
  "@deepseek-ai/dsh-session-reference": "0.1.5-rc.2",
107
108
  "@deepseek-ai/dsh-session-stats": "0.1.5-rc.2",
108
109
  "@deepseek-ai/dsh-session-title": "0.1.5-rc.2",
110
+ "@deepseek-ai/dsh-session-title-first-prompt-llm": "0.1.5-rc.2",
109
111
  "@deepseek-ai/dsh-settings": "0.1.5-rc.2",
110
112
  "@deepseek-ai/dsh-settings-file": "0.1.5-rc.2",
111
113
  "@deepseek-ai/dsh-shell-env": "0.1.5-rc.2",
@@ -114,6 +116,9 @@
114
116
  "@deepseek-ai/dsh-spill": "0.1.5-rc.2",
115
117
  "@deepseek-ai/dsh-spill-local": "0.1.5-rc.2",
116
118
  "@deepseek-ai/dsh-spill-policy": "0.1.5-rc.2",
119
+ "@deepseek-ai/dsh-storage": "0.1.5-rc.2",
120
+ "@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2",
121
+ "@deepseek-ai/dsh-storage-json": "0.1.5-rc.2",
117
122
  "@deepseek-ai/dsh-subagent": "0.1.5-rc.2",
118
123
  "@deepseek-ai/dsh-subagent-acp": "0.1.5-rc.2",
119
124
  "@deepseek-ai/dsh-subagent-fork-in-process": "0.1.5-rc.2",
@@ -147,6 +152,7 @@
147
152
  "@deepseek-ai/dsh-tool-todo": "0.1.5-rc.2",
148
153
  "@deepseek-ai/dsh-tool-web": "0.1.5-rc.2",
149
154
  "@deepseek-ai/dsh-tool-workflow": "0.1.5-rc.2",
155
+ "@deepseek-ai/dsh-workspace": "0.1.5-rc.2",
150
156
  "@deepseek-ai/dsh-tools": "0.1.5-rc.2",
151
157
  "@deepseek-ai/dsh-user-approval": "0.1.5-rc.2",
152
158
  "@deepseek-ai/dsh-user-questions": "0.1.5-rc.2",
@@ -156,7 +162,7 @@
156
162
  "@deepseek-ai/dsh-workflow-worker-thread": "0.1.5-rc.2",
157
163
  "@deepseek-ai/schemastery": "3.18.2",
158
164
  "node-addon-require-builtin": "0.1.4",
159
- "@agi-fans/dsh-tui": "^0.16.0"
165
+ "@agi-fans/dsh-tui": "^0.17.0"
160
166
  },
161
167
  "peerDependencies": {
162
168
  "@deepseek-ai/cordis": "^4.0.2"