@celljs/ta-web 4.15.0 → 4.15.1
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/esm/browser/components/account-menu.js +8 -1
- package/esm/browser/components/app-view.js +4 -1
- package/esm/browser/components/face.js +7 -2
- package/esm/browser/components/gallery.d.ts +9 -0
- package/esm/browser/components/gallery.js +57 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/lightbox.d.ts +8 -1
- package/esm/browser/components/lightbox.js +4 -1
- package/esm/browser/components/markdown.js +6 -1
- package/esm/browser/components/media.d.ts +12 -2
- package/esm/browser/components/media.js +55 -13
- package/esm/browser/components/message-list.js +3 -2
- package/esm/browser/components/notice-center.js +6 -2
- package/esm/browser/components/serve-restart.d.ts +26 -0
- package/esm/browser/components/serve-restart.js +91 -0
- package/esm/browser/components/session-view.js +19 -11
- package/esm/browser/components/settings-parts.js +14 -5
- package/esm/browser/extension/icons.js +3 -1
- package/esm/browser/i18n/locales.d.ts +15 -3
- package/esm/browser/i18n/messages-ja.js +12 -0
- package/esm/browser/i18n/messages-zh-tw.js +12 -0
- package/esm/browser/i18n/messages.d.ts +12 -0
- package/esm/browser/i18n/messages.js +24 -0
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +18 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +2 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +2 -0
- package/esm/browser/style/surfaces.d.ts +1 -1
- package/esm/browser/style/surfaces.js +1 -0
- package/esm/browser/util/desktop.d.ts +6 -1
- package/esm/browser/util/desktop.js +10 -0
- package/esm/browser/util/gallery.d.ts +18 -0
- package/esm/browser/util/gallery.js +123 -0
- package/esm/browser/util/link.d.ts +8 -0
- package/esm/browser/util/link.js +14 -0
- package/esm/browser/util/markdown.d.ts +11 -0
- package/esm/browser/util/markdown.js +4 -0
- package/esm/browser/util/thumbnail.d.ts +18 -0
- package/esm/browser/util/thumbnail.js +26 -0
- package/esm/browser/workbench-protocol.d.ts +8 -0
- package/esm/browser/workbench.d.ts +16 -0
- package/esm/browser/workbench.js +67 -0
- package/lib/browser/components/account-menu.js +7 -0
- package/lib/browser/components/app-view.js +4 -1
- package/lib/browser/components/face.js +7 -2
- package/lib/browser/components/gallery.d.ts +10 -0
- package/lib/browser/components/gallery.js +93 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/lightbox.d.ts +8 -1
- package/lib/browser/components/lightbox.js +4 -1
- package/lib/browser/components/markdown.js +6 -1
- package/lib/browser/components/media.d.ts +12 -2
- package/lib/browser/components/media.js +57 -13
- package/lib/browser/components/message-list.js +3 -2
- package/lib/browser/components/notice-center.js +6 -2
- package/lib/browser/components/serve-restart.d.ts +27 -0
- package/lib/browser/components/serve-restart.js +129 -0
- package/lib/browser/components/session-view.js +21 -13
- package/lib/browser/components/settings-parts.js +13 -4
- package/lib/browser/extension/icons.js +2 -0
- package/lib/browser/i18n/locales.d.ts +15 -3
- package/lib/browser/i18n/messages-ja.js +12 -0
- package/lib/browser/i18n/messages-zh-tw.js +12 -0
- package/lib/browser/i18n/messages.d.ts +12 -0
- package/lib/browser/i18n/messages.js +24 -0
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +18 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +2 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +2 -0
- package/lib/browser/style/surfaces.d.ts +1 -1
- package/lib/browser/style/surfaces.js +1 -0
- package/lib/browser/util/desktop.d.ts +6 -1
- package/lib/browser/util/desktop.js +10 -0
- package/lib/browser/util/gallery.d.ts +19 -0
- package/lib/browser/util/gallery.js +126 -0
- package/lib/browser/util/link.d.ts +8 -0
- package/lib/browser/util/link.js +14 -0
- package/lib/browser/util/markdown.d.ts +11 -0
- package/lib/browser/util/markdown.js +4 -0
- package/lib/browser/util/thumbnail.d.ts +19 -0
- package/lib/browser/util/thumbnail.js +29 -0
- package/lib/browser/workbench-protocol.d.ts +8 -0
- package/lib/browser/workbench.d.ts +16 -0
- package/lib/browser/workbench.js +67 -0
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TaLanguageUtil } from '@celljs/ta-protocol';
|
|
2
|
-
import { Check, ChevronRight, Download, FolderOpen, Info, Keyboard, KeyRound, Languages, LogOut, Monitor, Palette, Puzzle, Settings2, Smartphone, Sparkles, } from 'lucide-react';
|
|
2
|
+
import { Check, ChevronRight, Download, FolderOpen, Info, Keyboard, KeyRound, Languages, LogOut, Monitor, Palette, Puzzle, RotateCw, Settings2, Smartphone, Sparkles, } from 'lucide-react';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useDevice } from '../device/device.js';
|
|
5
5
|
import { usePwa, useSettings, useWorkbench } from '../hooks.js';
|
|
@@ -12,6 +12,7 @@ import { useDismiss } from './dismiss.js';
|
|
|
12
12
|
import { HostsDialog } from './host-view.js';
|
|
13
13
|
import { Icon } from './icon.js';
|
|
14
14
|
import { RelayDialog } from './relay-view.js';
|
|
15
|
+
import { ServeRestartUtil, useRestartTa } from './serve-restart.js';
|
|
15
16
|
import { Keys } from './settings-controls.js';
|
|
16
17
|
import { DinoFace } from './ta-avatar.js';
|
|
17
18
|
import { WorkingDirectoryPicker } from './working-directory.js';
|
|
@@ -36,6 +37,7 @@ export function useAccountEntries(onSettings, onDialog) {
|
|
|
36
37
|
const [{ installable, standalone }, pwa] = usePwa();
|
|
37
38
|
// A finger has no keys to learn; a phone is not the computer that pairs phones.
|
|
38
39
|
const { touch, handheld } = useDevice();
|
|
40
|
+
const restartTa = useRestartTa();
|
|
39
41
|
const entry = (key, label, icon, run, more = {}) => ({
|
|
40
42
|
key,
|
|
41
43
|
label,
|
|
@@ -76,6 +78,11 @@ export function useAccountEntries(onSettings, onDialog) {
|
|
|
76
78
|
],
|
|
77
79
|
[
|
|
78
80
|
...(installable && !standalone ? [entry('install', t('ta.pwa.install'), Download, () => void pwa.install())] : []),
|
|
81
|
+
...(restartTa.can
|
|
82
|
+
? [
|
|
83
|
+
entry('restart', restartTa.update ? t('ta.update.restartTo', { version: ServeRestartUtil.label(restartTa.update) }) : t('ta.restart'), RotateCw, () => void restartTa.restart()),
|
|
84
|
+
]
|
|
85
|
+
: []),
|
|
79
86
|
entry('about', t('ta.manage.about'), Info, () => onSettings('about')),
|
|
80
87
|
entry('signOut', t('ta.settings.signOut'), LogOut, () => workbench.signOut(), { danger: true }),
|
|
81
88
|
],
|
|
@@ -14,6 +14,7 @@ import { useT } from '../i18n/use-t.js';
|
|
|
14
14
|
import { CodeRenderers } from '../markdown/code-renderers.js';
|
|
15
15
|
import { SIGN_IN_EVENT } from '../notices/notices.js';
|
|
16
16
|
import { TaState } from '../state/state-protocol.js';
|
|
17
|
+
import { ThumbnailUtil } from '../util/thumbnail.js';
|
|
17
18
|
import { Voice } from '../util/voice.js';
|
|
18
19
|
import { WorkbenchUtil } from '../workbench-util.js';
|
|
19
20
|
import { PageView, Rail, SidebarView, useNavigation } from './app-nav.js';
|
|
@@ -45,6 +46,7 @@ import { NoticeCenter } from './notice-center.js';
|
|
|
45
46
|
import { PhoneShell } from './phone-shell.js';
|
|
46
47
|
import { RemotePrompts } from './remote-prompts.js';
|
|
47
48
|
import { ScanHost } from './scan-screen.js';
|
|
49
|
+
import { ServeRestartNotices } from './serve-restart.js';
|
|
48
50
|
import { SettingsView } from './settings-view.js';
|
|
49
51
|
import { ShareHost } from './share-dialog.js';
|
|
50
52
|
import { DOUBLE_PAGE, SideListUtil } from './side-lists.js';
|
|
@@ -118,7 +120,7 @@ function AppShell() {
|
|
|
118
120
|
const online = workbench.status === 'online';
|
|
119
121
|
// Files named in replies outside a conversation (channels, pages) are in the server's directory.
|
|
120
122
|
const files = useInject(TaFiles);
|
|
121
|
-
const fileUrl = React.useCallback(async (path) => files.loadable(await bench.workspace.fileUrl(path)), [bench, files]);
|
|
123
|
+
const fileUrl = React.useCallback(async (path, box) => files.loadable(ThumbnailUtil.boxed(await bench.workspace.fileUrl(path), box)), [bench, files]);
|
|
122
124
|
const openLink = useOpenLink(undefined);
|
|
123
125
|
useDocument();
|
|
124
126
|
useRefresh(online);
|
|
@@ -428,6 +430,7 @@ function AppShell() {
|
|
|
428
430
|
React.createElement(NoticeCenter, null),
|
|
429
431
|
React.createElement(LinkDialog, null),
|
|
430
432
|
React.createElement(RemotePrompts, null),
|
|
433
|
+
React.createElement(ServeRestartNotices, null),
|
|
431
434
|
React.createElement(SwitchingVeil, null),
|
|
432
435
|
codeScan && React.createElement(ScanHost, { onCode: text => void codeScan.open(text), onAsk: askDouble }),
|
|
433
436
|
React.createElement(ShareHost, null),
|
|
@@ -25,10 +25,15 @@ export function Face(props) {
|
|
|
25
25
|
const species = DinoSpecies.IDS.find(id => id === props.look);
|
|
26
26
|
return species ? React.createElement(DoubleFace, { species: species, size: props.size, online: props.online }) : React.createElement(ShapeFace, { ...props });
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* How wide the disc of a double is in its box: as wide as the shapes, which leave a margin in their 40 × 40 grid (the
|
|
30
|
+
* round one is 29 wide), so that a double among them in a row is no bigger than they are.
|
|
31
|
+
*/
|
|
32
|
+
const DOUBLE_DISC = 0.75;
|
|
28
33
|
/** A Ta as its double: the close-up of the dinosaur, as the account shows it; this Ta's own without `species`. */
|
|
29
34
|
function DoubleFace({ species, size, online }) {
|
|
30
|
-
return (React.createElement("span", { className: "ta-face", style: { width: size, height: size }, "aria-hidden": "true" },
|
|
31
|
-
React.createElement(DinoFace, { species: species, size: size }),
|
|
35
|
+
return (React.createElement("span", { className: "ta-face ta-face-double", style: { width: size, height: size }, "aria-hidden": "true" },
|
|
36
|
+
React.createElement(DinoFace, { species: species, size: Math.round(size * DOUBLE_DISC) }),
|
|
32
37
|
online !== undefined && React.createElement("i", { className: `ta-face-dot${online ? ' ta-face-on' : ''}` })));
|
|
33
38
|
}
|
|
34
39
|
function ShapeFace({ face: given, seed = '', size, working, online }) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { MarkdownPicture } from '../util/markdown.js';
|
|
3
|
+
/**
|
|
4
|
+
* Pictures of a reply shown together (GalleryUtil): square tiles in columns as many as suit their number, the words
|
|
5
|
+
* that name each under it, and a click on one opens it over the page, where ← → and its side buttons go through all.
|
|
6
|
+
*/
|
|
7
|
+
export declare function Gallery({ items }: {
|
|
8
|
+
items: readonly MarkdownPicture[];
|
|
9
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ImageOff } from 'lucide-react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useT } from '../i18n/use-t.js';
|
|
4
|
+
import { GalleryUtil } from '../util/gallery.js';
|
|
5
|
+
import { ThumbnailUtil } from '../util/thumbnail.js';
|
|
6
|
+
import { Icon } from './icon.js';
|
|
7
|
+
import { Lightbox } from './lightbox.js';
|
|
8
|
+
import { useMediaUrl, useMediaUrls } from './media.js';
|
|
9
|
+
/** A tile: the picture cut to a square, a place that shimmers while it loads, and on the last one how many more there are. */
|
|
10
|
+
/** The CSS side of a tile at most (--ta-gallery-tile, style/conversation.ts). */
|
|
11
|
+
const TILE = 168;
|
|
12
|
+
const TILE_BOX = { width: ThumbnailUtil.side(TILE), height: ThumbnailUtil.side(TILE), cover: true };
|
|
13
|
+
function Tile({ url, picture, more, onOpen }) {
|
|
14
|
+
const t = useT();
|
|
15
|
+
const [failed, setFailed] = React.useState();
|
|
16
|
+
const [loaded, setLoaded] = React.useState();
|
|
17
|
+
if (url === null || (url && failed === url)) {
|
|
18
|
+
return (React.createElement("span", { className: "ta-gallery-tile ta-gallery-missing", title: picture.src },
|
|
19
|
+
React.createElement(Icon, { icon: ImageOff, size: 18 })));
|
|
20
|
+
}
|
|
21
|
+
return (React.createElement("button", { type: "button", className: `ta-gallery-tile${url && loaded === url ? '' : ' ta-gallery-pending'}`, title: picture.caption || picture.alt || t('ta.markdown.enlarge'), disabled: !url, onClick: onOpen },
|
|
22
|
+
url && React.createElement("img", { src: url, alt: picture.alt, loading: "lazy", onLoad: () => setLoaded(url), onError: () => setFailed(url) }),
|
|
23
|
+
more > 0 && React.createElement("span", { className: "ta-gallery-more" },
|
|
24
|
+
"+",
|
|
25
|
+
more)));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Pictures of a reply shown together (GalleryUtil): square tiles in columns as many as suit their number, the words
|
|
29
|
+
* that name each under it, and a click on one opens it over the page, where ← → and its side buttons go through all.
|
|
30
|
+
*/
|
|
31
|
+
export function Gallery({ items }) {
|
|
32
|
+
// A picture of the workspace loads as large as its tile (ThumbnailUtil); enlarged, as it is.
|
|
33
|
+
const urls = useMediaUrls(React.useMemo(() => items.map(item => item.src), [items]), TILE_BOX);
|
|
34
|
+
const [open, setOpen] = React.useState();
|
|
35
|
+
const full = useMediaUrl(open !== undefined && urls[open] ? items[open].src : undefined);
|
|
36
|
+
const shown = items.slice(0, GalleryUtil.TILES);
|
|
37
|
+
const more = items.length - shown.length;
|
|
38
|
+
const named = items.some(item => item.caption);
|
|
39
|
+
const style = { '--ta-gallery-columns': GalleryUtil.columns(items.length) };
|
|
40
|
+
const step = (from, by) => {
|
|
41
|
+
for (let at = from + by; at >= 0 && at < items.length; at += by) {
|
|
42
|
+
if (urls[at]) {
|
|
43
|
+
return at;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return undefined;
|
|
47
|
+
};
|
|
48
|
+
const current = open !== undefined ? urls[open] : undefined;
|
|
49
|
+
const previous = open !== undefined ? step(open, -1) : undefined;
|
|
50
|
+
const next = open !== undefined ? step(open, 1) : undefined;
|
|
51
|
+
return (React.createElement("div", { className: "ta-gallery", style: style },
|
|
52
|
+
shown.map((item, index) => { var _a; return (React.createElement("figure", { key: index, className: "ta-gallery-item" },
|
|
53
|
+
React.createElement(Tile, { url: urls[index], picture: item, more: index === shown.length - 1 ? more : 0, onOpen: () => setOpen(index) }),
|
|
54
|
+
named && React.createElement("figcaption", { className: "ta-gallery-caption" }, (_a = item.caption) !== null && _a !== void 0 ? _a : '\u00a0'))); }),
|
|
55
|
+
open !== undefined && current && (React.createElement(Lightbox, { src: full || current, alt: items[open].alt, caption: items[open].caption, count: { at: open, of: items.length }, onClose: () => setOpen(undefined), onPrevious: previous !== undefined ? () => setOpen(previous) : undefined, onNext: next !== undefined ? () => setOpen(next) : undefined }))));
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=gallery.js.map
|
|
@@ -4,7 +4,7 @@ import type { SavedHost } from '../workbench-protocol.js';
|
|
|
4
4
|
/** Adding a computer by its code or link: what the sign-in and the sheet of the computers share. */
|
|
5
5
|
export declare function useAddHost(): {
|
|
6
6
|
busy: boolean;
|
|
7
|
-
error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.remove" | "ta.access.removeAccount" | "ta.access.removeConfirm" | "ta.access.removeDetail" | "ta.access.requested" | "ta.access.signOut" | "ta.access.thisBrowser" | "ta.access.title" | "ta.account" | "ta.account.menu" | "ta.account.service" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asks" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.new" | "ta.chat.newIn" | "ta.chat.noMatch" | "ta.chat.none" | "ta.chat.noneHint" | "ta.chat.olderCount" | "ta.chat.open" | "ta.chat.opening" | "ta.chat.openingOffline" | "ta.chat.pin" | "ta.chat.pinned" | "ta.chat.remove" | "ta.chat.removeShort" | "ta.chat.removed" | "ta.chat.replyingFor" | "ta.chat.restore" | "ta.chat.restoreShort" | "ta.chat.search" | "ta.chat.suggest.1" | "ta.chat.suggest.1.label" | "ta.chat.suggest.2" | "ta.chat.suggest.2.label" | "ta.chat.suggest.3" | "ta.chat.suggest.3.label" | "ta.chat.title" | "ta.chat.toAsk" | "ta.chat.unpin" | "ta.chat.unseen" | "ta.close" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.filesUnavailable" | "ta.composer.filter" | "ta.composer.image.count" | "ta.composer.image.size" | "ta.composer.image.type" | "ta.composer.imageLoading" | "ta.composer.keyboard" | "ta.composer.label" | "ta.composer.listening" | "ta.composer.mentionFile" | "ta.composer.more" | "ta.composer.noFiles" | "ta.composer.noMatch" | "ta.composer.page" | "ta.composer.placeholder" | "ta.composer.placeholderTouch" | "ta.composer.queue.count" | "ta.composer.queue.editTitle" | "ta.composer.queue.followUp" | "ta.composer.queue.remove" | "ta.composer.queue.steering" | "ta.composer.queue.takeBackAll" | "ta.composer.queue.takeBackTitle" | "ta.composer.recentShot" | "ta.composer.recentShotAdd" | "ta.composer.removeImage" | "ta.composer.steerPlaceholder" | "ta.composer.steerPlaceholderTouch" | "ta.composer.steerTitle" | "ta.composer.stopTitle" | "ta.composer.stopping" | "ta.composer.voice" | "ta.composer.voiceDenied" | "ta.composer.voiceFailed" | "ta.composer.voiceStop" | "ta.connection.away" | "ta.connection.awayBrief" | "ta.connection.back" | "ta.connection.lost" | "ta.connection.notDone" | "ta.connection.outdated" | "ta.connection.reload" | "ta.connection.retry" | "ta.connection.retryIn" | "ta.connection.retryNow" | "ta.connection.retrying" | "ta.connection.unreachableBrief" | "ta.copied" | "ta.copy" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.dismiss" | "ta.editor" | "ta.editor.close" | "ta.editor.discardClose" | "ta.editor.failed" | "ta.editor.loading" | "ta.editor.unsavedManyTitle" | "ta.editor.unsavedMessage" | "ta.editor.unsavedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.restart" | "ta.environment.restartConfirm" | "ta.environment.restartDetail" | "ta.environment.retry" | "ta.environment.running" | "ta.environment.sandbox" | "ta.environment.starting" | "ta.environment.stop" | "ta.environment.stopConfirm" | "ta.environment.stopDetail" | "ta.environment.stopped" | "ta.environment.switch" | "ta.environment.switchConfirm" | "ta.environment.switchDetail" | "ta.environment.title" | "ta.environment.token" | "ta.environment.url" | "ta.environment.where" | "ta.environment.whereHint" | "ta.error.alreadyCompacted" | "ta.error.forbidden" | "ta.error.forbiddenAsk" | "ta.error.forbiddenHint" | "ta.error.forbiddenNever" | "ta.error.limit" | "ta.error.messageConflict" | "ta.error.modelNotFound" | "ta.error.nothingToCompact" | "ta.error.sessionBusy" | "ta.error.sessionLocked" | "ta.error.sessionNotFound" | "ta.error.tooManySessions" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.label" | "ta.game.loading" | "ta.home" | "ta.host.title" | "ta.hosts.cameraDenied" | "ta.hosts.connecting" | "ta.hosts.notPairing" | "ta.hosts.paste" | "ta.hosts.refused" | "ta.hosts.remove" | "ta.hosts.removeConfirm" | "ta.hosts.rename" | "ta.hosts.saved" | "ta.hosts.scan" | "ta.hosts.scanFailed" | "ta.hosts.scanHint" | "ta.hosts.scanInstructions" | "ta.hosts.scanShort" | "ta.hosts.switching" | "ta.hosts.thisServer" | "ta.hosts.title" | "ta.hosts.unreachable" | "ta.launch.failed" | "ta.launch.open" | "ta.launch.ready" | "ta.launcher" | "ta.launcher.back" | "ta.launcher.clear" | "ta.launcher.noResults" | "ta.launcher.place.discover" | "ta.launcher.place.launcher" | "ta.launcher.place.list" | "ta.launcher.place.navigation" | "ta.launcher.search" | "ta.launcher.searchHint" | "ta.launcher.searchPlaceholder" | "ta.layout.editor" | "ta.layout.panel" | "ta.layout.resize" | "ta.layout.sidebar" | "ta.link.ask" | "ta.link.copied" | "ta.link.external" | "ta.link.externalMac" | "ta.link.noOpener" | "ta.link.notFound" | "ta.link.open" | "ta.link.openFile" | "ta.link.openFolder" | "ta.link.trust" | "ta.link.trustHint" | "ta.look.gait" | "ta.look.premium" | "ta.look.species" | "ta.look.title" | "ta.manage.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.debug" | "ta.message.debugCopied" | "ta.message.discard" | "ta.message.failedUnknown" | "ta.message.forkAt" | "ta.message.forkBefore" | "ta.message.forked" | "ta.message.images" | "ta.message.interrupted" | "ta.message.modelSwitched" | "ta.message.notSaved" | "ta.message.queued" | "ta.message.queuedTitle" | "ta.message.quote" | "ta.message.resend" | "ta.message.resume" | "ta.message.resumeText" | "ta.message.resumed" | "ta.message.rewind" | "ta.message.rewindConfirm" | "ta.message.rewindDetail" | "ta.message.selectText" | "ta.message.sendFailed" | "ta.message.showLess" | "ta.message.showMore" | "ta.message.silent" | "ta.message.skill" | "ta.message.steered" | "ta.message.steeredTitle" | "ta.message.stopped" | "ta.message.thinking" | "ta.message.usageTitle" | "ta.message.used" | "ta.model.default" | "ta.model.defaultNone" | "ta.model.search" | "ta.mood.attention" | "ta.mood.done" | "ta.mood.idle" | "ta.mood.listening" | "ta.mood.sleeping" | "ta.mood.speaking" | "ta.mood.thinking" | "ta.mood.working" | "ta.more" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.presence.asked" | "ta.presence.more" | "ta.presence.owner" | "ta.presence.separator" | "ta.presence.typing" | "ta.presence.viewing" | "ta.process.done" | "ta.process.earlier" | "ta.process.failed" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.thinking" | "ta.process.thought" | "ta.progress.calling" | "ta.progress.compacting" | "ta.progress.input" | "ta.progress.output" | "ta.progress.retry.error" | "ta.progress.retry.network" | "ta.progress.retry.overloaded" | "ta.progress.retry.rateLimit" | "ta.progress.retrying" | "ta.progress.retryingNow" | "ta.progress.waiting" | "ta.pwa.install" | "ta.reconnecting" | "ta.relay.devices" | "ta.relay.done" | "ta.relay.hint" | "ta.relay.keepAwake" | "ta.relay.keepAwakeHint" | "ta.relay.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "ta.relays.add" | "ta.relays.addButton" | "ta.relays.addHint" | "ta.relays.addPlaceholder" | "ta.relays.broken" | "ta.relays.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.title" | "ta.relays.unavailable" | "ta.remote.add" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.connect" | "ta.remote.connected" | "ta.remote.connectedTo" | "ta.remote.connecting" | "ta.remote.description" | "ta.remote.disconnect" | "ta.remote.disconnected" | "ta.remote.failed" | "ta.remote.forwarded" | "ta.remote.fromConfig" | "ta.remote.invalid" | "ta.remote.local" | "ta.remote.lost" | "ta.remote.none" | "ta.remote.noneHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.note" | "ta.scan.notePrompt" | "ta.scan.pairMessage" | "ta.scan.pairTitle" | "ta.scan.result" | "ta.scan.retake" | "ta.scan.sameHost" | "ta.scan.translate" | "ta.scan.translatePrompt" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.select.all" | "ta.select.count" | "ta.select.done" | "ta.send" | "ta.session.compact" | "ta.session.compactTitle" | "ta.session.earlier" | "ta.session.empty" | "ta.session.model" | "ta.session.noModel" | "ta.session.phase.thinking" | "ta.session.phase.working" | "ta.session.phase.writing" | "ta.session.thinking" | "ta.session.title" | "ta.session.toBottom" | "ta.session.waitingClientTool" | "ta.session.working" | "ta.setting.codemode.mode" | "ta.setting.codemode.mode.hint" | "ta.setting.codemode.mode.on" | "ta.setting.codemode.mode.only" | "ta.setting.compaction.enabled" | "ta.setting.compaction.enabled.hint" | "ta.setting.compaction.keepRecentTokens" | "ta.setting.compaction.keepRecentTokens.hint" | "ta.setting.compaction.reserveTokens" | "ta.setting.compaction.reserveTokens.hint" | "ta.setting.defaultThinkingLevel" | "ta.setting.defaultThinkingLevel.high" | "ta.setting.defaultThinkingLevel.hint" | "ta.setting.defaultThinkingLevel.low" | "ta.setting.defaultThinkingLevel.max" | "ta.setting.defaultThinkingLevel.medium" | "ta.setting.defaultThinkingLevel.minimal" | "ta.setting.defaultThinkingLevel.off" | "ta.setting.defaultThinkingLevel.xhigh" | "ta.setting.enableSkillCommands" | "ta.setting.enableSkillCommands.hint" | "ta.setting.followUpMode" | "ta.setting.followUpMode.all" | "ta.setting.followUpMode.hint" | "ta.setting.followUpMode.one-at-a-time" | "ta.setting.images.autoResize" | "ta.setting.images.autoResize.hint" | "ta.setting.images.blockImages" | "ta.setting.images.blockImages.hint" | "ta.setting.model" | "ta.setting.model.hint" | "ta.setting.retry.enabled" | "ta.setting.retry.enabled.hint" | "ta.setting.retry.maxRetries" | "ta.setting.shellCommandPrefix" | "ta.setting.shellCommandPrefix.hint" | "ta.setting.shellPath" | "ta.setting.shellPath.hint" | "ta.setting.steeringMode" | "ta.setting.steeringMode.all" | "ta.setting.steeringMode.hint" | "ta.setting.steeringMode.one-at-a-time" | "ta.setting.transport" | "ta.setting.transport.auto" | "ta.setting.transport.hint" | "ta.settings" | "ta.settings.about" | "ta.settings.accounts" | "ta.settings.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.chatArchive" | "ta.settings.chatArchiveHint" | "ta.settings.chatFold" | "ta.settings.chatFoldHint" | "ta.settings.chatFontSize" | "ta.settings.chatFontSizeHint" | "ta.settings.chats" | "ta.settings.confirmTasks" | "ta.settings.confirmTasksHint" | "ta.settings.cwd" | "ta.settings.cwdChange" | "ta.settings.cwdDescription" | "ta.settings.days" | "ta.settings.decides" | "ta.settings.default" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.fontSize" | "ta.settings.fontSize.large" | "ta.settings.fontSize.small" | "ta.settings.fontSize.standard" | "ta.settings.fontSize.xlarge" | "ta.settings.fontSizeHint" | "ta.settings.fromUser" | "ta.settings.group.context" | "ta.settings.group.conversation" | "ta.settings.group.model" | "ta.settings.group.tools" | "ta.settings.keepAlive" | "ta.settings.keepAliveDescription" | "ta.settings.language" | "ta.settings.language.system" | "ta.settings.links" | "ta.settings.loading" | "ta.settings.manageAccounts" | "ta.settings.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "ta.settings.more" | "ta.settings.motion" | "ta.settings.motionHint" | "ta.settings.navigation" | "ta.settings.navigation.folded" | "ta.settings.navigation.inNav" | "ta.settings.navigation.none" | "ta.settings.navigation.overflow" | "ta.settings.navigation.pinned" | "ta.settings.navigation.reset" | "ta.settings.navigation.resetButton" | "ta.settings.navigation.resetHint" | "ta.settings.navigation.show" | "ta.settings.navigation.slots" | "ta.settings.navigation.slotsHint" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.settings.web" | "ta.settings.webHint" | "ta.share.cannot" | "ta.share.copied" | "ta.share.copy" | "ta.share.making" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.send" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.listening" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseSend" | "ta.talk.tooShort" | "ta.task.allTasks" | "ta.task.done" | "ta.task.ended" | "ta.task.failed" | "ta.task.remove" | "ta.task.removeHint" | "ta.task.removeTitle" | "ta.task.running" | "ta.task.stopped" | "ta.task.takeOver" | "ta.task.takeOverHint" | "ta.task.takenOver" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "ta.workbench.maximize" | "ta.workbench.noCards" | "ta.workbench.noCardsHint" | "ta.workbench.open" | "ta.workbench.restore" | "ta.workbench.tabs" | "ta.workingDirectory.changed" | "ta.yes" | "ta.zoom.actual" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
|
|
7
|
+
error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.remove" | "ta.access.removeAccount" | "ta.access.removeConfirm" | "ta.access.removeDetail" | "ta.access.requested" | "ta.access.signOut" | "ta.access.thisBrowser" | "ta.access.title" | "ta.account" | "ta.account.menu" | "ta.account.service" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asks" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.new" | "ta.chat.newIn" | "ta.chat.noMatch" | "ta.chat.none" | "ta.chat.noneHint" | "ta.chat.olderCount" | "ta.chat.open" | "ta.chat.opening" | "ta.chat.openingOffline" | "ta.chat.pin" | "ta.chat.pinned" | "ta.chat.remove" | "ta.chat.removeShort" | "ta.chat.removed" | "ta.chat.replyingFor" | "ta.chat.restore" | "ta.chat.restoreShort" | "ta.chat.search" | "ta.chat.suggest.1" | "ta.chat.suggest.1.label" | "ta.chat.suggest.2" | "ta.chat.suggest.2.label" | "ta.chat.suggest.3" | "ta.chat.suggest.3.label" | "ta.chat.title" | "ta.chat.toAsk" | "ta.chat.unpin" | "ta.chat.unseen" | "ta.close" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.filesUnavailable" | "ta.composer.filter" | "ta.composer.image.count" | "ta.composer.image.size" | "ta.composer.image.type" | "ta.composer.imageLoading" | "ta.composer.keyboard" | "ta.composer.label" | "ta.composer.listening" | "ta.composer.mentionFile" | "ta.composer.more" | "ta.composer.noFiles" | "ta.composer.noMatch" | "ta.composer.page" | "ta.composer.placeholder" | "ta.composer.placeholderTouch" | "ta.composer.queue.count" | "ta.composer.queue.editTitle" | "ta.composer.queue.followUp" | "ta.composer.queue.remove" | "ta.composer.queue.steering" | "ta.composer.queue.takeBackAll" | "ta.composer.queue.takeBackTitle" | "ta.composer.recentShot" | "ta.composer.recentShotAdd" | "ta.composer.removeImage" | "ta.composer.steerPlaceholder" | "ta.composer.steerPlaceholderTouch" | "ta.composer.steerTitle" | "ta.composer.stopTitle" | "ta.composer.stopping" | "ta.composer.voice" | "ta.composer.voiceDenied" | "ta.composer.voiceFailed" | "ta.composer.voiceStop" | "ta.connection.away" | "ta.connection.awayBrief" | "ta.connection.back" | "ta.connection.lost" | "ta.connection.notDone" | "ta.connection.outdated" | "ta.connection.reload" | "ta.connection.retry" | "ta.connection.retryIn" | "ta.connection.retryNow" | "ta.connection.retrying" | "ta.connection.unreachableBrief" | "ta.copied" | "ta.copy" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.dismiss" | "ta.editor" | "ta.editor.close" | "ta.editor.discardClose" | "ta.editor.failed" | "ta.editor.loading" | "ta.editor.unsavedManyTitle" | "ta.editor.unsavedMessage" | "ta.editor.unsavedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.restart" | "ta.environment.restartConfirm" | "ta.environment.restartDetail" | "ta.environment.retry" | "ta.environment.running" | "ta.environment.sandbox" | "ta.environment.starting" | "ta.environment.stop" | "ta.environment.stopConfirm" | "ta.environment.stopDetail" | "ta.environment.stopped" | "ta.environment.switch" | "ta.environment.switchConfirm" | "ta.environment.switchDetail" | "ta.environment.title" | "ta.environment.token" | "ta.environment.url" | "ta.environment.where" | "ta.environment.whereHint" | "ta.error.alreadyCompacted" | "ta.error.forbidden" | "ta.error.forbiddenAsk" | "ta.error.forbiddenHint" | "ta.error.forbiddenNever" | "ta.error.limit" | "ta.error.messageConflict" | "ta.error.modelNotFound" | "ta.error.nothingToCompact" | "ta.error.sessionBusy" | "ta.error.sessionLocked" | "ta.error.sessionNotFound" | "ta.error.tooManySessions" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.label" | "ta.game.loading" | "ta.home" | "ta.host.title" | "ta.hosts.cameraDenied" | "ta.hosts.connecting" | "ta.hosts.notPairing" | "ta.hosts.paste" | "ta.hosts.refused" | "ta.hosts.remove" | "ta.hosts.removeConfirm" | "ta.hosts.rename" | "ta.hosts.saved" | "ta.hosts.scan" | "ta.hosts.scanFailed" | "ta.hosts.scanHint" | "ta.hosts.scanInstructions" | "ta.hosts.scanShort" | "ta.hosts.switching" | "ta.hosts.thisServer" | "ta.hosts.title" | "ta.hosts.unreachable" | "ta.launch.failed" | "ta.launch.open" | "ta.launch.ready" | "ta.launcher" | "ta.launcher.back" | "ta.launcher.clear" | "ta.launcher.noResults" | "ta.launcher.place.discover" | "ta.launcher.place.launcher" | "ta.launcher.place.list" | "ta.launcher.place.navigation" | "ta.launcher.search" | "ta.launcher.searchHint" | "ta.launcher.searchPlaceholder" | "ta.layout.editor" | "ta.layout.panel" | "ta.layout.resize" | "ta.layout.sidebar" | "ta.link.ask" | "ta.link.copied" | "ta.link.external" | "ta.link.externalMac" | "ta.link.noOpener" | "ta.link.notFound" | "ta.link.open" | "ta.link.openFile" | "ta.link.openFolder" | "ta.link.trust" | "ta.link.trustHint" | "ta.look.gait" | "ta.look.premium" | "ta.look.species" | "ta.look.title" | "ta.manage.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.debug" | "ta.message.debugCopied" | "ta.message.discard" | "ta.message.failedUnknown" | "ta.message.forkAt" | "ta.message.forkBefore" | "ta.message.forked" | "ta.message.images" | "ta.message.interrupted" | "ta.message.modelSwitched" | "ta.message.notSaved" | "ta.message.queued" | "ta.message.queuedTitle" | "ta.message.quote" | "ta.message.resend" | "ta.message.resume" | "ta.message.resumeText" | "ta.message.resumed" | "ta.message.rewind" | "ta.message.rewindConfirm" | "ta.message.rewindDetail" | "ta.message.selectText" | "ta.message.sendFailed" | "ta.message.showLess" | "ta.message.showMore" | "ta.message.silent" | "ta.message.skill" | "ta.message.steered" | "ta.message.steeredTitle" | "ta.message.stopped" | "ta.message.thinking" | "ta.message.usageTitle" | "ta.message.used" | "ta.model.default" | "ta.model.defaultNone" | "ta.model.search" | "ta.mood.attention" | "ta.mood.done" | "ta.mood.idle" | "ta.mood.listening" | "ta.mood.sleeping" | "ta.mood.speaking" | "ta.mood.thinking" | "ta.mood.working" | "ta.more" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.openLink" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.presence.asked" | "ta.presence.more" | "ta.presence.owner" | "ta.presence.separator" | "ta.presence.typing" | "ta.presence.viewing" | "ta.process.done" | "ta.process.earlier" | "ta.process.failed" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.thinking" | "ta.process.thought" | "ta.progress.calling" | "ta.progress.compacting" | "ta.progress.input" | "ta.progress.output" | "ta.progress.retry.error" | "ta.progress.retry.network" | "ta.progress.retry.overloaded" | "ta.progress.retry.rateLimit" | "ta.progress.retrying" | "ta.progress.retryingNow" | "ta.progress.waiting" | "ta.pwa.install" | "ta.reconnecting" | "ta.relay.devices" | "ta.relay.done" | "ta.relay.hint" | "ta.relay.keepAwake" | "ta.relay.keepAwakeHint" | "ta.relay.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "ta.relays.add" | "ta.relays.addButton" | "ta.relays.addHint" | "ta.relays.addPlaceholder" | "ta.relays.broken" | "ta.relays.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.title" | "ta.relays.unavailable" | "ta.remote.add" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.connect" | "ta.remote.connected" | "ta.remote.connectedTo" | "ta.remote.connecting" | "ta.remote.description" | "ta.remote.disconnect" | "ta.remote.disconnected" | "ta.remote.failed" | "ta.remote.forwarded" | "ta.remote.fromConfig" | "ta.remote.invalid" | "ta.remote.local" | "ta.remote.lost" | "ta.remote.none" | "ta.remote.noneHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.restart" | "ta.restart.button" | "ta.restart.confirm" | "ta.restart.description" | "ta.restart.detail" | "ta.restart.done" | "ta.restart.restarting" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.note" | "ta.scan.notePrompt" | "ta.scan.pairMessage" | "ta.scan.pairTitle" | "ta.scan.result" | "ta.scan.retake" | "ta.scan.sameHost" | "ta.scan.translate" | "ta.scan.translatePrompt" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.select.all" | "ta.select.count" | "ta.select.done" | "ta.send" | "ta.session.compact" | "ta.session.compactTitle" | "ta.session.earlier" | "ta.session.empty" | "ta.session.model" | "ta.session.noModel" | "ta.session.phase.thinking" | "ta.session.phase.working" | "ta.session.phase.writing" | "ta.session.thinking" | "ta.session.title" | "ta.session.toBottom" | "ta.session.waitingClientTool" | "ta.session.working" | "ta.setting.codemode.mode" | "ta.setting.codemode.mode.hint" | "ta.setting.codemode.mode.on" | "ta.setting.codemode.mode.only" | "ta.setting.compaction.enabled" | "ta.setting.compaction.enabled.hint" | "ta.setting.compaction.keepRecentTokens" | "ta.setting.compaction.keepRecentTokens.hint" | "ta.setting.compaction.reserveTokens" | "ta.setting.compaction.reserveTokens.hint" | "ta.setting.defaultThinkingLevel" | "ta.setting.defaultThinkingLevel.high" | "ta.setting.defaultThinkingLevel.hint" | "ta.setting.defaultThinkingLevel.low" | "ta.setting.defaultThinkingLevel.max" | "ta.setting.defaultThinkingLevel.medium" | "ta.setting.defaultThinkingLevel.minimal" | "ta.setting.defaultThinkingLevel.off" | "ta.setting.defaultThinkingLevel.xhigh" | "ta.setting.enableSkillCommands" | "ta.setting.enableSkillCommands.hint" | "ta.setting.followUpMode" | "ta.setting.followUpMode.all" | "ta.setting.followUpMode.hint" | "ta.setting.followUpMode.one-at-a-time" | "ta.setting.images.autoResize" | "ta.setting.images.autoResize.hint" | "ta.setting.images.blockImages" | "ta.setting.images.blockImages.hint" | "ta.setting.model" | "ta.setting.model.hint" | "ta.setting.retry.enabled" | "ta.setting.retry.enabled.hint" | "ta.setting.retry.maxRetries" | "ta.setting.shellCommandPrefix" | "ta.setting.shellCommandPrefix.hint" | "ta.setting.shellPath" | "ta.setting.shellPath.hint" | "ta.setting.steeringMode" | "ta.setting.steeringMode.all" | "ta.setting.steeringMode.hint" | "ta.setting.steeringMode.one-at-a-time" | "ta.setting.transport" | "ta.setting.transport.auto" | "ta.setting.transport.hint" | "ta.settings" | "ta.settings.about" | "ta.settings.accounts" | "ta.settings.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.chatArchive" | "ta.settings.chatArchiveHint" | "ta.settings.chatFold" | "ta.settings.chatFoldHint" | "ta.settings.chatFontSize" | "ta.settings.chatFontSizeHint" | "ta.settings.chats" | "ta.settings.confirmTasks" | "ta.settings.confirmTasksHint" | "ta.settings.cwd" | "ta.settings.cwdChange" | "ta.settings.cwdDescription" | "ta.settings.days" | "ta.settings.decides" | "ta.settings.default" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.fontSize" | "ta.settings.fontSize.large" | "ta.settings.fontSize.small" | "ta.settings.fontSize.standard" | "ta.settings.fontSize.xlarge" | "ta.settings.fontSizeHint" | "ta.settings.fromUser" | "ta.settings.group.context" | "ta.settings.group.conversation" | "ta.settings.group.model" | "ta.settings.group.tools" | "ta.settings.keepAlive" | "ta.settings.keepAliveDescription" | "ta.settings.language" | "ta.settings.language.system" | "ta.settings.links" | "ta.settings.loading" | "ta.settings.manageAccounts" | "ta.settings.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "ta.settings.more" | "ta.settings.motion" | "ta.settings.motionHint" | "ta.settings.navigation" | "ta.settings.navigation.folded" | "ta.settings.navigation.inNav" | "ta.settings.navigation.none" | "ta.settings.navigation.overflow" | "ta.settings.navigation.pinned" | "ta.settings.navigation.reset" | "ta.settings.navigation.resetButton" | "ta.settings.navigation.resetHint" | "ta.settings.navigation.show" | "ta.settings.navigation.slots" | "ta.settings.navigation.slotsHint" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.settings.web" | "ta.settings.webHint" | "ta.share.cannot" | "ta.share.copied" | "ta.share.copy" | "ta.share.making" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.send" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.listening" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseSend" | "ta.talk.tooShort" | "ta.task.allTasks" | "ta.task.done" | "ta.task.ended" | "ta.task.failed" | "ta.task.remove" | "ta.task.removeHint" | "ta.task.removeTitle" | "ta.task.running" | "ta.task.stopped" | "ta.task.takeOver" | "ta.task.takeOverHint" | "ta.task.takenOver" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.update.later" | "ta.update.ready" | "ta.update.readyDetail" | "ta.update.restartTo" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "ta.workbench.maximize" | "ta.workbench.noCards" | "ta.workbench.noCardsHint" | "ta.workbench.open" | "ta.workbench.restore" | "ta.workbench.tabs" | "ta.workingDirectory.changed" | "ta.yes" | "ta.zoom.actual" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
|
|
8
8
|
add: (text: string, scanned?: boolean) => Promise<void>;
|
|
9
9
|
scan: () => Promise<void>;
|
|
10
10
|
canScan: boolean;
|
|
@@ -5,9 +5,16 @@ import * as React from 'react';
|
|
|
5
5
|
* its close button or Escape closes it. In the top layer, so no container clips it; the touches in it are its
|
|
6
6
|
* own, never a swipe of a sheet under it.
|
|
7
7
|
*/
|
|
8
|
-
export declare function Lightbox({ src, alt, onClose, onPrevious, onNext }: {
|
|
8
|
+
export declare function Lightbox({ src, alt, caption, count, onClose, onPrevious, onNext, }: {
|
|
9
9
|
src: string;
|
|
10
10
|
alt: string;
|
|
11
|
+
/** The words that name it, at the top. */
|
|
12
|
+
caption?: string;
|
|
13
|
+
/** Of the images it goes through: which it is and how many, as "2 / 5". */
|
|
14
|
+
count?: {
|
|
15
|
+
at: number;
|
|
16
|
+
of: number;
|
|
17
|
+
};
|
|
11
18
|
onClose(): void;
|
|
12
19
|
onPrevious?(): void;
|
|
13
20
|
onNext?(): void;
|
|
@@ -9,7 +9,7 @@ import { ImageViewer } from './image-viewer.js';
|
|
|
9
9
|
* its close button or Escape closes it. In the top layer, so no container clips it; the touches in it are its
|
|
10
10
|
* own, never a swipe of a sheet under it.
|
|
11
11
|
*/
|
|
12
|
-
export function Lightbox({ src, alt, onClose, onPrevious, onNext }) {
|
|
12
|
+
export function Lightbox({ src, alt, caption, count, onClose, onPrevious, onNext, }) {
|
|
13
13
|
const t = useT();
|
|
14
14
|
const dialog = React.useRef(null);
|
|
15
15
|
React.useEffect(() => {
|
|
@@ -19,6 +19,9 @@ export function Lightbox({ src, alt, onClose, onPrevious, onNext }) {
|
|
|
19
19
|
const close = () => { var _a; return (_a = dialog.current) === null || _a === void 0 ? void 0 : _a.close(); };
|
|
20
20
|
return (React.createElement("dialog", { ref: dialog, className: "ta-lightbox", onClose: onClose, onTouchStart: event => event.stopPropagation() },
|
|
21
21
|
React.createElement(ImageViewer, { key: src, src: src, alt: alt, onBackground: close, onPrevious: onPrevious, onNext: onNext, autoFocus: true }),
|
|
22
|
+
(caption || count) && (React.createElement("div", { className: "ta-lightbox-caption" },
|
|
23
|
+
caption && React.createElement("span", { className: "ta-lightbox-words" }, caption),
|
|
24
|
+
count && count.of > 1 && React.createElement("span", { className: "ta-lightbox-count" }, `${count.at + 1} / ${count.of}`))),
|
|
22
25
|
React.createElement("button", { type: "button", className: "ta-lightbox-close", title: t('ta.close'), "aria-label": t('ta.close'), onClick: close },
|
|
23
26
|
React.createElement(Icon, { icon: X, size: 18 }))));
|
|
24
27
|
}
|
|
@@ -3,7 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
import { useT } from '../i18n/use-t.js';
|
|
4
4
|
import { CodeAnswer, CodeRenderers, CodeReply } from '../markdown/code-renderers.js';
|
|
5
5
|
import { MermaidUtil } from '../markdown/mermaid.js';
|
|
6
|
+
import { GalleryUtil } from '../util/gallery.js';
|
|
6
7
|
import { MarkdownUtil } from '../util/markdown.js';
|
|
8
|
+
import { Gallery } from './gallery.js';
|
|
7
9
|
import { IconButton } from './icon.js';
|
|
8
10
|
import { CodeLink, LinkView } from './link.js';
|
|
9
11
|
import { MathView } from './math.js';
|
|
@@ -114,6 +116,8 @@ const Block = React.memo(function Block({ block }) {
|
|
|
114
116
|
React.createElement(Text, { text: cell })))))))))));
|
|
115
117
|
case 'rule':
|
|
116
118
|
return React.createElement("hr", null);
|
|
119
|
+
case 'gallery':
|
|
120
|
+
return React.createElement(Gallery, { items: block.items });
|
|
117
121
|
default:
|
|
118
122
|
return (React.createElement("p", null,
|
|
119
123
|
React.createElement(Text, { text: block.text })));
|
|
@@ -126,7 +130,8 @@ const Block = React.memo(function Block({ block }) {
|
|
|
126
130
|
function useBlocks(text, streaming) {
|
|
127
131
|
const previous = React.useRef([]);
|
|
128
132
|
return React.useMemo(() => {
|
|
129
|
-
|
|
133
|
+
// Pictures one after another show together (GalleryUtil).
|
|
134
|
+
const blocks = GalleryUtil.group(streaming ? MarkdownUtil.streaming(text) : MarkdownUtil.blocks(text));
|
|
130
135
|
const kept = blocks.map((block, index) => (MarkdownUtil.same(previous.current[index], block) ? previous.current[index] : block));
|
|
131
136
|
previous.current = kept;
|
|
132
137
|
return kept;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ThumbnailUtil } from '../util/thumbnail.js';
|
|
2
3
|
/**
|
|
3
4
|
* Where the page loads a file of the workspace from (TaWorkspaceServer.fileUrl), in the directory of the
|
|
4
|
-
* conversation that shows it; without it, files of the workspace do not show.
|
|
5
|
+
* conversation that shows it, smaller in `box` (ThumbnailUtil); without it, files of the workspace do not show.
|
|
6
|
+
* Through a relay what it gives is a blob: URL of the bytes, to which nothing can be added: the box is asked of
|
|
7
|
+
* the file before.
|
|
5
8
|
*/
|
|
6
|
-
export declare const FileUrls: React.Context<((path: string) => Promise<string>) | undefined>;
|
|
9
|
+
export declare const FileUrls: React.Context<((path: string, box?: ThumbnailUtil.Box) => Promise<string>) | undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* The URL of a target: as it is, or for a path, the URL of the file, smaller in `box`; null when it cannot show,
|
|
12
|
+
* undefined while it is asked (and for no target).
|
|
13
|
+
*/
|
|
14
|
+
export declare function useMediaUrl(src: string | undefined, box?: ThumbnailUtil.Box): string | null | undefined;
|
|
15
|
+
/** The URLs of targets, as `useMediaUrl` gives each, all in one `box`: the tiles of a gallery. */
|
|
16
|
+
export declare function useMediaUrls(sources: readonly string[], box?: ThumbnailUtil.Box): (string | null | undefined)[];
|
|
7
17
|
/** An image, a video or a sound a reply shows: from the web, a data URL, or a file of the workspace. */
|
|
8
18
|
export declare function MediaView({ src, alt }: {
|
|
9
19
|
src: string;
|
|
@@ -3,11 +3,14 @@ import * as React from 'react';
|
|
|
3
3
|
import { useT } from '../i18n/use-t.js';
|
|
4
4
|
import { KeptRecent } from '../markdown/lazy.js';
|
|
5
5
|
import { MarkdownUtil } from '../util/markdown.js';
|
|
6
|
+
import { ThumbnailUtil } from '../util/thumbnail.js';
|
|
6
7
|
import { Icon } from './icon.js';
|
|
7
8
|
import { Lightbox } from './lightbox.js';
|
|
8
9
|
/**
|
|
9
10
|
* Where the page loads a file of the workspace from (TaWorkspaceServer.fileUrl), in the directory of the
|
|
10
|
-
* conversation that shows it; without it, files of the workspace do not show.
|
|
11
|
+
* conversation that shows it, smaller in `box` (ThumbnailUtil); without it, files of the workspace do not show.
|
|
12
|
+
* Through a relay what it gives is a blob: URL of the bytes, to which nothing can be added: the box is asked of
|
|
13
|
+
* the file before.
|
|
11
14
|
*/
|
|
12
15
|
export const FileUrls = React.createContext(undefined);
|
|
13
16
|
/**
|
|
@@ -17,35 +20,75 @@ export const FileUrls = React.createContext(undefined);
|
|
|
17
20
|
const shown = new KeptRecent('ta.media.shown', 300);
|
|
18
21
|
/** The max-height of an image of a reply (style/conversation.ts). */
|
|
19
22
|
const MEDIA_MAX_HEIGHT = 420;
|
|
20
|
-
/**
|
|
21
|
-
|
|
23
|
+
/** As wide as an image of a reply shows at most: the column of the conversation. */
|
|
24
|
+
const MEDIA_MAX_WIDTH = 720;
|
|
25
|
+
/** The box an image of a reply asks for. */
|
|
26
|
+
const IMAGE_BOX = { width: ThumbnailUtil.side(MEDIA_MAX_WIDTH), height: ThumbnailUtil.side(MEDIA_MAX_HEIGHT) };
|
|
27
|
+
/**
|
|
28
|
+
* The URL of a target: as it is, or for a path, the URL of the file, smaller in `box`; null when it cannot show,
|
|
29
|
+
* undefined while it is asked (and for no target).
|
|
30
|
+
*/
|
|
31
|
+
export function useMediaUrl(src, box) {
|
|
22
32
|
const fileUrl = React.useContext(FileUrls);
|
|
23
|
-
const path = MarkdownUtil.localPath(src);
|
|
24
|
-
const
|
|
33
|
+
const path = src === undefined ? undefined : MarkdownUtil.localPath(src);
|
|
34
|
+
const { width, height, cover } = box !== null && box !== void 0 ? box : {};
|
|
35
|
+
// What it asked for with the URL: another target (a gallery enlarged goes through its pictures) is not shown the one before.
|
|
36
|
+
const asked = `${path} ${width}x${height}${cover ? ' cover' : ''}`;
|
|
37
|
+
const [found, setFound] = React.useState();
|
|
25
38
|
React.useEffect(() => {
|
|
26
39
|
if (path === undefined) {
|
|
27
|
-
setUrl(src);
|
|
28
40
|
return;
|
|
29
41
|
}
|
|
30
42
|
if (!fileUrl) {
|
|
31
|
-
|
|
43
|
+
setFound({ asked, url: null });
|
|
32
44
|
return;
|
|
33
45
|
}
|
|
34
46
|
let current = true;
|
|
35
|
-
fileUrl(path).then(url => current &&
|
|
47
|
+
fileUrl(path, width && height ? { width, height, cover } : undefined).then(url => current && setFound({ asked, url }), () => current && setFound({ asked, url: null }));
|
|
36
48
|
return () => {
|
|
37
49
|
current = false;
|
|
38
50
|
};
|
|
39
|
-
}, [fileUrl, path,
|
|
40
|
-
|
|
51
|
+
}, [fileUrl, path, asked, width, height, cover]);
|
|
52
|
+
if (path === undefined) {
|
|
53
|
+
return src;
|
|
54
|
+
}
|
|
55
|
+
return (found === null || found === void 0 ? void 0 : found.asked) === asked ? found.url : undefined;
|
|
56
|
+
}
|
|
57
|
+
/** The URLs of targets, as `useMediaUrl` gives each, all in one `box`: the tiles of a gallery. */
|
|
58
|
+
export function useMediaUrls(sources, box) {
|
|
59
|
+
const fileUrl = React.useContext(FileUrls);
|
|
60
|
+
const key = sources.join('\n');
|
|
61
|
+
const { width, height, cover } = box !== null && box !== void 0 ? box : {};
|
|
62
|
+
const [urls, setUrls] = React.useState({});
|
|
63
|
+
React.useEffect(() => {
|
|
64
|
+
let current = true;
|
|
65
|
+
for (const src of key.split('\n')) {
|
|
66
|
+
const path = MarkdownUtil.localPath(src);
|
|
67
|
+
if (path === undefined) {
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
if (!fileUrl) {
|
|
71
|
+
setUrls(known => ({ ...known, [src]: null }));
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
fileUrl(path, width && height ? { width, height, cover } : undefined).then(url => current && setUrls(known => ({ ...known, [src]: url })), () => current && setUrls(known => ({ ...known, [src]: null })));
|
|
75
|
+
}
|
|
76
|
+
return () => {
|
|
77
|
+
current = false;
|
|
78
|
+
};
|
|
79
|
+
}, [fileUrl, key, width, height, cover]);
|
|
80
|
+
return sources.map(src => (MarkdownUtil.localPath(src) === undefined ? src : urls[src]));
|
|
41
81
|
}
|
|
42
82
|
/** An image, a video or a sound a reply shows: from the web, a data URL, or a file of the workspace. */
|
|
43
83
|
export function MediaView({ src, alt }) {
|
|
44
84
|
var _a;
|
|
45
85
|
const t = useT();
|
|
46
|
-
const
|
|
86
|
+
const kind = (_a = MarkdownUtil.media(src)) !== null && _a !== void 0 ? _a : 'image';
|
|
87
|
+
// A picture of the workspace loads as large as it shows (ThumbnailUtil); enlarged, as it is.
|
|
88
|
+
const url = useMediaUrl(src, kind === 'image' ? IMAGE_BOX : undefined);
|
|
47
89
|
const [failedUrl, setFailedUrl] = React.useState();
|
|
48
90
|
const [open, setOpen] = React.useState(false);
|
|
91
|
+
const full = useMediaUrl(open && kind === 'image' ? src : undefined);
|
|
49
92
|
const [loaded, setLoaded] = React.useState(false);
|
|
50
93
|
const known = shown.get(src);
|
|
51
94
|
const failed = (!!url && url === failedUrl) || known === false;
|
|
@@ -56,7 +99,6 @@ export function MediaView({ src, alt }) {
|
|
|
56
99
|
}
|
|
57
100
|
setFailedUrl(url !== null && url !== void 0 ? url : undefined);
|
|
58
101
|
};
|
|
59
|
-
const kind = (_a = MarkdownUtil.media(src)) !== null && _a !== void 0 ? _a : 'image';
|
|
60
102
|
const size = kind === 'image' && known ? known : undefined;
|
|
61
103
|
// Of the size it had when known: its place does not change as it loads.
|
|
62
104
|
const box = size &&
|
|
@@ -92,7 +134,7 @@ export function MediaView({ src, alt }) {
|
|
|
92
134
|
}
|
|
93
135
|
setLoaded(true);
|
|
94
136
|
}, onError: setFailed })),
|
|
95
|
-
open && React.createElement(Lightbox, { src: url, alt: alt, onClose: () => setOpen(false) })));
|
|
137
|
+
open && React.createElement(Lightbox, { src: full || url, alt: alt, onClose: () => setOpen(false) })));
|
|
96
138
|
}
|
|
97
139
|
}
|
|
98
140
|
//# sourceMappingURL=media.js.map
|
|
@@ -6,6 +6,7 @@ import { WEB_ICONS } from '../extension/icons.js';
|
|
|
6
6
|
import { useLanguage, useT } from '../i18n/use-t.js';
|
|
7
7
|
import { CodeAnswer, CodeRenderers } from '../markdown/code-renderers.js';
|
|
8
8
|
import { Recent } from '../markdown/lazy.js';
|
|
9
|
+
import { GalleryUtil } from '../util/gallery.js';
|
|
9
10
|
import { MessageUtil } from '../util/message.js';
|
|
10
11
|
import { FreshRows, ProcessUtil } from '../util/process.js';
|
|
11
12
|
import { ProgressUtil } from '../util/progress.js';
|
|
@@ -164,9 +165,9 @@ export function UserImages({ blocks, timestamp }) {
|
|
|
164
165
|
}
|
|
165
166
|
const single = images.length === 1 ? UserImageUtil.box(UserImageUtil.size(images[0].block)) : undefined;
|
|
166
167
|
const shown = open !== undefined ? sources[open] : undefined;
|
|
167
|
-
return (React.createElement("div", { className: "ta-user-images", "data-count": Math.min(images.length, 3) },
|
|
168
|
+
return (React.createElement("div", { className: "ta-user-images", "data-count": Math.min(images.length, 3), style: { '--ta-user-image-columns': GalleryUtil.columns(images.length) } },
|
|
168
169
|
images.map(({ index }, at) => (React.createElement("button", { key: index, type: "button", className: "ta-user-image", title: t('ta.markdown.enlarge'), disabled: !sources[at], onClick: () => setOpen(at) }, sources[at] ? (React.createElement("img", { className: "ta-thumb", src: sources[at], alt: "", style: single })) : (React.createElement("span", { className: "ta-thumb ta-thumb-waiting", style: single }))))),
|
|
169
|
-
open !== undefined && shown && (React.createElement(Lightbox, { src: shown, alt: "", onClose: () => setOpen(undefined), onPrevious: open > 0 && sources[open - 1] ? () => setOpen(open - 1) : undefined, onNext: open < images.length - 1 && sources[open + 1] ? () => setOpen(open + 1) : undefined }))));
|
|
170
|
+
open !== undefined && shown && (React.createElement(Lightbox, { src: shown, alt: "", count: { at: open, of: images.length }, onClose: () => setOpen(undefined), onPrevious: open > 0 && sources[open - 1] ? () => setOpen(open - 1) : undefined, onNext: open < images.length - 1 && sources[open + 1] ? () => setOpen(open + 1) : undefined }))));
|
|
170
171
|
}
|
|
171
172
|
/**
|
|
172
173
|
* What the user said, in the bubble of a message of theirs, with the pictures they sent with it in the same
|
|
@@ -74,6 +74,7 @@ function SessionToast({ notice, leaving, leave, hold, }) {
|
|
|
74
74
|
React.createElement(IconButton, { icon: X, label: t('ta.dismiss'), className: "ta-toast-close", onClick: leave })));
|
|
75
75
|
}
|
|
76
76
|
function Toast({ notice, notices }) {
|
|
77
|
+
var _a;
|
|
77
78
|
const t = useT();
|
|
78
79
|
const [leaving, setLeaving] = React.useState(false);
|
|
79
80
|
const leave = React.useCallback(() => {
|
|
@@ -94,11 +95,14 @@ function Toast({ notice, notices }) {
|
|
|
94
95
|
notice.count)),
|
|
95
96
|
notice.detail && React.createElement("div", { className: "ta-toast-detail" }, notice.detail),
|
|
96
97
|
notice.art && React.createElement(TerminalArt, { art: notice.art, className: "ta-toast-art", label: t('ta.notice.picture') }),
|
|
97
|
-
notice.action
|
|
98
|
+
((_a = notice.actions) === null || _a === void 0 ? void 0 : _a.length) ? (React.createElement("div", { className: "ta-toast-actions" }, [...notice.actions, ...(notice.action ? [notice.action] : [])].map(action => (React.createElement("button", { key: action.label, type: "button", className: "ta-toast-action", onClick: () => {
|
|
99
|
+
action.run();
|
|
100
|
+
leave();
|
|
101
|
+
} }, action.label))))) : (notice.action && (React.createElement("button", { type: "button", className: "ta-toast-action", onClick: () => {
|
|
98
102
|
var _a;
|
|
99
103
|
(_a = notice.action) === null || _a === void 0 ? void 0 : _a.run();
|
|
100
104
|
leave();
|
|
101
|
-
} }, notice.action.label))),
|
|
105
|
+
} }, notice.action.label)))),
|
|
102
106
|
React.createElement(IconButton, { icon: X, label: t('ta.dismiss'), className: "ta-toast-close", onClick: leave })));
|
|
103
107
|
}
|
|
104
108
|
function ConfirmDialog({ request, notices }) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TaServerInfo, TaServerUpdate } from '@celljs/ta-protocol';
|
|
2
|
+
export declare namespace ServeRestartUtil {
|
|
3
|
+
/** `v4.16.0`, with the commit of a build of the development channel: `v4.16.0 (695fbe1)`. */
|
|
4
|
+
function label(build: {
|
|
5
|
+
version: string;
|
|
6
|
+
build?: string;
|
|
7
|
+
}): string;
|
|
8
|
+
function key(update: TaServerUpdate): string;
|
|
9
|
+
/** Whether the page may restart Ta: the owner, of a Ta service that can restart itself. */
|
|
10
|
+
function restartable(server: TaServerInfo | undefined): boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface RestartTa {
|
|
13
|
+
/** The page may restart Ta. */
|
|
14
|
+
can: boolean;
|
|
15
|
+
restarting: boolean;
|
|
16
|
+
/** Another build installed, which a restart runs. */
|
|
17
|
+
update?: TaServerUpdate;
|
|
18
|
+
/** Asks the user first, unless they already said so (the button of the notice of an update). */
|
|
19
|
+
restart(ask?: boolean): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export declare function useRestartTa(): RestartTa;
|
|
22
|
+
/**
|
|
23
|
+
* Tells of what restarting Ta is about, in a corner: another build installed (an update of Ta Desktop, `npm i -g`, a
|
|
24
|
+
* build of the repository), with Restart and Later, once for each build; Ta restarting, then back with its version.
|
|
25
|
+
*/
|
|
26
|
+
export declare function ServeRestartNotices(): null;
|