@celljs/ta-web 4.13.1 → 4.14.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.
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/esm/browser/assistant/assistant-extension.js +3 -2
- package/esm/browser/assistant/assistant-state.js +2 -2
- package/esm/browser/components/app-view.js +4 -0
- package/esm/browser/components/chat-asks.d.ts +8 -0
- package/esm/browser/components/chat-asks.js +10 -0
- package/esm/browser/components/chat-list.js +11 -1
- package/esm/browser/components/composer-box.d.ts +2 -0
- package/esm/browser/components/composer-box.js +2 -1
- package/esm/browser/components/composer.d.ts +3 -1
- package/esm/browser/components/composer.js +16 -4
- package/esm/browser/components/face.d.ts +13 -1
- package/esm/browser/components/face.js +16 -1
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/message-list.js +20 -1
- package/esm/browser/components/people.d.ts +32 -0
- package/esm/browser/components/people.js +71 -0
- package/esm/browser/components/session-view.d.ts +1 -1
- package/esm/browser/components/session-view.js +56 -36
- package/esm/browser/components/settings-parts.js +14 -3
- package/esm/browser/components/sign-in-setup.d.ts +16 -0
- package/esm/browser/components/sign-in-setup.js +116 -0
- package/esm/browser/components/use-seen-chats.d.ts +2 -0
- package/esm/browser/components/use-seen-chats.js +2 -2
- package/esm/browser/extension/web-api-components.d.ts +12 -0
- package/esm/browser/extension/web-extension-api.d.ts +2 -2
- package/esm/browser/i18n/locales.d.ts +35 -1
- package/esm/browser/i18n/messages.d.ts +34 -0
- package/esm/browser/i18n/messages.js +69 -0
- package/esm/browser/presence/presence-reporter.d.ts +32 -0
- package/esm/browser/presence/presence-reporter.js +71 -0
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +24 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +8 -0
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +8 -0
- package/esm/browser/workbench-protocol.d.ts +9 -0
- package/esm/browser/workbench-util.d.ts +2 -0
- package/esm/browser/workbench-util.js +18 -0
- package/esm/browser/workbench.d.ts +3 -0
- package/esm/browser/workbench.js +14 -4
- package/lib/browser/assistant/assistant-extension.js +3 -2
- package/lib/browser/assistant/assistant-state.js +1 -1
- package/lib/browser/components/app-view.js +4 -0
- package/lib/browser/components/chat-asks.d.ts +8 -0
- package/lib/browser/components/chat-asks.js +10 -0
- package/lib/browser/components/chat-list.js +11 -1
- package/lib/browser/components/composer-box.d.ts +2 -0
- package/lib/browser/components/composer-box.js +2 -1
- package/lib/browser/components/composer.d.ts +3 -1
- package/lib/browser/components/composer.js +16 -4
- package/lib/browser/components/face.d.ts +13 -1
- package/lib/browser/components/face.js +16 -1
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/message-list.js +19 -0
- package/lib/browser/components/people.d.ts +33 -0
- package/lib/browser/components/people.js +109 -0
- package/lib/browser/components/session-view.d.ts +1 -1
- package/lib/browser/components/session-view.js +56 -36
- package/lib/browser/components/settings-parts.js +14 -3
- package/lib/browser/components/sign-in-setup.d.ts +17 -0
- package/lib/browser/components/sign-in-setup.js +153 -0
- package/lib/browser/components/use-seen-chats.d.ts +2 -0
- package/lib/browser/components/use-seen-chats.js +3 -2
- package/lib/browser/extension/web-api-components.d.ts +12 -0
- package/lib/browser/extension/web-extension-api.d.ts +2 -2
- package/lib/browser/i18n/locales.d.ts +35 -1
- package/lib/browser/i18n/messages.d.ts +34 -0
- package/lib/browser/i18n/messages.js +69 -0
- package/lib/browser/presence/presence-reporter.d.ts +33 -0
- package/lib/browser/presence/presence-reporter.js +75 -0
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +24 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +8 -0
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +8 -0
- package/lib/browser/workbench-protocol.d.ts +9 -0
- package/lib/browser/workbench-util.d.ts +2 -0
- package/lib/browser/workbench-util.js +18 -0
- package/lib/browser/workbench.d.ts +3 -0
- package/lib/browser/workbench.js +14 -4
- package/package.json +10 -10
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Copy, Pencil, Trash2 } from 'lucide-react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useNotices, useWorkbench } from '../hooks.js';
|
|
4
|
+
import { useT } from '../i18n/use-t.js';
|
|
5
|
+
import { Icon, IconButton } from './icon.js';
|
|
6
|
+
import { Row } from './settings-controls.js';
|
|
7
|
+
import { SignInMark } from './sign-in-marks.js';
|
|
8
|
+
/** The fields of each kind of provider, as TaSignInSetup.fields has them, and its secret's; the optional ones last. */
|
|
9
|
+
const FIELDS = {
|
|
10
|
+
github: { fields: [{ id: 'clientId' }, { id: 'url', optional: true }], secret: 'clientSecret' },
|
|
11
|
+
google: { fields: [{ id: 'clientId' }], secret: 'clientSecret' },
|
|
12
|
+
wechat: { fields: [{ id: 'appId' }], secret: 'appSecret' },
|
|
13
|
+
oidc: { fields: [{ id: 'issuer' }, { id: 'clientId' }, { id: 'name', optional: true }], secret: 'clientSecret' },
|
|
14
|
+
};
|
|
15
|
+
/** The ways to sign in as set up (TaAccessServer.getSignInConfig), for the owner alone: none for a member, nor behind a gateway. */
|
|
16
|
+
export function useSignInConfig() {
|
|
17
|
+
const [workbench, bench] = useWorkbench();
|
|
18
|
+
const [config, setConfig] = React.useState();
|
|
19
|
+
const read = React.useCallback(() => bench.access.getSignInConfig().then(setConfig, () => {
|
|
20
|
+
setConfig(undefined);
|
|
21
|
+
}), [bench]);
|
|
22
|
+
React.useEffect(() => {
|
|
23
|
+
if (workbench.status === 'online') {
|
|
24
|
+
void read();
|
|
25
|
+
}
|
|
26
|
+
}, [workbench.status, read]);
|
|
27
|
+
return { config, read };
|
|
28
|
+
}
|
|
29
|
+
function providerName(setup, t) {
|
|
30
|
+
return setup.id === 'wechat' ? t('ta.signin.wechat') : setup.id === 'oidc' && setup.name === 'SSO' ? t('ta.signInSetup.oidc') : setup.name;
|
|
31
|
+
}
|
|
32
|
+
function SetupForm({ setup, onSave, onCancel }) {
|
|
33
|
+
var _a;
|
|
34
|
+
const t = useT();
|
|
35
|
+
const shape = FIELDS[setup.id];
|
|
36
|
+
const [values, setValues] = React.useState({ ...setup.fields });
|
|
37
|
+
const [busy, setBusy] = React.useState(false);
|
|
38
|
+
const set = (id, value) => setValues(current => ({ ...current, [id]: value }));
|
|
39
|
+
const missing = shape.fields.some(field => { var _a; return !field.optional && !((_a = values[field.id]) === null || _a === void 0 ? void 0 : _a.trim()); }) || (!setup.secret && !((_a = values[shape.secret]) === null || _a === void 0 ? void 0 : _a.trim()));
|
|
40
|
+
return (React.createElement("form", { className: "ta-sign-in-form", onSubmit: event => {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
setBusy(true);
|
|
43
|
+
void onSave(values).finally(() => setBusy(false));
|
|
44
|
+
} },
|
|
45
|
+
[...shape.fields, { id: shape.secret, secret: true }].map(field => { var _a; return (React.createElement("label", { key: field.id, className: "ta-sign-in-field" },
|
|
46
|
+
React.createElement("span", null, t(`ta.signInSetup.field.${field.id}`)),
|
|
47
|
+
React.createElement("input", { className: "ta-input", type: 'secret' in field ? 'password' : 'text', value: (_a = values[field.id]) !== null && _a !== void 0 ? _a : '', placeholder: 'secret' in field && setup.secret
|
|
48
|
+
? t('ta.signInSetup.secretKept')
|
|
49
|
+
: 'optional' in field && field.optional
|
|
50
|
+
? t('ta.signInSetup.optional')
|
|
51
|
+
: '', autoComplete: "off", spellCheck: false, autoCapitalize: "off", onChange: event => set(field.id, event.target.value) }))); }),
|
|
52
|
+
React.createElement("div", { className: "ta-sign-in-actions" },
|
|
53
|
+
React.createElement("button", { type: "button", className: "ta-button", disabled: busy, onClick: onCancel }, t('ta.cancel')),
|
|
54
|
+
React.createElement("button", { type: "submit", className: `ta-button ta-primary${busy ? ' ta-busy' : ''}`, disabled: busy || missing }, t('ta.signInSetup.save')))));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Settings, Access: the ways to sign in (docs/design/ta-team.md 17), which those invited use to say who they are and, on
|
|
58
|
+
* a Ta with an address, accounts to sign in to it. Kept in sign-in.json of the agent directory; one the environment of
|
|
59
|
+
* ta serve sets is shown, not changed. The address to register with a provider comes first.
|
|
60
|
+
*/
|
|
61
|
+
export function SignInSetupSettings({ config, onChange }) {
|
|
62
|
+
const t = useT();
|
|
63
|
+
const [, bench] = useWorkbench();
|
|
64
|
+
const [, notices] = useNotices();
|
|
65
|
+
const [editing, setEditing] = React.useState();
|
|
66
|
+
const save = async (id, fields) => {
|
|
67
|
+
try {
|
|
68
|
+
await bench.access.setSignInProvider(id, fields);
|
|
69
|
+
setEditing(undefined);
|
|
70
|
+
notices.notify(fields ? t('ta.signInSetup.saved') : t('ta.signInSetup.removed'), { level: 'success' });
|
|
71
|
+
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
notices.error(error);
|
|
74
|
+
}
|
|
75
|
+
finally {
|
|
76
|
+
await onChange().catch(() => undefined);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const copy = (text) => { var _a; return void ((_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.writeText(text).then(() => notices.notify(t('ta.signInSetup.copied'), { level: 'success' }))); };
|
|
80
|
+
const callbacks = [config.callbacks.join, config.callbacks.serve].filter((one) => !!one);
|
|
81
|
+
return (React.createElement(React.Fragment, null,
|
|
82
|
+
React.createElement(Row, { label: t('ta.signInSetup.title'), description: t('ta.signInSetup.hint'), stacked: true },
|
|
83
|
+
React.createElement("div", { className: "ta-sign-in-callbacks" },
|
|
84
|
+
React.createElement("span", { className: "ta-setting-description" }, t('ta.signInSetup.callback')),
|
|
85
|
+
callbacks.map(url => (React.createElement("div", { key: url, className: "ta-sign-in-callback" },
|
|
86
|
+
React.createElement("code", { className: "ta-ellipsis" }, url),
|
|
87
|
+
React.createElement(IconButton, { icon: Copy, label: t('ta.signInSetup.copy'), onClick: () => copy(url) })))))),
|
|
88
|
+
config.providers.map(setup => {
|
|
89
|
+
var _a, _b;
|
|
90
|
+
const name = providerName(setup, t);
|
|
91
|
+
const status = setup.source === 'env'
|
|
92
|
+
? t('ta.signInSetup.fromEnv')
|
|
93
|
+
: setup.configured
|
|
94
|
+
? t('ta.signInSetup.on', { id: (_b = (_a = setup.fields.clientId) !== null && _a !== void 0 ? _a : setup.fields.appId) !== null && _b !== void 0 ? _b : '' })
|
|
95
|
+
: setup.source
|
|
96
|
+
? t('ta.signInSetup.incomplete')
|
|
97
|
+
: t('ta.signInSetup.off');
|
|
98
|
+
return (React.createElement(Row, { key: setup.id, label: React.createElement("span", { className: "ta-sign-in-name" },
|
|
99
|
+
React.createElement(SignInMark, { provider: setup.id, size: 15 }),
|
|
100
|
+
" ",
|
|
101
|
+
name), description: status, stacked: editing === setup.id }, editing === setup.id ? (React.createElement(SetupForm, { setup: setup, onSave: fields => save(setup.id, fields), onCancel: () => setEditing(undefined) })) : setup.source === 'env' ? null : (React.createElement(React.Fragment, null,
|
|
102
|
+
setup.source === 'file' && (React.createElement(IconButton, { icon: Trash2, label: t('ta.signInSetup.remove', { name }), onClick: () => void notices
|
|
103
|
+
.confirm({
|
|
104
|
+
title: t('ta.signInSetup.removeConfirm', { name }),
|
|
105
|
+
message: t('ta.signInSetup.removeDetail'),
|
|
106
|
+
confirmLabel: t('ta.access.remove'),
|
|
107
|
+
danger: true,
|
|
108
|
+
})
|
|
109
|
+
.then(yes => (yes ? save(setup.id, null) : undefined)) })),
|
|
110
|
+
React.createElement("button", { type: "button", className: "ta-button", onClick: () => setEditing(setup.id) },
|
|
111
|
+
React.createElement(Icon, { icon: Pencil, size: 14 }),
|
|
112
|
+
" ",
|
|
113
|
+
setup.source ? t('ta.signInSetup.edit') : t('ta.signInSetup.add'))))));
|
|
114
|
+
})));
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=sign-in-setup.js.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { TaSessionInfo } from '@celljs/ta-protocol';
|
|
2
2
|
import { type ChatSeen } from './chat-seen.js';
|
|
3
|
+
/** Whether the user can see the page: what ends in a tab hidden or on a phone locked is not seen. */
|
|
4
|
+
export declare function usePageVisible(): boolean;
|
|
3
5
|
/**
|
|
4
6
|
* Which conversations the user has seen, as a messenger's unread: the one shown is seen each time it comes to
|
|
5
7
|
* rest in front of them. The first time, everything of before is seen: once the computer said it keeps nothing
|
|
@@ -5,7 +5,7 @@ import { TaState } from '../state/state-protocol.js';
|
|
|
5
5
|
import { ChatListUtil } from './chat-list.js';
|
|
6
6
|
import { ChatSeenUtil, SEEN_CHATS } from './chat-seen.js';
|
|
7
7
|
/** Whether the user can see the page: what ends in a tab hidden or on a phone locked is not seen. */
|
|
8
|
-
function
|
|
8
|
+
export function usePageVisible() {
|
|
9
9
|
const [visible, setVisible] = React.useState(() => typeof document === 'undefined' || document.visibilityState === 'visible');
|
|
10
10
|
React.useEffect(() => {
|
|
11
11
|
const change = () => setVisible(document.visibilityState === 'visible');
|
|
@@ -29,7 +29,7 @@ export function useSeenChats(sessions, shown) {
|
|
|
29
29
|
void state.load(SEEN_CHATS).then(kept => !kept.since && state.set(SEEN_CHATS, { since: Date.now(), at: kept.at }), () => undefined);
|
|
30
30
|
}
|
|
31
31
|
}, [state, online]);
|
|
32
|
-
const visible =
|
|
32
|
+
const visible = usePageVisible();
|
|
33
33
|
const looked = visible && shown ? sessions.find(session => session.sessionId === shown) : undefined;
|
|
34
34
|
const file = looked && ChatListUtil.file(looked);
|
|
35
35
|
const busy = !!(looked === null || looked === void 0 ? void 0 : looked.isStreaming);
|
|
@@ -184,11 +184,23 @@ export interface WebFaceProps {
|
|
|
184
184
|
working?: boolean;
|
|
185
185
|
/** A dot at its corner: green online, grey not; none without. Its ring is `--ta-face-ring` (the page's colour). */
|
|
186
186
|
online?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* The owner of this Ta: the close-up of its double, the dinosaur the user picked, which changes with it. Newer than
|
|
189
|
+
* some Ta apps, which draw `face` or `seed` instead.
|
|
190
|
+
*/
|
|
191
|
+
double?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Another Ta, as its double looks (`look` of TaRoomMember, TaFriend): the close-up of that dinosaur. One this page
|
|
194
|
+
* does not know, or a Ta app of before, draws `face` or `seed`.
|
|
195
|
+
*/
|
|
196
|
+
look?: string;
|
|
187
197
|
}
|
|
188
198
|
export interface WebGroupFaceProps {
|
|
189
199
|
members: readonly {
|
|
190
200
|
face?: number;
|
|
191
201
|
seed?: string;
|
|
202
|
+
look?: string;
|
|
203
|
+
double?: boolean;
|
|
192
204
|
working?: boolean;
|
|
193
205
|
}[];
|
|
194
206
|
size: number;
|
|
@@ -427,8 +427,8 @@ export interface WebExtensionUI {
|
|
|
427
427
|
}>;
|
|
428
428
|
/**
|
|
429
429
|
* The face of one who is not Ta, as the agents of channels have: a coloured shape with eyes that blink, one of 16,
|
|
430
|
-
* by `face` or the same for the same `seed` (an id) on every device; `online` a dot at its corner
|
|
431
|
-
* some Ta apps: `pi.ui.Face ?? fallback`.
|
|
430
|
+
* by `face` or the same for the same `seed` (an id) on every device; `online` a dot at its corner; `double` the
|
|
431
|
+
* owner of this Ta, drawn as its double; `look` another Ta, as its double looks. Newer than some Ta apps: `pi.ui.Face ?? fallback`.
|
|
432
432
|
*/
|
|
433
433
|
readonly Face: React.ComponentType<WebFaceProps>;
|
|
434
434
|
/** A group, as a channel is drawn: the first of `members` in front, the next behind. Newer than some Ta apps. */
|
|
@@ -161,6 +161,33 @@ export declare class TaEnglishLocale implements Locale {
|
|
|
161
161
|
'ta.access.thisBrowser': string;
|
|
162
162
|
'ta.access.lastUsed': string;
|
|
163
163
|
'ta.access.signOut': string;
|
|
164
|
+
'ta.signInSetup.title': string;
|
|
165
|
+
'ta.signInSetup.hint': string;
|
|
166
|
+
'ta.signInSetup.callback': string;
|
|
167
|
+
'ta.signInSetup.copy': string;
|
|
168
|
+
'ta.signInSetup.copied': string;
|
|
169
|
+
'ta.signInSetup.oidc': string;
|
|
170
|
+
'ta.signInSetup.on': string;
|
|
171
|
+
'ta.signInSetup.off': string;
|
|
172
|
+
'ta.signInSetup.incomplete': string;
|
|
173
|
+
'ta.signInSetup.fromEnv': string;
|
|
174
|
+
'ta.signInSetup.add': string;
|
|
175
|
+
'ta.signInSetup.edit': string;
|
|
176
|
+
'ta.signInSetup.save': string;
|
|
177
|
+
'ta.signInSetup.saved': string;
|
|
178
|
+
'ta.signInSetup.removed': string;
|
|
179
|
+
'ta.signInSetup.remove': string;
|
|
180
|
+
'ta.signInSetup.removeConfirm': string;
|
|
181
|
+
'ta.signInSetup.removeDetail': string;
|
|
182
|
+
'ta.signInSetup.secretKept': string;
|
|
183
|
+
'ta.signInSetup.optional': string;
|
|
184
|
+
'ta.signInSetup.field.clientId': string;
|
|
185
|
+
'ta.signInSetup.field.clientSecret': string;
|
|
186
|
+
'ta.signInSetup.field.appId': string;
|
|
187
|
+
'ta.signInSetup.field.appSecret': string;
|
|
188
|
+
'ta.signInSetup.field.url': string;
|
|
189
|
+
'ta.signInSetup.field.issuer': string;
|
|
190
|
+
'ta.signInSetup.field.name': string;
|
|
164
191
|
'ta.sidebar.closeTitle': string;
|
|
165
192
|
'ta.chat.open': string;
|
|
166
193
|
'ta.chat.remove': string;
|
|
@@ -623,6 +650,13 @@ export declare class TaEnglishLocale implements Locale {
|
|
|
623
650
|
'ta.composer.queue.takeBackTitle': string;
|
|
624
651
|
'ta.composer.queue.editTitle': string;
|
|
625
652
|
'ta.composer.queue.remove': string;
|
|
653
|
+
'ta.presence.viewing': string;
|
|
654
|
+
'ta.presence.typing': string;
|
|
655
|
+
'ta.presence.asked': string;
|
|
656
|
+
'ta.presence.separator': string;
|
|
657
|
+
'ta.presence.more': string;
|
|
658
|
+
'ta.presence.owner': string;
|
|
659
|
+
'ta.chat.replyingFor': string;
|
|
626
660
|
'ta.account': string;
|
|
627
661
|
'ta.account.service': string;
|
|
628
662
|
'ta.manage.packages': string;
|
|
@@ -903,5 +937,5 @@ export declare class TaChineseLocale implements Locale {
|
|
|
903
937
|
readonly lang = "zh-CN";
|
|
904
938
|
readonly label = "\u7B80\u4F53\u4E2D\u6587";
|
|
905
939
|
readonly priority = 500;
|
|
906
|
-
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.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.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.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.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.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", string>;
|
|
940
|
+
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.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.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.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", string>;
|
|
907
941
|
}
|
|
@@ -156,6 +156,33 @@ export declare const EN_MESSAGES: {
|
|
|
156
156
|
'ta.access.thisBrowser': string;
|
|
157
157
|
'ta.access.lastUsed': string;
|
|
158
158
|
'ta.access.signOut': string;
|
|
159
|
+
'ta.signInSetup.title': string;
|
|
160
|
+
'ta.signInSetup.hint': string;
|
|
161
|
+
'ta.signInSetup.callback': string;
|
|
162
|
+
'ta.signInSetup.copy': string;
|
|
163
|
+
'ta.signInSetup.copied': string;
|
|
164
|
+
'ta.signInSetup.oidc': string;
|
|
165
|
+
'ta.signInSetup.on': string;
|
|
166
|
+
'ta.signInSetup.off': string;
|
|
167
|
+
'ta.signInSetup.incomplete': string;
|
|
168
|
+
'ta.signInSetup.fromEnv': string;
|
|
169
|
+
'ta.signInSetup.add': string;
|
|
170
|
+
'ta.signInSetup.edit': string;
|
|
171
|
+
'ta.signInSetup.save': string;
|
|
172
|
+
'ta.signInSetup.saved': string;
|
|
173
|
+
'ta.signInSetup.removed': string;
|
|
174
|
+
'ta.signInSetup.remove': string;
|
|
175
|
+
'ta.signInSetup.removeConfirm': string;
|
|
176
|
+
'ta.signInSetup.removeDetail': string;
|
|
177
|
+
'ta.signInSetup.secretKept': string;
|
|
178
|
+
'ta.signInSetup.optional': string;
|
|
179
|
+
'ta.signInSetup.field.clientId': string;
|
|
180
|
+
'ta.signInSetup.field.clientSecret': string;
|
|
181
|
+
'ta.signInSetup.field.appId': string;
|
|
182
|
+
'ta.signInSetup.field.appSecret': string;
|
|
183
|
+
'ta.signInSetup.field.url': string;
|
|
184
|
+
'ta.signInSetup.field.issuer': string;
|
|
185
|
+
'ta.signInSetup.field.name': string;
|
|
159
186
|
'ta.sidebar.closeTitle': string;
|
|
160
187
|
'ta.chat.open': string;
|
|
161
188
|
'ta.chat.remove': string;
|
|
@@ -618,6 +645,13 @@ export declare const EN_MESSAGES: {
|
|
|
618
645
|
'ta.composer.queue.takeBackTitle': string;
|
|
619
646
|
'ta.composer.queue.editTitle': string;
|
|
620
647
|
'ta.composer.queue.remove': string;
|
|
648
|
+
'ta.presence.viewing': string;
|
|
649
|
+
'ta.presence.typing': string;
|
|
650
|
+
'ta.presence.asked': string;
|
|
651
|
+
'ta.presence.separator': string;
|
|
652
|
+
'ta.presence.more': string;
|
|
653
|
+
'ta.presence.owner': string;
|
|
654
|
+
'ta.chat.replyingFor': string;
|
|
621
655
|
'ta.account': string;
|
|
622
656
|
'ta.account.service': string;
|
|
623
657
|
'ta.manage.packages': string;
|
|
@@ -160,6 +160,33 @@ export const EN_MESSAGES = {
|
|
|
160
160
|
'ta.access.thisBrowser': 'This browser',
|
|
161
161
|
'ta.access.lastUsed': 'Last used {time}',
|
|
162
162
|
'ta.access.signOut': 'Sign out',
|
|
163
|
+
'ta.signInSetup.title': 'Ways to sign in',
|
|
164
|
+
'ta.signInSetup.hint': 'Those you invite sign in with these to say who they are, from the Ta app or a browser; the same account is the same member from any device.',
|
|
165
|
+
'ta.signInSetup.callback': 'Register this as the callback (redirect) URL with the provider:',
|
|
166
|
+
'ta.signInSetup.copy': 'Copy',
|
|
167
|
+
'ta.signInSetup.copied': 'Copied',
|
|
168
|
+
'ta.signInSetup.oidc': 'Company SSO (OpenID Connect)',
|
|
169
|
+
'ta.signInSetup.on': 'On · {id}',
|
|
170
|
+
'ta.signInSetup.off': 'Not set up',
|
|
171
|
+
'ta.signInSetup.incomplete': 'Not complete: it needs its id and its secret',
|
|
172
|
+
'ta.signInSetup.fromEnv': 'Set by the environment of the service',
|
|
173
|
+
'ta.signInSetup.add': 'Set up',
|
|
174
|
+
'ta.signInSetup.edit': 'Change',
|
|
175
|
+
'ta.signInSetup.save': 'Save',
|
|
176
|
+
'ta.signInSetup.saved': 'Saved: it is offered now',
|
|
177
|
+
'ta.signInSetup.removed': 'Taken out',
|
|
178
|
+
'ta.signInSetup.remove': 'Take out {name}',
|
|
179
|
+
'ta.signInSetup.removeConfirm': 'Take out signing in with {name}?',
|
|
180
|
+
'ta.signInSetup.removeDetail': 'Members who came in with it stay; nobody signs in with it any more.',
|
|
181
|
+
'ta.signInSetup.secretKept': 'Kept; empty keeps it',
|
|
182
|
+
'ta.signInSetup.optional': 'Optional',
|
|
183
|
+
'ta.signInSetup.field.clientId': 'Client ID',
|
|
184
|
+
'ta.signInSetup.field.clientSecret': 'Client secret',
|
|
185
|
+
'ta.signInSetup.field.appId': 'AppID',
|
|
186
|
+
'ta.signInSetup.field.appSecret': 'AppSecret',
|
|
187
|
+
'ta.signInSetup.field.url': 'GitHub Enterprise address',
|
|
188
|
+
'ta.signInSetup.field.issuer': 'Issuer',
|
|
189
|
+
'ta.signInSetup.field.name': 'Name on the button',
|
|
163
190
|
'ta.sidebar.closeTitle': 'Remove from the list; it stays under Removed',
|
|
164
191
|
'ta.chat.open': 'Open',
|
|
165
192
|
'ta.chat.remove': 'Remove from the list',
|
|
@@ -623,6 +650,14 @@ export const EN_MESSAGES = {
|
|
|
623
650
|
'ta.composer.queue.takeBackTitle': 'Take the waiting messages back into the box',
|
|
624
651
|
'ta.composer.queue.editTitle': 'Take back into the box to edit',
|
|
625
652
|
'ta.composer.queue.remove': 'Remove',
|
|
653
|
+
// Others in the same Ta (TaSessionInfo.people)
|
|
654
|
+
'ta.presence.viewing': 'Also here',
|
|
655
|
+
'ta.presence.typing': '{names} typing',
|
|
656
|
+
'ta.presence.asked': 'Ta is answering {names}',
|
|
657
|
+
'ta.presence.separator': ', ',
|
|
658
|
+
'ta.presence.more': ' +{count}',
|
|
659
|
+
'ta.presence.owner': 'Owner',
|
|
660
|
+
'ta.chat.replyingFor': '{names} · answering',
|
|
626
661
|
'ta.account': 'Account',
|
|
627
662
|
'ta.account.service': 'Ta service',
|
|
628
663
|
// The settings view and the menu of the account
|
|
@@ -1057,6 +1092,33 @@ export const ZH_MESSAGES = {
|
|
|
1057
1092
|
'ta.access.thisBrowser': '当前浏览器',
|
|
1058
1093
|
'ta.access.lastUsed': '最近使用 {time}',
|
|
1059
1094
|
'ta.access.signOut': '退出登录',
|
|
1095
|
+
'ta.signInSetup.title': '登录方式',
|
|
1096
|
+
'ta.signInSetup.hint': '你邀请的人用这些方式登录,说明自己是谁;在 Ta 应用和浏览器里都能用,同一个账号在哪台设备上都是同一个成员。',
|
|
1097
|
+
'ta.signInSetup.callback': '在提供方那里把这个地址登记为回调地址(Callback / Redirect URL):',
|
|
1098
|
+
'ta.signInSetup.copy': '复制',
|
|
1099
|
+
'ta.signInSetup.copied': '已复制',
|
|
1100
|
+
'ta.signInSetup.oidc': '企业 SSO(OpenID Connect)',
|
|
1101
|
+
'ta.signInSetup.on': '已开启 · {id}',
|
|
1102
|
+
'ta.signInSetup.off': '未配置',
|
|
1103
|
+
'ta.signInSetup.incomplete': '还没配完:需要 ID 和密钥',
|
|
1104
|
+
'ta.signInSetup.fromEnv': '由服务的环境变量设置',
|
|
1105
|
+
'ta.signInSetup.add': '配置',
|
|
1106
|
+
'ta.signInSetup.edit': '修改',
|
|
1107
|
+
'ta.signInSetup.save': '保存',
|
|
1108
|
+
'ta.signInSetup.saved': '已保存,现在就能用',
|
|
1109
|
+
'ta.signInSetup.removed': '已移除',
|
|
1110
|
+
'ta.signInSetup.remove': '移除 {name}',
|
|
1111
|
+
'ta.signInSetup.removeConfirm': '不再用 {name} 登录?',
|
|
1112
|
+
'ta.signInSetup.removeDetail': '用它加入的成员会保留,只是以后不能再用它登录。',
|
|
1113
|
+
'ta.signInSetup.secretKept': '已保存,留空不改',
|
|
1114
|
+
'ta.signInSetup.optional': '可不填',
|
|
1115
|
+
'ta.signInSetup.field.clientId': 'Client ID',
|
|
1116
|
+
'ta.signInSetup.field.clientSecret': 'Client secret',
|
|
1117
|
+
'ta.signInSetup.field.appId': 'AppID',
|
|
1118
|
+
'ta.signInSetup.field.appSecret': 'AppSecret',
|
|
1119
|
+
'ta.signInSetup.field.url': 'GitHub Enterprise 地址',
|
|
1120
|
+
'ta.signInSetup.field.issuer': '签发方地址(Issuer)',
|
|
1121
|
+
'ta.signInSetup.field.name': '按钮上显示的名称',
|
|
1060
1122
|
'ta.sidebar.closeTitle': '从列表移除;可在“已移除”里找回',
|
|
1061
1123
|
'ta.chat.open': '打开',
|
|
1062
1124
|
'ta.chat.remove': '从列表移除',
|
|
@@ -1520,6 +1582,13 @@ export const ZH_MESSAGES = {
|
|
|
1520
1582
|
'ta.composer.queue.takeBackTitle': '把排队的消息取回输入框',
|
|
1521
1583
|
'ta.composer.queue.editTitle': '撤回到输入框编辑',
|
|
1522
1584
|
'ta.composer.queue.remove': '删除',
|
|
1585
|
+
'ta.presence.viewing': '也在看',
|
|
1586
|
+
'ta.presence.typing': '{names}正在输入',
|
|
1587
|
+
'ta.presence.asked': 'Ta 正在回复{names}',
|
|
1588
|
+
'ta.presence.separator': '、',
|
|
1589
|
+
'ta.presence.more': '等 {count} 人',
|
|
1590
|
+
'ta.presence.owner': '所有者',
|
|
1591
|
+
'ta.chat.replyingFor': '{names} · 正在回复',
|
|
1523
1592
|
'ta.account': '账号',
|
|
1524
1593
|
'ta.account.service': 'Ta 服务',
|
|
1525
1594
|
// The settings view and the menu of the gear
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type TaPresenceReport } from '@celljs/ta-protocol';
|
|
2
|
+
/** How long typing lasts after the last key, while nothing more is typed nor sent. */
|
|
3
|
+
export declare const TYPING_MS = 6000;
|
|
4
|
+
/**
|
|
5
|
+
* What this page tells the others in the same Ta (TaPresenceServer, docs/design/ta-team.md 7): the conversation in front
|
|
6
|
+
* of the user while the page is seen, and whether they type in it. It says so as it changes, at most once a frame, again
|
|
7
|
+
* every heartbeat while it looks at one, and again on each new connection; never while nothing changed and it looks at
|
|
8
|
+
* none. `send` goes on the connection of the time, and fails quietly without one.
|
|
9
|
+
*/
|
|
10
|
+
export declare class PresenceReporter {
|
|
11
|
+
protected readonly send: (state: TaPresenceReport) => void;
|
|
12
|
+
protected readonly heartbeatMs: number;
|
|
13
|
+
protected readonly typingMs: number;
|
|
14
|
+
protected looking?: string;
|
|
15
|
+
protected typingIn?: string;
|
|
16
|
+
protected sent?: string;
|
|
17
|
+
protected flushTimer?: ReturnType<typeof setTimeout>;
|
|
18
|
+
protected typingTimer?: ReturnType<typeof setTimeout>;
|
|
19
|
+
protected heartbeat?: ReturnType<typeof setInterval>;
|
|
20
|
+
constructor(send: (state: TaPresenceReport) => void, heartbeatMs?: number, typingMs?: number);
|
|
21
|
+
/** The conversation in front of the user, the page seen; none otherwise. */
|
|
22
|
+
look(sessionId: string | undefined): void;
|
|
23
|
+
/** What the box of a conversation holds now: typing while it holds something and keys come. */
|
|
24
|
+
type(sessionId: string, typing: boolean): void;
|
|
25
|
+
/** A new connection knows nothing of this page: what it is at goes again. */
|
|
26
|
+
resend(): void;
|
|
27
|
+
dispose(): void;
|
|
28
|
+
/** What it is at now. */
|
|
29
|
+
get state(): TaPresenceReport;
|
|
30
|
+
protected schedule(): void;
|
|
31
|
+
protected flush(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { TA_PRESENCE_HEARTBEAT_MS } from '@celljs/ta-protocol';
|
|
2
|
+
/** How long typing lasts after the last key, while nothing more is typed nor sent. */
|
|
3
|
+
export const TYPING_MS = 6000;
|
|
4
|
+
/**
|
|
5
|
+
* What this page tells the others in the same Ta (TaPresenceServer, docs/design/ta-team.md 7): the conversation in front
|
|
6
|
+
* of the user while the page is seen, and whether they type in it. It says so as it changes, at most once a frame, again
|
|
7
|
+
* every heartbeat while it looks at one, and again on each new connection; never while nothing changed and it looks at
|
|
8
|
+
* none. `send` goes on the connection of the time, and fails quietly without one.
|
|
9
|
+
*/
|
|
10
|
+
export class PresenceReporter {
|
|
11
|
+
constructor(send, heartbeatMs = TA_PRESENCE_HEARTBEAT_MS, typingMs = TYPING_MS) {
|
|
12
|
+
this.send = send;
|
|
13
|
+
this.heartbeatMs = heartbeatMs;
|
|
14
|
+
this.typingMs = typingMs;
|
|
15
|
+
}
|
|
16
|
+
/** The conversation in front of the user, the page seen; none otherwise. */
|
|
17
|
+
look(sessionId) {
|
|
18
|
+
this.looking = sessionId || undefined;
|
|
19
|
+
this.schedule();
|
|
20
|
+
}
|
|
21
|
+
/** What the box of a conversation holds now: typing while it holds something and keys come. */
|
|
22
|
+
type(sessionId, typing) {
|
|
23
|
+
clearTimeout(this.typingTimer);
|
|
24
|
+
this.typingIn = typing ? sessionId : undefined;
|
|
25
|
+
if (typing) {
|
|
26
|
+
this.typingTimer = setTimeout(() => {
|
|
27
|
+
this.typingIn = undefined;
|
|
28
|
+
this.schedule();
|
|
29
|
+
}, this.typingMs);
|
|
30
|
+
}
|
|
31
|
+
this.schedule();
|
|
32
|
+
}
|
|
33
|
+
/** A new connection knows nothing of this page: what it is at goes again. */
|
|
34
|
+
resend() {
|
|
35
|
+
this.sent = undefined;
|
|
36
|
+
this.schedule();
|
|
37
|
+
}
|
|
38
|
+
dispose() {
|
|
39
|
+
clearTimeout(this.flushTimer);
|
|
40
|
+
clearTimeout(this.typingTimer);
|
|
41
|
+
clearInterval(this.heartbeat);
|
|
42
|
+
}
|
|
43
|
+
/** What it is at now. */
|
|
44
|
+
get state() {
|
|
45
|
+
return this.looking ? { sessionId: this.looking, ...(this.typingIn === this.looking ? { typing: true } : {}) } : {};
|
|
46
|
+
}
|
|
47
|
+
schedule() {
|
|
48
|
+
var _a;
|
|
49
|
+
(_a = this.flushTimer) !== null && _a !== void 0 ? _a : (this.flushTimer = setTimeout(() => {
|
|
50
|
+
this.flushTimer = undefined;
|
|
51
|
+
this.flush();
|
|
52
|
+
}, 0));
|
|
53
|
+
}
|
|
54
|
+
flush() {
|
|
55
|
+
const state = this.state;
|
|
56
|
+
const json = JSON.stringify(state);
|
|
57
|
+
// Nothing to say of a page that was never at a conversation.
|
|
58
|
+
if (json !== this.sent && (this.sent !== undefined || state.sessionId)) {
|
|
59
|
+
this.sent = json;
|
|
60
|
+
this.send(state);
|
|
61
|
+
}
|
|
62
|
+
if (state.sessionId && !this.heartbeat) {
|
|
63
|
+
this.heartbeat = setInterval(() => this.send(this.state), this.heartbeatMs);
|
|
64
|
+
}
|
|
65
|
+
else if (!state.sessionId && this.heartbeat) {
|
|
66
|
+
clearInterval(this.heartbeat);
|
|
67
|
+
this.heartbeat = undefined;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=presence-reporter.js.map
|