@norman-else/dsh-claude 0.1.29 → 0.1.33
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/INSTALL.md +1 -1
- package/README.md +1 -1
- package/lib/bin.mjs +1 -1
- package/lib/client.d.ts +46 -3
- package/lib/client.js +6717 -567
- package/lib/client.js.map +1 -1
- package/lib/{command-bridge-BYj0VF4J.mjs → command-bridge-DXI6nWhB.mjs} +2 -2
- package/lib/{command-bridge-BYj0VF4J.mjs.map → command-bridge-DXI6nWhB.mjs.map} +1 -1
- package/lib/{events-lDt9nTUw.mjs → events-DeSV0S1-.mjs} +5 -2
- package/lib/events-DeSV0S1-.mjs.map +1 -0
- package/lib/index.d.mts +38 -1
- package/lib/index.mjs +1067 -187
- package/lib/index.mjs.map +1 -1
- package/lib/{preset-installer-CPOH9lAr.mjs → preset-installer-DbmlhBXI.mjs} +9 -11
- package/lib/preset-installer-DbmlhBXI.mjs.map +1 -0
- package/lib/preset-route.mjs +2 -2
- package/package.json +188 -181
- package/lib/events-lDt9nTUw.mjs.map +0 -1
- package/lib/preset-installer-CPOH9lAr.mjs.map +0 -1
package/INSTALL.md
CHANGED
|
@@ -16,7 +16,7 @@ Stop if Doctor cannot find an authenticated local Claude Code installation. Do n
|
|
|
16
16
|
|
|
17
17
|
## 2. Link the bundle into the current Web profile
|
|
18
18
|
|
|
19
|
-
The bundle
|
|
19
|
+
The bundle keeps a protected compatibility preset at `$DSH_HOME/.agent-presets/claude`, because DSH Desktop 2.0.4 does not retain third-party preset roots from bundle patches. Its route uses the active profile package source to avoid duplicate client-module Loaders. User-modified preset files are preserved.
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
22
|
dsh plugin --profile web add "link:$(pwd)"
|
package/README.md
CHANGED
|
@@ -79,4 +79,4 @@ Preset cleanup removes only installer-managed content and refuses to delete user
|
|
|
79
79
|
- **Diff viewer and review comments** — Provides an expandable or maximized branch diff, including file statistics and line-level review comments that are attached to the next Claude message.
|
|
80
80
|
- **Commit, push, and pull request actions** — Supports Commit, Commit & Push, Push, and draft pull request creation, with repository snapshot validation and optional Claude-generated commit messages.
|
|
81
81
|
- **Claude Code settings and Doctor** — Adds a Settings panel for runtime diagnostics, supported Claude settings, worktree branch prefix, process limits, authentication and handshake status, and safe npm update checks.
|
|
82
|
-
- **Managed preset compatibility** — Installs
|
|
82
|
+
- **Managed preset compatibility** — Installs a guarded Claude preset whose route reuses the active profile package source, preserving discovery on DSH Desktop 2.0.4 without duplicate client-module Loaders or overwriting user changes.
|
package/lib/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as parseClaudeVersion, n as ensureManagedPreset, r as removeManagedPreset } from "./preset-installer-
|
|
2
|
+
import { i as parseClaudeVersion, n as ensureManagedPreset, r as removeManagedPreset } from "./preset-installer-DbmlhBXI.mjs";
|
|
3
3
|
import { access } from "node:fs/promises";
|
|
4
4
|
import { delimiter, isAbsolute, join } from "node:path";
|
|
5
5
|
import { homedir } from "node:os";
|
package/lib/client.d.ts
CHANGED
|
@@ -13,9 +13,14 @@ declare const en: {
|
|
|
13
13
|
readonly subagent: "Subagent";
|
|
14
14
|
readonly usedTool: "Used 1 tool";
|
|
15
15
|
readonly usedTools: "Used {count} tools";
|
|
16
|
+
readonly compacted: "Context compacted";
|
|
17
|
+
readonly compactedAuto: "Context auto-compacted";
|
|
16
18
|
readonly toolInput: "Input";
|
|
17
19
|
readonly toolOutput: "Output";
|
|
18
20
|
readonly toolError: "Error";
|
|
21
|
+
readonly markdownCopy: "Copy";
|
|
22
|
+
readonly markdownCopied: "Copied";
|
|
23
|
+
readonly markdownFootnotes: "Footnotes";
|
|
19
24
|
readonly tokens: "{count} tokens";
|
|
20
25
|
readonly doctor: "Run Doctor";
|
|
21
26
|
readonly refreshing: "Running Doctor…";
|
|
@@ -124,6 +129,11 @@ declare const en: {
|
|
|
124
129
|
readonly repositoryBranch: "Branch";
|
|
125
130
|
readonly repositoryBranchSearch: "Search branches";
|
|
126
131
|
readonly repositoryBranchSearchEmpty: "No matching branches";
|
|
132
|
+
readonly repositoryBranchRefresh: "Refresh remote branches";
|
|
133
|
+
readonly repositoryBranchRefreshing: "Refreshing remote branches…";
|
|
134
|
+
readonly repositoryBranchRefreshed: "Refreshed · {count} branches";
|
|
135
|
+
readonly repositoryBranchRefreshFailed: "Could not refresh remote branches";
|
|
136
|
+
readonly repositoryBranchRefreshStale: "The Host process is still running the previous plugin build, which has no refresh route. Restart DSH and try again.";
|
|
127
137
|
readonly repositoryBranchesLoading: "Loading branches…";
|
|
128
138
|
readonly repositoryProgressTitle: "Creating Worktree";
|
|
129
139
|
readonly repositoryProgressFailed: "Worktree creation failed";
|
|
@@ -173,6 +183,9 @@ declare const en: {
|
|
|
173
183
|
readonly no: "No";
|
|
174
184
|
readonly diffOpen: "View branch changes";
|
|
175
185
|
readonly diffClose: "Close diff panel";
|
|
186
|
+
readonly sessionMenu: "Session menu";
|
|
187
|
+
readonly sessionMenuOpenIn: "Open in";
|
|
188
|
+
readonly sessionMenuOpenFailed: "Could not open: {message}";
|
|
176
189
|
readonly presetHeaderHint: "The agent preset this session runs";
|
|
177
190
|
readonly diffWorkingTree: "Branch changes";
|
|
178
191
|
readonly diffFiles: "{count} modified file(s)";
|
|
@@ -180,6 +193,12 @@ declare const en: {
|
|
|
180
193
|
readonly diffTruncated: "The diff exceeds the safe display limit. Use the terminal to inspect the complete content.";
|
|
181
194
|
readonly diffEmpty: "No tracked file changes to display";
|
|
182
195
|
readonly diffMaximize: "Maximize diff panel";
|
|
196
|
+
readonly diffCommentPrevious: "Previous comment";
|
|
197
|
+
readonly diffCommentNext: "Next comment";
|
|
198
|
+
readonly diffCommentPosition: "Comment {index} of {total}";
|
|
199
|
+
readonly diffCommentCounter: "{index}/{total}";
|
|
200
|
+
readonly diffExpandAll: "Expand all files";
|
|
201
|
+
readonly diffCollapseAll: "Collapse all files";
|
|
183
202
|
readonly diffRestore: "Restore diff panel";
|
|
184
203
|
readonly diffCommit: "Commit";
|
|
185
204
|
readonly diffCommitMenu: "Open commit actions";
|
|
@@ -190,7 +209,7 @@ declare const en: {
|
|
|
190
209
|
readonly diffPushDescription: "Push local commits to the remote branch.";
|
|
191
210
|
readonly diffPushAhead: "{count} unpushed commit(s)";
|
|
192
211
|
readonly diffPushCompleted: "Pushed commit {commit}";
|
|
193
|
-
readonly diffGeneratingMessage: "
|
|
212
|
+
readonly diffGeneratingMessage: "Suggesting a commit message. It only fills the fields you leave empty.";
|
|
194
213
|
readonly diffActionFailed: "Repository action failed.";
|
|
195
214
|
readonly diffIncludeUnstaged: "Include unstaged and untracked changes";
|
|
196
215
|
readonly diffCommitMessage: "Commit message";
|
|
@@ -208,8 +227,8 @@ declare const en: {
|
|
|
208
227
|
readonly diffSubmitting: "Working…";
|
|
209
228
|
readonly diffDone: "Done";
|
|
210
229
|
readonly diffCommitCompleted: "Created commit {commit}";
|
|
230
|
+
readonly diffPrCompleted: "Created the pull request — open it from the repository bar.";
|
|
211
231
|
readonly diffCommitPreserved: "Local commit {commit} was preserved.";
|
|
212
|
-
readonly diffOpenPr: "Open pull request";
|
|
213
232
|
readonly diffMergePr: "Merge";
|
|
214
233
|
readonly repositoryMergeMenu: "Open merge options";
|
|
215
234
|
readonly diffMerge_merge: "Create a merge commit";
|
|
@@ -272,7 +291,7 @@ declare const en: {
|
|
|
272
291
|
readonly jiraError: "Jira request failed";
|
|
273
292
|
readonly cleanupButton: "Clean up";
|
|
274
293
|
readonly cleanupTitle: "Clean up merged branch";
|
|
275
|
-
readonly cleanupDescription: "Remove the worktree and local branch and delete the workspace; a plain checkout switches back to the base branch and deletes the merged branch.";
|
|
294
|
+
readonly cleanupDescription: "Remove the worktree and local branch, then archive the workspace sessions and delete the workspace; a plain checkout switches back to the base branch and deletes the merged branch.";
|
|
276
295
|
readonly cleanupCompleted: "Cleaned up {branch}";
|
|
277
296
|
readonly overviewOpen: "Open the Claude session board";
|
|
278
297
|
readonly overviewTitle: "Session board";
|
|
@@ -304,6 +323,20 @@ declare const en: {
|
|
|
304
323
|
readonly reviewCommentSubmit: "Comment";
|
|
305
324
|
readonly reviewCommentCancel: "Cancel";
|
|
306
325
|
readonly reviewCommentRemove: "Remove comment";
|
|
326
|
+
readonly reviewThreadReply: "Reply";
|
|
327
|
+
readonly reviewThreadBot: "Bot";
|
|
328
|
+
readonly reviewThreadAgo: "{age} ago";
|
|
329
|
+
readonly reviewThreadReplyTo: "Reply to @{author}";
|
|
330
|
+
readonly reviewThreadOpenOnGitHub: "Open on GitHub";
|
|
331
|
+
readonly reviewThreadSend: "Send reply";
|
|
332
|
+
readonly reviewThreadResolve: "Resolve";
|
|
333
|
+
readonly reviewThreadUnresolve: "Unresolve";
|
|
334
|
+
readonly reviewThreadResolved: "Resolved";
|
|
335
|
+
readonly reviewThreadOutdated: "Outdated";
|
|
336
|
+
readonly reviewThreadReplyPlaceholder: "Reply to this comment; type @ to mention someone";
|
|
337
|
+
readonly reviewThreadMention: "Mention a repository member";
|
|
338
|
+
readonly reviewThreadReplyFailed: "The reply could not be posted.";
|
|
339
|
+
readonly reviewThreadResolveFailed: "The thread could not be updated.";
|
|
307
340
|
readonly reviewCommentFailed: "The comment could not be saved.";
|
|
308
341
|
readonly reviewCommentsClear: "Clear all comments";
|
|
309
342
|
readonly reviewCommentsSend: "Send comments";
|
|
@@ -316,6 +349,16 @@ declare const en: {
|
|
|
316
349
|
readonly diffUnmodifiedTail: "More unmodified lines below";
|
|
317
350
|
readonly diffExpandUp: "Expand up";
|
|
318
351
|
readonly diffExpandDown: "Expand down";
|
|
352
|
+
readonly diffFileComments: "{count} comments";
|
|
353
|
+
readonly rewindTooltip: "Rewind to here";
|
|
354
|
+
readonly rewindTitle: "Rewind to before this message";
|
|
355
|
+
readonly rewindDescription: "This removes the message and the {count} entries below it, and returns Claude to the context it had before you sent it. This cannot be undone.";
|
|
356
|
+
readonly rewindHint: "The removed entries are hidden from this session and Claude forgets them; the message text goes back to the composer so you can edit and resend it.";
|
|
357
|
+
readonly rewindConfirm: "Delete and rewind";
|
|
358
|
+
readonly rewindSubmitting: "Rewinding…";
|
|
359
|
+
readonly rewindFailed: "The rewind failed ({code}).";
|
|
360
|
+
readonly rewindBusy: "This session is running; wait for the turn to finish before rewinding.";
|
|
361
|
+
readonly rewindStale: "The Host process is still running the previous plugin build, which has no rewind route. Restart DSH and try again.";
|
|
319
362
|
};
|
|
320
363
|
type ClaudeCodeSettingsKey = keyof typeof en;
|
|
321
364
|
//#endregion
|