dsh-code 0.4.0 → 0.5.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 +201 -61
- package/README.zh.md +204 -65
- package/bin/deepseek.mjs +70 -0
- package/cordis.patch.yml +62 -6
- package/lib/index.mjs +1108 -250
- package/lib/startup.mjs +34 -17
- package/lib/types/app.d.ts +19 -1
- package/lib/types/commands.d.ts +2 -0
- package/lib/types/index.d.ts +5 -5
- package/lib/types/internals.d.ts +2 -0
- package/lib/types/kernel-panels.d.ts +23 -0
- package/lib/types/plugin-inventory.d.ts +11 -0
- package/lib/types/presets.d.ts +32 -0
- package/lib/types/render/inspector.d.ts +4 -0
- package/lib/types/render/status.d.ts +2 -0
- package/lib/types/render/text.d.ts +9 -0
- package/lib/types/session-directory.d.ts +54 -0
- package/lib/types/session-switch.d.ts +17 -0
- package/lib/types/skills.d.ts +2 -0
- package/lib/types/startup.d.ts +11 -1
- package/package.json +6 -1
- package/src/app.ts +311 -75
- package/src/commands.ts +15 -1
- package/src/index.ts +332 -133
- package/src/internals.ts +5 -0
- package/src/kernel-panels.ts +254 -0
- package/src/plugin-inventory.ts +47 -0
- package/src/presets.ts +64 -0
- package/src/render/inspector.ts +13 -4
- package/src/render/markdown.ts +15 -1
- package/src/render/status.ts +3 -0
- package/src/render/text.ts +34 -6
- package/src/session-directory.ts +102 -0
- package/src/session-switch.ts +58 -0
- package/src/skills.ts +20 -7
- package/src/startup.ts +38 -20
- package/src/pictures/1.png +0 -0
package/cordis.patch.yml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# The dsh-code bundle patch: the
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
1
|
+
# The dsh-code bundle patch: an Ink client over the Harness host plane. Model-
|
|
2
|
+
# facing rows move behind per-session agent presets, while process registries,
|
|
3
|
+
# persistence, sandbox/approval, session query, permissions, goals, and
|
|
4
|
+
# subagent providers stay shared. The runner owns one persistent terminal and
|
|
5
|
+
# can create, resume, and switch between top-level Agent sessions.
|
|
6
6
|
# (DeepSeek blue, whale wordmark), answers approval asks with a y/n bar,
|
|
7
7
|
# dispatches slash commands through the shared registry, and folds submitted
|
|
8
8
|
# prompts back into the same durable session until the user quits.
|
|
@@ -19,9 +19,58 @@
|
|
|
19
19
|
|
|
20
20
|
- id: tools
|
|
21
21
|
config:
|
|
22
|
-
# Keep the same temporary process-wide Code Mode opt-in as the Web surface.
|
|
23
22
|
mode: !!js process.env.DSH_TOOLS_MODE
|
|
24
23
|
|
|
24
|
+
# Agent-plane rows are mounted by the selected preset. Keep this list aligned
|
|
25
|
+
# with the upstream Web bundle so two sessions can use different compositions
|
|
26
|
+
# without leaking model-facing registrations through the host layer.
|
|
27
|
+
- id: tool-bash
|
|
28
|
+
disabled: true
|
|
29
|
+
- id: tool-pwsh
|
|
30
|
+
disabled: true
|
|
31
|
+
- id: tool-jobs
|
|
32
|
+
disabled: true
|
|
33
|
+
- id: tool-fs
|
|
34
|
+
disabled: true
|
|
35
|
+
- id: tool-fs-search
|
|
36
|
+
disabled: true
|
|
37
|
+
- id: tool-str-replace-editor
|
|
38
|
+
disabled: true
|
|
39
|
+
- id: skill-filesystem
|
|
40
|
+
disabled: true
|
|
41
|
+
- id: tool-skill
|
|
42
|
+
disabled: true
|
|
43
|
+
- id: tool-goal
|
|
44
|
+
disabled: true
|
|
45
|
+
- id: plan-mode
|
|
46
|
+
disabled: true
|
|
47
|
+
- id: compaction-basic
|
|
48
|
+
disabled: true
|
|
49
|
+
- id: command-compact
|
|
50
|
+
disabled: true
|
|
51
|
+
- id: tool-result-pruner
|
|
52
|
+
disabled: true
|
|
53
|
+
- id: tool-subagent-control
|
|
54
|
+
disabled: true
|
|
55
|
+
- id: tool-subagent-list-agents
|
|
56
|
+
disabled: true
|
|
57
|
+
- id: tool-subagent
|
|
58
|
+
disabled: true
|
|
59
|
+
- id: tool-subagent-fork
|
|
60
|
+
disabled: true
|
|
61
|
+
- id: workflow-worker-thread
|
|
62
|
+
disabled: true
|
|
63
|
+
- id: tool-workflow
|
|
64
|
+
disabled: true
|
|
65
|
+
- id: tool-ralph
|
|
66
|
+
disabled: true
|
|
67
|
+
- id: agent-instructions
|
|
68
|
+
disabled: true
|
|
69
|
+
- id: tool-todo
|
|
70
|
+
disabled: true
|
|
71
|
+
- id: tool-web
|
|
72
|
+
disabled: true
|
|
73
|
+
|
|
25
74
|
- insert:
|
|
26
75
|
# Code Mode is a core execution capability, not a Web component.
|
|
27
76
|
- id: code-runtime
|
|
@@ -33,6 +82,13 @@
|
|
|
33
82
|
- id: session-reference
|
|
34
83
|
name: '@deepseek-ai/dsh-session-reference'
|
|
35
84
|
|
|
85
|
+
# The launcher supplies the shipped preset root beside its own config and
|
|
86
|
+
# the service also discovers the user's local preset root.
|
|
87
|
+
- id: agent-presets
|
|
88
|
+
name: '@deepseek-ai/dsh-agent-presets'
|
|
89
|
+
config:
|
|
90
|
+
default: standard
|
|
91
|
+
|
|
36
92
|
- id: tui-startup
|
|
37
93
|
name: 'dsh-code/startup'
|
|
38
94
|
|