@xmoon76/dsh-pi-tui 0.5.4 → 0.5.6

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.
Files changed (50) hide show
  1. package/README.en.md +46 -42
  2. package/README.md +46 -27
  3. package/cordis.patch.yml +77 -7
  4. package/dist/bootstrap-DQ4YPL-7.mjs +113583 -0
  5. package/dist/builtins.mjs +3 -9
  6. package/dist/{runtime-vc4mdr-R.mjs → client-bootstrap-Cr1JCaF5.mjs} +3670 -2277
  7. package/dist/disposal-BYBbEpVY.mjs +54 -0
  8. package/dist/dist-CIsR7cz4.mjs +15717 -0
  9. package/dist/{entry-control-DvSrndWd.mjs → entry-control-DnduyDiw.mjs} +12 -31
  10. package/dist/{extensions-CcuMY4n2.mjs → extensions-Bp0L37lP.mjs} +1239 -271
  11. package/dist/extensions.mjs +1 -1
  12. package/dist/host-bootstrap-DilsvA6f.mjs +281 -0
  13. package/dist/host-foundation-probe--5jtvHVe.mjs +413 -0
  14. package/dist/host-runtime.d.mts +30 -0
  15. package/dist/host-runtime.mjs +1317 -0
  16. package/dist/index.d.mts +19 -18
  17. package/dist/index.mjs +18410 -8836
  18. package/dist/local-client.mjs +2027 -187
  19. package/dist/local-discovery-C9VMjc0K.mjs +759 -0
  20. package/dist/local-discovery-CDaQHA_R.mjs +2 -0
  21. package/dist/local-host.mjs +1088 -87
  22. package/dist/local-transport-BVwFYq_Y.mjs +513 -0
  23. package/dist/{context-summary-DAisTA_7.mjs → pasted-path-range-CMnxuGPx.mjs} +7613 -216
  24. package/dist/pasted-path-range-r6qzV_tC.mjs +17510 -0
  25. package/dist/performance-host.d.mts +2 -2
  26. package/dist/performance-host.mjs +258 -1
  27. package/dist/pi-tui-remote-contribution-B0EQsP0N.mjs +85 -0
  28. package/dist/pi-tui-terminal-progress-contract-CdBH9j78.mjs +70 -0
  29. package/dist/pi-tui-terminal-progress-contract-MLXZ-i3t.mjs +905 -0
  30. package/dist/pi-tui-web-access-contract-BN8Cc_Ho.mjs +118 -0
  31. package/dist/{runtime-status-0lp9CM0V.mjs → runtime-status-Cj1nFOdS.mjs} +72 -214
  32. package/dist/session-BKGXyh80.mjs +15794 -0
  33. package/dist/{session-tdJHLnJR.mjs → session-CPt_U8_f.mjs} +10707 -3657
  34. package/dist/{startup-JaVZoTIl.mjs → startup-7BYWuvBU.mjs} +124 -8
  35. package/dist/startup.d.mts +1 -1
  36. package/dist/startup.mjs +1 -1
  37. package/dist/{client-bootstrap-F5DHFI9t.mjs → terminal-progress-source-DrqQhtT8.mjs} +3653 -2969
  38. package/dist/visual-tools.d.mts +2 -2
  39. package/dist/visual-tools.mjs +26 -31
  40. package/dist/web-preferences.d.mts +29 -0
  41. package/dist/web-preferences.mjs +15 -0
  42. package/dist/web-roster-CjqnUXNk.mjs +285 -0
  43. package/generated/dsh-presets/cordis.patch.yml +5 -3
  44. package/generated/dsh-presets/ptc.patch.yml +7 -7
  45. package/generated/dsh-presets/standard.patch.yml +6 -4
  46. package/package.json +195 -172
  47. package/dist/host-bootstrap-DAgKknbY.mjs +0 -119
  48. package/dist/performance-host-CcDJjjVA.mjs +0 -266
  49. package/dist/rolldown-runtime-8H4AJuhK.mjs +0 -14
  50. package/dist/terminal-progress-source-xor3vakJ.mjs +0 -2256
@@ -6,8 +6,8 @@ import z from "@deepseek-ai/schemastery";
6
6
  declare const name = "pi-tui-visual-tools";
7
7
  /**
8
8
  * The Host services this row uses: the registry it owns, the live Agent (the
9
- * executing Session identity) and the official Session read service that
10
- * returns a committed observation.
9
+ * executing Session identity plus the official turn-boundary reader) and the
10
+ * official Session read service that returns a committed observation.
11
11
  */
