@restregular/dsh-powerup 0.11.0 → 0.13.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 CHANGED
@@ -6,7 +6,9 @@ The upgrades include a **right-click action menu in the Trajectory view**, a
6
6
  data, an optional **stop reason for background jobs**, an in-place
7
7
  **plugin installer**, and a **sidebar launcher** that turns the left sidebar's
8
8
  panel list into an adaptive icon grid with drag sorting, folders, a
9
- back-to-conversation tile, and restart/close tiles.
9
+ back-to-conversation tile, and restart/close tiles. It also adds a
10
+ **task-progress panel** with three-layer requirements and browsable history, and
11
+ a **direct-ask button** for one-shot model answers without an Agent.
10
12
 
11
13
  ## Install
12
14
 
@@ -142,6 +144,18 @@ entries other plugins add) become an icon grid instead of a one-per-row list:
142
144
  its own (chat glyph + label) that calls `layout.selectPanel(null)` to return
143
145
  to the Conversation; it highlights when no global panel is selected and can be
144
146
  placed anywhere by dragging, including into a folder.
147
+ - **Task-aware restart and close.** `GET /dsh-powerup/api/restart|close` also
148
+ reports `runningTasks` (live running Agents and running background jobs). When
149
+ any task is unfinished the normal confirm is blocked: the dialog lists the
150
+ sessions and offers a **Force restart / Force close** path that stops every
151
+ running Agent and job first. That forced path has an extra **Resume tasks after
152
+ restart / Resume tasks on next launch** option (on by default, with an optional
153
+ custom continuation prompt). With resume enabled the Host cancels each running
154
+ Agent, kills running jobs, and records the affected sessions in
155
+ `~/.dsh/dsh-powerup/task-resume.json`; on the next successful startup it sends
156
+ each session a queued "continue" prompt through `sessionController.prompt`
157
+ (which resumes cold sessions), then removes the delivered records. With resume
158
+ disabled the forced path only stops the work and keeps no records.
145
159
  - **A synthetic "Restart DSH" tile.** A second Power-Up tile (a ring with the
146
160
  arrowhead tangent to the top, i.e. the arrow lines up with the arc) plus
147
161
  `重启` / `Restart` opens the same restart confirmation the pending-restart
@@ -431,6 +445,31 @@ the running agent:
431
445
  - The feature is on by default and can be switched off on the Power-Up page;
432
446
  reports are cached per session in memory and marked stale after a minute.
433
447
 
448
+ ### Three-layer progress requirements, resizable panel and history
449
+
450
+ Progress requirements can be set globally on the Power-Up settings page, per
451
+ workspace/session in the conversation's Power-Up settings tab, and as a one-off
452
+ override inside the panel. All layers are concatenated (global → workspace →
453
+ session → one-off) into extra instructions for the model, so language, structure,
454
+ required data and questions for the display area are remembered from then on.
455
+ The panel is wider by default, resizable from its bottom-right corner (size
456
+ persisted), and its header tint shifts from blue toward warning red as the
457
+ displayed report ages. Every refresh adds a new report to a per-session history
458
+ stored on disk; older reports stay browsable and are never discarded by a
459
+ refresh. The panel can switch between them, show the exact raw AI text, copy it,
460
+ and clear the history explicitly. "Refresh progress" generates a new report
461
+ without dropping the old ones.
462
+
463
+ ### Direct ask (no Agent)
464
+
465
+ A lightning button in the composer opens a floating, show/hide dialog that sends
466
+ a question straight to the model. This is deliberately **not an Agent**: it uses
467
+ a single `llm.prepareCall` + stream call with a short instruction, so no system
468
+ prompt sections, tools, skills, memory or background jobs are involved, and
469
+ nothing is written to the session log. You can attach text files as context in
470
+ the dialog; the answer is shown in a copyable panel. Toggle it off on the
471
+ Power-Up page if you don't want the button.
472
+
434
473
  ### Dual send buttons
435
474
 
436
475
  When enabled on the Power-Up page, two compact controls appear at the right of