@xmoon76/dsh-pi-tui 0.5.2-rc.1 → 0.5.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.en.md +66 -14
- package/README.md +41 -14
- package/cordis.patch.yml +0 -48
- package/dist/builtins.mjs +2 -2
- package/dist/{context-summary-CxQnkDEN.mjs → context-summary-CxUpNkA9.mjs} +505 -32
- package/dist/{extensions-VuoIE_Jc.mjs → extensions-a-rxanjw.mjs} +1 -1
- package/dist/extensions.mjs +1 -1
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +5807 -1374
- package/dist/{runtime-Dq6HoyjZ.mjs → runtime-BtPH-UUb.mjs} +573 -249
- package/dist/{session-DTauqYx6.mjs → session-BZLxhrPQ.mjs} +110 -77
- package/dist/{startup-CWQl0-0n.mjs → startup-D5Xu8diR.mjs} +21 -6
- package/dist/startup.d.mts +1 -2
- package/dist/startup.mjs +1 -1
- package/dist/{terminal-progress-source-Dpwz3csm.mjs → terminal-progress-source-BlmksrSD.mjs} +72 -5
- package/generated/dsh-presets/cordis.patch.yml +8 -26
- package/generated/dsh-presets/minimal.patch.yml +17 -0
- package/generated/dsh-presets/ptc.patch.yml +8 -26
- package/generated/dsh-presets/standard.patch.yml +8 -26
- package/package.json +158 -147
package/dist/{terminal-progress-source-Dpwz3csm.mjs → terminal-progress-source-BlmksrSD.mjs}
RENAMED
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
import { ht as parseFooterLayout, mt as isFooterLayout } from "./extensions-
|
|
1
|
+
import { ht as parseFooterLayout, mt as isFooterLayout } from "./extensions-a-rxanjw.mjs";
|
|
2
2
|
import { accessSync, constants, readdirSync, statSync } from "node:fs";
|
|
3
3
|
import { delimiter, join, posix, win32 } from "node:path";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
6
|
+
//#region src/runtime/direct/working-directory-direct.ts
|
|
7
|
+
/**
|
|
8
|
+
* The effective directory of one live Agent's Session: the official
|
|
9
|
+
* `workingDirectory.get(session)` value when the service is mounted, else the
|
|
10
|
+
* immutable header cwd — the INITIAL committed value of that same projection,
|
|
11
|
+
* so a minimal composition without the row keeps the historical read instead
|
|
12
|
+
* of inventing a directory.
|
|
13
|
+
*
|
|
14
|
+
* @param workingDirectory - the official service, or `undefined` when the
|
|
15
|
+
* composition does not mount the row.
|
|
16
|
+
* @param agent - the exact live Agent whose Session is read.
|
|
17
|
+
* @returns the effective absolute directory, or `undefined` when neither the
|
|
18
|
+
* service nor a header cwd can answer (never a Client-side guess).
|
|
19
|
+
*/
|
|
20
|
+
function effectiveAgentCwd(workingDirectory, agent) {
|
|
21
|
+
if (workingDirectory === void 0) return agent.session.header.cwd;
|
|
22
|
+
return workingDirectory.get(agent.session);
|
|
23
|
+
}
|
|
24
|
+
/** The effective directory recorded by one official `workingDirectory`
|
|
25
|
+
* projection SNAPSHOT value: its wire view is `string | null`, where `null`
|
|
26
|
+
* is the legal "no directory recorded" state (the header had none) — an
|
|
27
|
+
* absent/foreign value reads `undefined` (unavailable), never a directory. */
|
|
28
|
+
function projectedWorkingDirectory(value) {
|
|
29
|
+
return typeof value === "string" && value !== "" ? value : void 0;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
6
32
|
//#region src/runtime/session-reader-port.ts
|
|
7
33
|
/** The official context-pressure occupancy numerator shared by both
|
|
8
34
|
* backends: `projectedTokens ?? pressureTokens` over the raw projection
|
|
@@ -1683,7 +1709,7 @@ async function listPiTuiHostFileReferences(agent, query, signal, deps) {
|
|
|
1683
1709
|
}))
|
|
1684
1710
|
};
|
|
1685
1711
|
}
|
|
1686
|
-
const workspaceCwd =
|
|
1712
|
+
const workspaceCwd = effectiveAgentCwd(deps.workingDirectory, agent) ?? process.cwd();
|
|
1687
1713
|
const resolved = resolvePathQuery(query, workspaceCwd, deps.environment);
|
|
1688
1714
|
const searchBase = scopeSearchBase(resolved, query, workspaceCwd, deps.environment);
|
|
1689
1715
|
const discovered = await discoverForQuery(searchBase === resolved.searchBase ? resolved : {
|
|
@@ -1716,7 +1742,7 @@ function detachIncompatible(entry) {
|
|
|
1716
1742
|
name: entry.name,
|
|
1717
1743
|
version: entry.version,
|
|
1718
1744
|
runtimeVersion: entry.runtimeVersion,
|
|
1719
|
-
|
|
1745
|
+
requirements: Object.freeze({ ...entry.requirements })
|
|
1720
1746
|
});
|
|
1721
1747
|
}
|
|
1722
1748
|
function detachError(error) {
|
|
@@ -1744,12 +1770,19 @@ function detachBundle(bundle) {
|
|
|
1744
1770
|
}));
|
|
1745
1771
|
return Object.freeze({
|
|
1746
1772
|
name: bundle.name,
|
|
1773
|
+
official: bundle.official,
|
|
1774
|
+
availability: bundle.availability,
|
|
1775
|
+
...bundle.installTarget === void 0 ? {} : { installTarget: Object.freeze({
|
|
1776
|
+
spec: bundle.installTarget.spec,
|
|
1777
|
+
version: bundle.installTarget.version
|
|
1778
|
+
}) },
|
|
1747
1779
|
...bundle.version === void 0 ? {} : { version: bundle.version },
|
|
1748
1780
|
...bundle.meta === void 0 ? {} : pickMeta(bundle.meta),
|
|
1749
1781
|
...bundle.description === void 0 ? {} : { description: bundle.description },
|
|
1750
1782
|
enabled: bundle.enabled,
|
|
1751
1783
|
installed: bundle.installed,
|
|
1752
1784
|
optional: bundle.optional,
|
|
1785
|
+
...bundle.source === void 0 ? {} : { source: bundle.source },
|
|
1753
1786
|
removable: bundle.removable,
|
|
1754
1787
|
...bundle.readOnlyReason === void 0 ? {} : { readOnlyReason: bundle.readOnlyReason },
|
|
1755
1788
|
...bundle.error === void 0 ? {} : { error: detachError(bundle.error) },
|
|
@@ -1791,16 +1824,34 @@ function detachPluginManagerSnapshot(input) {
|
|
|
1791
1824
|
exemptionWarnings: Object.freeze([...input.exemptions.warnings])
|
|
1792
1825
|
});
|
|
1793
1826
|
}
|
|
1827
|
+
function detachPackageResult(result) {
|
|
1828
|
+
return Object.freeze({
|
|
1829
|
+
exitCode: result.exitCode,
|
|
1830
|
+
output: result.output,
|
|
1831
|
+
truncated: result.truncated,
|
|
1832
|
+
...result.kind === void 0 ? {} : { kind: result.kind },
|
|
1833
|
+
...result.timedOut === void 0 ? {} : { timedOut: result.timedOut },
|
|
1834
|
+
...result.incompatible === void 0 ? {} : { incompatible: Object.freeze(result.incompatible.map(detachIncompatible)) }
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1794
1837
|
/** Map one persisted change and its observed application outcome. */
|
|
1795
1838
|
function detachChange(result) {
|
|
1796
1839
|
return Object.freeze({
|
|
1797
1840
|
changed: result.changed,
|
|
1798
1841
|
application: result.application,
|
|
1842
|
+
...result.restartReason === void 0 ? {} : { restartReason: result.restartReason },
|
|
1799
1843
|
stage: result.stage,
|
|
1800
1844
|
target: result.target,
|
|
1845
|
+
...result.enabled === void 0 ? {} : { enabled: result.enabled },
|
|
1801
1846
|
...result.error === void 0 ? {} : { error: detachError(result.error) },
|
|
1802
1847
|
...result.warnings === void 0 ? {} : { warnings: Object.freeze([...result.warnings]) },
|
|
1803
|
-
...result.bundle === void 0 ? {} : { bundle: result.bundle }
|
|
1848
|
+
...result.bundle === void 0 ? {} : { bundle: result.bundle },
|
|
1849
|
+
...result.version === void 0 ? {} : { version: result.version },
|
|
1850
|
+
...result.pendingBuilds === void 0 ? {} : { pendingBuilds: Object.freeze([...result.pendingBuilds]) },
|
|
1851
|
+
...result.approvedBuilds === void 0 ? {} : { approvedBuilds: Object.freeze([...result.approvedBuilds]) },
|
|
1852
|
+
...result.packageResult === void 0 ? {} : { packageResult: detachPackageResult(result.packageResult) },
|
|
1853
|
+
...result.registries === void 0 ? {} : { registries: Object.freeze([...result.registries]) },
|
|
1854
|
+
...result.failedAt === void 0 ? {} : { failedAt: result.failedAt }
|
|
1804
1855
|
});
|
|
1805
1856
|
}
|
|
1806
1857
|
/** Map what a spec names before installation. */
|
|
@@ -1948,6 +1999,22 @@ function createTerminalProgressInterval(onUnknownReason) {
|
|
|
1948
1999
|
};
|
|
1949
2000
|
}
|
|
1950
2001
|
//#endregion
|
|
2002
|
+
//#region src/runtime/plugin-manager-port.ts
|
|
2003
|
+
/**
|
|
2004
|
+
* One plugin mutation's result arrived after the operation's authoritative
|
|
2005
|
+
* currentness context was superseded. The write may have been applied, so this
|
|
2006
|
+
* is NOT a refusal: the caller must present the outcome as indeterminate and
|
|
2007
|
+
* let the authoritative inventory reread decide what is true. A backend
|
|
2008
|
+
* adapter raises it only when its own currentness authority proves the reply
|
|
2009
|
+
* belongs to a superseded context; this module names no transport.
|
|
2010
|
+
*/
|
|
2011
|
+
var PluginManagerStaleResultError = class extends Error {
|
|
2012
|
+
constructor(operation) {
|
|
2013
|
+
super(`pluginManager.${operation} returned after its currentness context was superseded; the authoritative inventory reread decides the outcome`);
|
|
2014
|
+
this.name = "PluginManagerStaleResultError";
|
|
2015
|
+
}
|
|
2016
|
+
};
|
|
2017
|
+
//#endregion
|
|
1951
2018
|
//#region src/runtime/remote/pi-tui-terminal-progress-contract.ts
|
|
1952
2019
|
/** The wire namespace (and Host Cordis service key) of the private stream. */
|
|
1953
2020
|
const PI_TUI_TERMINAL_PROGRESS_NAMESPACE = "piTuiTerminalProgress";
|
|
@@ -2130,4 +2197,4 @@ function createRemoteTerminalProgressSource(deps) {
|
|
|
2130
2197
|
} };
|
|
2131
2198
|
}
|
|
2132
2199
|
//#endregion
|
|
2133
|
-
export {
|
|
2200
|
+
export { customItemName as $, clientOwnerOf as A, resolveCredentialArg as B, classifySubagentPromptSettlement as C, DIRECT_IMPLEMENTED_CAPABILITIES as D, isRemoteBusinessRefusalCode as E, PROTOCOL_CHOICES as F, separatorOfRaw as G, rankPathCandidates as H, ROUTE_PATTERN as I, normalizeFinderRecords as J, discoverForQuery as K, credentialOptionsFor as L, ownerHandleOf as M, requireCreated as N, REMOTE_IMPLEMENTED_CAPABILITIES as O, requireOpened as P, customItemId as Q, deriveKeyRef as R, detachedTurnOutline as S, GATEWAY_PRE_INVOCATION_CODES as T, reattachDisplayBase as U, SupersededReadError as V, resolvePathQuery as W, activeFooterItemIds as X, DEFAULT_CUSTOM_COMMAND_REFRESH_MS as Y, customCommandConfigOf as Z, QUESTION_BAD_ANSWER as _, PluginManagerStaleResultError as a, parseFooterCommandConfig as at, questionAnswerError as b, detachInspection as c, resolveUserCommandItemFallbackActivationIds as ct, detachPluginManagerSnapshot as d, contextPressureOccupancy as dt, effectiveCustomCommandRefreshMs as et, pluginInstallRequestId as f, effectiveAgentCwd as ft, resolveFdPath as g, hostPathQueryEnvironment as h, PI_TUI_TERMINAL_PROGRESS_WATCH as i, parseFooterCustomItems as it, directAgentOf as j, LifecycleError as k, detachLog as l, resolveUserLayerFooterMode as lt, DirectHostDiscoveryDriver as m, createRemoteTerminalProgressSource as n, executableCommandItemIds as nt, createTerminalProgressInterval as o, resolveTrustedFooterCommand as ot, listPiTuiHostFileReferences as p, projectedWorkingDirectory as pt, escapeFinderRegex as q, PI_TUI_TERMINAL_PROGRESS_NAMESPACE as r, parseFooterCustomItem as rt, detachChange as s, resolveUserCommandItemActivationIds as st, consumeRemoteTerminalProgress as t, effectiveCustomCommandTimeoutMs as tt, detachPhase as u, MAX_COMMAND_TIMEOUT_MS as ut, QUESTION_REPLY_QUEUED as v, safeSubagentErrorMessage as w, detachedSessionStatus as x, QuestionAnswerError as y, providerOptionsFor as z };
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
- id: persona
|
|
14
14
|
name: '@deepseek-ai/dsh-persona'
|
|
15
15
|
config:
|
|
16
|
-
suffix: Your working directory is {{cwd}}.
|
|
17
16
|
prefix: >-
|
|
18
17
|
You are a coding agent powered by the {{model}} model.
|
|
19
18
|
- id: agent-instructions
|
|
20
19
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
21
20
|
config:
|
|
22
21
|
maxBytes: 65536
|
|
22
|
+
- id: time-context
|
|
23
|
+
name: '@deepseek-ai/dsh-time-context'
|
|
23
24
|
- id: tool-bash
|
|
24
25
|
name: '@deepseek-ai/dsh-tool-bash'
|
|
25
26
|
disabled: !!js process.platform === 'win32'
|
|
@@ -34,6 +35,8 @@
|
|
|
34
35
|
sampleOverCapGlobResults: false
|
|
35
36
|
- id: tool-jobs
|
|
36
37
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
38
|
+
- id: tool-schedule
|
|
39
|
+
name: '@deepseek-ai/dsh-tool-schedule'
|
|
37
40
|
- id: command-goal
|
|
38
41
|
name: '@deepseek-ai/dsh-command-goal'
|
|
39
42
|
- id: tool-goal
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
name: '@deepseek-ai/dsh-plan-mode'
|
|
49
52
|
config:
|
|
50
53
|
section: |
|
|
51
|
-
You are in plan mode. Stay in plan mode until
|
|
54
|
+
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.
|
|
52
55
|
|
|
53
56
|
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.
|
|
54
57
|
|
|
@@ -92,41 +95,17 @@
|
|
|
92
95
|
provider: spawn
|
|
93
96
|
toolName: subagent
|
|
94
97
|
modelSelectionSettings: true
|
|
95
|
-
backgroundMode: continuable
|
|
96
98
|
- id: tool-subagent-fork
|
|
97
99
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
98
100
|
config:
|
|
99
101
|
provider: fork
|
|
100
102
|
toolName: subagent_fork
|
|
101
|
-
backgroundMode: continuable
|
|
102
|
-
- id: tool-subagent-codex
|
|
103
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
104
|
-
disabled: true
|
|
105
|
-
config:
|
|
106
|
-
provider: codex
|
|
107
|
-
toolName: subagent_codex
|
|
108
|
-
backgroundMode: one-shot
|
|
109
|
-
maxDepth: provider-managed
|
|
110
|
-
- id: tool-subagent-claude-code
|
|
111
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
112
|
-
disabled: true
|
|
113
|
-
config:
|
|
114
|
-
provider: claude-code
|
|
115
|
-
toolName: subagent_claude_code
|
|
116
|
-
backgroundMode: one-shot
|
|
117
|
-
maxDepth: provider-managed
|
|
118
103
|
- id: workflow-ptc
|
|
119
104
|
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
120
105
|
config:
|
|
121
106
|
provider: spawn
|
|
122
107
|
- id: tool-workflow
|
|
123
108
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
124
|
-
- id: tool-ralph
|
|
125
|
-
name: '@deepseek-ai/dsh-tool-ralph'
|
|
126
|
-
disabled: true
|
|
127
|
-
config:
|
|
128
|
-
subagentProvider: spawn
|
|
129
|
-
maxRounds: 64
|
|
130
109
|
- id: tool-ask-user
|
|
131
110
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
132
111
|
- id: tool-todo
|
|
@@ -152,3 +131,6 @@
|
|
|
152
131
|
- id: tool-plugin-manager
|
|
153
132
|
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
154
133
|
disabled: !!js "!ctx.get('profileContext')"
|
|
134
|
+
- id: tool-plugin-market
|
|
135
|
+
name: '@deepseek-ai/dsh-plugin-market/tools'
|
|
136
|
+
disabled: !!js "!ctx.get('profileContext')"
|
|
@@ -14,6 +14,23 @@
|
|
|
14
14
|
prefix: You are a helpful software engineer assistant.
|
|
15
15
|
complete: true
|
|
16
16
|
includeRuntimeContext: false
|
|
17
|
+
- id: tool-fs
|
|
18
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
19
|
+
config:
|
|
20
|
+
read: false
|
|
21
|
+
readImage: true
|
|
22
|
+
write: false
|
|
23
|
+
edit: false
|
|
24
|
+
- id: compaction
|
|
25
|
+
name: cordis:group
|
|
26
|
+
group: true
|
|
27
|
+
isolate:
|
|
28
|
+
compaction: true
|
|
29
|
+
config:
|
|
30
|
+
- id: compaction-basic
|
|
31
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
32
|
+
- id: command-compact
|
|
33
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
17
34
|
- id: persistent-shell
|
|
18
35
|
name: cordis:group
|
|
19
36
|
group: true
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
- id: persona
|
|
12
12
|
name: '@deepseek-ai/dsh-persona'
|
|
13
13
|
config:
|
|
14
|
-
suffix: Your working directory is {{cwd}}.
|
|
15
14
|
prefix: You are a coding agent powered by the {{model}} model.
|
|
16
15
|
- id: agent-instructions
|
|
17
16
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
18
17
|
config:
|
|
19
18
|
maxBytes: 65536
|
|
19
|
+
- id: time-context
|
|
20
|
+
name: '@deepseek-ai/dsh-time-context'
|
|
20
21
|
- id: tool-bash
|
|
21
22
|
name: '@deepseek-ai/dsh-tool-bash'
|
|
22
23
|
disabled: !!js process.platform === 'win32'
|
|
@@ -31,6 +32,8 @@
|
|
|
31
32
|
sampleOverCapGlobResults: false
|
|
32
33
|
- id: tool-jobs
|
|
33
34
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
35
|
+
- id: tool-schedule
|
|
36
|
+
name: '@deepseek-ai/dsh-tool-schedule'
|
|
34
37
|
- id: skill-filesystem
|
|
35
38
|
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
36
39
|
- id: tool-skill
|
|
@@ -49,7 +52,7 @@
|
|
|
49
52
|
name: '@deepseek-ai/dsh-plan-mode'
|
|
50
53
|
config:
|
|
51
54
|
section: |
|
|
52
|
-
You are in plan mode. Stay in plan mode until
|
|
55
|
+
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.
|
|
53
56
|
|
|
54
57
|
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.
|
|
55
58
|
|
|
@@ -93,29 +96,11 @@
|
|
|
93
96
|
provider: spawn
|
|
94
97
|
toolName: subagent
|
|
95
98
|
modelSelectionSettings: true
|
|
96
|
-
backgroundMode: continuable
|
|
97
99
|
- id: tool-subagent-fork
|
|
98
100
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
99
101
|
config:
|
|
100
102
|
provider: fork
|
|
101
103
|
toolName: subagent_fork
|
|
102
|
-
backgroundMode: continuable
|
|
103
|
-
- id: tool-subagent-codex
|
|
104
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
105
|
-
disabled: true
|
|
106
|
-
config:
|
|
107
|
-
provider: codex
|
|
108
|
-
toolName: subagent_codex
|
|
109
|
-
backgroundMode: one-shot
|
|
110
|
-
maxDepth: provider-managed
|
|
111
|
-
- id: tool-subagent-claude-code
|
|
112
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
113
|
-
disabled: true
|
|
114
|
-
config:
|
|
115
|
-
provider: claude-code
|
|
116
|
-
toolName: subagent_claude_code
|
|
117
|
-
backgroundMode: one-shot
|
|
118
|
-
maxDepth: provider-managed
|
|
119
104
|
- id: workflow-ptc
|
|
120
105
|
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
121
106
|
disabled: true
|
|
@@ -124,12 +109,6 @@
|
|
|
124
109
|
- id: tool-workflow
|
|
125
110
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
126
111
|
disabled: true
|
|
127
|
-
- id: tool-ralph
|
|
128
|
-
name: '@deepseek-ai/dsh-tool-ralph'
|
|
129
|
-
disabled: true
|
|
130
|
-
config:
|
|
131
|
-
subagentProvider: spawn
|
|
132
|
-
maxRounds: 64
|
|
133
112
|
- id: tool-ask-user
|
|
134
113
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
135
114
|
- id: tool-todo
|
|
@@ -150,3 +129,6 @@
|
|
|
150
129
|
- id: tool-plugin-manager
|
|
151
130
|
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
152
131
|
disabled: true
|
|
132
|
+
- id: tool-plugin-market
|
|
133
|
+
name: '@deepseek-ai/dsh-plugin-market/tools'
|
|
134
|
+
disabled: true
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
- id: persona
|
|
12
12
|
name: '@deepseek-ai/dsh-persona'
|
|
13
13
|
config:
|
|
14
|
-
suffix: Your working directory is {{cwd}}.
|
|
15
14
|
prefix: You are a coding agent powered by the {{model}} model.
|
|
16
15
|
- id: agent-instructions
|
|
17
16
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
18
17
|
config:
|
|
19
18
|
maxBytes: 65536
|
|
19
|
+
- id: time-context
|
|
20
|
+
name: '@deepseek-ai/dsh-time-context'
|
|
20
21
|
- id: tool-bash
|
|
21
22
|
name: '@deepseek-ai/dsh-tool-bash'
|
|
22
23
|
disabled: !!js process.platform === 'win32'
|
|
@@ -31,6 +32,8 @@
|
|
|
31
32
|
sampleOverCapGlobResults: false
|
|
32
33
|
- id: tool-jobs
|
|
33
34
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
35
|
+
- id: tool-schedule
|
|
36
|
+
name: '@deepseek-ai/dsh-tool-schedule'
|
|
34
37
|
- id: skill-filesystem
|
|
35
38
|
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
36
39
|
- id: tool-skill
|
|
@@ -49,7 +52,7 @@
|
|
|
49
52
|
name: '@deepseek-ai/dsh-plan-mode'
|
|
50
53
|
config:
|
|
51
54
|
section: |
|
|
52
|
-
You are in plan mode. Stay in plan mode until
|
|
55
|
+
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.
|
|
53
56
|
|
|
54
57
|
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.
|
|
55
58
|
|
|
@@ -93,41 +96,17 @@
|
|
|
93
96
|
provider: spawn
|
|
94
97
|
toolName: subagent
|
|
95
98
|
modelSelectionSettings: true
|
|
96
|
-
backgroundMode: continuable
|
|
97
99
|
- id: tool-subagent-fork
|
|
98
100
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
99
101
|
config:
|
|
100
102
|
provider: fork
|
|
101
103
|
toolName: subagent_fork
|
|
102
|
-
backgroundMode: continuable
|
|
103
|
-
- id: tool-subagent-codex
|
|
104
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
105
|
-
disabled: true
|
|
106
|
-
config:
|
|
107
|
-
provider: codex
|
|
108
|
-
toolName: subagent_codex
|
|
109
|
-
backgroundMode: one-shot
|
|
110
|
-
maxDepth: provider-managed
|
|
111
|
-
- id: tool-subagent-claude-code
|
|
112
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
113
|
-
disabled: true
|
|
114
|
-
config:
|
|
115
|
-
provider: claude-code
|
|
116
|
-
toolName: subagent_claude_code
|
|
117
|
-
backgroundMode: one-shot
|
|
118
|
-
maxDepth: provider-managed
|
|
119
104
|
- id: workflow-ptc
|
|
120
105
|
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
121
106
|
config:
|
|
122
107
|
provider: spawn
|
|
123
108
|
- id: tool-workflow
|
|
124
109
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
125
|
-
- id: tool-ralph
|
|
126
|
-
name: '@deepseek-ai/dsh-tool-ralph'
|
|
127
|
-
disabled: true
|
|
128
|
-
config:
|
|
129
|
-
subagentProvider: spawn
|
|
130
|
-
maxRounds: 64
|
|
131
110
|
- id: tool-ask-user
|
|
132
111
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
133
112
|
- id: tool-todo
|
|
@@ -144,3 +123,6 @@
|
|
|
144
123
|
- id: tool-plugin-manager
|
|
145
124
|
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
146
125
|
disabled: true
|
|
126
|
+
- id: tool-plugin-market
|
|
127
|
+
name: '@deepseek-ai/dsh-plugin-market/tools'
|
|
128
|
+
disabled: true
|