@restregular/dsh-powerup 0.12.0 → 0.14.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 +32 -1
- package/client.js +908 -45
- package/index.js +250 -7
- package/lib/direct-ask.js +126 -0
- package/lib/progress-manager.js +49 -7
- package/lib/progress-tool.js +13 -4
- package/lib/task-resume.js +20 -5
- package/package.json +3 -2
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
|
|
|
@@ -443,6 +445,35 @@ the running agent:
|
|
|
443
445
|
- The feature is on by default and can be switched off on the Power-Up page;
|
|
444
446
|
reports are cached per session in memory and marked stale after a minute.
|
|
445
447
|
|
|
448
|
+
### Progress requirements, resizable panel and history
|
|
449
|
+
|
|
450
|
+
Requirements are a **list of records** (just like prompts), managed in the
|
|
451
|
+
Power-Up page's dedicated **Requirements** tab and in the conversation's
|
|
452
|
+
Power-Up settings tab. Each record is scoped to a workspace (`''` = global), can
|
|
453
|
+
be enabled/disabled, and describes language, structure, required data or
|
|
454
|
+
questions for the display area. When generating progress you **choose which
|
|
455
|
+
requirements to apply** in the panel — nothing is added unless you check it.
|
|
456
|
+
The panel is wider by default, resizable from its bottom-right corner (size
|
|
457
|
+
persisted), and its header tint shifts from blue toward warning red as the
|
|
458
|
+
report ages. Every refresh adds a new report to a per-session history stored on
|
|
459
|
+
disk; older reports stay browsable and are never discarded. The panel can switch
|
|
460
|
+
between them, show the exact raw AI text, copy it, and clear the history
|
|
461
|
+
explicitly. "Refresh progress" generates a new report without dropping the old
|
|
462
|
+
ones.
|
|
463
|
+
|
|
464
|
+
### Direct ask (no Agent)
|
|
465
|
+
|
|
466
|
+
An **icon-only** lightning button in the composer opens a floating DSH-styled
|
|
467
|
+
chat window. Drag the title bar to move it and the bottom-right corner to
|
|
468
|
+
resize it (position and size persist). It supports **continuous multi-turn Q&A**
|
|
469
|
+
and a browsable **history** of past conversations ("+" starts a new chat, "◷"
|
|
470
|
+
shows history; both clearable). Attach text files with the "+" chip in the
|
|
471
|
+
composer — the native file picker stays hidden. This is deliberately **not an
|
|
472
|
+
Agent**: it uses a single `llm.prepareCall` + stream call per turn with a short
|
|
473
|
+
instruction, so no system prompt sections, tools, skills, memory or background
|
|
474
|
+
jobs are involved, and nothing is written to the session log. Toggle it off on
|
|
475
|
+
the Power-Up page if you don't want the button.
|
|
476
|
+
|
|
446
477
|
### Dual send buttons
|
|
447
478
|
|
|
448
479
|
When enabled on the Power-Up page, two compact controls appear at the right of
|