12
12
  declare const inject: string[];
13
13
  /**
@@ -1,4 +1,4 @@
1
- import { C as chartArgsProblem, E as chartFactFromArgs, L as PRESENT_VISUAL_TOOL_NAME, S as svgFactFromArgs, g as visualReferenceLine, h as visualReference, i as decidePublication, n as asVisualSessionEvents, o as parsePresentVisualArguments, t as VISUAL_TOOLS_STATUS_SERVICE, v as svgArgsProblem, w as chartContentBlocks, y as svgContentBlocks, z as VISUAL_PUBLISHED_PREFIX } from "./runtime-status-0lp9CM0V.mjs";
1
+ import { F as VISUAL_PUBLISHED_PREFIX, N as PRESENT_VISUAL_TOOL_NAME, S as chartFactFromArgs, b as chartContentBlocks, d as visualReference, f as visualReferenceLine, h as svgContentBlocks, i as decidePublication, m as svgArgsProblem, n as asVisualSessionEvents, o as parsePresentVisualArguments, t as VISUAL_TOOLS_STATUS_SERVICE, v as svgFactFromArgs, y as chartArgsProblem } from "./runtime-status-Cj1nFOdS.mjs";
2
2
  import z from "@deepseek-ai/schemastery";
3
3
  import { defineTool } from "@deepseek-ai/dsh-tools";
4
4
  //#region src/app/host/visual-tools.ts
@@ -6,14 +6,13 @@ import { defineTool } from "@deepseek-ai/dsh-tools";
6
6
  const name = "pi-tui-visual-tools";
7
7
  /**
8
8
  * The Host services this row uses: the registry it owns, the live Agent (the
9
- * executing Session identity) and the official Session read service that
10
- * returns a committed observation.
9
+ * executing Session identity plus the official turn-boundary reader) and the
10
+ * official Session read service that returns a committed observation.
11
11
  */
12
12
  const inject = [
13
13
  "tools",
14
14
  "agents",
15
- "sessionQuery",
16
- "sessionProjections"
15
+ "sessionQuery"
17
16
  ];
18
17
  /**
19
18
  * The two stable, namespaced generating tool names.
@@ -139,11 +138,10 @@ const PUBLISHED_OUTPUT_SCHEMA = {
139
138
  * the original projection is preserved verbatim — an agentless or failed call
140
139
  * keeps its exact previous behaviour.
141
140
  */
