@hyperlogue/r3 1.1.0 → 1.3.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 +30 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -62,6 +62,22 @@ for future updates. A failed read or output leaves feedback pending; an acknowle
|
|
|
62
62
|
failure can repeat already printed feedback on retry. `--all` reads history without
|
|
63
63
|
acknowledging it or registering a listener.
|
|
64
64
|
|
|
65
|
+
Paste or attach images to notes and replies, including messages without text.
|
|
66
|
+
For HTML artifacts, the **Capture area** camera icon beside Comment mode in the
|
|
67
|
+
navbar shares the current tab, freezes the preview,
|
|
68
|
+
and lets you crop a screenshot before attaching it. **Edit image** adds pen, arrow,
|
|
69
|
+
and rectangle drawings with color, stroke width, and undo/redo controls.
|
|
70
|
+
**Optimize image** also offers PNG resizing with the exact output preview,
|
|
71
|
+
dimensions, file size, and an actual-pixels view before you accept it. Oversized
|
|
72
|
+
PNG conversions open this preview automatically; no resizing happens without acceptance.
|
|
73
|
+
Where browser capture is unavailable, the icon is hidden; paste or upload a screenshot instead.
|
|
74
|
+
Attaching an image inserts a spaced `[image1]` reference in the message; pasting
|
|
75
|
+
places it at the cursor. Labels match the thumbnails and agent output and
|
|
76
|
+
renumber when an earlier image is removed. Messages accept up to four images,
|
|
77
|
+
each at most 5 MiB and 20 megapixels. Agents can use
|
|
78
|
+
`r3 feedback fetch <artifact-id> --attachments-dir ./feedback-images` to save
|
|
79
|
+
images before acknowledging feedback.
|
|
80
|
+
|
|
65
81
|
## Artifact types
|
|
66
82
|
|
|
67
83
|
r3 supports three kinds of artifacts:
|
|
@@ -104,6 +120,20 @@ Use the generated login token to sign in. Browser sessions and login tokens are
|
|
|
104
120
|
revocable. r3 is a single-owner tool: a valid login grants access to all artifacts
|
|
105
121
|
on that instance, with no per-artifact sharing permissions.
|
|
106
122
|
|
|
123
|
+
Login tokens expire after 14 days without a successful login or cookie-authenticated
|
|
124
|
+
request. Never-used tokens age from creation. Expiry invalidates their browser
|
|
125
|
+
sessions; inactive or revoked token rows and their sessions are removed on server
|
|
126
|
+
startup. To change the inactivity period (a positive whole number of days):
|
|
127
|
+
|
|
128
|
+
```sh
|
|
129
|
+
r3 config set authTokenIdleDays 30
|
|
130
|
+
r3 restart
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
`R3_AUTH_TOKEN_IDLE_DAYS` overrides this setting. `r3 auth list-tokens --json`
|
|
134
|
+
includes each active token's `lastUsedAt` timestamp. Cookie activity is saved in
|
|
135
|
+
batches once a minute and on graceful shutdown.
|
|
136
|
+
|
|
107
137
|
Your agent can publish from a different machine: it uploads the artifact's files,
|
|
108
138
|
so the machine running r3 does not need a copy of your project.
|
|
109
139
|
See the [security model](.claude/skills/security-model/SKILL.md) for authentication
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlogue/r3",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Render. Review. Refine. — view artifacts and give precise feedback to any coding agent. Runs the matching prebuilt native r3 binary (shipped as a per-platform optional dependency); works with `bunx @hyperlogue/r3` and `npx @hyperlogue/r3`.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"launch.mjs"
|
|
18
18
|
],
|
|
19
19
|
"optionalDependencies": {
|
|
20
|
-
"@hyperlogue/r3-darwin-arm64": "1.
|
|
21
|
-
"@hyperlogue/r3-darwin-x64": "1.
|
|
22
|
-
"@hyperlogue/r3-linux-x64": "1.
|
|
23
|
-
"@hyperlogue/r3-linux-arm64": "1.
|
|
20
|
+
"@hyperlogue/r3-darwin-arm64": "1.3.0",
|
|
21
|
+
"@hyperlogue/r3-darwin-x64": "1.3.0",
|
|
22
|
+
"@hyperlogue/r3-linux-x64": "1.3.0",
|
|
23
|
+
"@hyperlogue/r3-linux-arm64": "1.3.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18"
|