reflet-sdk 0.7.2 → 0.7.4
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/CHANGELOG.md +29 -0
- package/README.md +22 -16
- package/dist/{devtools-layer-DhQE3leI.js → devtools-layer-CcTmlikp.js} +396 -273
- package/dist/devtools-layer-CcTmlikp.js.map +1 -0
- package/dist/devtools-next.js +1 -1
- package/dist/{sessions-panel-BycJng5z.js → devtools-styles-teRMfSzW.js} +3205 -2053
- package/dist/devtools-styles-teRMfSzW.js.map +1 -0
- package/dist/devtools-vite.js +1 -1
- package/dist/feedback.js +7 -7
- package/dist/feedback.js.map +1 -1
- package/dist/{handler-B4Z6jkYX.js → handler-B3_PQB1q.js} +4 -4
- package/dist/handler-B3_PQB1q.js.map +1 -0
- package/dist/{submit-Dx892JVJ.js → submit-CG4LXioK.js} +2 -2
- package/dist/{submit-Dx892JVJ.js.map → submit-CG4LXioK.js.map} +1 -1
- package/dist/{team-layer-BS2JZfVl.js → team-layer-zLj_QPQX.js} +36 -42
- package/dist/team-layer-zLj_QPQX.js.map +1 -0
- package/package.json +1 -1
- package/dist/devtools-layer-DhQE3leI.js.map +0 -1
- package/dist/handler-B4Z6jkYX.js.map +0 -1
- package/dist/sessions-panel-BycJng5z.js.map +0 -1
- package/dist/team-layer-BS2JZfVl.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,35 @@ All notable changes to `reflet-sdk` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.7.4] - 2026-10-15
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Devtools: one panel button replaces the separate Board and Notes buttons. It reopens the panel on the tab you used last, even after a reload, and shows how many notes aren't on the board yet. The microphone opens Sessions directly. The bar steps aside while the panel is open, and the panel opens wider (480 px).
|
|
13
|
+
- Devtools: the panel's tabs carry icons, in the order Board, Notes, Sessions, Code. Your Reflet account (avatar, name, organization) sits in the panel's footer, with Connect and Disconnect; the Board tab no longer has a connection bar, and Sessions no longer says "Recording as…".
|
|
14
|
+
- Devtools: secondary choices are menus, not a second row of tabs: This page / Whole board on the Board, On screen / Details on a session's intentions. Every menu and surface follows one radius scale.
|
|
15
|
+
- Devtools: opening a session replaces the tabs with a back button to Sessions; the brief adds one more level back to the session. The links back inside the content, except "All evidence" from one screenshot, are gone. Moving between levels puts keyboard focus on the new view's heading, or on the view itself while it loads, and the session keeps its tab and On screen / Details choice when you come back from the brief.
|
|
16
|
+
- Sessions: on first use, "What a session records" shows above Start session instead of below it. Deleting an intention or a screenshot now says exactly which saved briefs go with it.
|
|
17
|
+
- Devtools: when connecting isn't possible, the panel says what it needs: a public key and a local address (localhost, *.localhost or *.test), or REFLET_SECRET_KEY. Error messages point to the panel's footer instead of the old Board tab.
|
|
18
|
+
- Sessions: "Hand off N confirmed" is now "Prepare brief". Nothing is shared until you copy the brief or download its `.zip`; "Copied or exported briefs can't be recalled" is gone. Earlier briefs list the intention they carried, when, and whether you copied or downloaded them. Dates read "Today, 14:02", "Yesterday, 14:02" or "12 Oct, 14:02".
|
|
19
|
+
- Notes: "Send to board" is now "Add to board". The empty Notes tab has a Pick an element button.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Sessions: add an intention to the board from its card, or every confirmed intention not on the board yet from the review's footer. Intentions on the board show "On the board".
|
|
24
|
+
- Devtools: the account footer shows your Reflet avatar. Requires the matching Reflet backend; older backends show initials.
|
|
25
|
+
|
|
26
|
+
### Removed
|
|
27
|
+
|
|
28
|
+
- Devtools: the pick button in the panel header (the bar and the Notes tab have it), and the press-shrink on rows and cards.
|
|
29
|
+
|
|
30
|
+
## [0.7.3] - 2026-10-14
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- Sessions: the Intentions tab opens On screen. Each intention is pinned on the screenshot of the moment it's about: a frame around the element, a line, a number, and a short label the AI writes (at most 6 words, in your language), with Confirm and Dismiss right on the label. A choice already made stays focusable but inactive, like on the cards; Undo in the notice reverts it. Click the label to open the full intention under Details. Intentions with no screenshot are listed below with the same buttons. Your own wording replaces the AI label: once you, an accepted change or a removed contribution rewrites the need, the label shows the need itself. Requires the matching Reflet backend.
|
|
35
|
+
- Sessions: the frame goes around the element you talk about, not the one under your pointer. Each screenshot now records the names and positions of the buttons, links, headings and images it shows (masked elements and anything in or around typed text left out, at most 80), and the AI picks among them. When nothing matches, or for sessions analyzed before, the label sits on the screenshot without a frame. Removing a screenshot or correcting a passage's context moves the pin at once. The session disclosure lists this.
|
|
36
|
+
|
|
8
37
|
## [0.7.2] - 2026-10-13
|
|
9
38
|
|
|
10
39
|
### Fixed
|
package/README.md
CHANGED
|
@@ -180,13 +180,16 @@ canvas content may come out blank.
|
|
|
180
180
|
#### Devtools for your team (development only)
|
|
181
181
|
|
|
182
182
|
In `NODE_ENV=development`, `RefletFeedback` also mounts a small devtools bar
|
|
183
|
-
above its launcher
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
183
|
+
above its launcher: **Pick**, **Sessions** (the microphone) and the panel
|
|
184
|
+
button, which reopens the panel on the tab you used last. Drag the bar by its
|
|
185
|
+
grip anywhere, double-click the grip to put it back. While the panel is open
|
|
186
|
+
the bar steps aside. The panel opens full height: drag its header to move it
|
|
187
|
+
(double-click to dock it back), drag its inner edge, bottom edge or corner to
|
|
188
|
+
resize it (double-click a handle to reset). Position and size are remembered
|
|
189
|
+
and refit whenever the window changes size. Your Reflet account and
|
|
190
|
+
organization sit in the panel's footer, with Connect and Disconnect. Production
|
|
191
|
+
builds drop it at bundle time — the devtools chunk is never shipped to your
|
|
192
|
+
users. Pass `devtools={false}` to turn it off.
|
|
190
193
|
|
|
191
194
|
- **Pick** — click an element to write a note on it. The note card has a
|
|
192
195
|
"View code" button, and Shift+click (or Shift+Enter) skips the note and opens
|
|
@@ -204,24 +207,27 @@ turn it off.
|
|
|
204
207
|
to retry.
|
|
205
208
|
- **Copy as prompt** — every note, with its source location, component stack,
|
|
206
209
|
selector and markup, as one Markdown prompt for a coding agent.
|
|
207
|
-
- **
|
|
210
|
+
- **Add to board** — notes become internal feedback: members see them with an
|
|
208
211
|
"Internal" badge, the public board never does, and an admin can make one
|
|
209
212
|
public from the dashboard.
|
|
210
|
-
- **Board** — the board's feedback for the current route, or the whole board
|
|
211
|
-
with "Show on page", the reporter's
|
|
212
|
-
the element's text.
|
|
213
|
+
- **Board** — the board's feedback for the current route, or the whole board
|
|
214
|
+
(the view menu next to the count), with "Show on page", the reporter's
|
|
215
|
+
source location, and a code search for the element's text.
|
|
213
216
|
- **Sessions** — talk through the app while you use it: Reflet records your
|
|
214
217
|
voice, what you point at and mark, and a screenshot at the start, at each
|
|
215
218
|
mark and on each page change. Finish, and Reflet transcribes the session and
|
|
216
|
-
proposes the
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
proposes the intentions behind what you said. Confirm, edit or dismiss each
|
|
220
|
+
one. Like notes, confirmed intentions have two ways out: **Prepare brief**
|
|
221
|
+
builds a brief you copy into a coding agent or download as a `.zip` with its
|
|
222
|
+
screenshots (nothing is shared until you copy or download it), and **Add to
|
|
223
|
+
board** turns them into internal feedback, one by one or all at once.
|
|
224
|
+
Sessions are recorded under your own name, so they need Connect rather than
|
|
225
|
+
`REFLET_SECRET_KEY`.
|
|
220
226
|
|
|
221
227
|
Code view and the board go through one dev-only route that reads files from
|
|
222
228
|
your repository and holds the board credential server-side.
|
|
223
229
|
|
|
224
|
-
To reach the board, click **Connect to Reflet** in the
|
|
230
|
+
To reach the board, click **Connect to Reflet** in the panel's footer: sign in on
|
|
225
231
|
reflet.app, approve the organization that owns the widget's key, and the dev
|
|
226
232
|
server keeps a revocable token in `~/.reflet/devtools/`,
|
|
227
233
|
outside the repository. That token acts as you, only reaches the devtools
|