@celljs/ta-web 4.11.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/assistant/assistant-view.js +5 -2
  4. package/esm/browser/chat/chat-view.js +6 -5
  5. package/esm/browser/components/app-view.js +8 -4
  6. package/esm/browser/components/composer-box.d.ts +1 -0
  7. package/esm/browser/components/composer-box.js +50 -28
  8. package/esm/browser/components/composer.d.ts +3 -0
  9. package/esm/browser/components/composer.js +28 -2
  10. package/esm/browser/components/conversation-scroll-hooks.d.ts +16 -0
  11. package/esm/browser/components/conversation-scroll-hooks.js +98 -0
  12. package/esm/browser/components/conversation-scroll-util.d.ts +30 -0
  13. package/esm/browser/components/conversation-scroll-util.js +56 -0
  14. package/esm/browser/components/conversation-scroll.d.ts +45 -31
  15. package/esm/browser/components/conversation-scroll.js +125 -123
  16. package/esm/browser/components/face.d.ts +24 -0
  17. package/esm/browser/components/face.js +42 -0
  18. package/esm/browser/components/host-view.d.ts +1 -1
  19. package/esm/browser/components/media.js +59 -10
  20. package/esm/browser/components/message-actions.js +1 -0
  21. package/esm/browser/components/message-footer.d.ts +2 -0
  22. package/esm/browser/components/message-list.d.ts +3 -1
  23. package/esm/browser/components/message-list.js +55 -23
  24. package/esm/browser/components/phone-shell.js +2 -0
  25. package/esm/browser/components/session-view.d.ts +3 -1
  26. package/esm/browser/components/session-view.js +7 -3
  27. package/esm/browser/components/stop-times.d.ts +47 -0
  28. package/esm/browser/components/stop-times.js +81 -0
  29. package/esm/browser/components/use-stop-times.d.ts +3 -0
  30. package/esm/browser/components/use-stop-times.js +17 -0
  31. package/esm/browser/device/photo-picker.d.ts +14 -0
  32. package/esm/browser/device/photo-picker.js +48 -0
  33. package/esm/browser/device/row-swipe.d.ts +2 -0
  34. package/esm/browser/device/row-swipe.js +8 -2
  35. package/esm/browser/device/sheet-swipe.d.ts +1 -1
  36. package/esm/browser/device/sheet-swipe.js +17 -3
  37. package/esm/browser/extension/icons.js +2 -1
  38. package/esm/browser/extension/web-api-components.d.ts +18 -0
  39. package/esm/browser/extension/web-api-contributions.d.ts +9 -0
  40. package/esm/browser/extension/web-extension-api.d.ts +22 -2
  41. package/esm/browser/extension/web-extension-context.js +9 -1
  42. package/esm/browser/extension/web-extension-protocol.d.ts +13 -1
  43. package/esm/browser/extension/web-extension-protocol.js +1 -0
  44. package/esm/browser/extension/web-extensions.js +3 -0
  45. package/esm/browser/i18n/locales.d.ts +11 -1
  46. package/esm/browser/i18n/messages.d.ts +10 -0
  47. package/esm/browser/i18n/messages.js +20 -0
  48. package/esm/browser/links/links-protocol.d.ts +2 -0
  49. package/esm/browser/links/links.d.ts +7 -2
  50. package/esm/browser/links/links.js +16 -9
  51. package/esm/browser/style/conversation.d.ts +1 -1
  52. package/esm/browser/style/conversation.js +2 -0
  53. package/esm/browser/style/layout.d.ts +1 -1
  54. package/esm/browser/style/layout.js +3 -0
  55. package/esm/browser/style/pages.d.ts +1 -1
  56. package/esm/browser/style/pages.js +3 -0
  57. package/esm/browser/style/shell.d.ts +1 -1
  58. package/esm/browser/style/shell.js +2 -0
  59. package/esm/browser/style/surfaces.d.ts +1 -1
  60. package/esm/browser/style/surfaces.js +19 -0
  61. package/esm/browser/util/frame.d.ts +2 -0
  62. package/esm/browser/util/frame.js +2 -0
  63. package/esm/browser/util/process.d.ts +43 -1
  64. package/esm/browser/util/process.js +84 -3
  65. package/lib/browser/assistant/assistant-view.js +5 -2
  66. package/lib/browser/chat/chat-view.js +6 -5
  67. package/lib/browser/components/app-view.js +8 -4
  68. package/lib/browser/components/composer-box.d.ts +1 -0
  69. package/lib/browser/components/composer-box.js +48 -26
  70. package/lib/browser/components/composer.d.ts +3 -0
  71. package/lib/browser/components/composer.js +28 -2
  72. package/lib/browser/components/conversation-scroll-hooks.d.ts +17 -0
  73. package/lib/browser/components/conversation-scroll-hooks.js +135 -0
  74. package/lib/browser/components/conversation-scroll-util.d.ts +31 -0
  75. package/lib/browser/components/conversation-scroll-util.js +60 -0
  76. package/lib/browser/components/conversation-scroll.d.ts +45 -31
  77. package/lib/browser/components/conversation-scroll.js +126 -158
  78. package/lib/browser/components/face.d.ts +25 -0
  79. package/lib/browser/components/face.js +79 -0
  80. package/lib/browser/components/host-view.d.ts +1 -1
  81. package/lib/browser/components/media.js +59 -10
  82. package/lib/browser/components/message-actions.js +1 -0
  83. package/lib/browser/components/message-footer.d.ts +2 -0
  84. package/lib/browser/components/message-list.d.ts +3 -1
  85. package/lib/browser/components/message-list.js +53 -21
  86. package/lib/browser/components/phone-shell.js +2 -0
  87. package/lib/browser/components/session-view.d.ts +3 -1
  88. package/lib/browser/components/session-view.js +8 -4
  89. package/lib/browser/components/stop-times.d.ts +48 -0
  90. package/lib/browser/components/stop-times.js +85 -0
  91. package/lib/browser/components/use-stop-times.d.ts +4 -0
  92. package/lib/browser/components/use-stop-times.js +53 -0
  93. package/lib/browser/device/photo-picker.d.ts +15 -0
  94. package/lib/browser/device/photo-picker.js +51 -0
  95. package/lib/browser/device/row-swipe.d.ts +2 -0
  96. package/lib/browser/device/row-swipe.js +8 -2
  97. package/lib/browser/device/sheet-swipe.d.ts +1 -1
  98. package/lib/browser/device/sheet-swipe.js +17 -3
  99. package/lib/browser/extension/icons.js +1 -0
  100. package/lib/browser/extension/web-api-components.d.ts +18 -0
  101. package/lib/browser/extension/web-api-contributions.d.ts +9 -0
  102. package/lib/browser/extension/web-extension-api.d.ts +22 -2
  103. package/lib/browser/extension/web-extension-context.js +10 -2
  104. package/lib/browser/extension/web-extension-protocol.d.ts +13 -1
  105. package/lib/browser/extension/web-extension-protocol.js +1 -0
  106. package/lib/browser/extension/web-extensions.js +3 -0
  107. package/lib/browser/i18n/locales.d.ts +11 -1
  108. package/lib/browser/i18n/messages.d.ts +10 -0
  109. package/lib/browser/i18n/messages.js +20 -0
  110. package/lib/browser/links/links-protocol.d.ts +2 -0
  111. package/lib/browser/links/links.d.ts +7 -2
  112. package/lib/browser/links/links.js +16 -9
  113. package/lib/browser/style/conversation.d.ts +1 -1
  114. package/lib/browser/style/conversation.js +2 -0
  115. package/lib/browser/style/layout.d.ts +1 -1
  116. package/lib/browser/style/layout.js +3 -0
  117. package/lib/browser/style/pages.d.ts +1 -1
  118. package/lib/browser/style/pages.js +3 -0
  119. package/lib/browser/style/shell.d.ts +1 -1
  120. package/lib/browser/style/shell.js +2 -0
  121. package/lib/browser/style/surfaces.d.ts +1 -1
  122. package/lib/browser/style/surfaces.js +19 -0
  123. package/lib/browser/util/frame.d.ts +2 -0
  124. package/lib/browser/util/frame.js +2 -0
  125. package/lib/browser/util/process.d.ts +43 -1
  126. package/lib/browser/util/process.js +86 -4
  127. package/package.json +7 -7
