@songsid/agend 2.3.5-alpha.10 → 2.3.5-alpha.12
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/accounts-view.d.ts +17 -0
- package/dist/accounts-view.js +24 -8
- package/dist/accounts-view.js.map +1 -1
- package/dist/agent-cli-instructions.md +2 -2
- package/dist/auth-api.d.ts +48 -16
- package/dist/auth-api.js +83 -32
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/settings-role.d.ts +56 -0
- package/dist/authority/settings-role.js +48 -0
- package/dist/authority/settings-role.js.map +1 -0
- package/dist/backend/claude-code.d.ts +2 -0
- package/dist/backend/claude-code.js +32 -6
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/cli-env-probe.js +6 -2
- package/dist/backend/cli-env-probe.js.map +1 -1
- package/dist/backend/codex.d.ts +5 -3
- package/dist/backend/codex.js +31 -13
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/credential-profile.d.ts +18 -0
- package/dist/backend/credential-profile.js +46 -0
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/kiro.js +1 -1
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/muse.d.ts +3 -1
- package/dist/backend/muse.js +31 -1
- package/dist/backend/muse.js.map +1 -1
- package/dist/backend/types.d.ts +17 -1
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-availability.d.ts +15 -0
- package/dist/backend-availability.js +37 -1
- package/dist/backend-availability.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/bundled-tmux-guard.d.ts +4 -0
- package/dist/bundled-tmux-guard.js +7 -0
- package/dist/bundled-tmux-guard.js.map +1 -1
- package/dist/claude-auth-status.d.ts +20 -8
- package/dist/claude-auth-status.js +38 -22
- package/dist/claude-auth-status.js.map +1 -1
- package/dist/cli-audited.d.ts +60 -0
- package/dist/cli-audited.js +84 -0
- package/dist/cli-audited.js.map +1 -0
- package/dist/cli-capability.d.ts +36 -5
- package/dist/cli-capability.js +2 -2
- package/dist/cli-capability.js.map +1 -1
- package/dist/cli-caps-module.d.ts +5 -1
- package/dist/cli-caps-module.js +4 -2
- package/dist/cli-caps-module.js.map +1 -1
- package/dist/cli-registry-check.js +16 -2
- package/dist/cli-registry-check.js.map +1 -1
- package/dist/cli-registry.d.ts +56 -4
- package/dist/cli-registry.js +1 -1
- package/dist/cli-registry.js.map +1 -1
- package/dist/cli-spec-antigravity.d.ts +12 -1
- package/dist/cli-spec-antigravity.js +13 -1
- package/dist/cli-spec-antigravity.js.map +1 -1
- package/dist/cli-spec-claude-code.d.ts +9 -0
- package/dist/cli-spec-claude-code.js +4 -2
- package/dist/cli-spec-claude-code.js.map +1 -1
- package/dist/cli-spec-codex.d.ts +10 -1
- package/dist/cli-spec-codex.js +5 -3
- package/dist/cli-spec-codex.js.map +1 -1
- package/dist/cli-spec-grok.d.ts +5 -0
- package/dist/cli-spec-grok.js +6 -1
- package/dist/cli-spec-grok.js.map +1 -1
- package/dist/cli-spec-kiro-cli.d.ts +7 -1
- package/dist/cli-spec-kiro-cli.js +7 -3
- package/dist/cli-spec-kiro-cli.js.map +1 -1
- package/dist/cli-spec-muse.d.ts +2 -0
- package/dist/cli-spec-muse.js +3 -1
- package/dist/cli-spec-muse.js.map +1 -1
- package/dist/cli-spec-opencode.d.ts +11 -1
- package/dist/cli-spec-opencode.js +7 -2
- package/dist/cli-spec-opencode.js.map +1 -1
- package/dist/cli.js +28 -1
- package/dist/cli.js.map +1 -1
- package/dist/create-host-account.d.ts +17 -0
- package/dist/create-host-account.js +47 -0
- package/dist/create-host-account.js.map +1 -0
- package/dist/daemon.d.ts +26 -0
- package/dist/daemon.js +131 -10
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-outbox.js +7 -0
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/fleet-context.d.ts +5 -1
- package/dist/fleet-manager.d.ts +363 -71
- package/dist/fleet-manager.js +1374 -367
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-process-handlers.d.ts +1 -1
- package/dist/fleet-process-handlers.js +3 -2
- package/dist/fleet-process-handlers.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +21 -14
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +9 -8
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +9 -1
- package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +1 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +27 -20
- package/dist/instance-lifecycle.js +33 -3
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.js +29 -6
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +125 -81
- package/dist/locale.js.map +1 -1
- package/dist/login-manager.d.ts +2 -2
- package/dist/login-manager.js +3 -2
- package/dist/login-manager.js.map +1 -1
- package/dist/native-model-catalog.d.ts +20 -0
- package/dist/native-model-catalog.js +107 -2
- package/dist/native-model-catalog.js.map +1 -1
- package/dist/public-web-gateway.js +1 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.d.ts +5 -0
- package/dist/public-web-link.js +8 -0
- package/dist/public-web-link.js.map +1 -1
- package/dist/runtime-api.d.ts +1 -1
- package/dist/runtime-api.js +104 -12
- package/dist/runtime-api.js.map +1 -1
- package/dist/runtime-autostart.d.ts +61 -0
- package/dist/runtime-autostart.js +161 -0
- package/dist/runtime-autostart.js.map +1 -0
- package/dist/runtime-background.d.ts +200 -0
- package/dist/runtime-background.js +480 -0
- package/dist/runtime-background.js.map +1 -0
- package/dist/runtime-build-info.js +5 -5
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli-background.d.ts +92 -0
- package/dist/runtime-cli-background.js +336 -0
- package/dist/runtime-cli-background.js.map +1 -0
- package/dist/runtime-cli-install.d.ts +148 -8
- package/dist/runtime-cli-install.js +253 -59
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/runtime-cli.d.ts +8 -1
- package/dist/runtime-cli.js +206 -44
- package/dist/runtime-cli.js.map +1 -1
- package/dist/runtime-client-store.d.ts +11 -0
- package/dist/runtime-client-store.js +20 -5
- package/dist/runtime-client-store.js.map +1 -1
- package/dist/runtime-client.d.ts +23 -1
- package/dist/runtime-client.js +92 -6
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-connection.d.ts +1 -1
- package/dist/runtime-connection.js +1 -1
- package/dist/runtime-connection.js.map +1 -1
- package/dist/runtime-coordinator.d.ts +95 -1
- package/dist/runtime-coordinator.js +344 -10
- package/dist/runtime-coordinator.js.map +1 -1
- package/dist/runtime-enroll-notice.d.ts +4 -0
- package/dist/runtime-enroll-notice.js +21 -0
- package/dist/runtime-enroll-notice.js.map +1 -0
- package/dist/runtime-enrollment.d.ts +21 -0
- package/dist/runtime-enrollment.js +52 -0
- package/dist/runtime-enrollment.js.map +1 -0
- package/dist/runtime-pane-native.js +4 -4
- package/dist/runtime-pane-native.js.map +1 -1
- package/dist/runtime-protocol.d.ts +78 -1
- package/dist/runtime-protocol.js +95 -5
- package/dist/runtime-protocol.js.map +1 -1
- package/dist/runtime-remote-accounts.d.ts +12 -0
- package/dist/runtime-remote-accounts.js +56 -5
- package/dist/runtime-remote-accounts.js.map +1 -1
- package/dist/runtime-remote-setup.d.ts +4 -1
- package/dist/runtime-remote-setup.js +4 -1
- package/dist/runtime-remote-setup.js.map +1 -1
- package/dist/runtime-update-controller.d.ts +11 -0
- package/dist/runtime-update-controller.js +56 -4
- package/dist/runtime-update-controller.js.map +1 -1
- package/dist/settings-api.d.ts +13 -1
- package/dist/settings-api.js +44 -20
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.d.ts +5 -13
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-confirmation.d.ts +11 -13
- package/dist/settings-confirmation.js +2 -6
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.d.ts +5 -0
- package/dist/settings-effect.js +76 -10
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +8 -1
- package/dist/settings-http-confirmation.js +39 -13
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-request-capability.d.ts +7 -0
- package/dist/settings-request-capability.js +3 -1
- package/dist/settings-request-capability.js.map +1 -1
- package/dist/setup-i18n.js +4 -4
- package/dist/setup-i18n.js.map +1 -1
- package/dist/signin-keepalive.d.ts +25 -1
- package/dist/signin-keepalive.js +44 -1
- package/dist/signin-keepalive.js.map +1 -1
- package/dist/subagent-records.d.ts +45 -0
- package/dist/subagent-records.js +214 -0
- package/dist/subagent-records.js.map +1 -0
- package/dist/subagent-service.d.ts +27 -0
- package/dist/subagent-service.js +199 -0
- package/dist/subagent-service.js.map +1 -0
- package/dist/tmux-manager.d.ts +2 -2
- package/dist/tmux-manager.js +5 -3
- package/dist/tmux-manager.js.map +1 -1
- package/dist/ui/account-identity.js +7 -5
- package/dist/ui/accounts-keepalive.js +17 -17
- package/dist/ui/accounts-manage.js +34 -34
- package/dist/ui/accounts-view.js +68 -24
- package/dist/ui/agent-runtime-settings.js +1 -1
- package/dist/ui/backend-signin.js +67 -67
- package/dist/ui/chat-msg-actions.js +50 -4
- package/dist/ui/chat-quote.js +256 -0
- package/dist/ui/chat-store.js +9 -4
- package/dist/ui/cli-caps.js +7 -7
- package/dist/ui/credential-profile-select.js +4 -4
- package/dist/ui/general-location.js +1 -1
- package/dist/ui/host-install.js +290 -0
- package/dist/ui/hub-company-join-strings.js +3 -0
- package/dist/ui/hub-company-join.js +20 -2
- package/dist/ui/hub-owner-strings.js +5 -4
- package/dist/ui/hub-pairing-progress-strings.js +1 -1
- package/dist/ui/hub-quick-strings.js +4 -4
- package/dist/ui/hub-strings.js +6 -6
- package/dist/ui/machine-signin.js +4 -4
- package/dist/ui/model-picker.js +68 -0
- package/dist/ui/panel-chat.js +74 -13
- package/dist/ui/panel-fleet.js +8 -2
- package/dist/ui/panel-hub.js +8 -4
- package/dist/ui/panel-needs.js +2 -2
- package/dist/ui/panel-runtimes.js +232 -33
- package/dist/ui/panel-settings.js +7 -1
- package/dist/ui/panel-windows-cli.js +1 -1
- package/dist/ui/runtime-cli-install.js +99 -20
- package/dist/ui/runtime-commands.d.ts +2 -0
- package/dist/ui/runtime-commands.js +34 -1
- package/dist/ui/runtime-update-status.js +2 -2
- package/dist/ui/search-dialog.js +1 -0
- package/dist/ui/settings-access-overview.js +167 -0
- package/dist/ui/settings-access-strings.js +1 -1
- package/dist/ui/settings-catalog.js +19 -3
- package/dist/ui/settings-confirm.js +2 -2
- package/dist/ui/settings-devices.js +59 -25
- package/dist/ui/settings-dialogs.js +12 -13
- package/dist/ui/settings-guests.js +1 -1
- package/dist/ui/settings-hub-company-join.js +10 -7
- package/dist/ui/settings-hub-connection.js +121 -0
- package/dist/ui/settings-hub-membership.js +1 -1
- package/dist/ui/settings-hub-run.js +5 -6
- package/dist/ui/settings-hub-section.js +3 -6
- package/dist/ui/settings-hub.js +12 -7
- package/dist/ui/settings-layout.js +9 -7
- package/dist/ui/settings-outside.js +87 -19
- package/dist/ui/settings-registry.js +2 -1
- package/dist/ui/settings-revoke-strings.js +28 -0
- package/dist/ui/settings-strings.js +25 -25
- package/dist/ui/settings-web-authority.js +11 -4
- package/dist/ui/shared/accounts.css +11 -1
- package/dist/ui/shared/agend-auth.js +8 -1
- package/dist/ui/shared/app-i18n.js +10 -12
- package/dist/ui/shared/app-session.js +13 -16
- package/dist/ui/shared/app-shell.js +37 -37
- package/dist/ui/shared/app-store.js +2 -0
- package/dist/ui/shared/app.css +85 -14
- package/dist/ui/shared/chat-render.js +17 -5
- package/dist/ui/shared/chat-strings.js +4 -4
- package/dist/ui/shared/device-roles.js +27 -0
- package/dist/ui/shared/host-install.css +10 -0
- package/dist/ui/shared/hub-owner.css +6 -0
- package/dist/ui/shared/model-picker.css +21 -0
- package/dist/ui/shared/runtime-install.css +26 -1
- package/dist/ui/shared/setup-host-text.js +4 -4
- package/dist/ui/shared/signin.js +171 -64
- package/dist/ui/shared/subagent-row.css +15 -0
- package/dist/ui/shared/usage-dialog.js +28 -16
- package/dist/ui/shared/view-strings.js +7 -7
- package/dist/ui/shared/web-authorize.js +54 -4
- package/dist/ui/signin.html +19 -8
- package/dist/ui/structured-signin.js +30 -30
- package/dist/ui/subagent-row.js +72 -0
- package/dist/ui/web-terminal/terminal.js +9 -9
- package/dist/update-launch.js +4 -1
- package/dist/update-launch.js.map +1 -1
- package/dist/update-npm-env.d.ts +70 -0
- package/dist/update-npm-env.js +128 -0
- package/dist/update-npm-env.js.map +1 -0
- package/dist/usage/format-rich.js +1 -1
- package/dist/usage/format-rich.js.map +1 -1
- package/dist/usage/providers.js +2 -2
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/usage-api.d.ts +8 -2
- package/dist/usage/usage-api.js +12 -5
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/web-api.d.ts +38 -4
- package/dist/web-api.js +370 -18
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.js +1 -1
- package/dist/web-auth.js.map +1 -1
- package/dist/web-backend-login.d.ts +2 -0
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-channel-echo.js +3 -1
- package/dist/web-channel-echo.js.map +1 -1
- package/dist/web-commands.d.ts +9 -1
- package/dist/web-commands.js +7 -1
- package/dist/web-commands.js.map +1 -1
- package/dist/web-host-install.d.ts +127 -0
- package/dist/web-host-install.js +165 -0
- package/dist/web-host-install.js.map +1 -0
- package/dist/web-remote-access.d.ts +194 -11
- package/dist/web-remote-access.js +458 -34
- package/dist/web-remote-access.js.map +1 -1
- package/dist/web-session.d.ts +11 -3
- package/dist/web-session.js.map +1 -1
- package/dist/web-signin-device.d.ts +16 -0
- package/dist/web-signin-device.js +81 -0
- package/dist/web-signin-device.js.map +1 -0
- package/dist/web-update.js +3 -1
- package/dist/web-update.js.map +1 -1
- package/dist/windows-cli-api.js +2 -1
- package/dist/windows-cli-api.js.map +1 -1
- package/dist/windows-cli-worker.d.ts +14 -0
- package/dist/windows-cli-worker.js +145 -1
- package/dist/windows-cli-worker.js.map +1 -1
- package/dist/windows-cli.d.ts +4 -0
- package/dist/windows-cli.js +9 -1
- package/dist/windows-cli.js.map +1 -1
- package/launcher/agend-install.cjs +16 -3
- package/package.json +1 -1
- package/templates/runtime-install/install.ps1 +219 -12
|
@@ -14,7 +14,7 @@ import { CLI_CAPS } from "./cli-caps.js";
|
|
|
14
14
|
|
|
15
15
|
register("accountsManage", {
|
|
16
16
|
en: {
|
|
17
|
-
add: "+ Add account", addTitle: "Add a {0} account", addLead: "A named account is a separate
|
|
17
|
+
add: "+ Add account", addTitle: "Add a {0} account", addLead: "A named account is a separate connection on this host. Name it, then connect it.",
|
|
18
18
|
nameLabel: "Name", nameHint: "Letters, digits, dots, hyphens or underscores; it starts with a letter or digit.", addGo: "Add",
|
|
19
19
|
cancel: "Cancel", adding: "Adding…",
|
|
20
20
|
err_name: "Use 1–64 letters, digits, dots, hyphens or underscores, starting with a letter or digit; not ending with a dot, and not a Windows device name (CON, NUL…).",
|
|
@@ -23,40 +23,40 @@ register("accountsManage", {
|
|
|
23
23
|
err_backend: "This CLI has no named accounts.", err_failed: "That didn't work. Try again.",
|
|
24
24
|
added: "Account “{0}” added.", addedHostSignIn: "Account “{0}” added. Send /login in chat, or ask General.",
|
|
25
25
|
remove: "Remove", removeTitle: "Remove the {0} account “{1}”?",
|
|
26
|
-
removeLead: "This deletes the account's folder on this host: its
|
|
26
|
+
removeLead: "This deletes the account's folder on this host: its connection.", removeLeadClaude: "This deletes the account's folder on this host: its connection and its own copies of conversations.",
|
|
27
27
|
removeAfter: "Agents can't use it afterwards.", sep: " ",
|
|
28
28
|
inUse: "Still used by — move each to another account first:", inUseAgent: "Agent {0}", inUseRoom: "ClassicBot room {0}", inUseDefault: "The fleet default for {0} agents",
|
|
29
29
|
move: "Move…", roomHow: "Change it in that room's ClassicBot settings (its credential_profile).",
|
|
30
30
|
typeLabel: "Type {0} to confirm", removeGo: "Remove", removing: "Removing…", removed: "Account “{0}” removed.",
|
|
31
|
-
cancelAndRemove: "Cancel
|
|
32
|
-
err_confirm: "Type the account's name exactly.", err_in_use: "Something still uses this account.", err_signing_in: "
|
|
31
|
+
cancelAndRemove: "Cancel connecting and remove",
|
|
32
|
+
err_confirm: "Type the account's name exactly.", err_in_use: "Something still uses this account.", err_signing_in: "This account is being connected. Wait for that to end, or cancel it.",
|
|
33
33
|
err_missing: "This account's folder is no longer there.", err_unsafe: "This account's folder isn't a plain folder of this account inside AgEnD's accounts folder, so nothing was deleted.",
|
|
34
|
-
err_default_home: "That is the CLI's default
|
|
34
|
+
err_default_home: "That is the CLI's default connection, which is never deleted here.",
|
|
35
35
|
err_users_unknown: "AgEnD can't read the ClassicBot settings, so it can't tell whether a room uses this account. Fix classicBot.yaml, then try again.",
|
|
36
|
-
signOut: "
|
|
37
|
-
signOutLead: "AgEnD runs {0}'s own logout for this account on the host. Its conversations stay.",
|
|
38
|
-
switchLead: "AgEnD
|
|
39
|
-
stopUsers: "Using it now — they stop working until it's
|
|
40
|
-
signOutGo: "
|
|
41
|
-
keychainLeft: "
|
|
36
|
+
signOut: "Disconnect", switchAccount: "Switch account", signOutTitle: "Disconnect {0}'s {1}?", switchTitle: "Switch {0}'s default connection?",
|
|
37
|
+
signOutLead: "AgEnD runs {0}'s own logout command for this account on the host. Its conversations stay.",
|
|
38
|
+
switchLead: "AgEnD disconnects this account with {0}'s own logout command, then opens Connect for the account you want. Agents using it restart on the new account once you've connected.",
|
|
39
|
+
stopUsers: "Using it now — they stop working until it's connected again:", nobody: "No agent, ClassicBot room or fleet default uses it.",
|
|
40
|
+
signOutGo: "Disconnect", switchGo: "Disconnect and reconnect", signingOut: "Disconnecting…", signedOut: "Disconnected.",
|
|
41
|
+
keychainLeft: "Disconnected, but a Keychain item for this account is still on this Mac. Remove it in Keychain Access.",
|
|
42
42
|
removedKeychainLeft: "Account “{0}” removed, but a Keychain item for it is still on this Mac. Remove it in Keychain Access.",
|
|
43
|
-
err_unsupported: "This CLI can't be
|
|
44
|
-
defName: "default
|
|
43
|
+
err_unsupported: "This CLI can't be disconnected from here.", err_signout_failed: "{0}'s disconnect did not succeed. Try again here.",
|
|
44
|
+
defName: "default connection", acctName: "account “{0}”",
|
|
45
45
|
// #3190 Part 3c: an account on a paired computer (its Runtime does the work; the computer's owner has to allow it there).
|
|
46
|
-
addTitleMachine: "Add a {0} account on {1}", addLeadMachine: "A named account is a separate
|
|
47
|
-
removeLeadMachine: "This deletes the account's folder on {0}: its
|
|
46
|
+
addTitleMachine: "Add a {0} account on {1}", addLeadMachine: "A named account is a separate connection kept on {0}. Name it, then connect it here. Its folder is made by that computer's Runtime.",
|
|
47
|
+
removeLeadMachine: "This deletes the account's folder on {0}: its connection and its own copies of conversations. That computer's Runtime does it, and records it.",
|
|
48
48
|
inUseMachineDefault: "This computer's default account for agents (change it on that computer: agend-runtime profile default NAME)",
|
|
49
|
-
signOutLeadMachine: "AgEnD asks {0}'s Runtime to run {1}'s own logout for this account. Its conversations stay.",
|
|
49
|
+
signOutLeadMachine: "AgEnD asks {0}'s Runtime to run {1}'s own logout command for this account. Its conversations stay.",
|
|
50
50
|
err_machine_unknown: "That computer is not paired any more.", err_machine_offline: "That computer is offline. Start its Runtime, then try again.",
|
|
51
51
|
err_machine_unsupported: "That computer's Runtime is too old for this. Update the Runtime on it, then try again.",
|
|
52
52
|
err_machine_accounts_off: "The owner of that computer has not allowed this. On that computer run: agend-runtime remote-setup accounts on",
|
|
53
53
|
err_machine_unreachable: "That computer did not answer. Check its Runtime window, then try again.",
|
|
54
54
|
err_machine_profile_not_owned: "This account was not created by AgEnD's Runtime, so it can only be changed on that computer.",
|
|
55
|
-
err_machine_default_login: "That is the Windows user's own
|
|
55
|
+
err_machine_default_login: "That is the Windows user's own connection on that computer, which is never changed from here.",
|
|
56
56
|
err_machine_refused: "That computer did not do it.",
|
|
57
57
|
},
|
|
58
58
|
"zh-TW": {
|
|
59
|
-
add: "+ 新增帳號", addTitle: "新增 {0} 帳號", addLead: "
|
|
59
|
+
add: "+ 新增帳號", addTitle: "新增 {0} 帳號", addLead: "具名帳號是這台主機上另一組連接。先取名,再連接。",
|
|
60
60
|
nameLabel: "名稱", nameHint: "英文字母、數字、句點、連字號或底線;以字母或數字開頭。", addGo: "新增",
|
|
61
61
|
cancel: "取消", adding: "正在新增…",
|
|
62
62
|
err_name: "請用 1–64 個英文字母、數字、句點、連字號或底線,以字母或數字開頭;不能以句點結尾,也不能是 Windows 裝置名稱(CON、NUL…)。",
|
|
@@ -65,36 +65,36 @@ register("accountsManage", {
|
|
|
65
65
|
err_backend: "這個 CLI 沒有具名帳號。", err_failed: "沒有成功,請再試一次。",
|
|
66
66
|
added: "已新增帳號「{0}」。", addedHostSignIn: "已新增帳號「{0}」。請在聊天傳 /login,或請 General。",
|
|
67
67
|
remove: "移除", removeTitle: "要移除 {0} 帳號「{1}」嗎?",
|
|
68
|
-
removeLead: "
|
|
68
|
+
removeLead: "這會刪除這台主機上該帳號的資料夾:它的連接。", removeLeadClaude: "這會刪除這台主機上該帳號的資料夾:它的連接,以及它自己的對話副本。",
|
|
69
69
|
removeAfter: "之後 Agent 就不能使用它。", sep: "",
|
|
70
70
|
inUse: "仍在使用中,請先把每一項移到其他帳號:", inUseAgent: "Agent {0}", inUseRoom: "ClassicBot 房間 {0}", inUseDefault: "{0} Agent 的 Fleet 預設帳號",
|
|
71
71
|
move: "移動…", roomHow: "請在該房間的 ClassicBot 設定(credential_profile)中更改。",
|
|
72
72
|
typeLabel: "輸入 {0} 以確認", removeGo: "移除", removing: "正在移除…", removed: "已移除帳號「{0}」。",
|
|
73
|
-
cancelAndRemove: "
|
|
74
|
-
err_confirm: "請正確輸入帳號名稱。", err_in_use: "仍有項目在使用這個帳號。", err_signing_in: "
|
|
73
|
+
cancelAndRemove: "取消連接並移除",
|
|
74
|
+
err_confirm: "請正確輸入帳號名稱。", err_in_use: "仍有項目在使用這個帳號。", err_signing_in: "這個帳號正在連接。請等它結束,或取消它。",
|
|
75
75
|
err_missing: "這個帳號的資料夾已經不在了。", err_unsafe: "這個帳號的資料夾不是 AgEnD 帳號資料夾裡、屬於這個使用者的一般資料夾,所以沒有刪除任何東西。",
|
|
76
|
-
err_default_home: "那是 CLI
|
|
76
|
+
err_default_home: "那是 CLI 的預設連接,這裡永遠不會刪除它。",
|
|
77
77
|
err_users_unknown: "AgEnD 無法讀取 ClassicBot 設定,所以無法確定是否有房間在使用這個帳號。請先修正 classicBot.yaml 再試一次。",
|
|
78
|
-
signOut: "
|
|
79
|
-
signOutLead: "AgEnD 會在主機上用 {0}
|
|
80
|
-
switchLead: "AgEnD 會用 {0}
|
|
81
|
-
stopUsers: "
|
|
82
|
-
signOutGo: "
|
|
83
|
-
keychainLeft: "
|
|
78
|
+
signOut: "撤銷連接", switchAccount: "切換帳號", signOutTitle: "要撤銷連接:{0} 的{1}?", switchTitle: "要切換 {0} 的預設連接嗎?",
|
|
79
|
+
signOutLead: "AgEnD 會在主機上用 {0} 自己的登出指令撤銷這個帳號的連接。它的對話會保留。",
|
|
80
|
+
switchLead: "AgEnD 會用 {0} 自己的登出指令撤銷這個帳號的連接,然後開啟「連接」讓你連接想用的帳號。連接好後,使用它的 Agent 會以新帳號重新啟動。",
|
|
81
|
+
stopUsers: "目前使用中——在重新連接前它們都無法運作:", nobody: "沒有 Agent、ClassicBot 房間或 Fleet 預設在使用它。",
|
|
82
|
+
signOutGo: "撤銷連接", switchGo: "撤銷並重新連接", signingOut: "正在撤銷連接…", signedOut: "已撤銷連接。",
|
|
83
|
+
keychainLeft: "已撤銷連接,但這台 Mac 上仍有這個帳號的鑰匙圈項目。請在「鑰匙圈存取」中刪除。",
|
|
84
84
|
removedKeychainLeft: "已移除帳號「{0}」,但這台 Mac 上仍有它的鑰匙圈項目。請在「鑰匙圈存取」中刪除。",
|
|
85
|
-
err_unsupported: "這個 CLI
|
|
86
|
-
defName: "
|
|
85
|
+
err_unsupported: "這個 CLI 無法在這裡撤銷連接。", err_signout_failed: "{0} 的撤銷連接沒有成功。請在這裡再試一次。",
|
|
86
|
+
defName: "預設連接", acctName: "帳號「{0}」",
|
|
87
87
|
// #3190 Part 3c:配對電腦上的帳號(由那台電腦的 Runtime 執行;需要電腦的擁有者在那裡允許)。
|
|
88
|
-
addTitleMachine: "在 {1} 新增 {0} 帳號", addLeadMachine: "具名帳號是保存在 {0}
|
|
89
|
-
removeLeadMachine: "這會刪除 {0}
|
|
88
|
+
addTitleMachine: "在 {1} 新增 {0} 帳號", addLeadMachine: "具名帳號是保存在 {0} 上的另一組連接。先取名,再在這裡連接。它的資料夾由那台電腦的 Runtime 建立。",
|
|
89
|
+
removeLeadMachine: "這會刪除 {0} 上該帳號的資料夾:它的連接,以及它自己的對話副本。由那台電腦的 Runtime 執行並記錄。",
|
|
90
90
|
inUseMachineDefault: "這台電腦給 Agent 用的預設帳號(請在那台電腦上更改:agend-runtime profile default NAME)",
|
|
91
|
-
signOutLeadMachine: "AgEnD 會請 {0} 的 Runtime 用 {1}
|
|
91
|
+
signOutLeadMachine: "AgEnD 會請 {0} 的 Runtime 用 {1} 自己的登出指令撤銷這個帳號的連接。它的對話會保留。",
|
|
92
92
|
err_machine_unknown: "那台電腦已不再配對。", err_machine_offline: "那台電腦離線了。請先啟動它的 Runtime,再試一次。",
|
|
93
93
|
err_machine_unsupported: "那台電腦的 Runtime 太舊,無法這樣做。請先更新它的 Runtime,再試一次。",
|
|
94
94
|
err_machine_accounts_off: "那台電腦的擁有者尚未允許這件事。請在那台電腦上執行:agend-runtime remote-setup accounts on",
|
|
95
95
|
err_machine_unreachable: "那台電腦沒有回應。請檢查它的 Runtime 視窗,再試一次。",
|
|
96
96
|
err_machine_profile_not_owned: "這個帳號不是 AgEnD 的 Runtime 建立的,只能在那台電腦上更改。",
|
|
97
|
-
err_machine_default_login: "那是那台電腦上 Windows
|
|
97
|
+
err_machine_default_login: "那是那台電腦上 Windows 使用者自己的連接,這裡永遠不會更改它。",
|
|
98
98
|
err_machine_refused: "那台電腦沒有執行。",
|
|
99
99
|
},
|
|
100
100
|
});
|
package/dist/ui/accounts-view.js
CHANGED
|
@@ -27,61 +27,69 @@ import { shellStore } from "/assets/app-shell.js";
|
|
|
27
27
|
import { AddAccountDialog, RemoveAccountDialog, SignOutDialog, SIGN_OUT_CLIS, manageWords } from "./accounts-manage.js"; // #3212 PR 2, PR 3
|
|
28
28
|
import { machineSignInStore, openMachineSignIn } from "./machine-signin.js"; // #3190 Part 3c
|
|
29
29
|
import { KeepAliveControl } from "./accounts-keepalive.js"; // #3292
|
|
30
|
+
// AGEND-133 (#3521). AGEND-144 (Prism on #3539, P2-5): `VersionLine` is new in #3539's host-install.js. A static named import of it fails to LINK against a retained older host-install.js (a tab or
|
|
31
|
+
// cache that still holds #3536's module: "does not provide an export named 'VersionLine'") and takes the whole page with it. A namespace import links with either; the names both modules
|
|
32
|
+
// have are read as before, and a copy of host-install.js without the version line simply shows no version line (the Install button and the run are all it ever had).
|
|
33
|
+
import * as hostInstall from "./host-install.js";
|
|
34
|
+
const { HostInstallRun, InstallButton, hostInstallStore, hostInstallText, installRunning, refreshHostInstall, runFor } = hostInstall;
|
|
35
|
+
const VersionLine = typeof hostInstall.VersionLine === "function" ? hostInstall.VersionLine : () => null;
|
|
30
36
|
|
|
31
37
|
register("accounts", {
|
|
32
38
|
en: {
|
|
33
|
-
title: "Accounts", hint: "Each CLI's
|
|
39
|
+
title: "Accounts", hint: "Each CLI's connections on this AgEnD host and on paired computers: the default one and named accounts (credential profiles), who uses them and their weekly usage.",
|
|
34
40
|
loading: "Reading accounts…", failed: "Could not read the accounts.", empty: "No CLI is installed or used by an agent on this host.",
|
|
35
|
-
def: "Default
|
|
41
|
+
def: "Default connection", profile: "Account “{0}”", state_usable: "connected", state_not_signed_in: "not connected", state_reconnect: "needs reconnecting", state_unknown: "not checked",
|
|
36
42
|
state_not_installed: "not installed", state_too_old: "too old",
|
|
37
43
|
usedBy: "used by {0}", usedByNone: "used by no agent", agents: "{0} agents", agent: "1 agent", channels: "{0} ClassicBot rooms", channel: "1 ClassicBot room",
|
|
38
44
|
fleetDefaultTag: "fleet default",
|
|
39
45
|
usageLabel: "Usage", winHours: "{0}h", winDays: "{0}d", winWeek: "7d", winStale: "(stale)",
|
|
40
|
-
signIn: "
|
|
46
|
+
signIn: "Connect", signInAgain: "Reconnect", hostCommand: "Connect from chat", hostCommandHint: "This row cannot be connected from the dashboard. Send /login in chat, or ask General.",
|
|
41
47
|
moveHere: "Move agents here", moveTitle: "Move agents to {0}", moveLead: "Choose the {0} agents that should use {1}. Each restarts on it when you Save:",
|
|
42
48
|
carry_claude: "Claude Code carries its conversation over.", carry_codex: "Codex keeps its conversation.", carry_kiro: "Kiro starts a new conversation, with a handover.",
|
|
43
49
|
moveNone: "Every {0} agent already uses this account.", moveStage: "Stage", cancel: "Cancel", current: "now: {0}",
|
|
44
50
|
fleetDefault: "Fleet default for {0} agents", fleetDefaultHint: "Agents that don't choose an account use this one.",
|
|
45
51
|
machine: "On {0}", machineReadOnly: "Read-only here", machineOnline: "online", machineOffline: "offline", machineDefaultTag: "this computer's default",
|
|
46
52
|
machineNoUsage: "—", machineNoUsageHint: "That computer does not report usage.",
|
|
47
|
-
machineCommand: "
|
|
53
|
+
machineCommand: "Connect on that computer", machineCommandHint: "Run this in a terminal on {0}.",
|
|
48
54
|
why_offline: "{0} is offline. Start its Runtime to manage its accounts.",
|
|
49
55
|
why_runtime_old: "{0}'s Runtime is too old to manage accounts from here. Update the Runtime on that computer.",
|
|
50
56
|
why_accounts_off: "The owner of {0} has not allowed account changes from AgEnD. On that computer run: agend-runtime remote-setup accounts on",
|
|
51
57
|
why_switch_unreadable: "{0} did not say whether account changes are allowed. Check its Runtime window.",
|
|
52
58
|
why_not_installed: "Claude Code is not installed on {0}. Install it from Settings → Runtime.",
|
|
53
59
|
why_not_created: "This account was not created by AgEnD's Runtime, so it can only be handled on {0}.",
|
|
54
|
-
why_default_login: "This is the Windows user's own
|
|
55
|
-
acctLabel: "Account", acctInherit: "Fleet default ({0})", acctInheritDefault: "Fleet default (default
|
|
56
|
-
acctHint: "Changing the account restarts the agent. A
|
|
60
|
+
why_default_login: "This is the Windows user's own connection on {0}. It is never changed from here: add an account instead.",
|
|
61
|
+
acctLabel: "Account", acctInherit: "Fleet default ({0})", acctInheritDefault: "Fleet default (default connection)", acctNotSignedIn: "{0} — not connected",
|
|
62
|
+
acctHint: "Changing the account restarts the agent. A disconnected account can't be chosen: connect it under Accounts first.",
|
|
63
|
+
acctHintCreate: "The new agent connects with this account from its first start. A disconnected account can't be chosen: connect it under Accounts first.",
|
|
57
64
|
acctDefaultBlocked: "This fleet's default for {0} is “{1}”, so an agent follows it unless it names another account.",
|
|
58
65
|
usedPopTitle: "Agents using this account — choose one to open its settings",
|
|
59
66
|
},
|
|
60
67
|
"zh-TW": {
|
|
61
|
-
title: "帳號", hint: "這台 AgEnD 主機與已配對電腦上各 CLI
|
|
68
|
+
title: "帳號", hint: "這台 AgEnD 主機與已配對電腦上各 CLI 的連接:預設連接與具名帳號(憑證設定檔)、誰在使用,以及每週用量。",
|
|
62
69
|
loading: "正在讀取帳號…", failed: "無法讀取帳號。", empty: "這台主機上沒有安裝或被 Agent 使用的 CLI。",
|
|
63
|
-
def: "
|
|
70
|
+
def: "預設連接", profile: "帳號「{0}」", state_usable: "已連接", state_not_signed_in: "尚未連接", state_reconnect: "需要重新連接", state_unknown: "未確認",
|
|
64
71
|
state_not_installed: "未安裝", state_too_old: "版本太舊",
|
|
65
72
|
usedBy: "使用者:{0}", usedByNone: "沒有 Agent 使用", agents: "{0} 個 Agent", agent: "1 個 Agent", channels: "{0} 個 ClassicBot 房間", channel: "1 個 ClassicBot 房間",
|
|
66
73
|
fleetDefaultTag: "Fleet 預設",
|
|
67
74
|
usageLabel: "用量", winHours: "{0}h", winDays: "{0}天", winWeek: "本週", winStale: "(未更新)",
|
|
68
|
-
signIn: "
|
|
75
|
+
signIn: "連接", signInAgain: "重新連接", hostCommand: "從聊天連接", hostCommandHint: "這一列無法從儀表板連接。請在聊天傳 /login,或請 General。",
|
|
69
76
|
moveHere: "移入 Agent", moveTitle: "把 Agent 移到 {0}", moveLead: "選擇要改用 {1} 的 {0} Agent。按「儲存」後,各自會以它重新啟動:",
|
|
70
77
|
carry_claude: "Claude Code 會帶著對話過去。", carry_codex: "Codex 保留原本的對話。", carry_kiro: "Kiro 會開新對話並附上交接。",
|
|
71
78
|
moveNone: "所有 {0} Agent 都已經使用這個帳號。", moveStage: "加入待儲存", cancel: "取消", current: "目前:{0}",
|
|
72
79
|
fleetDefault: "{0} Agent 的 Fleet 預設帳號", fleetDefaultHint: "沒有指定帳號的 Agent 會使用這個。",
|
|
73
80
|
machine: "在 {0}", machineReadOnly: "這裡只能檢視", machineOnline: "在線", machineOffline: "離線", machineDefaultTag: "這台電腦的預設",
|
|
74
81
|
machineNoUsage: "—", machineNoUsageHint: "那台電腦不回報用量。",
|
|
75
|
-
machineCommand: "
|
|
82
|
+
machineCommand: "在那台電腦上連接", machineCommandHint: "請在 {0} 的終端機執行。",
|
|
76
83
|
why_offline: "{0} 離線了。請先啟動它的 Runtime,才能管理它的帳號。",
|
|
77
84
|
why_runtime_old: "{0} 的 Runtime 太舊,無法從這裡管理帳號。請更新那台電腦上的 Runtime。",
|
|
78
85
|
why_accounts_off: "{0} 的擁有者尚未允許從 AgEnD 變更帳號。請在那台電腦上執行:agend-runtime remote-setup accounts on",
|
|
79
86
|
why_switch_unreadable: "{0} 沒有回報是否允許變更帳號。請檢查它的 Runtime 視窗。",
|
|
80
87
|
why_not_installed: "{0} 上沒有安裝 Claude Code。請從「設定 → Runtime」安裝。",
|
|
81
88
|
why_not_created: "這個帳號不是 AgEnD 的 Runtime 建立的,只能在 {0} 上處理。",
|
|
82
|
-
why_default_login: "這是 {0} 上 Windows
|
|
83
|
-
acctLabel: "帳號", acctInherit: "Fleet 預設({0})", acctInheritDefault: "Fleet
|
|
84
|
-
acctHint: "更換帳號會重新啟動 Agent
|
|
89
|
+
why_default_login: "這是 {0} 上 Windows 使用者自己的連接,永遠不會從這裡更改:請改用新增帳號。",
|
|
90
|
+
acctLabel: "帳號", acctInherit: "Fleet 預設({0})", acctInheritDefault: "Fleet 預設(預設連接)", acctNotSignedIn: "{0}——尚未連接",
|
|
91
|
+
acctHint: "更換帳號會重新啟動 Agent。尚未連接的帳號不能選,請先在「帳號」連接。",
|
|
92
|
+
acctHintCreate: "新 Agent 從第一次啟動就會使用這個帳號。尚未連接的帳號不能選,請先在「帳號」連接。",
|
|
85
93
|
acctDefaultBlocked: "這個 Fleet 的 {0} 預設帳號是「{1}」,Agent 除非指定其他帳號,否則會使用它。",
|
|
86
94
|
usedPopTitle: "使用此帳號的 Agent(點擊跳轉設定)",
|
|
87
95
|
},
|
|
@@ -113,7 +121,8 @@ export function listenAccountsEvent() {
|
|
|
113
121
|
if (accountsEventOff) return;
|
|
114
122
|
const on = appStore.get().streamOn;
|
|
115
123
|
if (typeof on !== "function") return;
|
|
116
|
-
|
|
124
|
+
// AGEND-133: the same event moves a dashboard install (started, ended): its run is read again with the accounts, on this one listener.
|
|
125
|
+
accountsEventOff = on("backend_login", () => { if (accountsStore.get().loaded) { void refreshAccounts({ fresh: true }); void refreshHostInstall(); } }) || (() => {});
|
|
117
126
|
}
|
|
118
127
|
let reading = null, started = 0, applied = 0;
|
|
119
128
|
/**
|
|
@@ -211,13 +220,15 @@ export function AccountsView({ instances, stageAgent, stageDefault, openAgent })
|
|
|
211
220
|
const interaction = useRef(0);
|
|
212
221
|
const begin = (fn) => (...a) => { interaction.current++; fn(...a); };
|
|
213
222
|
// The sign-in controllers' state too (a sign-in already running disables Sign in, as the old list did).
|
|
214
|
-
useEffect(() => { linkAccountsCss(); listenAccountsEvent(); void refreshAccounts(); void refreshSignIn(); }, []);
|
|
223
|
+
useEffect(() => { linkAccountsCss(); listenAccountsEvent(); void refreshAccounts(); void refreshSignIn(); void refreshHostInstall(); }, []);
|
|
215
224
|
// A sign-in that ends may be another account now: read again.
|
|
216
|
-
const
|
|
225
|
+
const install = useStore(hostInstallStore);
|
|
226
|
+
const phase = `${(login && login.phase) || ""}:${(structured && structured.login && structured.login.phase) || ""}:${machineLogin.phase || ""}:${(install.run && install.run.phase) || ""}`;
|
|
217
227
|
useEffect(() => { if (loaded) void refreshAccounts(); }, [phase]);
|
|
218
228
|
const active = structured && structured.login;
|
|
219
229
|
const machineActive = !!machineLogin.phase && machineLogin.phase !== "done" && !(machineLogin.phase === "failed" && machineLogin.reason);
|
|
220
|
-
|
|
230
|
+
// AGEND-133: the host's login window is one — an install running holds Sign in, and a sign-in running holds Install.
|
|
231
|
+
const running = !!((login && login.phase === "running") || (active && active.phase !== "done" && !(active.phase === "failed" && active.reason)) || machineActive || installRunning(install));
|
|
221
232
|
if (!loaded) return html`<section class="s-group s-accounts" aria-label=${tx("title")}>
|
|
222
233
|
<header class="s-auth-section-head"><div><h3>${tx("title")}</h3><p>${tx("hint")}</p></div></header>
|
|
223
234
|
<${Skeleton} variant="cards" lines=${2} label=${tx("loading")} /></section>`;
|
|
@@ -290,6 +301,13 @@ function Card({ cli, running, openAgent, onMove, stageDefault, onAdd, onRemove,
|
|
|
290
301
|
const machines = new Map();
|
|
291
302
|
for (const r of cli.rows) if (r.scope && r.scope.kind === "machine") { const k = r.scope.id; if (!machines.has(k)) machines.set(k, { scope: r.scope, rows: [] }); machines.get(k).rows.push(r); }
|
|
292
303
|
const signedIn = host.filter((r) => r.profile && r.state !== "not_signed_in");
|
|
304
|
+
// AGEND-133: a CLI with no account card of its own (OpenCode) is listed only to be installed: its state, Install, and the install's progress and verdict.
|
|
305
|
+
if (cli.installOnly) {
|
|
306
|
+
const row = host[0];
|
|
307
|
+
return html`<div class="card s-account-card s-account-install-only" data-backend=${cli.backend}>
|
|
308
|
+
<div class="s-account-head"><${CliProductMark} id=${cli.backend} size=${24} /><strong>${cliLabel(cli.backend)}</strong></div>
|
|
309
|
+
<div class="s-account-rows"><${InstallOnlyRow} row=${row} running=${running} /></div></div>`;
|
|
310
|
+
}
|
|
293
311
|
return html`<div class="card s-account-card" data-backend=${cli.backend}>
|
|
294
312
|
<div class="s-account-head"><${CliProductMark} id=${cli.backend} size=${24} /><strong>${cliLabel(cli.backend)}</strong>
|
|
295
313
|
${cli.profiles && typeof onAdd === "function" ? html`<button type="button" class="btn btn-sm s-account-add" onClick=${() => onAdd()}>${manageWords.add()}</button>` : null}</div>
|
|
@@ -306,6 +324,23 @@ function Card({ cli, running, openAgent, onMove, stageDefault, onAdd, onRemove,
|
|
|
306
324
|
</div>`;
|
|
307
325
|
}
|
|
308
326
|
|
|
327
|
+
/** AGEND-133: the row of a CLI that has no sign-in to show (OpenCode): not installed → Install; the install's progress and verdict under it. */
|
|
328
|
+
function InstallOnlyRow({ row, running }) {
|
|
329
|
+
const state = useStore(hostInstallStore);
|
|
330
|
+
const run = runFor(state, row.backend);
|
|
331
|
+
const installingNow = !!run && run.phase === "running";
|
|
332
|
+
const canInstall = row.state === "not_installed" && !!row.install;
|
|
333
|
+
return html`<div class="s-row s-account-row" data-account="default">
|
|
334
|
+
<div class="s-account-title-bar">
|
|
335
|
+
<div class="s-account-title-left"><span class=${`tag s-auth-state is-${row.state || "unknown"}`}>${installingNow ? hostInstallText(run.mode === "update" ? "updating" : "installing") : tx(row.reconnect ? "state_reconnect" : `state_${row.state || "unknown"}`)}</span></div>
|
|
336
|
+
<span class="s-actions">${canInstall ? html`<${InstallButton} backend=${row.backend} blocked=${running} />` : null}</span>
|
|
337
|
+
</div>
|
|
338
|
+
${canInstall && !run ? html`<p class="note s-account-why">${hostInstallText("notInstalled")}</p>` : null}
|
|
339
|
+
<${VersionLine} row=${row} label=${cliLabel(row.backend)} blocked=${running} />
|
|
340
|
+
<${HostInstallRun} backend=${row.backend} label=${cliLabel(row.backend)} />
|
|
341
|
+
</div>`;
|
|
342
|
+
}
|
|
343
|
+
|
|
309
344
|
/**
|
|
310
345
|
* #3190 Part 3c: one paired computer's accounts under its name: online or not, why nothing can be changed there when that is so (said once, for the whole
|
|
311
346
|
* computer), + Add account where its Runtime will take one, and its rows.
|
|
@@ -342,6 +377,11 @@ function Row({ cli, row, onMove, onRemove, onSignIn = openSignIn, onSignOut, ope
|
|
|
342
377
|
const manageable = !machine || (row.signIn && !!row.profile);
|
|
343
378
|
const canSignOut = manageable && typeof onSignOut === "function" && row.state === "usable" && SIGN_OUT_CLIS.has(row.backend);
|
|
344
379
|
const who = identityText(row.identity);
|
|
380
|
+
// AGEND-133 (#3521): a CLI that is not installed on the host gets Install on its default row (the server looks up the command; the page sends the CLI's id).
|
|
381
|
+
const canInstall = !machine && !row.profile && row.state === "not_installed" && !!row.install;
|
|
382
|
+
const installState = useStore(hostInstallStore);
|
|
383
|
+
const installRun = !machine && !row.profile ? runFor(installState, row.backend) : null;
|
|
384
|
+
const installingNow = !!installRun && installRun.phase === "running";
|
|
345
385
|
// The week's usage and the short window's (the "5h"), as the server gives them; a CLI that reports one shows one.
|
|
346
386
|
const windows = [row.shortUsage ? ["short", row.shortUsage] : null, row.usage ? ["weekly", row.usage] : null].filter(Boolean);
|
|
347
387
|
const stale = windows.some(([, w]) => w.stale);
|
|
@@ -350,11 +390,12 @@ function Row({ cli, row, onMove, onRemove, onSignIn = openSignIn, onSignOut, ope
|
|
|
350
390
|
return html`<div class="s-row s-account-row" data-account=${row.profile || "default"}>
|
|
351
391
|
<div class="s-account-title-bar">
|
|
352
392
|
<div class="s-account-title-left"><strong>${rowName(row)}</strong>
|
|
353
|
-
<span class=${`tag s-auth-state is-${row.state || "unknown"}`}>${tx(`state_${row.state || "unknown"}`)}</span>
|
|
393
|
+
<span class=${`tag s-auth-state is-${row.state || "unknown"}`}>${installingNow ? hostInstallText(installRun.mode === "update" ? "updating" : "installing") : tx(row.reconnect ? "state_reconnect" : `state_${row.state || "unknown"}`)}</span>
|
|
354
394
|
${row.usedBy.fleetDefault && cli.profiles ? html`<span class="tag s-account-default-tag">${machine ? tx("machineDefaultTag") : tx("fleetDefaultTag")}</span>` : null}</div>
|
|
355
395
|
${readOnly ? null : html`<span class="s-actions">
|
|
396
|
+
${canInstall ? html`<${InstallButton} backend=${row.backend} blocked=${running} />` : null}
|
|
356
397
|
${row.signIn && typeof onSignIn === "function" ? html`<button type="button" class=${row.state === "not_signed_in" ? "btn btn-sm btn-primary" : "btn btn-sm"} disabled=${running} onClick=${() => onSignIn({ backend: row.backend, ...(row.profile ? { profile: row.profile } : {}), ...(machine ? { machine } : {}) })}>${row.state === "usable" ? tx("signInAgain") : tx("signIn")}</button>` : null}
|
|
357
|
-
${!machine && cli.profiles && row.state !== "not_signed_in" && typeof onMove === "function" ? html`<button type="button" class="btn btn-sm" onClick=${() => onMove(row)}>${tx("moveHere")}</button>` : null}
|
|
398
|
+
${!machine && cli.profiles && row.state !== "not_signed_in" && row.state !== "not_installed" && typeof onMove === "function" ? html`<button type="button" class="btn btn-sm" onClick=${() => onMove(row)}>${tx("moveHere")}</button>` : null}
|
|
358
399
|
${canSignOut && !machine && !row.profile && row.signIn ? html`<button type="button" class="btn btn-sm s-account-switch" disabled=${running} onClick=${() => onSignOut(row, "switch")}>${manageWords.switchAccount()}</button>` : null}
|
|
359
400
|
${canSignOut ? html`<button type="button" class="btn btn-sm btn-ghost s-account-signout" disabled=${running} onClick=${() => onSignOut(row, "signout")}>${manageWords.signOut()}</button>` : null}
|
|
360
401
|
${manageable && row.profile && typeof onRemove === "function" ? html`<button type="button" class="btn btn-sm btn-ghost danger s-account-remove" onClick=${() => onRemove(row)}>${manageWords.remove()}</button>` : null}
|
|
@@ -370,8 +411,11 @@ function Row({ cli, row, onMove, onRemove, onSignIn = openSignIn, onSignOut, ope
|
|
|
370
411
|
${stale ? html`<small class="s-usage-stale">${tx("winStale")}</small>` : null}
|
|
371
412
|
</div>` : null}
|
|
372
413
|
${why ? html`<p class="note s-account-why">${why}</p>` : null}
|
|
414
|
+
${canInstall && !installRun ? html`<p class="note s-account-why">${hostInstallText("notInstalled")}</p>` : null}
|
|
415
|
+
${!machine && !row.profile && !readOnly ? html`<${VersionLine} row=${row} label=${cliLabel(row.backend)} blocked=${running} />` : null}
|
|
416
|
+
${!machine && !row.profile ? html`<${HostInstallRun} backend=${row.backend} label=${cliLabel(row.backend)} />` : null}
|
|
373
417
|
${!readOnly && !row.signIn && row.hostCommand ? html`<details class="s-host-cli-help"><summary>${machine ? tx("machineCommand") : tx("hostCommand")}</summary><p class="note">${machine ? tx("machineCommandHint", machine.name) : tx("hostCommandHint")}</p>${machine ? html`<p class="s-host-cli-command"><code>${row.hostCommand}</code></p>` : null}</details>` : null}
|
|
374
|
-
${!readOnly && row.keepAlive && (!row.scope || row.scope.kind === "host") ? html`<${KeepAliveControl} row=${row} onSaved=${() => refreshAccounts({ fresh: true })} />` : null}
|
|
418
|
+
${!readOnly && row.keepAlive && row.state !== "not_installed" && (!row.scope || row.scope.kind === "host") ? html`<${KeepAliveControl} row=${row} onSaved=${() => refreshAccounts({ fresh: true })} />` : null}
|
|
375
419
|
</div>`;
|
|
376
420
|
}
|
|
377
421
|
|
|
@@ -403,16 +447,16 @@ function MoveDialog({ cli, row, instances, stageAgent, onClose }) {
|
|
|
403
447
|
* The Agent dialog's Account field (host agents of a CLI with credential profiles). `value`: the agent's own profile
|
|
404
448
|
* ("" = it names none and follows the fleet default). A signed-out account is listed but disabled.
|
|
405
449
|
*/
|
|
406
|
-
export function AccountSelect({ id, backend, value, onChange }) {
|
|
450
|
+
export function AccountSelect({ id, backend, value, onChange, creating = false, disabled = false }) {
|
|
407
451
|
const { loaded, view } = useStore(accountsStore);
|
|
408
452
|
useEffect(() => { if (!loaded) void refreshAccounts(); }, []);
|
|
409
453
|
const choices = accountChoices(view, backend);
|
|
410
454
|
if (!choices) return null;
|
|
411
455
|
const inherit = choices.fleetDefault ? tx("acctInherit", choices.fleetDefault) : tx("acctInheritDefault");
|
|
412
456
|
return html`<div class="field s-account-select"><label for=${id}>${tx("acctLabel")}</label>
|
|
413
|
-
<select id=${id} value=${value || ""} onChange=${(e) => onChange(e.target.value)}>
|
|
457
|
+
<select id=${id} value=${value || ""} disabled=${disabled} onChange=${(e) => onChange(e.target.value)}>
|
|
414
458
|
<option value="">${inherit}</option>
|
|
415
459
|
${choices.rows.map((r) => html`<option value=${r.profile} disabled=${r.state === "not_signed_in" && r.profile !== value}>${r.state === "not_signed_in" ? tx("acctNotSignedIn", r.profile) : r.profile}</option>`)}
|
|
416
460
|
</select>
|
|
417
|
-
<p class="note">${tx("acctHint")}${choices.fleetDefault ? ` ${tx("acctDefaultBlocked", cliLabel(backend), choices.fleetDefault)}` : ""}</p></div>`;
|
|
461
|
+
<p class="note">${tx(creating ? "acctHintCreate" : "acctHint")}${choices.fleetDefault ? ` ${tx("acctDefaultBlocked", cliLabel(backend), choices.fleetDefault)}` : ""}</p></div>`;
|
|
418
462
|
}
|
|
@@ -61,7 +61,7 @@ export function AgentRuntimeChangeDialog({name,inst,onClose,onChanged}){
|
|
|
61
61
|
return html`<${Dialog} title=${text("title")} cls="agent-runtime-change-dialog" busy=${busy} onClose=${close} wide=${true} actions=${html`<button type="button" class="btn" disabled=${busy} onClick=${close}>${text("cancel")}</button>${step===2?html`<button type="button" class="btn" disabled=${busy||uncertain} onClick=${()=>setStep(1)}>${text("back")}</button>`:null}<button type="button" class="btn btn-primary" disabled=${busy||uncertain||!source||!targetReady||(step===2&&(!f.fresh||!allowedRead&&f.access==="read-only"))} onClick=${step===1?()=>setStep(2):submit}>${text(step===1?"next":"apply")}</button>`}>
|
|
62
62
|
<div class="form agent-runtime-change" aria-busy=${busy}><p>${text("lead")}</p>${!source&&!error?html`<${Skeleton} variant="rows" lines=${3} label=${text("loading")} />`:null}
|
|
63
63
|
${source&&step===1?html`<${RuntimePicker} value=${f.runtime} onChange=${runtime=>choose(runtime)} windowsEnabled=${windowsCli===true} machineId=${f.machineId} machines=${machines} onMachineChange=${id=>choose("windows",id)} onRefresh=${machinesState.refresh} loaded=${!!machinesState.data && !machinesState.error}/><div class="field"><label>${tr("backend")}</label><${CliPicker} value=${f.backend} choices=${choices} label=${tr("backend")} onChange=${backend=>setForm(old=>({...old,backend,model:"",credentialProfile:backend==="claude-code"?old.credentialProfile:"",fresh:false}))}/></div>${removedBackendReplacement(f.backend)?html`<p class="note" role="status">${text("removed",f.backend,removedBackendReplacement(f.backend))}</p>`:null}${!choices.length?html`<p class="note">${text("noCli")}</p>`:null}`:null}
|
|
64
|
-
${source&&step===2?html`<h3>${text("configure")}</h3><p><strong>${machine?.name||(windows?tr("windows"):tr("wsl"))}</strong> · ${cliLabel(f.backend)}</p><label class="field"><span>${tr("directory")}</span><input value=${f.directory} disabled=${busy||uncertain} onInput=${event=>set("directory",event.target.value)}/></label><p class="note">${text("directoryHint")}</p><div class="field"><label for="runtime-change-model">${t("settings.model")}</label><${ModelSelect} id="runtime-change-model" disabled=${busy||uncertain} value=${f.model} onChange=${value=>set("model",value)} backend=${f.backend} instance=${!windows&&source.runtime==="wsl"&&source.backend===f.backend?name:undefined} runtime=${f.runtime} machineId=${f.machineId} inherit=${t("settings.modelCliDefault")}/></div>
|
|
64
|
+
${source&&step===2?html`<h3>${text("configure")}</h3><p><strong>${machine?.name||(windows?tr("windows"):tr("wsl"))}</strong> · ${cliLabel(f.backend)}</p><label class="field"><span>${tr("directory")}</span><input value=${f.directory} disabled=${busy||uncertain} onInput=${event=>set("directory",event.target.value)}/></label><p class="note">${text("directoryHint")}</p><div class="field"><label for="runtime-change-model">${t("settings.model")}</label><${ModelSelect} id="runtime-change-model" disabled=${busy||uncertain} value=${f.model} onChange=${value=>set("model",value)} backend=${f.backend} instance=${!windows&&source.runtime==="wsl"&&source.backend===f.backend?name:undefined} runtime=${f.runtime} machineId=${f.machineId} profile=${f.credentialProfile} inherit=${t("settings.modelCliDefault")}/></div>
|
|
65
65
|
${windows?html`<label class="field"><span>${tr("access")}</span><select value=${f.access} disabled=${busy||uncertain} onChange=${event=>set("access",event.target.value)}><option value="read-only" disabled=${!allowedRead}>${tr("read")}</option><option value="workspace-write">${tr("write")}</option></select></label>${!allowedRead?html`<p class="note" role="status">${tr("noReadOnly")}</p>`:null}<label class="field"><span>${tr("adapter")}</span><select value=${f.adapter} disabled=${busy||uncertain} onChange=${event=>set("adapter",event.target.value)}><option value="exec">${tr("adapterExec")}</option><option value="pane" disabled=${!["codex","claude-code"].includes(f.backend)}>${tr("adapterPane")}</option></select></label>${f.machineId?html`<${ClaudeAccountSelect} id="runtime-change-claude-account" machine=${machine} backend=${f.backend} value=${f.credentialProfile} onChange=${value=>set("credentialProfile",value)} disabled=${busy||uncertain||machine?.status!=="online"} changeNote=${true}/>`:null}`:null}
|
|
66
66
|
<p class="note">${text("freshHint")}</p><p class="note">${text("stopped")}</p><label class="check"><input type="checkbox" checked=${f.fresh} disabled=${busy||uncertain} onChange=${event=>set("fresh",event.target.checked)}/><span>${text("fresh")}</span></label>`:null}
|
|
67
67
|
${busy?html`<p role="status"><span class="out-spin" aria-hidden="true"></span> ${text("busy")}</p>`:null}${error?html`<p class="feedback error" role="alert">${error}</p>`:null}${uncertain?html`<p class="note">${text("unknown")}</p><button type="button" class="btn" onClick=${load}>${text("reload")}</button>`:null}</div>
|
|
@@ -19,105 +19,105 @@ import { FIRST_RUN_BACKENDS, capsOf } from "./cli-caps.js";
|
|
|
19
19
|
|
|
20
20
|
register("signin", {
|
|
21
21
|
en: {
|
|
22
|
-
title: "
|
|
23
|
-
checking: "Checking whether {0} is
|
|
24
|
-
confirmDevice: "AgEnD
|
|
25
|
-
confirmTerminal: "AgEnD
|
|
26
|
-
stillSignedIn: "It is still
|
|
27
|
-
logoutFirst: "It
|
|
28
|
-
publicNote: "Not at this machine? A temporary public link opens the terminal from anywhere, for this
|
|
29
|
-
go: "
|
|
22
|
+
title: "Connect an AI account: {0}",
|
|
23
|
+
checking: "Checking whether your {0} account is connected…",
|
|
24
|
+
confirmDevice: "AgEnD starts {0}'s own authorization on this machine. You get a link and an authorization code here: finish on {0}'s official website.",
|
|
25
|
+
confirmTerminal: "AgEnD starts {0}'s own authorization on this machine and opens it as a terminal in your browser (only that authorization, no shell). You get the link and a one-time access code here.",
|
|
26
|
+
stillSignedIn: "It is still connected: connecting again replaces that connection.",
|
|
27
|
+
logoutFirst: "It disconnects first ({0}), then connects again.",
|
|
28
|
+
publicNote: "Not at this machine? A temporary public link opens the terminal from anywhere, for this authorization only.",
|
|
29
|
+
go: "Connect",
|
|
30
30
|
goPublic: "Use a temporary public link",
|
|
31
31
|
cancel: "Cancel",
|
|
32
32
|
close: "Close",
|
|
33
33
|
starting: "Starting…",
|
|
34
|
-
deviceStep: "
|
|
35
|
-
linkStep: "Open this page to
|
|
36
|
-
terminalStep: "Open the
|
|
37
|
-
openTerminal: "Open the
|
|
34
|
+
deviceStep: "Finish on the provider's official website: open this page and enter the authorization code:",
|
|
35
|
+
linkStep: "Open this page to authorize on the provider's official website; if it gives you an authorization code, paste it into the authorization terminal:",
|
|
36
|
+
terminalStep: "Open the authorization terminal and enter this access code there. It works once, for {0} minutes.",
|
|
37
|
+
openTerminal: "Open the authorization terminal",
|
|
38
38
|
accessCode: "Access code",
|
|
39
|
-
code: "
|
|
39
|
+
code: "Authorization code",
|
|
40
40
|
copy: "Copy",
|
|
41
41
|
copied: "Copied",
|
|
42
|
-
publicLink: "Public link: anyone with the link and the code could use it — keep both to yourself.",
|
|
42
|
+
publicLink: "Public link: anyone with the link and the access code could use it — keep both to yourself.",
|
|
43
43
|
loopback: "This terminal listens on the machine's own address only. Open it on that machine, or set web_terminal.bind for your network.",
|
|
44
|
-
waitingHint: "Waiting for the
|
|
45
|
-
signedIn: "{0} is
|
|
46
|
-
ended: "The
|
|
47
|
-
cancelSignIn: "Cancel
|
|
48
|
-
cancelled: "
|
|
49
|
-
running: "
|
|
44
|
+
waitingHint: "Waiting for the provider's authorization link…",
|
|
45
|
+
signedIn: "Your {0} account is connected.",
|
|
46
|
+
ended: "The authorization ended.",
|
|
47
|
+
cancelSignIn: "Cancel connecting",
|
|
48
|
+
cancelled: "Connecting cancelled.",
|
|
49
|
+
running: "Connecting your {0} account (started on {1}).",
|
|
50
50
|
open: "Open",
|
|
51
51
|
expired: "That took too long — start again.",
|
|
52
|
-
notHere: "
|
|
53
|
-
notAdmin: "Only a fleet admin signed in on this machine or its network can
|
|
54
|
-
notOffered: "A public link is not offered for this
|
|
52
|
+
notHere: "Connecting an AI account is not available over the public link. Open the dashboard on the machine running AgEnD, or use /login in your chat.",
|
|
53
|
+
notAdmin: "Only a fleet admin signed in on this machine or its network can connect an AI account.",
|
|
54
|
+
notOffered: "A public link is not offered for this authorization.",
|
|
55
55
|
failed: "That did not work.",
|
|
56
|
-
listTitle: "
|
|
57
|
-
browserRunning: "
|
|
56
|
+
listTitle: "AI accounts",
|
|
57
|
+
browserRunning: "Connecting your {0} account on this machine",
|
|
58
58
|
consoleFallback: "Use console fallback",
|
|
59
|
-
defaultAccount: "Default
|
|
60
|
-
listHint: "
|
|
61
|
-
stUsable: "
|
|
62
|
-
stNotSignedIn: "not
|
|
59
|
+
defaultAccount: "Default connection",
|
|
60
|
+
listHint: "Connect AI accounts: each AI account connected on this machine, and each credential profile an agent uses. Connecting finishes on the provider's official website.",
|
|
61
|
+
stUsable: "connected",
|
|
62
|
+
stNotSignedIn: "not connected",
|
|
63
63
|
stNotInstalled: "not installed",
|
|
64
64
|
stTooOld: "too old",
|
|
65
65
|
stUnknown: "not checked",
|
|
66
|
-
signIn: "
|
|
67
|
-
signInAgain: "
|
|
68
|
-
onHost: "
|
|
66
|
+
signIn: "Connect account",
|
|
67
|
+
signInAgain: "Reconnect",
|
|
68
|
+
onHost: "Connect on the machine: {0}",
|
|
69
69
|
install: "Install on the machine: {0}",
|
|
70
70
|
update: "Update on the machine: {0}",
|
|
71
71
|
profile: "{0} · profile {1}",
|
|
72
72
|
},
|
|
73
73
|
"zh-TW": {
|
|
74
|
-
title: "
|
|
75
|
-
checking: "正在確認 {0}
|
|
76
|
-
confirmDevice: "AgEnD
|
|
77
|
-
confirmTerminal: "AgEnD
|
|
78
|
-
stillSignedIn: "
|
|
79
|
-
logoutFirst: "
|
|
80
|
-
publicNote: "
|
|
81
|
-
go: "
|
|
74
|
+
title: "連接 AI 帳號:{0}",
|
|
75
|
+
checking: "正在確認 {0} 帳號是否已連接…",
|
|
76
|
+
confirmDevice: "AgEnD 會在這台機器上啟動 {0} 自己的授權流程。這裡會給你一個連結和授權碼,請前往 {0} 官方網站完成授權。",
|
|
77
|
+
confirmTerminal: "AgEnD 會在這台機器上啟動 {0} 自己的授權流程,並在瀏覽器以終端機開啟(只有這個授權流程,沒有 shell)。這裡會給你連結和一次性存取碼。",
|
|
78
|
+
stillSignedIn: "目前仍是連接狀態:重新連接會取代原本的連接。",
|
|
79
|
+
logoutFirst: "會先撤銷連接({0}),再重新連接。",
|
|
80
|
+
publicNote: "不在這台機器前?臨時公開連結可以從任何地方開啟終端機,只用於這次授權。",
|
|
81
|
+
go: "連接",
|
|
82
82
|
goPublic: "使用臨時公開連結",
|
|
83
83
|
cancel: "取消",
|
|
84
84
|
close: "關閉",
|
|
85
85
|
starting: "啟動中…",
|
|
86
|
-
deviceStep: "
|
|
87
|
-
linkStep: "
|
|
88
|
-
terminalStep: "
|
|
89
|
-
openTerminal: "
|
|
86
|
+
deviceStep: "前往官方網站完成授權:開啟這個頁面,輸入授權碼:",
|
|
87
|
+
linkStep: "開啟這個頁面,在官方網站完成授權;如果網站給你一組授權碼,請貼到授權終端機:",
|
|
88
|
+
terminalStep: "開啟授權終端機,在那裡輸入這個存取碼。只能用一次,{0} 分鐘內有效。",
|
|
89
|
+
openTerminal: "開啟授權終端機",
|
|
90
90
|
accessCode: "存取碼",
|
|
91
|
-
code: "
|
|
91
|
+
code: "授權碼",
|
|
92
92
|
copy: "複製",
|
|
93
93
|
copied: "已複製",
|
|
94
|
-
publicLink: "
|
|
94
|
+
publicLink: "公開連結:拿到連結和存取碼的人都能使用——兩者都只留給自己。",
|
|
95
95
|
loopback: "這個終端機只在本機位址上接聽。請在那台機器上開啟,或為你的網路設定 web_terminal.bind。",
|
|
96
|
-
waitingHint: "
|
|
97
|
-
signedIn: "{0}
|
|
98
|
-
ended: "
|
|
99
|
-
cancelSignIn: "
|
|
100
|
-
cancelled: "
|
|
101
|
-
running: "
|
|
96
|
+
waitingHint: "等待官方網站的授權連結…",
|
|
97
|
+
signedIn: "{0} 帳號已連接。",
|
|
98
|
+
ended: "授權流程已結束。",
|
|
99
|
+
cancelSignIn: "取消連接",
|
|
100
|
+
cancelled: "已取消連接。",
|
|
101
|
+
running: "正在連接 {0} 帳號(從 {1} 啟動)。",
|
|
102
102
|
open: "開啟",
|
|
103
103
|
expired: "等太久了——請重新開始。",
|
|
104
|
-
notHere: "
|
|
105
|
-
notAdmin: "只有在這台機器或它的網路上登入的 fleet
|
|
106
|
-
notOffered: "
|
|
104
|
+
notHere: "公開連結上不能連接 AI 帳號。請在執行 AgEnD 的機器上開啟儀表板,或在聊天裡用 /login。",
|
|
105
|
+
notAdmin: "只有在這台機器或它的網路上登入的 fleet 管理員,才能連接 AI 帳號。",
|
|
106
|
+
notOffered: "這次授權不提供公開連結。",
|
|
107
107
|
failed: "沒有成功。",
|
|
108
|
-
listTitle: "
|
|
109
|
-
browserRunning: "
|
|
108
|
+
listTitle: "AI 帳號",
|
|
109
|
+
browserRunning: "正在這台機器連接 {0} 帳號",
|
|
110
110
|
consoleFallback: "改用主控台備援",
|
|
111
|
-
defaultAccount: "
|
|
112
|
-
listHint: "
|
|
113
|
-
stUsable: "
|
|
114
|
-
stNotSignedIn: "
|
|
111
|
+
defaultAccount: "預設連接",
|
|
112
|
+
listHint: "連接 AI 帳號:這台機器上連接的每個 AI 帳號,以及 Agent 使用的每個憑證設定檔。連接時會前往供應商官方網站完成授權。",
|
|
113
|
+
stUsable: "已連接",
|
|
114
|
+
stNotSignedIn: "未連接",
|
|
115
115
|
stNotInstalled: "未安裝",
|
|
116
116
|
stTooOld: "版本太舊",
|
|
117
117
|
stUnknown: "未檢查",
|
|
118
|
-
signIn: "
|
|
119
|
-
signInAgain: "
|
|
120
|
-
onHost: "
|
|
118
|
+
signIn: "連接帳號",
|
|
119
|
+
signInAgain: "重新連接",
|
|
120
|
+
onHost: "在機器上連接:{0}",
|
|
121
121
|
install: "在機器上安裝:{0}",
|
|
122
122
|
update: "在機器上更新:{0}",
|
|
123
123
|
profile: "{0} · 設定檔 {1}",
|
|
@@ -172,7 +172,7 @@ export function installerSignInBackends(search) {
|
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* #3212: which backends' NAMED accounts the dashboard signs in with the structured controls (Sign in → open the page → paste the code), as the default account is.
|
|
175
|
-
* The registry's `host.
|
|
175
|
+
* The registry's `host.structuredSignIn.named` (a login screen checked under a relocated home with these controls; cli-caps.js: `structuredNamedSignIn`); another backend's named account keeps the older
|
|
176
176
|
* dialog, which says what to run on the machine (or, where the host signs it in from the dashboard, runs it in the web terminal).
|
|
177
177
|
*/
|
|
178
178
|
/** One named account's sign-in controls on this host (the same endpoint as the default account's, addressed by `?backend=&profile=`). */
|
|
@@ -421,6 +421,6 @@ export function SignInList() {
|
|
|
421
421
|
|
|
422
422
|
// Ridge #3321 S01: "Sign in again" — the dashboard's confirmation, titled with the CLI it is for.
|
|
423
423
|
register("signin", {
|
|
424
|
-
en: { reloginTitle: "
|
|
425
|
-
"zh-TW": { reloginTitle: "
|
|
424
|
+
en: { reloginTitle: "Reconnect {0}", reloginGo: "Reconnect" },
|
|
425
|
+
"zh-TW": { reloginTitle: "重新連接 {0}", reloginGo: "重新連接" },
|
|
426
426
|
});
|