@carljia/omd-dsh 0.1.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.
@@ -0,0 +1,118 @@
1
+ # omd-executor preset (OMD executor mode). Generated by omd-dsh — see README for the mode matrix.
2
+
3
+ - id: persona
4
+ name: '@deepseek-ai/dsh-persona'
5
+ config:
6
+ text: >-
7
+ You are in OMD EXECUTOR mode (OMD · 执行者): a full-capability autonomous executor on DeepSeek Harness. Work autonomously toward the stated goal — plan, execute, verify, and iterate until the task is actually done. For long-running work use the harness-native orchestration: the goal tool for a tracked completion objective, workflow for multi-agent fan-out, ralph for fresh-agent iteration, and omd_task for tiered delegation (cheap tiers for repetitive investigation, strong tiers for hard reasoning). Do not stop to ask when the path forward is clear. 本模式路由模型:{{model}}(provider: {{provider}})。
8
+
9
+ # [omd-dsh:mode:start]
10
+ # [omd-dsh:mode:end]
11
+ - id: agent-instructions
12
+ name: '@deepseek-ai/dsh-agent-instructions'
13
+ config:
14
+ maxBytes: 65536
15
+
16
+ - id: tool-bash
17
+ name: '@deepseek-ai/dsh-tool-bash'
18
+ disabled: !!js process.platform === 'win32'
19
+
20
+ - id: tool-pwsh
21
+ name: '@deepseek-ai/dsh-tool-pwsh'
22
+ disabled: !!js process.platform !== 'win32'
23
+
24
+ - id: tool-fs
25
+ name: '@deepseek-ai/dsh-tool-fs'
26
+
27
+ - id: tool-fs-search
28
+ name: '@deepseek-ai/dsh-tool-fs-search'
29
+ config:
30
+ sampleOverCapGlobResults: false
31
+
32
+ - id: tool-jobs
33
+ name: '@deepseek-ai/dsh-tool-jobs'
34
+
35
+ - id: skill-filesystem
36
+ name: '@deepseek-ai/dsh-skill-filesystem'
37
+
38
+ - id: tool-skill
39
+ name: '@deepseek-ai/dsh-tool-skill'
40
+
41
+ - id: tool-goal
42
+ name: '@deepseek-ai/dsh-tool-goal'
43
+
44
+ - id: compaction
45
+ name: cordis:group
46
+ group: true
47
+ isolate:
48
+ compaction: true
49
+ toolResultPruner: true
50
+ config:
51
+ - id: compaction-basic
52
+ name: '@deepseek-ai/dsh-compaction-basic'
53
+
54
+ - id: command-compact
55
+ name: '@deepseek-ai/dsh-command-compact'
56
+
57
+ - id: tool-result-pruner
58
+ name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
59
+ config:
60
+ thresholdChars: 8192
61
+ headChars: 4096
62
+ tailChars: 1024
63
+
64
+ - id: delegation
65
+ name: cordis:group
66
+ group: true
67
+ isolate:
68
+ workflowEngine: true
69
+ config:
70
+ - id: tool-subagent-control
71
+ name: '@deepseek-ai/dsh-tool-subagent-control'
72
+
73
+ - id: tool-subagent-list-agents
74
+ name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
75
+
76
+ - id: tool-subagent
77
+ name: '@deepseek-ai/dsh-tool-subagent'
78
+ config:
79
+ provider: spawn
80
+ toolName: subagent
81
+ backgroundMode: continuable
82
+
83
+ - id: tool-subagent-fork
84
+ name: '@deepseek-ai/dsh-tool-subagent'
85
+ config:
86
+ provider: fork
87
+ toolName: subagent_fork
88
+ backgroundMode: continuable
89
+
90
+ - id: workflow-worker-thread
91
+ name: '@deepseek-ai/dsh-workflow-worker-thread'
92
+ config:
93
+ provider: spawn
94
+
95
+ - id: tool-workflow
96
+ name: '@deepseek-ai/dsh-tool-workflow'
97
+
98
+ - id: tool-ralph
99
+ name: '@deepseek-ai/dsh-tool-ralph'
100
+ config:
101
+ subagentProvider: spawn
102
+ maxRounds: 64
103
+
104
+ # [omd-dsh:task:start]
105
+ # [omd-dsh:task:end]
106
+ - id: tool-ask-user
107
+ name: '@deepseek-ai/dsh-tool-ask-user'
108
+
109
+ - id: tool-todo
110
+ name: '@deepseek-ai/dsh-tool-todo'
111
+ config:
112
+ allowParallelInProgress: true
113
+
114
+ - id: tool-web
115
+ name: '@deepseek-ai/dsh-tool-web'
116
+ config:
117
+ fetch: false
118
+ searchTimeoutMs: 60000
@@ -0,0 +1,3 @@
1
+ name: OMD · 执行者
2
+ description: 全能力自主执行模式:完整工具集 + goal/ralph/workflow 原生编排 + omd_task 差异化委派(强模型顶层,性价比模型做重复工作)。
3
+ order: 101
@@ -0,0 +1,22 @@
1
+ # omd-explorer preset (OMD explorer mode). Generated by omd-dsh — see README for the mode matrix.
2
+
3
+ - id: persona
4
+ name: '@deepseek-ai/dsh-persona'
5
+ config:
6
+ text: >-
7
+ You are in OMD EXPLORER mode (OMD · 代码侦察): a read-only codebase scout on DeepSeek Harness. Find definitions, call sites, patterns and behavior by reading and searching the repository. Answer with precise file and line references. You cannot edit files, run shells, or delegate. 本模式路由模型:{{model}}(provider: {{provider}})。
8
+
9
+ # [omd-dsh:mode:start]
10
+ # [omd-dsh:mode:end]
11
+ - id: agent-instructions
12
+ name: '@deepseek-ai/dsh-agent-instructions'
13
+ config:
14
+ maxBytes: 65536
15
+
16
+ - id: tool-fs
17
+ name: '@deepseek-ai/dsh-tool-fs'
18
+
19
+ - id: tool-fs-search
20
+ name: '@deepseek-ai/dsh-tool-fs-search'
21
+ config:
22
+ sampleOverCapGlobResults: false
@@ -0,0 +1,3 @@
1
+ name: OMD · 代码侦察
2
+ description: 只读侦察模式:定义、调用点、模式与行为的快速定位(glob/grep/read)。
3
+ order: 105
@@ -0,0 +1,28 @@
1
+ # omd-librarian preset (OMD librarian mode). Generated by omd-dsh — see README for the mode matrix.
2
+
3
+ - id: persona
4
+ name: '@deepseek-ai/dsh-persona'
5
+ config:
6
+ text: >-
7
+ You are in OMD LIBRARIAN mode (OMD · 文献研究): a read-only research agent on DeepSeek Harness. Study documentation, dependencies and web sources; produce accurate, cited summaries. You cannot edit files, run shells, or delegate. 本模式路由模型:{{model}}(provider: {{provider}})。
8
+
9
+ # [omd-dsh:mode:start]
10
+ # [omd-dsh:mode:end]
11
+ - id: agent-instructions
12
+ name: '@deepseek-ai/dsh-agent-instructions'
13
+ config:
14
+ maxBytes: 65536
15
+
16
+ - id: tool-fs
17
+ name: '@deepseek-ai/dsh-tool-fs'
18
+
19
+ - id: tool-fs-search
20
+ name: '@deepseek-ai/dsh-tool-fs-search'
21
+ config:
22
+ sampleOverCapGlobResults: false
23
+
24
+ - id: tool-web
25
+ name: '@deepseek-ai/dsh-tool-web'
26
+ config:
27
+ fetch: false
28
+ searchTimeoutMs: 60000
@@ -0,0 +1,3 @@
1
+ name: OMD · 文献研究
2
+ description: 只读研究模式:文档、依赖与网络资料的引用式调研。
3
+ order: 106
@@ -0,0 +1,72 @@
1
+ # omd-planner preset (OMD planner mode). Generated by omd-dsh — see README for the mode matrix.
2
+
3
+ - id: persona
4
+ name: '@deepseek-ai/dsh-persona'
5
+ config:
6
+ text: >-
7
+ You are in OMD PLANNER mode (OMD · 规划访谈): a planning-and-interview agent on DeepSeek Harness. The harness plan-mode section supplies your planning rules — follow it. You are read-only: explore, ask the user, and produce plans; never edit files or run shells. Delegate content investigation to omd_task tier investigate (a cheap model does the repetitive research) and plan review to tier review; keep the top-level planning with your own reasoning. 本模式路由模型:{{model}}(provider: {{provider}})。
8
+
9
+ # [omd-dsh:mode:start]
10
+ # [omd-dsh:mode:end]
11
+ - id: agent-instructions
12
+ name: '@deepseek-ai/dsh-agent-instructions'
13
+ config:
14
+ maxBytes: 65536
15
+
16
+ - id: planning
17
+ name: cordis:group
18
+ group: true
19
+ isolate:
20
+ planMode: true
21
+ config:
22
+ - id: plan-mode
23
+ name: '@deepseek-ai/dsh-plan-mode'
24
+ config:
25
+ section: |
26
+ You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
27
+
28
+ Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.
29
+
30
+ The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.
31
+
32
+ Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.
33
+
34
+ Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.
35
+
36
+ When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.
37
+
38
+ - id: tool-fs
39
+ name: '@deepseek-ai/dsh-tool-fs'
40
+
41
+ - id: tool-fs-search
42
+ name: '@deepseek-ai/dsh-tool-fs-search'
43
+ config:
44
+ sampleOverCapGlobResults: false
45
+
46
+ - id: delegation
47
+ name: cordis:group
48
+ group: true
49
+ isolate:
50
+ workflowEngine: true
51
+ config:
52
+ - id: tool-subagent-control
53
+ name: '@deepseek-ai/dsh-tool-subagent-control'
54
+
55
+ - id: tool-subagent-list-agents
56
+ name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
57
+
58
+ # [omd-dsh:task:start]
59
+ # [omd-dsh:task:end]
60
+ - id: tool-ask-user
61
+ name: '@deepseek-ai/dsh-tool-ask-user'
62
+
63
+ - id: tool-todo
64
+ name: '@deepseek-ai/dsh-tool-todo'
65
+ config:
66
+ allowParallelInProgress: true
67
+
68
+ - id: tool-web
69
+ name: '@deepseek-ai/dsh-tool-web'
70
+ config:
71
+ fetch: false
72
+ searchTimeoutMs: 60000
@@ -0,0 +1,3 @@
1
+ name: OMD · 规划访谈
2
+ description: 规划模式:DSH 原生 plan-mode + 只读工具边界;顶层规划用强模型,内容调查与方案评审委派给 omd_task tiers(强模型顶层、性价比模型重复工作)。
3
+ order: 103
@@ -0,0 +1,28 @@
1
+ # omd-reviewer preset (OMD reviewer mode). Generated by omd-dsh — see README for the mode matrix.
2
+
3
+ - id: persona
4
+ name: '@deepseek-ai/dsh-persona'
5
+ config:
6
+ text: >-
7
+ You are in OMD REVIEWER mode (OMD · 评审): a read-only review agent on DeepSeek Harness. Inspect code, plans, diffs and designs; find defects, risks, edge cases and improvement opportunities. Report findings precisely with file and line references. You cannot edit files, run shells, or delegate. 本模式路由模型:{{model}}(provider: {{provider}})。
8
+
9
+ # [omd-dsh:mode:start]
10
+ # [omd-dsh:mode:end]
11
+ - id: agent-instructions
12
+ name: '@deepseek-ai/dsh-agent-instructions'
13
+ config:
14
+ maxBytes: 65536
15
+
16
+ - id: tool-fs
17
+ name: '@deepseek-ai/dsh-tool-fs'
18
+
19
+ - id: tool-fs-search
20
+ name: '@deepseek-ai/dsh-tool-fs-search'
21
+ config:
22
+ sampleOverCapGlobResults: false
23
+
24
+ - id: tool-web
25
+ name: '@deepseek-ai/dsh-tool-web'
26
+ config:
27
+ fetch: false
28
+ searchTimeoutMs: 60000
@@ -0,0 +1,3 @@
1
+ name: OMD · 评审
2
+ description: 只读评审模式:代码、方案与差异的缺陷与风险审查。
3
+ order: 104