@@ -0,0 +1,81 @@
1
+ /** The stops kept at most: the latest. */
2
+ const KEPT = 30;
3
+ /**
4
+ * The last stops of every device, on the computer (the data of @celljs/ta-web, `stop.times`), to find where a slow
5
+ * stop spent its time: with the line `ta serve: stopped <session> in <ms>` of serve.log, what the run took to end on
6
+ * the computer; the rest of `answered` is the way there and back.
7
+ */
8
+ export const STOP_TIMES = {
9
+ key: 'stop.times',
10
+ tier: 'user',
11
+ initial: [],
12
+ parse: value => StopTimeUtil.parse(value),
13
+ merge: (local, remote) => StopTimeUtil.merge(local, remote),
14
+ };
15
+ export var StopTimeUtil;
16
+ (function (StopTimeUtil) {
17
+ const VIEWS = ['chat', 'double'];
18
+ const DEVICES = ['phone', 'tablet', 'desktop'];
19
+ const LINKS = ['relay', 'direct'];
20
+ function parse(value) {
21
+ if (!Array.isArray(value)) {
22
+ return undefined;
23
+ }
24
+ return value.filter((time) => !!time &&
25
+ typeof time.at === 'number' &&
26
+ typeof time.session === 'string' &&
27
+ VIEWS.includes(time.view) &&
28
+ DEVICES.includes(time.device) &&
29
+ LINKS.includes(time.link));
30
+ }
31
+ StopTimeUtil.parse = parse;
32
+ /** The stops of both, each once, by when they were pressed; `a` itself when `b` adds nothing. */
33
+ function merge(a, b) {
34
+ const keys = new Set(a.map(key));
35
+ const added = b.filter(time => !keys.has(key(time)));
36
+ return added.length ? [...a, ...added].sort((x, y) => x.at - y.at).slice(-KEPT) : a;
37
+ }
38
+ StopTimeUtil.merge = merge;
39
+ function add(times, time) {
40
+ return merge(times, [time]);
41
+ }
42
+ StopTimeUtil.add = add;
43
+ function key(time) {
44
+ return `${time.at}|${time.session}`;
45
+ }
46
+ })(StopTimeUtil || (StopTimeUtil = {}));
47
+ /**
48
+ * The timing of one stop, from the press: told (`StopTiming`) by whichever of the answer of the computer and the
49
+ * end of the run comes last; the answer comes after the end, which the computer tells first. A failed stop is told
50
+ * at its answer, without an end. Once told, nothing more.
51
+ */
52
+ export class StopClock {
53
+ constructor(start, at) {
54
+ this.start = start;
55
+ this.told = false;
56
+ this.timing = { at };
57
+ }
58
+ answered(now, failed = false) {
59
+ if (this.timing.answered === undefined) {
60
+ this.timing.answered = Math.round(now - this.start);
61
+ if (failed) {
62
+ this.timing.failed = true;
63
+ }
64
+ }
65
+ return this.tell();
66
+ }
67
+ ended(now) {
68
+ if (this.timing.ended === undefined && !this.timing.failed) {
69
+ this.timing.ended = Math.round(now - this.start);
70
+ }
71
+ return this.tell();
72
+ }
73
+ tell() {
74
+ if (this.told || this.timing.answered === undefined || (this.timing.ended === undefined && !this.timing.failed)) {
75
+ return undefined;
76
+ }
77
+ this.told = true;
78
+ return { ...this.timing };
79
+ }
80
+ }
81
+ //# sourceMappingURL=stop-times.js.map
@@ -0,0 +1,3 @@
1
+ import { type StopTime, type StopTiming } from './stop-times.js';
2
+ /** What keeps the timing of a stop pressed in the box of `sessionId`, shown in `view`. */
3
+ export declare function useStopTimes(sessionId: string, view: StopTime['view']): (timing: StopTiming) => void;
@@ -0,0 +1,17 @@
1
+ import { useInject } from '@celljs/react';
2
+ import * as React from 'react';
3
+ import { useDevice } from '../device/device.js';
4
+ import { useWorkbench } from '../hooks.js';
5
+ import { TaState } from '../state/state-protocol.js';
6
+ import { STOP_TIMES, StopTimeUtil } from './stop-times.js';
7
+ /** What keeps the timing of a stop pressed in the box of `sessionId`, shown in `view`. */
8
+ export function useStopTimes(sessionId, view) {
9
+ var _a;
10
+ const state = useInject(TaState);
11
+ const device = useDevice(device => (device.handheld ? 'phone' : device.touch ? 'tablet' : 'desktop'));
12
+ const [{ hosts, host }] = useWorkbench();
13
+ const credential = (_a = hosts.find(saved => saved.id === host)) === null || _a === void 0 ? void 0 : _a.credential;
14
+ const link = credential && 'pairing' in credential ? 'relay' : 'direct';
15
+ return React.useCallback((timing) => state.set(STOP_TIMES, StopTimeUtil.add(state.get(STOP_TIMES), { ...timing, session: sessionId.slice(0, 8), view, device, link })), [state, sessionId, view, device, link]);
16
+ }
17
+ //# sourceMappingURL=use-stop-times.js.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The photos of the device, picked in the library itself as WeChat's Album does: the Ta app on iOS opens it at once
3
+ * (PHPicker, which asks for no permission), where a file field shows a menu first (Photo Library, Take Photo,
4
+ * Choose File). A browser has no such picker: the message box uses its file field there.
5
+ */
6
+ export declare namespace PhotoPicker {
7
+ /** Whether the library opens at once here. */
8
+ function available(): boolean;
9
+ /**
10
+ * Up to `limit` photos, in the order picked; none when the user cancels. Not timed out: the user takes the time
11
+ * they need, and a pick started again ends the one before with none.
12
+ */
13
+ function pick(limit: number): Promise<File[]>;
14
+ }
@@ -0,0 +1,48 @@
1
+ import { RecentShots } from './recent-shots.js';
2
+ /**
3
+ * The photos of the device, picked in the library itself as WeChat's Album does: the Ta app on iOS opens it at once
4
+ * (PHPicker, which asks for no permission), where a file field shows a menu first (Photo Library, Take Photo,
5
+ * Choose File). A browser has no such picker: the message box uses its file field there.
6
+ */
7
+ export var PhotoPicker;
8
+ (function (PhotoPicker) {
9
+ let next = 0;
10
+ function native() {
11
+ var _a, _b;
12
+ return (_b = (_a = globalThis.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.taShots;
13
+ }
14
+ /** Whether the library opens at once here. */
15
+ function available() {
16
+ return native() !== undefined;
17
+ }
18
+ PhotoPicker.available = available;
19
+ /**
20
+ * Up to `limit` photos, in the order picked; none when the user cancels. Not timed out: the user takes the time
21
+ * they need, and a pick started again ends the one before with none.
22
+ */
23
+ function pick(limit) {
24
+ const photos = native();
25
+ if (!photos) {
26
+ return Promise.resolve([]);
27
+ }
28
+ const id = `p${++next}`;
29
+ return new Promise(resolve => {
30
+ const onEvent = (event) => {
31
+ const detail = event.detail;
32
+ if ((detail === null || detail === void 0 ? void 0 : detail.id) !== id) {
33
+ return;
34
+ }
35
+ globalThis.removeEventListener(RecentShots.EVENT, onEvent);
36
+ const images = Array.isArray(detail.images) ? detail.images : [];
37
+ resolve(images
38
+ .filter((image) => typeof image === 'string')
39
+ .map((image, index) => RecentShots.file(image, `photo-${index + 1}`))
40
+ .filter((file) => file !== undefined));
41
+ };
42
+ globalThis.addEventListener(RecentShots.EVENT, onEvent);
43
+ photos.postMessage({ id, action: 'pick', limit: Math.max(1, limit) });
44
+ });
45
+ }
46
+ PhotoPicker.pick = pick;
47
+ })(PhotoPicker || (PhotoPicker = {}));
48
+ //# sourceMappingURL=photo-picker.js.map
@@ -33,6 +33,8 @@ export declare namespace RowSwipeUtil {
33
33
  * of how many there are: 1 for the first, less for those after).
34
34
  */
35
35
  function shift(offset: number, width: number, share: number): number;
36
+ /** Whether a touch at `x`, on a screen `width` wide, is at an edge a sheet comes from (`sides`: the root's `data-edge-swipe`), which rows leave to it. */
37
+ function atSheetEdge(sides: string | undefined, x: number, width: number): boolean;
36
38
  /** Whether the move so far is the row's (more sideways than down, to the left unless open); undefined until it is told. */
37
39
  function claims(dx: number, dy: number, open: boolean): boolean | undefined;
38
40
  }
@@ -66,6 +66,13 @@ export var RowSwipeUtil;
66
66
  return (width + offset) * share;
67
67
  }
