@songsid/agend 2.2.0-alpha.4 → 2.2.0-alpha.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/dist/auth-api.d.ts +22 -0
- package/dist/auth-api.js +69 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/channel/adapters/discord.js +9 -0
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/command-table.d.ts +8 -1
- package/dist/command-table.js +13 -4
- package/dist/command-table.js.map +1 -1
- package/dist/fleet-manager.d.ts +47 -0
- package/dist/fleet-manager.js +139 -5
- package/dist/fleet-manager.js.map +1 -1
- package/dist/locale.js +10 -0
- package/dist/locale.js.map +1 -1
- package/dist/public-web-gateway.js +2 -2
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/topic-commands.js +3 -2
- package/dist/topic-commands.js.map +1 -1
- package/dist/ui/chat-render.js +6 -0
- package/dist/ui/chat-strings.js +17 -0
- package/dist/ui/chat-thread.js +22 -3
- package/dist/ui/image-lightbox.js +104 -0
- package/dist/ui/panel-chat.js +20 -52
- package/dist/ui/panel-details.js +146 -0
- package/dist/ui/panel-fleet.js +2 -1
- package/dist/ui/panel-settings.js +18 -0
- package/dist/ui/preview-panel.js +2 -1
- package/dist/ui/preview.js +49 -0
- package/dist/ui/settings-request.js +9 -0
- package/dist/ui/shared/agend-auth.js +15 -7
- package/dist/ui/shared/app-i18n.js +4 -2
- package/dist/ui/shared/app-route.js +7 -2
- package/dist/ui/shared/app-shell.js +22 -8
- package/dist/ui/shared/app.css +51 -1
- package/dist/ui/shared/app.js +6 -0
- package/dist/ui/shared/header-tools.js +93 -0
- package/dist/ui/shared/instance-nav.js +7 -4
- package/dist/ui/shared/instance-switch.js +16 -0
- package/dist/ui/shared/panel-view.js +14 -153
- package/dist/ui/shared/read-stream.js +26 -0
- package/dist/ui/shared/signin.js +38 -1
- package/dist/ui/shared/ui-icons.js +1 -0
- package/dist/ui/shared/usage-dialog.js +125 -0
- package/dist/ui/shared/view-strings.js +2 -2
- package/dist/ui/signin.html +3 -0
- package/dist/update-install.js +3 -1
- package/dist/update-install.js.map +1 -1
- package/dist/web-api.d.ts +16 -0
- package/dist/web-api.js +29 -4
- package/dist/web-api.js.map +1 -1
- package/dist/web-chat-history.d.ts +97 -6
- package/dist/web-chat-history.js +189 -12
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-chat-store.d.ts +45 -0
- package/dist/web-chat-store.js +192 -0
- package/dist/web-chat-store.js.map +1 -0
- package/dist/web-login.d.ts +2 -0
- package/dist/web-login.js +4 -0
- package/dist/web-login.js.map +1 -1
- package/dist/web-returning-device.d.ts +84 -0
- package/dist/web-returning-device.js +204 -0
- package/dist/web-returning-device.js.map +1 -0
- package/dist/web-shell-routes.d.ts +4 -0
- package/dist/web-shell-routes.js +9 -0
- package/dist/web-shell-routes.js.map +1 -1
- package/dist/web-upload.d.ts +21 -0
- package/dist/web-upload.js +50 -1
- package/dist/web-upload.js.map +1 -1
- package/launcher/old-updater-note.cjs +48 -0
- package/launcher/postinstall.cjs +8 -1
- package/package.json +1 -1
- package/scripts/preinstall-guard.cjs +5 -2
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
// pins none) AND a system Node older than ENGINES — AgEnD would install and then not start.
|
|
16
16
|
// Old syntax only (var, no ?. ??, no trailing call commas): this runs under whatever Node runs npm.
|
|
17
17
|
//
|
|
18
|
-
// Exiting 1 aborts the install
|
|
18
|
+
// Exiting 1 aborts the install. A previous install stays — except when AgEnD 2.1's updater started this one: it
|
|
19
|
+
// removes the previous AgEnD first (#1487), so the refusal says so and gives the restore commands (old-updater-note.cjs).
|
|
19
20
|
// --ignore-scripts bypasses this check; see Upgrade Notes in the changelog.
|
|
20
21
|
|
|
21
22
|
"use strict";
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
var path = require("path");
|
|
24
25
|
var fs = require("fs");
|
|
25
26
|
var platform = require(path.join(__dirname, "..", "launcher", "runtime-platform.cjs"));
|
|
27
|
+
var oldUpdater = require(path.join(__dirname, "..", "launcher", "old-updater-note.cjs"));
|
|
26
28
|
|
|
27
29
|
var ENGINES = "^22.14.0 || ^23.6.0 || >=24";
|
|
28
30
|
var running = process.versions.node;
|
|
@@ -50,6 +52,7 @@ process.stderr.write(
|
|
|
50
52
|
"\n" +
|
|
51
53
|
" Update Node to a compatible version, then retry:\n" +
|
|
52
54
|
" npm install -g @songsid/agend\n" +
|
|
53
|
-
"\n"
|
|
55
|
+
"\n" +
|
|
56
|
+
(function () { var note = oldUpdater.oldUpdaterNote(oldUpdater.oldUpdaterState(process.env)); return note ? note + "\n" : ""; })()
|
|
54
57
|
);
|
|
55
58
|
process.exit(1);
|