@salism3/dsh-latex-editor 0.0.0-stage → 1.0.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.
- package/README.md +41 -2
- package/client.js +871 -0
- package/cordis.patch.yml +207 -0
- package/icon.svg +21 -0
- package/index.js +994 -0
- package/locale/en.json +6 -0
- package/locale/id.json +6 -0
- package/package.json +46 -4
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# Patch bundle LaTeX Editor AI Studio.
|
|
2
|
+
#
|
|
3
|
+
# 1. Nonaktifkan semua mode/agent preset selain "standard".
|
|
4
|
+
# Preset dideklarasikan oleh bundle @deepseek-ai/dsh-web-app
|
|
5
|
+
# (presets/standard, ptc, minimal, cordis). Baris di bawah menargetkan
|
|
6
|
+
# patch id milik preset tersebut karena bundle ini dimuat paling akhir.
|
|
7
|
+
- id: preset-ptc
|
|
8
|
+
disabled: true
|
|
9
|
+
|
|
10
|
+
- id: preset-minimal
|
|
11
|
+
disabled: true
|
|
12
|
+
|
|
13
|
+
- id: preset-cordis
|
|
14
|
+
disabled: true
|
|
15
|
+
|
|
16
|
+
# 2. Pastikan preset bawaan tetap "standard" (satu-satunya yang tersisa).
|
|
17
|
+
- id: agent-preset-registry
|
|
18
|
+
config:
|
|
19
|
+
default: standard
|
|
20
|
+
|
|
21
|
+
# 3. Hapus fitur tugas otomatisasi (Schedule / reminder):
|
|
22
|
+
# - ui-schedule : panel, tombol, dan daftar jadwal di antarmuka
|
|
23
|
+
# - schedule : layanan host yang menyimpan & mengirim tugas terjadwal
|
|
24
|
+
# - tool-schedule pada preset `standard` di bawah (lihat patch 4)
|
|
25
|
+
- id: ui-schedule
|
|
26
|
+
disabled: true
|
|
27
|
+
|
|
28
|
+
- id: schedule
|
|
29
|
+
disabled: true
|
|
30
|
+
|
|
31
|
+
# 4. Hilangkan menu/pengaturan Plugin dari antarmuka.
|
|
32
|
+
# `entry-customization` bergantung pada service `pluginNavigation` milik
|
|
33
|
+
# ui-plugin-manager, jadi ikut dimatikan agar tidak tertahan pending.
|
|
34
|
+
- id: ui-plugin-manager
|
|
35
|
+
disabled: true
|
|
36
|
+
|
|
37
|
+
- id: ui-settings-plugins
|
|
38
|
+
disabled: true
|
|
39
|
+
|
|
40
|
+
- id: ui-settings-plugin-inventory
|
|
41
|
+
disabled: true
|
|
42
|
+
|
|
43
|
+
- id: entry-customization
|
|
44
|
+
disabled: true
|
|
45
|
+
|
|
46
|
+
# 4b. Hilangkan File Explorer (tab file tree pada sidebar kanan).
|
|
47
|
+
- id: ui-sidebar-files
|
|
48
|
+
disabled: true
|
|
49
|
+
|
|
50
|
+
# 4c. Hilangkan tombol "Open in App" (File Explorer bawaan, VS Code, Git Bash di header sesi)
|
|
51
|
+
- id: ui-open-in-app
|
|
52
|
+
disabled: true
|
|
53
|
+
|
|
54
|
+
- id: open-in-app
|
|
55
|
+
disabled: true
|
|
56
|
+
|
|
57
|
+
# 4d. Hilangkan sistem autentikasi/akun DeepSeek & peringatan login (hanya provider pihak ketiga)
|
|
58
|
+
- id: ui-settings-account
|
|
59
|
+
disabled: true
|
|
60
|
+
|
|
61
|
+
- id: account-controller
|
|
62
|
+
disabled: true
|
|
63
|
+
|
|
64
|
+
- id: deepseek-account
|
|
65
|
+
disabled: true
|
|
66
|
+
|
|
67
|
+
- id: llm-deepseek-account
|
|
68
|
+
disabled: true
|
|
69
|
+
|
|
70
|
+
- id: llm-deepseek
|
|
71
|
+
disabled: true
|
|
72
|
+
|
|
73
|
+
- id: desktop-product-telemetry
|
|
74
|
+
disabled: true
|
|
75
|
+
|
|
76
|
+
- id: product-analytics
|
|
77
|
+
disabled: true
|
|
78
|
+
|
|
79
|
+
# 5. Override preset `standard` tanpa `tool-schedule`, supaya tidak ada
|
|
80
|
+
# turunan yang menunggu service `schedule` yang sudah dimatikan.
|
|
81
|
+
# Isi lain identik dengan presets/standard.patch.yml bawaan.
|
|
82
|
+
- id: preset-standard
|
|
83
|
+
config:
|
|
84
|
+
id: standard
|
|
85
|
+
order: 1
|
|
86
|
+
plugins:
|
|
87
|
+
- id: persona
|
|
88
|
+
name: '@deepseek-ai/dsh-persona'
|
|
89
|
+
config:
|
|
90
|
+
prefix: You are a coding agent powered by the {{model}} model.
|
|
91
|
+
- id: agent-instructions
|
|
92
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
93
|
+
config:
|
|
94
|
+
maxBytes: 65536
|
|
95
|
+
- id: time-context
|
|
96
|
+
name: '@deepseek-ai/dsh-time-context'
|
|
97
|
+
- id: tool-bash
|
|
98
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
99
|
+
disabled: !!js process.platform === 'win32'
|
|
100
|
+
- id: tool-pwsh
|
|
101
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
102
|
+
disabled: !!js process.platform !== 'win32'
|
|
103
|
+
- id: tool-fs
|
|
104
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
105
|
+
- id: tool-fs-search
|
|
106
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
107
|
+
config:
|
|
108
|
+
sampleOverCapGlobResults: false
|
|
109
|
+
- id: tool-jobs
|
|
110
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
111
|
+
- id: skill-filesystem
|
|
112
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
113
|
+
- id: tool-skill
|
|
114
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
115
|
+
- id: command-goal
|
|
116
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
117
|
+
- id: tool-goal
|
|
118
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
119
|
+
- id: planning
|
|
120
|
+
name: cordis:group
|
|
121
|
+
group: true
|
|
122
|
+
isolate:
|
|
123
|
+
planMode: true
|
|
124
|
+
config:
|
|
125
|
+
- id: plan-mode
|
|
126
|
+
name: '@deepseek-ai/dsh-plan-mode'
|
|
127
|
+
config:
|
|
128
|
+
section: |
|
|
129
|
+
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.
|
|
130
|
+
|
|
131
|
+
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.
|
|
132
|
+
|
|
133
|
+
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.
|
|
134
|
+
|
|
135
|
+
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.
|
|
136
|
+
|
|
137
|
+
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.
|
|
138
|
+
|
|
139
|
+
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.
|
|
140
|
+
- id: compaction
|
|
141
|
+
name: cordis:group
|
|
142
|
+
group: true
|
|
143
|
+
isolate:
|
|
144
|
+
compaction: true
|
|
145
|
+
toolResultPruner: true
|
|
146
|
+
config:
|
|
147
|
+
- id: compaction-basic
|
|
148
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
149
|
+
- id: command-compact
|
|
150
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
151
|
+
- id: tool-result-pruner
|
|
152
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
153
|
+
config:
|
|
154
|
+
thresholdChars: 8192
|
|
155
|
+
headChars: 4096
|
|
156
|
+
tailChars: 1024
|
|
157
|
+
- id: delegation
|
|
158
|
+
name: cordis:group
|
|
159
|
+
group: true
|
|
160
|
+
isolate:
|
|
161
|
+
workflowEngine: true
|
|
162
|
+
config:
|
|
163
|
+
- id: tool-subagent-control
|
|
164
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
165
|
+
- id: tool-subagent-list-agents
|
|
166
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
167
|
+
- id: tool-subagent
|
|
168
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
169
|
+
config:
|
|
170
|
+
provider: spawn
|
|
171
|
+
toolName: subagent
|
|
172
|
+
modelSelectionSettings: true
|
|
173
|
+
- id: tool-subagent-fork
|
|
174
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
175
|
+
config:
|
|
176
|
+
provider: fork
|
|
177
|
+
toolName: subagent_fork
|
|
178
|
+
- id: workflow-ptc
|
|
179
|
+
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
180
|
+
config:
|
|
181
|
+
provider: spawn
|
|
182
|
+
- id: tool-workflow
|
|
183
|
+
name: '@deepseek-ai/dsh-tool-workflow'
|
|
184
|
+
- id: tool-ask-user
|
|
185
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
186
|
+
- id: tool-todo
|
|
187
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
188
|
+
config:
|
|
189
|
+
allowParallelInProgress: true
|
|
190
|
+
- id: tool-web
|
|
191
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
192
|
+
config:
|
|
193
|
+
fetch: true
|
|
194
|
+
searchTimeoutMs: 60000
|
|
195
|
+
- id: present
|
|
196
|
+
name: '@deepseek-ai/dsh-tool-present'
|
|
197
|
+
- id: tool-plugin-manager
|
|
198
|
+
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
199
|
+
disabled: true
|
|
200
|
+
- id: tool-plugin-market
|
|
201
|
+
name: '@deepseek-ai/dsh-plugin-market/tools'
|
|
202
|
+
disabled: true
|
|
203
|
+
|
|
204
|
+
# 6. Daftarkan plugin editor LaTeX (split chat + pratinjau PDF).
|
|
205
|
+
- insert:
|
|
206
|
+
- id: latex-editor
|
|
207
|
+
name: '@salism3/dsh-latex-editor'
|
package/icon.svg
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" fill="none">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#4F46E5" />
|
|
5
|
+
<stop offset="100%" stop-color="#06B6D4" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="docGrad" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
8
|
+
<stop offset="0%" stop-color="#FFFFFF" />
|
|
9
|
+
<stop offset="100%" stop-color="#F1F5F9" />
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<rect x="4" y="4" width="56" height="56" rx="14" fill="url(#bgGrad)" />
|
|
13
|
+
<path d="M18 14h18l14 14v22a4 4 0 0 1-4 4H18a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4z" fill="url(#docGrad)" filter="drop-shadow(0 2px 4px rgba(0,0,0,0.15))" />
|
|
14
|
+
<path d="M36 14v12a2 2 0 0 0 2 2h12" fill="#E2E8F0" />
|
|
15
|
+
<!-- LaTeX stylized T E X letters -->
|
|
16
|
+
<text x="21" y="40" font-family="serif" font-weight="bold" font-size="12" fill="#1E293B">T</text>
|
|
17
|
+
<text x="29" y="43" font-family="serif" font-weight="bold" font-size="10" fill="#4338CA">E</text>
|
|
18
|
+
<text x="36" y="40" font-family="serif" font-weight="bold" font-size="12" fill="#0EA5E9">X</text>
|
|
19
|
+
<!-- Integral / formula glyph -->
|
|
20
|
+
<path d="M22 22c1-2 2-2 3-1m-2 4c-1 2-2 2-3 1" stroke="#6366F1" stroke-width="1.5" stroke-linecap="round"/>
|
|
21
|
+
</svg>
|