68
68
  RowSwipeUtil.shift = shift;
69
+ /** Whether a touch at `x`, on a screen `width` wide, is at an edge a sheet comes from (`sides`: the root's `data-edge-swipe`), which rows leave to it. */
70
+ function atSheetEdge(sides, x, width) {
71
+ var _a;
72
+ const list = (_a = sides === null || sides === void 0 ? void 0 : sides.split(' ')) !== null && _a !== void 0 ? _a : [];
73
+ return (list.includes('right') && x >= width - SwipeUtil.EDGE_PX) || (list.includes('left') && x <= SwipeUtil.EDGE_PX);
74
+ }
75
+ RowSwipeUtil.atSheetEdge = atSheetEdge;
69
76
  /** Whether the move so far is the row's (more sideways than down, to the left unless open); undefined until it is told. */
70
77
  function claims(dx, dy, open) {
71
78
  if (Math.hypot(dx, dy) < SwipeUtil.SLOP_PX) {
@@ -208,8 +215,7 @@ export function useRowSwipe(ref, enabled) {
208
215
  const touch = event.touches[0];
209
216
  claimed = undefined;
210
217
  // A swipe from the edge a sheet comes from is the sheet's (useSheetSwipe's edgeOver), not the row's.
211
- const side = document.documentElement.dataset.edgeSwipe;
212
- const edge = !!touch && (side === 'right' ? touch.clientX >= window.innerWidth - SwipeUtil.EDGE_PX : side === 'left' && touch.clientX <= SwipeUtil.EDGE_PX);
218
+ const edge = !!touch && RowSwipeUtil.atSheetEdge(document.documentElement.dataset.edgeSwipe, touch.clientX, window.innerWidth);
213
219
  // A game in the row slides for itself (OwnGestures).
214
220
  start =
215
221
  touch && !edge && !OwnGestures.within(event.target) && finger.follow(event, row)
@@ -191,7 +191,7 @@ export interface SheetSwipeOptions extends SheetSwipe {
191
191
  scrim?: string;
192
192
  /**
193
193
  * Over these (rows a finger swipes, SwipeRow), a sheet that opens from anywhere opens only from the edge:
194
- * the row has the swipe. The root then carries `data-edge-swipe` (the side), whose edge rows leave to it.
194
+ * the row has the swipe. The root then carries `data-edge-swipe` (the sides, as a list), whose edges rows leave to it.
195
195
  */
196
196
  edgeOver?: string;
197
197
  /** What the root's `data-sheet-drag` says while the finger moves it, for styles that tell one sheet from another. */
@@ -664,13 +664,27 @@ export function useSheetSwipe(options) {
664
664
  from.doc.addEventListener('touchstart', begin, { passive: true });
665
665
  return () => from.doc.removeEventListener('touchstart', begin);
666
666
  });
667
- const edge = !!latest.current.edgeOver;
667
+ // Of the sheets of both sides (the board, the workbench), each says its own.
668
+ const edge = latest.current.edgeOver ? latest.current.side : undefined;
669
+ const sides = (change) => {
670
+ var _a;
671
+ const next = change(((_a = root.dataset.edgeSwipe) !== null && _a !== void 0 ? _a : '').split(' ').filter(Boolean));
672
+ if (next.length) {
673
+ root.dataset.edgeSwipe = next.join(' ');
674
+ }
675
+ else {
676
+ delete root.dataset.edgeSwipe;
677
+ }
678
+ };
668
679
  if (edge) {
669
- root.dataset.edgeSwipe = latest.current.side;
680
+ sides(list => [...list, edge]);
670
681
  }
671
682
  return () => {
672
683
  if (edge) {
673
- delete root.dataset.edgeSwipe;
684
+ sides(list => {
685
+ const at = list.indexOf(edge);
686
+ return at < 0 ? list : [...list.slice(0, at), ...list.slice(at + 1)];
687
+ });
674
688
  }
675
689
  sources.dispose();
676
690
  finger.stop();
@@ -1,4 +1,4 @@
1
- import { AlarmClock, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, Bell, BellOff, BookOpen, Bot, Building2, CaseSensitive, Check, ChevronDown, ChevronRight, ChevronsDownUp, ChevronsUpDown, CircleAlert, CircleHelp, Clipboard, Clock, Code, Columns2, Contact, Copy, CopyMinus, CornerDownRight, CornerUpLeft, Crown, Download, Ellipsis, ExternalLink, Eye, File, FileArchive, FileDiff, FilePlus, Files, FileText, Film, Folder, FolderInput, FolderOpen, FolderPlus, FolderSearch, FolderTree, Forward, Gamepad2, GitBranch, GitCommitHorizontal, Globe, Grip, Hash, House, Image, Info, LayoutDashboard, Link, List, ListChecks, ListTodo, ListTree, ListX, LoaderCircle, LocateFixed, MapIcon, Megaphone, MessageCircle, MessageSquareDot, MessageSquareText, MessagesSquare, Mic, Minus, MousePointerClick, PackageOpen, Paperclip, Pencil, Pin, PinOff, Play, Plus, Power, Puzzle, QrCode, RefreshCw, Regex, Replace, ReplaceAll, RotateCcw, Rows2, Save, ScanLine, ScrollText, Search, Send, Server, Share2, Sparkles, Square, SquareMinus, SquarePlus, SquareTerminal, Star, StarOff, Store, Text, Trash2, Trophy, Undo2, Unplug, Upload, User, UserPlus, Users, Volume2, WholeWord, X, } from 'lucide-react';
1
+ import { AlarmClock, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, Bell, BellOff, BookOpen, Bot, Building2, CaseSensitive, Check, ChevronDown, ChevronRight, ChevronsDownUp, ChevronsUpDown, CircleAlert, CircleHelp, Clipboard, Clock, Code, Columns2, Contact, Copy, CopyMinus, CornerDownRight, CornerUpLeft, Crown, Download, Ellipsis, ExternalLink, Eye, File, FileArchive, FileDiff, FilePlus, Files, FileText, Film, Folder, FolderInput, FolderOpen, FolderPlus, FolderSearch, FolderTree, Forward, Gamepad2, GitBranch, GitCommitHorizontal, Globe, Grip, Hash, House, Image, Info, KeyRound, LayoutDashboard, Link, List, ListChecks, ListTodo, ListTree, ListX, LoaderCircle, LocateFixed, MapIcon, Megaphone, MessageCircle, MessageSquareDot, MessageSquareText, MessagesSquare, Mic, Minus, MousePointerClick, PackageOpen, Paperclip, Pencil, Pin, PinOff, Play, Plus, Power, Puzzle, QrCode, RefreshCw, Regex, Replace, ReplaceAll, RotateCcw, Rows2, Save, ScanLine, ScrollText, Search, Send, Server, Share2, Sparkles, Square, SquareMinus, SquarePlus, SquareTerminal, Star, StarOff, Store, Text, Trash2, Trophy, Undo2, Unplug, Upload, User, UserPlus, Users, Volume2, WholeWord, X, } from 'lucide-react';
2
2
  /** The icons a web extension gets as `pi.ui.icons`; names are lucide's. Only add: removing one breaks extensions. */
3
3
  export const WEB_ICONS = Object.freeze({
4
4
  AlarmClock,
@@ -57,6 +57,7 @@ export const WEB_ICONS = Object.freeze({
57
57
  House,
58
58
  Image,
59
59
  Info,
60
+ KeyRound,
60
61
  LayoutDashboard,
61
62
  Link,
62
63
  List,
@@ -175,6 +175,24 @@ export interface WebDialogProps {
175
175
  onClose(): void;
176
176
  children?: React.ReactNode;
177
177
  }
178
+ export interface WebFaceProps {
179
+ /** One of the 16 faces; else that of `seed`. */
180
+ face?: number;
181
+ seed?: string;
182
+ size: number;
183
+ /** At work: the eyes look about. */
184
+ working?: boolean;
185
+ /** A dot at its corner: green online, grey not; none without. Its ring is `--ta-face-ring` (the page's colour). */
186
+ online?: boolean;
187
+ }
188
+ export interface WebGroupFaceProps {
189
+ members: readonly {
190
+ face?: number;
191
+ seed?: string;
192
+ working?: boolean;
193
+ }[];
194
+ size: number;
195
+ }
178
196
  export interface WebStackProps {
179
197
  /** The page under it. */
180
198
  base: React.ReactNode;
@@ -175,6 +175,15 @@ export interface WebHomeItem {
175
175
  at?: number;
176
176
  /** Not seen yet: the amber dot of a row of the lists. */
177
177
  unseen?: boolean;
178
+ /**
179
+ * The title of a section of its own, which the user folds as those of Ta (members, channels), after them: rows of the
180
+ * same section together. None: right under the double. Newer than some Ta apps, which list it under the double.
181
+ */
182
+ section?: string;
183
+ /** Drawn in place of the icon on its tile, `size` wide: a face of its own (a group's). */
184
+ face?: React.ComponentType<{
185
+ size: number;
186
+ }>;
178
187
  /** A promise keeps the row busy. */
179
188
  open(): unknown;
180
189
  }
@@ -1,4 +1,4 @@
1
- import type { TaEvent, TaPackageServer, TaRemoteServer, TaRoomEvent, TaRoomServer, TaServer, TaSessionInfo, TaSettingsServer, TaTerminalServer, TaWorkspaceServer } from '@celljs/ta-protocol';
1
+ import type { TaEvent, TaPackageServer, TaRemoteServer, TaRoomEvent, TaRoomServer, TaSavedSessionInfo, TaServer, TaSessionInfo, TaSettingsServer, TaTerminalServer, TaWorkspaceServer } from '@celljs/ta-protocol';
2
2
  import type * as React from 'react';
3
3
  import type { Mood } from '../avatar/dino-avatar.js';
4
4
  import type { DeviceState } from '../device/device-protocol.js';
@@ -6,7 +6,7 @@ import type { TaFiles } from '../files/files-protocol.js';
6
6
  import type { GameProps } from '../game/game-protocol.js';
7
7
  import type { Game3DProps } from '../game/game3d-protocol.js';
8
8
  import type { Language, Theme } from '../settings/settings-protocol.js';
9
- import type { CodeEditorProps, DiffEditorProps, WebComposerProps, WebDialogProps, WebEmptyProps, WebFolderPickerProps, WebFullScreenProps, WebHoldToTalkProps, WebImageViewerProps, WebModelPickerProps, WebPictureCardsProps, WebPictureProps, WebSelectBarProps, WebSelectCheckProps, WebSkeletonProps, WebStackProps, WebSwipeRowProps, WebSwitchProps, WebVoice } from './web-api-components.js';
9
+ import type { CodeEditorProps, DiffEditorProps, WebComposerProps, WebDialogProps, WebEmptyProps, WebFaceProps, WebFolderPickerProps, WebFullScreenProps, WebGroupFaceProps, WebHoldToTalkProps, WebImageViewerProps, WebModelPickerProps, WebPictureCardsProps, WebPictureProps, WebSelectBarProps, WebSelectCheckProps, WebSkeletonProps, WebStackProps, WebSwipeRowProps, WebSwitchProps, WebVoice } from './web-api-components.js';
10
10
  import type { WebChatIconSource, WebCodeRendererProps, WebComposerAddon, WebCustomMessage, WebEditor, WebHomeEntry, WebHomeSource, WebMenuItem, WebSearchSource, WebSessionNotice, WebSettingsSection, WebShareTarget, WebTaskEntry, WebTaskRemoval, WebTaskSource, WebTool, WebToolRendererResolver, WebView, WebViewInfo, WidgetOptions } from './web-api-contributions.js';
11
11
  import type { WebDesktop, WebFileDrag } from './web-api-desktop.js';
12
12
  import type { WebTerminal, WebTerminalOptions } from './web-api-terminal.js';
@@ -134,6 +134,12 @@ export interface WebExtensionAPI {
134
134
  * A session still opening (a promise of its id) is in front at once, as it opens, under `opening`: the user sees the click take.
135
135
  */
136
136
  switchSession(session: string | Promise<string>, opening?: WebSessionOpening): Promise<void>;
137
+ /**
138
+ * Shows the conversation of a session file of Ta as the lists open it: at once as the page or the device has it,
139
+ * opened again in one round trip when it closed; false when no conversation has it. Newer than some Ta apps:
140
+ * `pi.openChat?.(…)`.
141
+ */
142
+ openChat(sessionFile: string): Promise<boolean>;
137
143
  /**
138
144
  * Calls a method of the server side of the extension's package (`pi.host` of its package.json, which
139
145
  * ta serve runs for the packages that come with Ta), with JSON values: what the page cannot do itself.
@@ -354,6 +360,12 @@ export interface WebExtensionUI {
354
360
  * (`isStreaming`), what was said last. The same array until one changes.
355
361
  */
356
362
  useSessions(): readonly TaSessionInfo[];
363
+ /**
364
+ * A React hook: the saved conversations of the last days (Settings.chatArchiveDays) as the lists of the page have
365
+ * them, read again as sessions close; not those older. The same array until one changes. Rather than reading
366
+ * `server.listSavedSessions()` again and again. Newer than some Ta apps: `pi.ui.useSavedSessions?.()`.
367
+ */
368
+ useSavedSessions(): readonly TaSavedSessionInfo[];
357
369
  /**
358
370
  * Shows a view of any web extension by its id, `<extension name>/<view name>` (`assistant/assistant`
359
371
  * for the double): a page in the main area, a tool of the workbench as its tab; `''` the conversation again.
@@ -436,6 +448,14 @@ export interface WebExtensionUI {
436
448
  size?: number;
437
449
  mark?: string;
438
450
  }>;
451
+ /**
452
+ * The face of one who is not Ta, as the agents of channels have: a coloured shape with eyes that blink, one of 16,
453
+ * by `face` or the same for the same `seed` (an id) on every device; `online` a dot at its corner. Newer than
454
+ * some Ta apps: `pi.ui.Face ?? fallback`.
455
+ */
456
+ readonly Face: React.ComponentType<WebFaceProps>;
457
+ /** A group, as a channel is drawn: the first of `members` in front, the next behind. Newer than some Ta apps. */
458
+ readonly GroupFace: React.ComponentType<WebGroupFaceProps>;
439
459
  /** The lucide icons of the page, by name (extension/icons.ts): a web extension cannot import them. */
440
460
  readonly icons: Readonly<Record<string, WebIcon>>;
441
461
  /** Monaco, the editor of VS Code, on the text of a file; it loads the first time one is shown. */
@@ -3,9 +3,10 @@ import { useBusy } from '../components/busy.js';
3
3
  import { PINNED } from '../components/chat-list.js';
4
4
  import { CodeEditor } from '../components/code-editor.js';
5
5
  import { ContextMenuUtil, useContextMenu } from '../components/context-menu.js';
6
- import { useConversationScroll } from '../components/conversation-scroll.js';
6
+ import { useConversationScroll } from '../components/conversation-scroll-hooks.js';
7
7
  import { DiffEditor } from '../components/diff-editor.js';
8
8
  import { EmptyState } from '../components/empty-state.js';
9
+ import { Face, GroupFace } from '../components/face.js';
9
10
  import { FolderPicker } from '../components/folder-picker.js';
10
11
  import { FullScreen } from '../components/full-screen.js';
11
12
  import { HoldToTalk } from '../components/hold-to-talk.js';
@@ -171,6 +172,7 @@ export class WebExtensionContext {
171
172
  host.extensions.showPage('');
172
173
  await shown;
173
174
  }),
175
+ openChat: sessionFile => live(() => host.links.openConversation(sessionFile)),
174
176
  openTemporary: (source, from) => live(() => host.extensions.openTemporary(source, from)),
175
177
  callHost: (method, ...params) => live(() => workbench.packages.callPackageHost(run.loaded.name, method, params)),
176
178
  reloadExtensions: () => live(() => host.extensions.reloadPackages()),
@@ -235,6 +237,10 @@ export class WebExtensionContext {
235
237
  const sessions = () => workbench.state.sessions;
236
238
  return React.useSyncExternalStore(listener => workbench.subscribe(listener), sessions, sessions);
237
239
  },
240
+ useSavedSessions: () => {
241
+ const saved = () => workbench.state.saved;
242
+ return React.useSyncExternalStore(listener => workbench.subscribe(listener), saved, saved);
243
+ },
238
244
  useDevice,
239
245
  showView: id => (run.stopped ? Promise.resolve(false) : host.extensions.showView(id)),
240
246
  usePages: () => {
@@ -275,6 +281,8 @@ export class WebExtensionContext {
275
281
  Game3D: this.game3d,
276
282
  FullScreen,
277
283
  Stack: PhoneStack,
284
+ Face,
285
+ GroupFace,
278
286
  Composer: this.composer,
279
287
  HoldToTalk: this.holdToTalk,
280
288
  voice: this.voice,
@@ -137,6 +137,11 @@ export interface WebExtensionsState {
137
137
  conversationShown: boolean;
138
138
  /** The session of the conversation shown. */
139
139
  sessionId?: string;
140
+ /**
141
+ * The list of the computer's extensions was asked for once, answered or not: before, the views of a first
142
+ * start (nothing kept, WebViewUtil.KEPT) are still on their way.
143
+ */
144
+ loaded: boolean;
140
145
  /** The view of the page shown in the main area; `''` for the conversation. */
141
146
  page: string;
142
147
  /** Counts the pages shown, the same one again too: on a phone a page shown comes to the front. */
@@ -177,7 +182,14 @@ export declare namespace WebLabelUtil {
177
182
  }
178
183
  /** What `on` and `sendUserMessage` of web extensions reach: the conversation shown. */
179
184
  /** Shows a session as the conversation: `switchSession` of web extensions. */
180
- export type WebSessionSwitcher = (session: string | Promise<string>, opening?: WebSessionOpening) => Promise<void>;
185
+ /**
186
+ * What the page shows as the conversation: an open session by its id, one still opening by the promise of its id, or the
187
+ * conversation of a session file, opened as the lists open it (at once from what the page or the device has).
188
+ */
189
+ export type WebSessionTarget = string | Promise<string> | {
190
+ sessionFile: string;
191
+ };
192
+ export type WebSessionSwitcher = (session: WebSessionTarget, opening?: WebSessionOpening) => Promise<void>;
181
193
  export interface WebExtensionConversation {
182
194
  /** None for a new conversation, which opens with its first message. */
183
195
  send?(text: string): Promise<void>;
@@ -22,6 +22,7 @@ export var WebExtensionsStateUtil;
22
22
  customs: [],
23
23
  editors: [],
24
24
  focus: 0,
25
+ loaded: false,
25
26
  page: '',
26
27
  pageShown: 0,
27
28
  conversationShown: true,
@@ -114,6 +114,9 @@ let TaWebExtensionsImpl = class TaWebExtensionsImpl {
114
114
  refresh() {
115
115
  const next = this.refreshing.then(() => this.reconcile(), () => this.reconcile());
116
116
  this.refreshing = next;
117
+ if (!this.current.loaded) {
118
+ void next.finally(() => this.current.loaded || this.update({ loaded: true })).catch(() => undefined);
119
+ }
117
120
  return next;
118
121
  }
119
122
  /**
@@ -184,8 +184,15 @@ export declare class TaEnglishLocale implements Locale {
184
184
  'ta.composer.steerPlaceholder': string;
185
185
  'ta.composer.steerPlaceholderTouch': string;
186
186
  'ta.composer.stopTitle': string;
187
+ 'ta.composer.stopping': string;
187
188
  'ta.message.images': string;
188
189
  'ta.message.stopped': string;
190
+ 'ta.message.interrupted': string;
191
+ 'ta.message.silent': string;
192
+ 'ta.message.failedUnknown': string;
193
+ 'ta.message.retriedFailed': string;
194
+ 'ta.message.resume': string;
195
+ 'ta.message.resumeText': string;
189
196
  'ta.message.thinking': string;
190
197
  'ta.message.skill': string;
191
198
  'ta.message.showMore': string;
@@ -490,6 +497,7 @@ export declare class TaEnglishLocale implements Locale {
490
497
  'ta.process.thinking': string;
491
498
  'ta.process.thought': string;
492
499
  'ta.process.failed': string;
500
+ 'ta.process.retried': string;
493
501
  'ta.process.earlier': string;
494
502
  'ta.process.showAll': string;
495
503
  'ta.session.phase.thinking': string;
@@ -522,6 +530,8 @@ export declare class TaEnglishLocale implements Locale {
522
530
  'ta.composer.keyboard': string;
523
531
  'ta.composer.steerTitle': string;
524
532
  'ta.composer.addImage': string;
533
+ 'ta.composer.album': string;
534
+ 'ta.composer.camera': string;
525
535
  'ta.composer.more': string;
526
536
  'ta.composer.page': string;
527
537
  'ta.composer.mentionFile': string;
@@ -827,5 +837,5 @@ export declare class TaChineseLocale implements Locale {
827
837
  readonly lang = "zh-CN";
828
838
  readonly label = "\u7B80\u4F53\u4E2D\u6587";
829
839
  readonly priority = 500;
830
- readonly messages: Record<"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.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.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.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.handToDouble" | "ta.chat.hint" | "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.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.unpin" | "ta.chat.unseen" | "ta.close" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "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.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.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.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.debug" | "ta.message.debugCopied" | "ta.message.discard" | "ta.message.forkAt" | "ta.message.forkBefore" | "ta.message.forked" | "ta.message.images" | "ta.message.modelSwitched" | "ta.message.notSaved" | "ta.message.quote" | "ta.message.resend" | "ta.message.rewind" | "ta.message.rewindConfirm" | "ta.message.rewindDetail" | "ta.message.selectText" | "ta.message.sendFailed" | "ta.message.showLess" | "ta.message.showMore" | "ta.message.skill" | "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.process.done" | "ta.process.earlier" | "ta.process.failed" | "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.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "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.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.hideScript" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.edit" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.read" | "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", string>;
840
+ readonly messages: Record<"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.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.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.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.handToDouble" | "ta.chat.hint" | "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.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.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.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.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.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.quote" | "ta.message.resend" | "ta.message.resume" | "ta.message.resumeText" | "ta.message.retriedFailed" | "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.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.process.done" | "ta.process.earlier" | "ta.process.failed" | "ta.process.retried" | "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.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "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.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.hideScript" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.edit" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.read" | "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", string>;
831
841
  }