142
- function projectVisualReference(projections, exec, result) {
141
+ function projectVisualReference(readers, exec, result) {
143
142
  if (exec.agent === void 0 || exec.parent !== void 0) return void 0;
144
143
  if (result.isError) return void 0;
145
- const boundary = projections.stateOf(exec.agent.session, "turnBoundary");
146
- if (boundary === void 0) return void 0;
144
+ const boundary = readers.turnBoundaryOf(exec.agent.session);
147
145
  if (boundary.openTurnStartSeq === null || boundary.lastStepStartSeq === null) return void 0;
148
146
  if (boundary.lastStepBoundary === null || boundary.lastStepBoundary.kind !== "start") return void 0;
149
147
  const blocks = result.content;
@@ -155,7 +153,6 @@ function projectVisualReference(projections, exec, result) {
155
153
  if (lastText === -1) return void 0;
156
154
  if (!blocks[lastText].text.startsWith("visual-v1:")) return void 0;
157
155
  const reference = visualReference({
158
- sessionId: exec.agent.session.id,
159
156
  turn: boundary.lastTurn,
160
157
  stepStartSeq: boundary.lastStepStartSeq,
161
158
  callId: exec.callId
@@ -172,12 +169,12 @@ function projectVisualReference(projections, exec, result) {
172
169
  /**
173
170
  * Define the chart tool. The tool body is a pure canonical projection of the
174
171
  * caller's supplied numbers: no filesystem, network, model or workspace access.
175
- * @param projections - the turn-boundary reader the reference projection uses.
172
+ * @param readers - the official Agent turn-boundary reader the reference projection uses.
176
173
  */
177
- function chartTool(projections) {
174
+ function chartTool(readers) {
178
175
  return defineTool({
179
176
  name: CHART_TOOL_NAME,
180
- description: "Render a small static chart from numbers supplied by the user or by an explicitly labelled example. Use only when a visual comparison is clearer than prose; never invent data, query a monitor, or imply the values are live measurements. Supports bars or a sparkline with 2 to 12 labelled points and an optional unit. The result always includes every exact label and value as readable text, and carries a stable visual ref (`visual-ref-v1:sv1_…`) you may later pass to present_visual.",
177
+ description: "Render a small static chart from numbers supplied by the user or by an explicitly labelled example. Use only when a visual comparison is clearer than prose; never invent data, query a monitor, or imply the values are live measurements. Supports bars or a sparkline with 2 to 12 labelled points and an optional unit. The result always includes every exact label and value as readable text, and carries a stable visual ref (`visual-ref-v2:sv2_…`) you may later pass to present_visual.",
181
178
  parameters: {
182
179
  kind: {
183
180
  type: "string",
@@ -205,7 +202,7 @@ function chartTool(projections) {
205
202
  schema: CHART_OUTPUT_SCHEMA,
206
203
  render: (_args, value) => chartContentBlocks(value)
207
204
  },
208
- projectContent: (exec, result) => projectVisualReference(projections, exec, result),
205
+ projectContent: (exec, result) => projectVisualReference(readers, exec, result),
209
206
  isConcurrencySafe: () => true,
210
207
  async execute(args) {
211
208
  const problem = chartArgsProblem(args);
@@ -228,12 +225,12 @@ function chartTool(projections) {
228
225
  /**
229
226
  * Define the SVG tool. The body admits a bounded static subset and returns the
230
227
  * short credential; the source itself stays in the durable call arguments.
231
- * @param projections - the turn-boundary reader the reference projection uses.
228
+ * @param readers - the official Agent turn-boundary reader the reference projection uses.
232
229
  */
233
- function svgTool(projections) {
230
+ function svgTool(readers) {
234
231
  return defineTool({
235
232
  name: SVG_TOOL_NAME,
236
- description: "Render one static, self-contained SVG figure. Use only when a diagram communicates better than text. The document must have an explicit viewBox or absolute width/height and use only static shapes, paths, text, gradients, masks and local references. Scripts, foreignObject, CSS/style elements, animation, DOCTYPE, external files or URLs are rejected. Use absolute units (px/pt/pc/mm/cm/in or unitless); relative units (percentages, em/ex/ch/rem/vw/vh) are rejected (a gradient stop offset may be a 0-100% fraction). Always provide a short readable description; the result keeps the description and a short source credential, while the SVG source itself stays in the tool call. The result carries a stable visual ref (`visual-ref-v1:sv1_…`) you may later pass to present_visual.",
233
+ description: "Render one static, self-contained SVG figure. Use only when a diagram communicates better than text. The document must have an explicit viewBox or absolute width/height and use only static shapes, paths, text, gradients, masks and local references. Scripts, foreignObject, CSS/style elements, animation, DOCTYPE, external files or URLs are rejected. Use absolute units (px/pt/pc/mm/cm/in or unitless); relative units (percentages, em/ex/ch/rem/vw/vh) are rejected (a gradient stop offset may be a 0-100% fraction). Always provide a short readable description; the result keeps the description and a short source credential, while the SVG source itself stays in the tool call. The result carries a stable visual ref (`visual-ref-v2:sv2_…`) you may later pass to present_visual.",
237
234
  parameters: {
238
235
  title: {
239
236
  type: "string",
@@ -255,7 +252,7 @@ function svgTool(projections) {
255
252
  schema: SVG_OUTPUT_SCHEMA,
256
253
  render: (_args, value) => svgContentBlocks(value)
257
254
  },
258
- projectContent: (exec, result) => projectVisualReference(projections, exec, result),
255
+ projectContent: (exec, result) => projectVisualReference(readers, exec, result),
259
256
  isConcurrencySafe: () => true,
260
257
  async execute(args) {
261
258
  const problem = svgArgsProblem(args);
@@ -273,12 +270,12 @@ function svgTool(projections) {
273
270
  * replay uses. A refusal throws one readable error; there is no partial
274
271
  * publication.
275
272
  * @param ctx - the Host context (recorded so the tool body reads the live Host).
276
- * @param projections - the turn-boundary reader used for the boundary fences.
273
+ * @param readers - the official Agent turn-boundary reader used for the boundary fences.
277
274
  */
278
- function presentVisualTool(ctx, projections) {
275
+ function presentVisualTool(ctx, readers) {
279
276
  return defineTool({
280
277
  name: PRESENT_VISUAL_TOOL_NAME,
281
- description: `Select previously generated chart/SVG visuals for presentation to the user. First call dsh_pi_tui_chart or dsh_pi_tui_svg and read the \`visual-ref-v1:sv1_…\` reference in its result. Wait until that generating call has finished, then in a LATER model step pass 1 to 8 refs (usually the 1-2 figures that genuinely help the explanation) and briefly explain their content in your final answer. Only visuals generated in the current turn of this session may be selected; the whole call fails if any ref is unknown, repeated, from an earlier turn, or not committed yet.`,
278
+ description: `Select previously generated chart/SVG visuals for presentation to the user. First call dsh_pi_tui_chart or dsh_pi_tui_svg and read the \`visual-ref-v2:sv2_…\` reference in its result. Wait until that generating call has finished, then in a LATER model step pass 1 to 8 refs (usually the 1-2 figures that genuinely help the explanation) and briefly explain their content in your final answer. Only visuals generated in the current turn of this session may be selected; the whole call fails if any ref is unknown, repeated, from an earlier turn, or not committed yet.`,
282
279
  parameters: { visuals: {
283
280
  type: "array",
284
281
  required: true,
@@ -289,7 +286,7 @@ function presentVisualTool(ctx, projections) {
289
286
  properties: { ref: {
290
287
  type: "string",
291
288
  required: true,
292
- description: "The `sv1_…` reference from a chart/SVG tool result."
289
+ description: "The `sv2_…` reference from a chart/SVG tool result."
293
290
  } }
294
291
  }
295
292
  } },
@@ -305,7 +302,7 @@ function presentVisualTool(ctx, projections) {
305
302
  if (!parsed.ok) throw new Error(parsed.reason);
306
303
  const requested = parsed.refs;
307
304
  const session = exec.agent.session;
308
- const before = requireOpenStep(projections, session, "present_visual");
305
+ const before = requireOpenStep(readers, session, "present_visual");
309
306
  const observation = await ctx.reflect.get("sessionQuery").observeSession(session.id, {
310
307
  signal: exec.signal,
311
308
  projectionMode: "none"
@@ -320,9 +317,8 @@ function presentVisualTool(ctx, projections) {
320
317
  observation[Symbol.dispose]();
321
318
  }
322
319
  exec.signal.throwIfAborted();
323
- if (!sameBoundary(before, requireOpenStep(projections, session, "present_visual"))) throw new Error("present_visual aborted: the turn/step boundary changed while reading the Session");
320
+ if (!sameBoundary(before, requireOpenStep(readers, session, "present_visual"))) throw new Error("present_visual aborted: the turn/step boundary changed while reading the Session");
324
321
  const decision = decidePublication({
325
- sessionId: session.id,
326
322
  events,
327
323
  refs: [...requested],
328
324
  turn: before.lastTurn,
@@ -338,9 +334,8 @@ function presentVisualTool(ctx, projections) {
338
334
  });
339
335
  }
340
336
  /** Read the turn boundary and require an open turn with an open `step/start`. */
341
- function requireOpenStep(projections, session, toolName) {
342
- const boundary = projections.stateOf(session, "turnBoundary");
343
- if (boundary === void 0) throw new Error(`${toolName} requires the turnBoundary session projection`);
337
+ function requireOpenStep(readers, session, toolName) {
338
+ const boundary = readers.turnBoundaryOf(session);
344
339
  if (boundary.openTurnStartSeq === null) throw new Error(`${toolName} requires an open turn`);
345
340
  if (boundary.lastStepStartSeq === null) throw new Error(`${toolName} requires an open step`);
346
341
  if (boundary.lastStepBoundary === null || boundary.lastStepBoundary.kind !== "start") throw new Error(`${toolName} requires an open step`);
@@ -411,7 +406,7 @@ function releaseRegistered(tools, name, registered, errors) {
411
406
  */
412
407
  function apply(ctx, config) {
413
408
  const tools = ctx.reflect.get("tools");
414
- const projections = ctx.reflect.get("sessionProjections");
409
+ const readers = ctx.reflect.get("agents");
415
410
  let chart;
416
411
  let svg;
417
412
  let present;
@@ -480,19 +475,19 @@ function apply(ctx, config) {
480
475
  throw new AggregateError(errors, "visual tools: a registration failed and the rollback did not complete");
481
476
  };
482
477
  try {
483
- const chartDefinition = chartTool(projections);
478
+ const chartDefinition = chartTool(readers);
484
479
  chart = {
485
480
  definition: chartDefinition,
486
481
  dispose: tools.register(chartDefinition)
487
482
  };
488
483
  created.push(chart);
489
- const svgDefinition = svgTool(projections);
484
+ const svgDefinition = svgTool(readers);
490
485
  svg = {
491
486
  definition: svgDefinition,
492
487
  dispose: tools.register(svgDefinition)
493
488
  };
494
489
  created.push(svg);
495
- const presentDefinition = presentVisualTool(ctx, projections);
490
+ const presentDefinition = presentVisualTool(ctx, readers);
496
491
  present = {
497
492
  definition: presentDefinition,
498
493
  dispose: tools.register(presentDefinition)
@@ -0,0 +1,29 @@
1
+ import { Context } from "@deepseek-ai/cordis";
2
+ import z from "@deepseek-ai/schemastery";
3
+
4
+ //#region src/app/host/web-preferences.d.ts
5
+ /** Stable Cordis plugin name (the Loader row id in `cordis.patch.yml`). */
6
+ declare const name = "pi-tui-web-preferences";
7
+ /**
8
+ * The row's profile-wide preference document.
9
+ *
10
+ * `autoStart` is the NEXT Split Host's cold-boot behavior; it is independent of
11
+ * the CURRENT Host's Web state and is never a second runtime authority. The
12
+ * field is volatile so the official Settings form can project it and the
13
+ * Loader commits a saved value into the running reference.
14
+ */
15
+ interface Config {
16
+ /** Enable the official Web frontend while a new Split Host boots. */
17
+ autoStart: boolean;
18
+ }
19
+ /** The Config schema the Loader resolves (default OFF, live form field). */
20
+ declare const Config: z<Config>;
21
+ /**
22
+ * No execution: the preference is read only by the Host cold-boot sequence.
23
+ *
24
+ * @param ctx - the Host context this row is mounted in (unused by contract).
25
+ * @param config - the resolved preference document (unused by contract).
26
+ */
27
+ declare function apply(ctx: Context, config: Config): void;
28
+ //#endregion
29
+ export { Config, apply, name };
@@ -0,0 +1,15 @@
1
+ import z from "@deepseek-ai/schemastery";
2
+ //#region src/app/host/web-preferences.ts
3
+ /** Stable Cordis plugin name (the Loader row id in `cordis.patch.yml`). */
4
+ const name = "pi-tui-web-preferences";
5
+ /** The Config schema the Loader resolves (default OFF, live form field). */
6
+ const Config = z.object({ autoStart: z.boolean().default(false).volatile() });
7
+ /**
8
+ * No execution: the preference is read only by the Host cold-boot sequence.
9
+ *
10
+ * @param ctx - the Host context this row is mounted in (unused by contract).
11
+ * @param config - the resolved preference document (unused by contract).
12
+ */
13
+ function apply(ctx, config) {}
14
+ //#endregion
15
+ export { Config, apply, name };
@@ -0,0 +1,285 @@
1
+ //#region src/app/host/features/web-roster.ts
2
+ /**
3
+ * The ONE production Web-only Loader roster (C8: a single static member table).
4
+ *
5
+ * These are the official Browser Web rows the Host-only overlay declares and
6
+ * the private `piTuiWebAccess` Host service toggles at runtime. The row set is
7
+ * the official Web composition of the installed DSH family: it must satisfy
8
+ * every `dsh.client.inject` dependency the shipped official Client UIs declare,
9
+ * so it is fixed by those manifests rather than by a local count.
10
+ *
11
+ * PURE DATA, NO HOST DEPENDENCY: `local-host-entry.ts` renders this table into
12
+ * the Host-only overlay YAML, and `web-access.ts` verifies the LIVE Loader
13
+ * against it. The hand-written expectations stay their own oracles and must
14
+ * not be derived from this module: `WEB_ROWS` in
15
+ * `test/app/remote-process-host-foundation.test.ts` (that test imports this
16
+ * production table only to compare the toggle roster with the real overlay)
17
+ * and `PR_A_WEB_ROWS` in `scripts/smoke/split-process/web-helpers.mjs`.
18
+ *
19
+ * @module @xmoon76/dsh-pi-tui/app/host/features/web-roster
20
+ */
21
+ /**
22
+ * The official Web-only Loader rows, in the overlay's canonical order, with the
23
+ * exact official package each row loads. The set, never a count, is the
24
+ * composition contract: every entry is the ONE owner of its published package.
25
+ */
26
+ const PI_TUI_WEB_ACCESS_ROWS = [
27
+ {
28
+ id: "web-runtime",
29
+ name: "@deepseek-ai/dsh-web-app"
30
+ },
31
+ {
32
+ id: "modules",
33
+ name: "@deepseek-ai/dsh-client-modules"
34
+ },
35
+ {
36
+ id: "client-hmr",
37
+ name: "@deepseek-ai/dsh-client-hmr"
38
+ },
39
+ {
40
+ id: "cordis-client-runner",
41
+ name: "@deepseek-ai/dsh-cordis-client-runner"
42
+ },
43
+ {
44
+ id: "ui-file-actions",
45
+ name: "@deepseek-ai/dsh-client-ui-file-actions"
46
+ },
47
+ {
48
+ id: "ui-context-menu",
49
+ name: "@deepseek-ai/dsh-client-ui-context-menu"
50
+ },
51
+ {
52
+ id: "ui-open-in-app",
53
+ name: "@deepseek-ai/dsh-client-ui-open-in-app"
54
+ },
55
+ {
56
+ id: "ui-settings-account",
57
+ name: "@deepseek-ai/dsh-client-ui-settings-account"
58
+ },
59
+ {
60
+ id: "ui-theme",
61
+ name: "@deepseek-ai/dsh-client-ui-theme"
62
+ },
63
+ {
64
+ id: "locale",
65
+ name: "@deepseek-ai/dsh-client-locale"
66
+ },
67
+ {
68
+ id: "shortcuts",
69
+ name: "@deepseek-ai/dsh-client-shortcuts"
70
+ },
71
+ {
72
+ id: "ui-shortcuts",
73
+ name: "@deepseek-ai/dsh-client-ui-shortcuts"
74
+ },
75
+ {
76
+ id: "ui-layout",
77
+ name: "@deepseek-ai/dsh-client-ui-layout"
78
+ },
79
+ {
80
+ id: "ui-renderer",
81
+ name: "@deepseek-ai/dsh-client-ui-renderer"
82
+ },
83
+ {
84
+ id: "ui-session",
85
+ name: "@deepseek-ai/dsh-client-ui-session"
86
+ },
87
+ {
88
+ id: "resources",
89
+ name: "@deepseek-ai/dsh-client-resources"
90
+ },
91
+ {
92
+ id: "ui-sidebar",
93
+ name: "@deepseek-ai/dsh-client-ui-sidebar"
94
+ },
95
+ {
96
+ id: "ui-sidebar-right",
97
+ name: "@deepseek-ai/dsh-client-ui-sidebar-right"
98
+ },
99
+ {
100
+ id: "office-to-pdf",
101
+ name: "@deepseek-ai/dsh-office-to-pdf"
102
+ },
103
+ {
104
+ id: "ui-sidebar-documentpreview",
105
+ name: "@deepseek-ai/dsh-client-ui-sidebar-documentpreview"
106
+ },
107
+ {
108
+ id: "ui-sidebar-terminal",
109
+ name: "@deepseek-ai/dsh-client-ui-sidebar-terminal"
110
+ },
111
+ {
112
+ id: "ui-sidebar-files",
113
+ name: "@deepseek-ai/dsh-client-ui-sidebar-files"
114
+ },
115
+ {
116
+ id: "ui-settings",
117
+ name: "@deepseek-ai/dsh-client-ui-settings"
118
+ },
119
+ {
120
+ id: "ui-settings-general",
121
+ name: "@deepseek-ai/dsh-client-ui-settings-general"
122
+ },
123
+ {
124
+ id: "ui-settings-models",
125
+ name: "@deepseek-ai/dsh-client-ui-settings-models"
126
+ },
127
+ {
128
+ id: "ui-plugin-manager",
129
+ name: "@deepseek-ai/dsh-client-ui-plugin-manager"
130
+ },
131
+ {
132
+ id: "ui-settings-plugin-inventory",
133
+ name: "@deepseek-ai/dsh-client-ui-settings-plugin-inventory"
134
+ },
135
+ {
136
+ id: "ui-conversation",
137
+ name: "@deepseek-ai/dsh-client-ui-conversation"
138
+ },
139
+ {
140
+ id: "ui-approval",
141
+ name: "@deepseek-ai/dsh-client-ui-approval"
142
+ },
143
+ {
144
+ id: "message-quotes",
145
+ name: "@deepseek-ai/dsh-message-quotes"
146
+ },
147
+ {
148
+ id: "ui-chat",
149
+ name: "@deepseek-ai/dsh-client-ui-chat"
150
+ },
151
+ {
152
+ id: "ui-brand-official",
153
+ name: "@deepseek-ai/dsh-client-ui-brand-official"
154
+ },
155
+ {
156
+ id: "ui-attachment",
157
+ name: "@deepseek-ai/dsh-client-ui-attachment"
158
+ },
159
+ {
160
+ id: "ui-file-drag",
161
+ name: "@deepseek-ai/dsh-client-ui-file-drag"
162
+ },
163
+ {
164
+ id: "ui-tool",
165
+ name: "@deepseek-ai/dsh-client-ui-tool"
166
+ },
167
+ {
168
+ id: "ui-cordis",
169
+ name: "@deepseek-ai/dsh-client-ui-cordis"
170
+ },
171
+ {
172
+ id: "workspace-changes",
173
+ name: "@deepseek-ai/dsh-workspace-changes"
174
+ },
175
+ {
176
+ id: "ui-deliverables",
177
+ name: "@deepseek-ai/dsh-client-ui-deliverables"
178
+ },
179
+ {
180
+ id: "ui-workspace",
181
+ name: "@deepseek-ai/dsh-client-ui-workspace"
182
+ },
183
+ {
184
+ id: "ui-workflow-run",
185
+ name: "@deepseek-ai/dsh-client-ui-workflow-run"
186
+ },
187
+ {
188
+ id: "ui-input-trigger",
189
+ name: "@deepseek-ai/dsh-client-ui-input-trigger"
190
+ },
191
+ {
192
+ id: "ui-commands",
193
+ name: "@deepseek-ai/dsh-client-ui-commands"
194
+ },
195
+ {
196
+ id: "ui-skill",
197
+ name: "@deepseek-ai/dsh-client-ui-skill"
198
+ },
199
+ {
200
+ id: "ui-subagent",
201
+ name: "@deepseek-ai/dsh-client-ui-subagent"
202
+ },
203
+ {
204
+ id: "ui-reference",
205
+ name: "@deepseek-ai/dsh-client-ui-reference"
206
+ },
207
+ {
208
+ id: "ui-secret-mask",
209
+ name: "@deepseek-ai/dsh-client-ui-secret-mask"
210
+ },
211
+ {
212
+ id: "ui-jobs",
213
+ name: "@deepseek-ai/dsh-client-ui-jobs"
214
+ },
215
+ {
216
+ id: "ui-schedule",
217
+ name: "@deepseek-ai/dsh-client-ui-schedule"
218
+ },
219
+ {
220
+ id: "ui-goal",
221
+ name: "@deepseek-ai/dsh-client-ui-goal"
222
+ },
223
+ {
224
+ id: "ui-message-feedback",
225
+ name: "@deepseek-ai/dsh-client-ui-message-feedback"
226
+ },
227
+ {
228
+ id: "ui-model-selection",
229
+ name: "@deepseek-ai/dsh-client-ui-model-selection"
230
+ },
231
+ {
232
+ id: "ui-permission",
233
+ name: "@deepseek-ai/dsh-client-ui-permission-presets"
234
+ },
235
+ {
236
+ id: "ui-agent-preset",
237
+ name: "@deepseek-ai/dsh-client-ui-agent-preset"
238
+ },
239
+ {
240
+ id: "entry-customization",
241
+ name: "@deepseek-ai/dsh-client-ui-entry-customization"
242
+ },
243
+ {
244
+ id: "ui-settings-session-log",
245
+ name: "@deepseek-ai/dsh-client-ui-settings-session-log"
246
+ },
247
+ {
248
+ id: "ui-settings-plugins",
249
+ name: "@deepseek-ai/dsh-client-ui-settings-plugins"
250
+ },
251
+ {
252
+ id: "ui-settings-shell",
253
+ name: "@deepseek-ai/dsh-client-ui-settings-shell"
254
+ },
255
+ {
256
+ id: "ui-settings-agent-loop",
257
+ name: "@deepseek-ai/dsh-client-ui-settings-agent-loop"
258
+ },
259
+ {
260
+ id: "ui-settings-subagent",
261
+ name: "@deepseek-ai/dsh-client-ui-settings-subagent"
262
+ },
263
+ {
264
+ id: "ui-settings-web-search",
265
+ name: "@deepseek-ai/dsh-client-ui-settings-web-search"
266
+ },
267
+ {
268
+ id: "ui-plan",
269
+ name: "@deepseek-ai/dsh-client-ui-plan"
270
+ },
271
+ {
272
+ id: "ui-user-questions",
273
+ name: "@deepseek-ai/dsh-client-ui-user-questions"
274
+ },
275
+ {
276
+ id: "ui-trajectory",
277
+ name: "@deepseek-ai/dsh-client-ui-trajectory"
278
+ },
279
+ {
280
+ id: "terminal-controller",
281
+ name: "@deepseek-ai/dsh-api-terminal-controller"
282
+ }
283
+ ];
284
+ //#endregion
285
+ export { PI_TUI_WEB_ACCESS_ROWS as t };
@@ -29,6 +29,9 @@
29
29
  disabled: !!js process.platform !== 'win32'
30
30
  - id: tool-fs
31
31
  name: '@deepseek-ai/dsh-tool-fs'
32
+ config:
33
+ # Set true to add the apply_patch tool beside edit.
34
+ applyPatch: false
32
35
  - id: tool-fs-search
33
36
  name: '@deepseek-ai/dsh-tool-fs-search'
34
37
  config:
@@ -87,14 +90,13 @@
87
90
  config:
88
91
  - id: tool-subagent-control
89
92
  name: '@deepseek-ai/dsh-tool-subagent-control'
90
- - id: tool-subagent-list-agents
91
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
92
93
  - id: tool-subagent
93
94
  name: '@deepseek-ai/dsh-tool-subagent'
94
95
  config:
95
96
  provider: spawn
96
97
  toolName: subagent
97
- modelSelectionSettings: true
98
+ modelSelection: true
99
+ modelDiscovery: true
98
100
  - id: tool-subagent-fork
99
101
  name: '@deepseek-ai/dsh-tool-subagent'
100
102
  config:
@@ -26,6 +26,9 @@
26
26
  disabled: !!js process.platform !== 'win32'
27
27
  - id: tool-fs
28
28
  name: '@deepseek-ai/dsh-tool-fs'
29
+ config:
30
+ # Set true to add the apply_patch tool beside edit.
31
+ applyPatch: false
29
32
  - id: tool-fs-search
30
33
  name: '@deepseek-ai/dsh-tool-fs-search'
31
34
  config:
@@ -88,14 +91,13 @@
88
91
  config:
89
92
  - id: tool-subagent-control
90
93
  name: '@deepseek-ai/dsh-tool-subagent-control'
91
- - id: tool-subagent-list-agents
92
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
93
94
  - id: tool-subagent
94
95
  name: '@deepseek-ai/dsh-tool-subagent'
95
96
  config:
96
97
  provider: spawn
97
98
  toolName: subagent
98
- modelSelectionSettings: true
99
+ modelSelection: true
100
+ modelDiscovery: true
99
101
  - id: tool-subagent-fork
100
102
  name: '@deepseek-ai/dsh-tool-subagent'
101
103
  config:
@@ -120,10 +122,8 @@
120
122
  config:
121
123
  fetch: true
122
124
  searchTimeoutMs: 60000
123
- - id: tool-presentation
124
- name: '@deepseek-ai/dsh-agent-tool-presentation'
125
- config:
126
- mode: ptc
125
+ - id: tool-executor-ptc
126
+ name: '@deepseek-ai/dsh-tool-executor-ptc'
127
127
  - id: present
128
128
  name: '@deepseek-ai/dsh-tool-present'
129
129
  - id: tool-plugin-manager
@@ -26,6 +26,9 @@
26
26
  disabled: !!js process.platform !== 'win32'
27
27
  - id: tool-fs
28
28
  name: '@deepseek-ai/dsh-tool-fs'
29
+ config:
30
+ # Set false to drop the apply_patch tool beside edit.
31
+ applyPatch: false
29
32
  - id: tool-fs-search
30
33
  name: '@deepseek-ai/dsh-tool-fs-search'
31
34
  config:
@@ -88,14 +91,13 @@
88
91
  config:
89
92
  - id: tool-subagent-control
90
93
  name: '@deepseek-ai/dsh-tool-subagent-control'
91
- - id: tool-subagent-list-agents
92
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
93
94
  - id: tool-subagent
94
95
  name: '@deepseek-ai/dsh-tool-subagent'
95
96
  config:
96
97
  provider: spawn
97
98
  toolName: subagent
98
- modelSelectionSettings: true
99
+ modelSelection: true
100
+ modelDiscovery: true
99
101
  - id: tool-subagent-fork
100
102
  name: '@deepseek-ai/dsh-tool-subagent'
101
103
  config:
@@ -122,7 +124,7 @@
122
124
  name: '@deepseek-ai/dsh-tool-present'
123
125
  - id: tool-plugin-manager
124
126
  name: '@deepseek-ai/dsh-plugin-manager/tools'
125
- disabled: true
127
+ disabled: !!js "!ctx.get('profileContext')"
126
128
  - id: tool-plugin-market
127
129
  name: '@deepseek-ai/dsh-plugin-market/tools'
128
130
  disabled: true