@managetunit/marketplace-manager 1.3.2 → 1.3.3

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.
package/README.md CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  - **панель «Менеджер маркетплейсов»** — KPI, динамика, товары и реклама кабинетов WB/Ozon;
6
6
  - **режим «Менеджер маркетплейсов»** — вопросы по своим кабинетам, финансовый и рекламный
7
- разборы, графики в чате;
7
+ разборы, графики в чате; пресет собран как расширение штатного набора Harness:
8
+ терминал, файлы, веб, планировщик, субагенты, workflow и офисные инструменты на месте,
9
+ сверху — инструменты продавца и справочники площадок;
8
10
  - **обычный режим Harness** — инструменты и инструкции Юнита добавляются к текущему
9
11
  агенту без замены его пресета, штатных инструментов и навыков; сохранённый
10
12
  пользовательский навык остаётся видимым;
package/cordis.patch.yml CHANGED
@@ -32,59 +32,134 @@
32
32
  config:
33
33
  id: seller
34
34
  name: 'Менеджер маркетплейсов'
35
- description: 'Менеджер маркетплейсов: панель продавца, вопросы по своим кабинетам WB и Ozon, финансовый и рекламный разборы внутренними специалистами.'
35
+ description: 'Менеджер маркетплейсов: панель продавца, вопросы по своим кабинетам WB и Ozon, финансовый и рекламный разборы. Пресет расширяет штатный набор Harness инструментами и справочниками Юнита, ничего не отнимая у стандартного агента.'
36
36
  order: 20
37
37
  plugins:
38
38
  - id: persona
39
39
  name: '@deepseek-ai/dsh-persona'
40
40
  config:
41
41
  prefix: !!js "process.getBuiltinModule('node:fs').readFileSync(process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@managetunit/marketplace-manager/package.json')), 'prompts', 'lead.md'), 'utf8')"
42
-
42
+ - id: agent-instructions
43
+ name: '@deepseek-ai/dsh-agent-instructions'
44
+ config:
45
+ maxBytes: 65536
43
46
  - id: time-context
44
47
  name: '@deepseek-ai/dsh-time-context'
45
-
46
- # Правила площадок и визуализации: общая рамка, WB, Ozon и
47
- # seller-visualization. Сканируются только эти каталоги.
48
- - id: skill-filesystem
49
- name: '@deepseek-ai/dsh-skill-filesystem'
50
- config:
51
- includeDefaultRoots: false
52
- customSkillDirs:
53
- - !!js "process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@managetunit/marketplace-manager/package.json')), 'handbooks')"
54
- - id: tool-skill
55
- name: '@deepseek-ai/dsh-tool-skill'
56
-
48
+ - id: tool-bash
49
+ name: '@deepseek-ai/dsh-tool-bash'
50
+ disabled: !!js process.platform === 'win32'
51
+ - id: tool-pwsh
52
+ name: '@deepseek-ai/dsh-tool-pwsh'
53
+ disabled: !!js process.platform !== 'win32'
57
54
  - id: tool-fs
58
55
  name: '@deepseek-ai/dsh-tool-fs'
59
56
  config:
60
- write: true
61
- edit: true
57
+ # Set false to drop the apply_patch tool beside edit.
62
58
  applyPatch: false
63
- readImage: false
64
-
65
59
  - id: tool-fs-search
66
60
  name: '@deepseek-ai/dsh-tool-fs-search'
67
61
  config:
68
62
  sampleOverCapGlobResults: false
69
-
70
- - id: tool-web
71
- name: '@deepseek-ai/dsh-tool-web'
63
+ - id: tool-jobs
64
+ name: '@deepseek-ai/dsh-tool-jobs'
65
+ - id: tool-schedule
66
+ name: '@deepseek-ai/dsh-tool-schedule'
67
+ - id: skill-filesystem
68
+ name: '@deepseek-ai/dsh-skill-filesystem'
72
69
  config:
