@com55/node-red-ai-access 0.2.0-beta.5 → 0.2.0-beta.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.
- package/CHANGELOG.md +22 -0
- package/ai-access.html +1 -1
- package/dist/plugin.cjs +366 -89
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [0.2.0-beta.6] - 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- OAuth consent page signs in automatically once you sign in to the Node-RED
|
|
14
|
+
editor in another tab (it watches the editor token in `localStorage` and
|
|
15
|
+
re-checks on tab focus / visibility). Works for `adminAuth` `strategy`
|
|
16
|
+
(OIDC/passport) logins, which cannot return to the consent page by themselves.
|
|
17
|
+
The Retry button stays as a fallback.
|
|
18
|
+
- Dashboard (`/ai-access`) refreshes status, access links, proposals, logs and
|
|
19
|
+
the OAuth client list when you return to a tab left open (visibility / focus,
|
|
20
|
+
at most every 5 s). It never reloads while a dialog — such as the one-time
|
|
21
|
+
token modal — is open or while you are typing in a field, and never reloads
|
|
22
|
+
settings forms.
|
|
23
|
+
- Proposals view: flow names and modified/removed nodes link to the editor
|
|
24
|
+
(`#flow/<id>`, `#node/<id>`). A click reveals the item in an already open
|
|
25
|
+
editor tab (via a same-origin `BroadcastChannel` answered by the editor
|
|
26
|
+
sidebar script, using `RED.view.reveal` / `RED.workspaces.show`); with no open
|
|
27
|
+
editor it opens one in a named `node-red-editor` window that later clicks
|
|
28
|
+
reuse. Browsers do not let a page bring another tab to the front, so the
|
|
29
|
+
dashboard shows a toast when the item was revealed in the existing tab.
|
|
30
|
+
|
|
9
31
|
## [0.2.0-beta.5] - 2026-10-28
|
|
10
32
|
|
|
11
33
|
### Security
|
package/ai-access.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
window.__com55AiAccessSidebarLoading = true;
|
|
16
16
|
|
|
17
|
-
var EDITOR_SIDEBAR_ASSET_VERSION = '0.2.0-beta.
|
|
17
|
+
var EDITOR_SIDEBAR_ASSET_VERSION = '0.2.0-beta.6';
|
|
18
18
|
var root = (RED.settings.httpAdminRoot || '/').replace(/\/$/, '');
|
|
19
19
|
var src =
|
|
20
20
|
(root || '') +
|