73
- search: false
74
- fetch: true
70
+ customSkillDirs:
71
+ - !!js process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-agent-preset/package.json')), 'skills')
72
+ - !!js process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@managetunit/marketplace-manager/package.json')), 'handbooks')
73
+ - id: tool-skill
74
+ name: '@deepseek-ai/dsh-tool-skill'
75
+ - id: command-goal
76
+ name: '@deepseek-ai/dsh-command-goal'
77
+ - id: tool-goal
78
+ name: '@deepseek-ai/dsh-tool-goal'
79
+ - id: planning
80
+ name: cordis:group
81
+ group: true
82
+ isolate:
83
+ planMode: true
84
+ config:
85
+ - id: plan-mode
86
+ name: '@deepseek-ai/dsh-plan-mode'
87
+ config:
88
+ section: |
89
+ You are in plan mode. Stay in plan mode until the user approves your plan through exit_plan_mode or 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.
90
+
91
+ 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.
92
+
93
+ 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.
94
+
95
+ 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.
75
96
 
97
+ 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.
98
+
99
+ 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.
100
+ - id: compaction
101
+ name: cordis:group
102
+ group: true
103
+ isolate:
104
+ compaction: true
105
+ toolResultPruner: true
106
+ config:
107
+ - id: compaction-basic
108
+ name: '@deepseek-ai/dsh-compaction-basic'
109
+ - id: command-compact
110
+ name: '@deepseek-ai/dsh-command-compact'
111
+ - id: tool-result-pruner
112
+ name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
113
+ config:
114
+ thresholdChars: 8192
115
+ headChars: 4096
116
+ tailChars: 1024
117
+ - id: delegation
118
+ name: cordis:group
119
+ group: true
120
+ isolate:
121
+ workflowEngine: true
122
+ config:
123
+ - id: tool-subagent-control
124
+ name: '@deepseek-ai/dsh-tool-subagent-control'
125
+ config:
126
+ interrupt: false
127
+ - id: tool-subagent
128
+ name: '@deepseek-ai/dsh-tool-subagent'
129
+ config:
130
+ provider: spawn
131
+ toolName: subagent
132
+ modelSelection: true
133
+ modelDiscovery: true
134
+ - id: tool-subagent-fork
135
+ name: '@deepseek-ai/dsh-tool-subagent'
136
+ config:
137
+ provider: fork
138
+ toolName: subagent_fork
139
+ - id: workflow-ptc
140
+ name: '@deepseek-ai/dsh-workflow-ptc'
141
+ config:
142
+ provider: spawn
143
+ - id: tool-workflow
144
+ name: '@deepseek-ai/dsh-tool-workflow'
76
145
  - id: tool-ask-user
77
146
  name: '@deepseek-ai/dsh-tool-ask-user'
78
-
79
147
  - id: tool-todo
80
148
  name: '@deepseek-ai/dsh-tool-todo'
81
149
  config:
82
150
  allowParallelInProgress: true
83
-
151
+ - id: tool-web
152
+ name: '@deepseek-ai/dsh-tool-web'
153
+ config:
154
+ fetch: true
155
+ searchTimeoutMs: 60000
84
156
  - id: present
85
157
  name: '@deepseek-ai/dsh-tool-present'
86
-
87
- # Инструменты «Менеджера маркетплейсов» в роли лида: seller_* + seller_chart.
158
+ - id: tool-office
159
+ name: '@deepseek-ai/dsh-tool-office'
160
+ - id: tool-plugin-manager
161
+ name: '@deepseek-ai/dsh-plugin-manager/tools'
162
+ disabled: !!js "!ctx.get('profileContext')"
88
163
  - id: seller-tools
89
164
  name: '@managetunit/marketplace-manager/tools'
90
165
  config:
@@ -107,21 +182,6 @@
107
182
  modelSelection: true
108
183
  maxDepth: 1
109
184
 
110
- - id: compaction
111
- name: cordis:group
112
- group: true
113
- isolate:
114
- compaction: true
115
- toolResultPruner: true
116
- config:
117
- - id: compaction-basic
118
- name: '@deepseek-ai/dsh-compaction-basic'
119
- - id: tool-result-pruner
120
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
121
- config:
122
- thresholdChars: 8192
123
- headChars: 4096
124
- tailChars: 1024
125
185
 
126
186
  # ── Сохранённый пользовательский навык в обычном режиме ─────────────────
127
187
  # Стандартный пресет DSH 0.2.2-rc.3 не всегда показывает корень
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managetunit/marketplace-manager",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Unit: панель продавца и режим «Менеджер маркетплейсов» для DeepSeek Harness",
5
5
  "author": {
6
6
  "name": "Unit",