@celljs/ta-web 4.30.0 → 4.32.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 (163) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/account/account-side.js +1 -1
  4. package/esm/browser/account/device-account.d.ts +8 -0
  5. package/esm/browser/account/device-account.js +26 -0
  6. package/esm/browser/assistant/assistant-view.js +1 -1
  7. package/esm/browser/components/account-menu.d.ts +1 -1
  8. package/esm/browser/components/account-menu.js +8 -4
  9. package/esm/browser/components/account-view.d.ts +7 -0
  10. package/esm/browser/components/account-view.js +90 -10
  11. package/esm/browser/components/chat-tag.d.ts +13 -5
  12. package/esm/browser/components/chat-tag.js +23 -6
  13. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  14. package/esm/browser/components/composer-box-protocol.d.ts +5 -0
  15. package/esm/browser/components/composer-box.js +12 -7
  16. package/esm/browser/components/composer.d.ts +2 -0
  17. package/esm/browser/components/composer.js +3 -3
  18. package/esm/browser/components/host-view.d.ts +1 -1
  19. package/esm/browser/components/host-view.js +3 -3
  20. package/esm/browser/components/me-rows.d.ts +2 -0
  21. package/esm/browser/components/me-rows.js +1 -1
  22. package/esm/browser/components/scan-screen.js +10 -0
  23. package/esm/browser/components/session-view.js +2 -2
  24. package/esm/browser/components/tool-view.js +10 -4
  25. package/esm/browser/components/voice-button.d.ts +7 -0
  26. package/esm/browser/components/voice-button.js +25 -2
  27. package/esm/browser/components/voice-talk.js +1 -1
  28. package/esm/browser/components/workbench-view.js +2 -2
  29. package/esm/browser/device/back-stack.d.ts +7 -0
  30. package/esm/browser/device/back-stack.js +13 -1
  31. package/esm/browser/device/code-scan.d.ts +5 -2
  32. package/esm/browser/device/code-scan.js +22 -2
  33. package/esm/browser/device/mini-program.d.ts +69 -0
  34. package/esm/browser/device/mini-program.js +251 -0
  35. package/esm/browser/device/sheet-swipe.js +4 -1
  36. package/esm/browser/device/swipe-util.d.ts +2 -0
  37. package/esm/browser/device/swipe-util.js +5 -0
  38. package/esm/browser/extension/extension-view.d.ts +1 -1
  39. package/esm/browser/extension/icons.js +2 -1
  40. package/esm/browser/extension/web-api-chats.d.ts +2 -0
  41. package/esm/browser/extension/web-api-components.d.ts +10 -1
  42. package/esm/browser/extension/web-api-storage.d.ts +20 -0
  43. package/esm/browser/extension/web-api-storage.js +3 -0
  44. package/esm/browser/extension/web-extension-api.d.ts +3 -27
  45. package/esm/browser/extension/web-extension-context.js +1 -1
  46. package/esm/browser/extension/web-home.d.ts +1 -1
  47. package/esm/browser/extension/web-home.js +7 -2
  48. package/esm/browser/extension/web-pages.js +2 -2
  49. package/esm/browser/i18n/en/account.d.ts +3 -1
  50. package/esm/browser/i18n/en/account.js +3 -1
  51. package/esm/browser/i18n/en/chat.d.ts +2 -0
  52. package/esm/browser/i18n/en/chat.js +3 -1
  53. package/esm/browser/i18n/en/common.d.ts +1 -0
  54. package/esm/browser/i18n/en/common.js +1 -0
  55. package/esm/browser/i18n/ja/account.js +3 -1
  56. package/esm/browser/i18n/ja/chat.js +3 -1
  57. package/esm/browser/i18n/ja/common.js +1 -0
  58. package/esm/browser/i18n/locales.d.ts +7 -2
  59. package/esm/browser/i18n/messages.d.ts +6 -1
  60. package/esm/browser/i18n/zh/account.js +3 -1
  61. package/esm/browser/i18n/zh/chat.js +3 -1
  62. package/esm/browser/i18n/zh/common.js +1 -0
  63. package/esm/browser/i18n/zh-tw/account.js +3 -1
  64. package/esm/browser/i18n/zh-tw/chat.js +3 -1
  65. package/esm/browser/i18n/zh-tw/common.js +1 -0
  66. package/esm/browser/links/links.d.ts +4 -1
  67. package/esm/browser/links/links.js +10 -1
  68. package/esm/browser/settings/settings.js +3 -0
  69. package/esm/browser/style/chat-list.d.ts +1 -1
  70. package/esm/browser/style/chat-list.js +2 -0
  71. package/esm/browser/style/device.js +4 -2
  72. package/esm/browser/style/dialogs.d.ts +1 -1
  73. package/esm/browser/style/dialogs.js +0 -1
  74. package/esm/browser/util/composer.d.ts +2 -2
  75. package/esm/browser/util/composer.js +3 -3
  76. package/esm/browser/util/tool.d.ts +6 -2
  77. package/esm/browser/util/tool.js +28 -5
  78. package/esm/browser/util/voice.d.ts +9 -0
  79. package/esm/browser/util/voice.js +20 -0
  80. package/esm/browser/workbench-util.d.ts +5 -0
  81. package/esm/browser/workbench-util.js +9 -0
  82. package/esm/browser/workbench.js +6 -1
  83. package/lib/browser/account/account-side.js +1 -1
  84. package/lib/browser/account/device-account.d.ts +8 -0
  85. package/lib/browser/account/device-account.js +26 -0
  86. package/lib/browser/assistant/assistant-view.js +1 -1
  87. package/lib/browser/components/account-menu.d.ts +1 -1
  88. package/lib/browser/components/account-menu.js +6 -2
  89. package/lib/browser/components/account-view.d.ts +7 -0
  90. package/lib/browser/components/account-view.js +91 -10
  91. package/lib/browser/components/chat-tag.d.ts +13 -5
  92. package/lib/browser/components/chat-tag.js +22 -5
  93. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  94. package/lib/browser/components/composer-box-protocol.d.ts +5 -0
  95. package/lib/browser/components/composer-box.js +11 -6
  96. package/lib/browser/components/composer.d.ts +2 -0
  97. package/lib/browser/components/composer.js +3 -3
  98. package/lib/browser/components/host-view.d.ts +1 -1
  99. package/lib/browser/components/host-view.js +3 -3
  100. package/lib/browser/components/me-rows.d.ts +2 -0
  101. package/lib/browser/components/me-rows.js +1 -1
  102. package/lib/browser/components/scan-screen.js +10 -0
  103. package/lib/browser/components/session-view.js +2 -2
  104. package/lib/browser/components/tool-view.js +10 -4
  105. package/lib/browser/components/voice-button.d.ts +7 -0
  106. package/lib/browser/components/voice-button.js +26 -2
  107. package/lib/browser/components/voice-talk.js +1 -1
  108. package/lib/browser/components/workbench-view.js +2 -2
  109. package/lib/browser/device/back-stack.d.ts +7 -0
  110. package/lib/browser/device/back-stack.js +13 -1
  111. package/lib/browser/device/code-scan.d.ts +5 -2
  112. package/lib/browser/device/code-scan.js +22 -2
  113. package/lib/browser/device/mini-program.d.ts +70 -0
  114. package/lib/browser/device/mini-program.js +254 -0
  115. package/lib/browser/device/sheet-swipe.js +4 -1
  116. package/lib/browser/device/swipe-util.d.ts +2 -0
  117. package/lib/browser/device/swipe-util.js +5 -0
  118. package/lib/browser/extension/extension-view.d.ts +1 -1
  119. package/lib/browser/extension/icons.js +1 -0
  120. package/lib/browser/extension/web-api-chats.d.ts +2 -0
  121. package/lib/browser/extension/web-api-components.d.ts +10 -1
  122. package/lib/browser/extension/web-api-storage.d.ts +21 -0
  123. package/lib/browser/extension/web-api-storage.js +4 -0
  124. package/lib/browser/extension/web-extension-api.d.ts +3 -27
  125. package/lib/browser/extension/web-extension-context.js +1 -1
  126. package/lib/browser/extension/web-home.d.ts +1 -1
  127. package/lib/browser/extension/web-home.js +7 -2
  128. package/lib/browser/extension/web-pages.js +1 -1
  129. package/lib/browser/i18n/en/account.d.ts +3 -1
  130. package/lib/browser/i18n/en/account.js +3 -1
  131. package/lib/browser/i18n/en/chat.d.ts +2 -0
  132. package/lib/browser/i18n/en/chat.js +3 -1
  133. package/lib/browser/i18n/en/common.d.ts +1 -0
  134. package/lib/browser/i18n/en/common.js +1 -0
  135. package/lib/browser/i18n/ja/account.js +3 -1
  136. package/lib/browser/i18n/ja/chat.js +3 -1
  137. package/lib/browser/i18n/ja/common.js +1 -0
  138. package/lib/browser/i18n/locales.d.ts +7 -2
  139. package/lib/browser/i18n/messages.d.ts +6 -1
  140. package/lib/browser/i18n/zh/account.js +3 -1
  141. package/lib/browser/i18n/zh/chat.js +3 -1
  142. package/lib/browser/i18n/zh/common.js +1 -0
  143. package/lib/browser/i18n/zh-tw/account.js +3 -1
  144. package/lib/browser/i18n/zh-tw/chat.js +3 -1
  145. package/lib/browser/i18n/zh-tw/common.js +1 -0
  146. package/lib/browser/links/links.d.ts +4 -1
  147. package/lib/browser/links/links.js +10 -1
  148. package/lib/browser/settings/settings.js +3 -0
  149. package/lib/browser/style/chat-list.d.ts +1 -1
  150. package/lib/browser/style/chat-list.js +2 -0
  151. package/lib/browser/style/device.js +4 -2
  152. package/lib/browser/style/dialogs.d.ts +1 -1
  153. package/lib/browser/style/dialogs.js +0 -1
  154. package/lib/browser/util/composer.d.ts +2 -2
  155. package/lib/browser/util/composer.js +3 -3
  156. package/lib/browser/util/tool.d.ts +6 -2
  157. package/lib/browser/util/tool.js +28 -5
  158. package/lib/browser/util/voice.d.ts +9 -0
  159. package/lib/browser/util/voice.js +20 -0
  160. package/lib/browser/workbench-util.d.ts +5 -0
  161. package/lib/browser/workbench-util.js +9 -0
  162. package/lib/browser/workbench.js +6 -1
  163. package/package.json +10 -10
@@ -40,6 +40,7 @@ exports.WaitingPart = WaitingPart;
40
40
  exports.AccountWays = AccountWays;
41
41
  exports.RecentAccounts = RecentAccounts;
42
42
  exports.DevicesDialog = DevicesDialog;
43
+ exports.AccountSignInDialog = AccountSignInDialog;
43
44
  exports.AccountAsk = AccountAsk;
44
45
  const lucide_react_1 = require("lucide-react");
45
46
  const React = __importStar(require("react"));
@@ -47,6 +48,7 @@ const react_dom_1 = require("react-dom");
47
48
  const account_side_1 = require("../account/account-side");
48
49
  const device_account_1 = require("../account/device-account");
49
50
  const back_stack_1 = require("../device/back-stack");
51
+ const mini_program_1 = require("../device/mini-program");
50
52
  const console_util_1 = require("../gateway/console-util");
51
53
  const hooks_1 = require("../hooks");
52
54
  const hosts_1 = require("../hosts");
@@ -97,26 +99,35 @@ function SignInPart({ info, act }) {
97
99
  const [busy, run] = (0, busy_1.useBusy)();
98
100
  const [, notices] = (0, hooks_1.useNotices)();
99
101
  const go = (action) => void run(() => act(action).catch((error) => notices.error(error)));
102
+ // The web-view of the mini program opens no page of another domain: the page of the provider is copied, for a browser.
103
+ const openProvider = (url) => {
104
+ var _a;
105
+ if (!mini_program_1.MiniProgram.inside()) {
106
+ window.open(url, '_blank', 'noopener,noreferrer');
107
+ return;
108
+ }
109
+ void ((_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.writeText(url).then(() => notices.notify(t('ta.link.copiedToOpen'), { level: 'success' }), () => notices.notify(url, { level: 'info' })));
110
+ };
100
111
  const signing = info.signingIn;
101
112
  if (signing) {
102
113
  const name = providerName(info, signing.provider);
103
114
  return (React.createElement("div", { className: "ta-account-signing" },
104
115
  React.createElement("p", null, t('ta.myDevices.enterCode', { name })),
105
116
  React.createElement(cloud_sign_in_view_1.CodeBox, { code: signing.code }),
106
- React.createElement("button", { type: "button", className: "ta-button ta-primary ta-wide", onClick: () => window.open(signing.url, '_blank', 'noopener,noreferrer') },
117
+ React.createElement("button", { type: "button", className: "ta-button ta-primary ta-wide", onClick: () => openProvider(signing.url) },
107
118
  React.createElement(sign_in_marks_1.SignInMark, { provider: signing.provider, size: 16 }),
108
119
  " ",
109
120
  t('ta.myDevices.openProvider', { name })),
110
121
  React.createElement("button", { type: "button", className: "ta-link-button", onClick: () => go(side => side.cancelSignIn()) }, t('ta.cancel'))));
111
122
  }
112
- const ways = workbench_util_1.WorkbenchUtil.isApp() ? info.providers.filter(one => !one.gateway) : info.providers;
123
+ const ways = workbench_util_1.WorkbenchUtil.ownDevice() ? info.providers.filter(one => !one.gateway) : info.providers;
113
124
  if (ways.length === 0) {
114
125
  return null;
115
126
  }
116
127
  return (React.createElement("div", { className: "ta-account-ways" }, ways.map(provider => (React.createElement("button", { key: `${provider.service} ${provider.id}`, type: "button", className: busy ? 'ta-button ta-primary ta-wide ta-busy' : 'ta-button ta-primary ta-wide', "aria-busy": busy || undefined, onClick: () => go(async (side) => {
117
128
  const next = await side.signIn(provider.id, provider.service);
118
129
  if (next.signingIn) {
119
- window.open(next.signingIn.url, '_blank', 'noopener,noreferrer');
130
+ openProvider(next.signingIn.url);
120
131
  }
121
132
  return next;
122
133
  }) },
@@ -189,7 +200,7 @@ function AccountWays({ info, act }) {
189
200
  /** The accounts this device switched away from, on its sign-in: a tap goes back to one, its computers with it. */
190
201
  function RecentAccounts() {
191
202
  const way = useAccountWay();
192
- const [recent] = React.useState(() => (workbench_util_1.WorkbenchUtil.isApp() ? device_account_1.DeviceAccount.recent() : []));
203
+ const [recent] = React.useState(() => (workbench_util_1.WorkbenchUtil.ownDevice() ? device_account_1.DeviceAccount.recent() : []));
193
204
  return (React.createElement(React.Fragment, null, recent.map(one => (React.createElement("li", { key: one.kept.account.id, className: "ta-host-row" },
194
205
  React.createElement("button", { type: "button", className: "ta-host-item", onClick: () => { var _a; return (_a = device_account_1.DeviceAccount.current()) === null || _a === void 0 ? void 0 : _a.resume(one.kept.account.id); } },
195
206
  React.createElement("span", { className: "ta-chat-avatar ta-account-recent-mark", "aria-hidden": "true" },
@@ -251,7 +262,6 @@ function DevicesDialog({ onClose }) {
251
262
  bench.rename(host.id, name);
252
263
  }
253
264
  };
254
- const signedOut = info && !info.account && !info.signingIn;
255
265
  return (0, react_dom_1.createPortal)(React.createElement("div", { className: "ta-modal-scrim" },
256
266
  React.createElement("button", { type: "button", className: "ta-overlay-close", "aria-label": t('ta.close'), tabIndex: -1, onClick: onClose }),
257
267
  React.createElement("div", { className: "ta-modal ta-hosts-dialog ta-account-dialog", role: "dialog", "aria-modal": "true", "aria-label": t('ta.myDevices.title') },
@@ -271,11 +281,7 @@ function DevicesDialog({ onClose }) {
271
281
  React.createElement("h2", null, t('ta.myDevices.others')),
272
282
  React.createElement("ul", { className: "ta-account-devices" }, others.map(device => (React.createElement(DeviceRow, { key: device.id, device: device, onApprove: () => go(one => one.approve(device.id)), onRemove: () => void removeDevice(device) })))))),
273
283
  add.error && React.createElement(callout_1.Callout, { level: "error" }, t(add.error)),
274
- adding === 'cloud' ? (React.createElement(cloud_sign_in_view_1.CloudSignInFlow, { onBack: () => setAdding(undefined) })) : adding === 'paste' ? (React.createElement(host_view_1.LinkForm, { busy: add.busy, autoFocus: true, placeholder: t('ta.signin.pairing'), onSubmit: text => void add.add(text) })) : adding === 'account' && info ? (React.createElement(SignInPart, { info: info, act: act })) : (React.createElement(React.Fragment, null,
275
- signedOut && (React.createElement("div", { className: "ta-account-offer" },
276
- React.createElement("p", { className: "ta-account-hint" }, t('ta.myDevices.hint')),
277
- React.createElement("button", { type: "button", className: "ta-button ta-wide", onClick: () => setAdding('account') }, t('ta.myDevices.signInAccount')))),
278
- (info === null || info === void 0 ? void 0 : info.signingIn) && React.createElement(SignInPart, { info: info, act: act }),
284
+ adding === 'cloud' ? (React.createElement(cloud_sign_in_view_1.CloudSignInFlow, { onBack: () => setAdding(undefined) })) : adding === 'paste' ? (React.createElement(host_view_1.LinkForm, { busy: add.busy, autoFocus: true, placeholder: t('ta.signin.pairing'), onSubmit: text => void add.add(text) })) : (React.createElement(React.Fragment, null,
279
285
  !info && side && React.createElement(loading_1.Loading, { compact: true }),
280
286
  React.createElement("div", { className: "ta-host-actions" },
281
287
  add.canScan && (React.createElement("button", { type: "button", className: "ta-button ta-primary", disabled: add.busy, onClick: () => void add.scan() },
@@ -289,6 +295,81 @@ function DevicesDialog({ onClose }) {
289
295
  React.createElement(cloud_sign_in_view_1.CloudSignInEntry, { onPick: () => setAdding('cloud') }))),
290
296
  menu)), document.body);
291
297
  }
298
+ /** The account of the computer in use, which this device may sign in as (DeviceAccount.joinThrough): none on a computer's own page. */
299
+ function useAccountThrough(side) {
300
+ const t = (0, use_t_1.useT)();
301
+ const [{ status, hosts, host }, bench] = (0, hooks_1.useWorkbench)();
302
+ const [there, setThere] = React.useState();
303
+ const can = Boolean(side === null || side === void 0 ? void 0 : side.joinThrough) && status === 'online';
304
+ React.useEffect(() => {
305
+ // Read again for each computer switched to.
306
+ if (!can || !host) {
307
+ return;
308
+ }
309
+ let live = true;
310
+ bench.account.getAccount().then(info => live && setThere(info), () => undefined);
311
+ return () => {
312
+ live = false;
313
+ };
314
+ }, [can, bench, host]);
315
+ const inUse = hosts.find(one => one.id === host);
316
+ return can && (there === null || there === void 0 ? void 0 : there.account) && !there.waiting
317
+ ? { account: there.account, computer: (inUse && hosts_1.HostUtil.label(inUse)) || t('ta.hosts.thisServer') }
318
+ : undefined;
319
+ }
320
+ /** Signs in as the computer in use is: one tap, no page of a provider (the mini program of WeChat opens none). */
321
+ function JoinThrough({ through, act }) {
322
+ const t = (0, use_t_1.useT)();
323
+ const [busy, run] = (0, busy_1.useBusy)();
324
+ const [, notices] = (0, hooks_1.useNotices)();
325
+ const join = () => void run(() => act(side => {
326
+ if (!side.joinThrough) {
327
+ throw new Error('No computer to sign in through.');
328
+ }
329
+ return side.joinThrough();
330
+ }).catch((error) => notices.error(error)));
331
+ return (React.createElement("div", { className: "ta-account-ways" },
332
+ React.createElement("button", { type: "button", className: busy ? 'ta-button ta-primary ta-wide ta-busy' : 'ta-button ta-primary ta-wide', "aria-busy": busy || undefined, onClick: join },
333
+ React.createElement(sign_in_marks_1.SignInMark, { provider: through.account.id.split(':')[0], size: 16 }),
334
+ " ",
335
+ t('ta.me.signInAs', { name: accountName(through.account) }),
336
+ React.createElement(busy_1.BusyMark, { busy: busy })),
337
+ React.createElement("p", { className: "ta-account-hint" }, t('ta.me.signInAsHint', { computer: through.computer }))));
338
+ }
339
+ /**
340
+ * Signing in to an account, from Me (docs/design/ta-me.md 4): who the user is, not one of their devices. The ways, the
341
+ * code to enter at the provider, waiting to be let in; closed once signed in, the computers of the account coming in.
342
+ */
343
+ function AccountSignInDialog({ onClose }) {
344
+ var _a;
345
+ const t = (0, use_t_1.useT)();
346
+ const side = (0, account_side_1.useAccountSide)();
347
+ const { info, failed, act } = (0, account_side_1.useAccountInfo)(side);
348
+ (0, back_stack_1.useBackLayer)(true, onClose);
349
+ React.useEffect(() => {
350
+ const onKey = (event) => event.key === 'Escape' && onClose();
351
+ document.addEventListener('keydown', onKey);
352
+ return () => document.removeEventListener('keydown', onKey);
353
+ }, [onClose]);
354
+ const done = Boolean((info === null || info === void 0 ? void 0 : info.account) && !info.waiting);
355
+ React.useEffect(() => {
356
+ if (done) {
357
+ onClose();
358
+ }
359
+ }, [done, onClose]);
360
+ const through = useAccountThrough(side);
361
+ return (0, react_dom_1.createPortal)(React.createElement("div", { className: "ta-modal-scrim" },
362
+ React.createElement("button", { type: "button", className: "ta-overlay-close", "aria-label": t('ta.close'), tabIndex: -1, onClick: onClose }),
363
+ React.createElement("div", { className: "ta-modal ta-hosts-dialog ta-account-dialog", role: "dialog", "aria-modal": "true", "aria-label": t('ta.me.signIn') },
364
+ React.createElement("div", { className: "ta-modal-head" },
365
+ React.createElement("span", { className: "ta-modal-title" }, t('ta.me.signIn')),
366
+ React.createElement(icon_1.IconButton, { icon: lucide_react_1.X, label: t('ta.close'), onClick: onClose })),
367
+ failed ? React.createElement(callout_1.Callout, { level: "error" }, String((_a = failed.message) !== null && _a !== void 0 ? _a : failed)) : null,
368
+ info ? (React.createElement(React.Fragment, null,
369
+ !info.signingIn && !info.waiting && React.createElement("p", { className: "ta-account-hint" }, t('ta.myDevices.hint')),
370
+ through && !info.signingIn && !info.waiting && React.createElement(JoinThrough, { through: through, act: act }),
371
+ React.createElement(AccountWays, { info: info, act: act }))) : (React.createElement(loading_1.Loading, { compact: true })))), document.body);
372
+ }
292
373
  /**
293
374
  * A device asks to join the account: whichever device of it the user has at hand says so, with the code to compare,
294
375
  * until it is let in, refused, or put off for now.
@@ -1,11 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import type { WebChat, WebChatTag } from '../extension/web-extension-api';
3
3
  import type { WebChatTagEntry } from '../extension/web-extension-protocol';
4
+ /** A tag as it is drawn: what the extension said, and what a tap on it does, when the extension says. */
5
+ export interface ShownChatTag extends WebChatTag {
6
+ open?(): void;
7
+ }
4
8
  /** The tags web extensions give conversations (WebExtensionAPI.registerChatTag). */
5
9
  export declare namespace ChatTagUtil {
6
10
  function changed(): void;
7
11
  /** The tag of the first extension that gives one, a few words; an extension that throws gives none. Asked once a conversation until they change. */
8
- function find(entries: readonly WebChatTagEntry[], chat: WebChat): WebChatTag | undefined;
12
+ function find(entries: readonly WebChatTagEntry[], chat: WebChat): ShownChatTag | undefined;
9
13
  }
10
14
  /** Gives the lists the tags of the extensions, and draws their rows again when an extension says they changed. */
11
15
  export declare function ChatTagsProvider({ entries, children }: {
@@ -13,9 +17,13 @@ export declare function ChatTagsProvider({ entries, children }: {
13
17
  children: React.ReactNode;
14
18
  }): React.JSX.Element;
15
19
  /** The tag of a conversation, when an extension gives it one. */
16
- export declare function useChatTag(chat: WebChat | undefined): WebChatTag | undefined;
17
- /** A tag after the name of a conversation, as a messenger marks a group chat with friends. */
18
- export declare function ChatTagLabel({ tag }: {
19
- tag: WebChatTag | undefined;
20
+ export declare function useChatTag(chat: WebChat | undefined): ShownChatTag | undefined;
21
+ /**
22
+ * A tag after the name of a conversation, as a messenger marks a group chat with friends. `openable` on top of a
23
+ * conversation: a tap opens what the extension shows of it (in a list a tap opens the conversation).
24
+ */
25
+ export declare function ChatTagLabel({ tag, openable }: {
26
+ tag: ShownChatTag | undefined;
27
+ openable?: boolean;
20
28
  }): React.JSX.Element | null;
21
29
  //# sourceMappingURL=chat-tag.d.ts.map
@@ -73,13 +73,20 @@ var ChatTagUtil;
73
73
  }
74
74
  ChatTagUtil.find = find;
75
75
  function ask(entries, chat) {
76
+ var _a;
76
77
  for (const { extension, source } of entries) {
77
78
  try {
78
79
  const found = source.tag({ sessionFile: chat.sessionFile, cwd: chat.cwd, ...(chat.group ? { group: chat.group } : {}) });
79
80
  const text = typeof (found === null || found === void 0 ? void 0 : found.text) === 'string' ? found.text.trim() : '';
80
81
  if (text) {
81
82
  const tone = (found === null || found === void 0 ? void 0 : found.tone) === 'blue' || (found === null || found === void 0 ? void 0 : found.tone) === 'green' ? found.tone : 'gray';
82
- return { text: text.slice(0, 16), tone, ...(typeof (found === null || found === void 0 ? void 0 : found.title) === 'string' ? { title: found.title } : {}) };
83
+ const open = (_a = source.open) === null || _a === void 0 ? void 0 : _a.bind(source);
84
+ return {
85
+ text: text.slice(0, 16),
86
+ tone,
87
+ ...(typeof (found === null || found === void 0 ? void 0 : found.title) === 'string' ? { title: found.title } : {}),
88
+ ...(open ? { open: () => open(chat) } : {}),
89
+ };
83
90
  }
84
91
  }
85
92
  catch (error) {
@@ -129,14 +136,24 @@ function useChatTag(chat) {
129
136
  // biome-ignore lint/correctness/useExhaustiveDependencies: asked again when an extension said it changed
130
137
  return React.useMemo(() => (chat && entries.length ? ChatTagUtil.find(entries, { sessionFile, cwd, ...(group ? { group } : {}) }) : undefined), [entries, version, sessionFile, cwd, group]);
131
138
  }
132
- /** A tag after the name of a conversation, as a messenger marks a group chat with friends. */
133
- function ChatTagLabel({ tag }) {
134
- var _a;
139
+ /**
140
+ * A tag after the name of a conversation, as a messenger marks a group chat with friends. `openable` on top of a
141
+ * conversation: a tap opens what the extension shows of it (in a list a tap opens the conversation).
142
+ */
143
+ function ChatTagLabel({ tag, openable }) {
144
+ var _a, _b;
145
+ const t = (0, use_t_1.useT)();
135
146
  if (!tag) {
136
147
  return null;
137
148
  }
138
- return (React.createElement("span", { className: `ta-chat-badge ta-chat-tag ta-tone-${(_a = tag.tone) !== null && _a !== void 0 ? _a : 'gray'}`, title: tag.title },
149
+ const className = `ta-chat-badge ta-chat-tag ta-tone-${(_a = tag.tone) !== null && _a !== void 0 ? _a : 'gray'}`;
150
+ const body = (React.createElement(React.Fragment, null,
139
151
  tag.tone === 'gray' || !tag.tone ? React.createElement(icon_1.Icon, { icon: lucide_react_1.Lock, size: 9 }) : null,
140
152
  tag.text));
153
+ const open = openable ? tag.open : undefined;
154
+ if (open) {
155
+ return (React.createElement("button", { type: "button", className: `${className} ta-chat-tag-open`, title: (_b = tag.title) !== null && _b !== void 0 ? _b : t('ta.chat.tagOpen'), onClick: () => open() }, body));
156
+ }
157
+ return (React.createElement("span", { className: className, title: tag.title }, body));
141
158
  }
142
159
  //# sourceMappingURL=chat-tag.js.map
@@ -41,7 +41,7 @@ export declare function BuiltInSignIn({ known, onPick, onOther }: {
41
41
  export declare function useCloudSignIn(): {
42
42
  busy: boolean;
43
43
  progress: CloudSignInProgress | undefined;
44
- error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.open" | "ta.access.openHint" | "ta.access.openOff" | "ta.access.openOffConfirm" | "ta.access.openOffDetail" | "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.account.switchSignIn" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.builtin.partners" | "ta.builtin.partnersHint" | "ta.call.aiMade" | "ta.call.back" | "ta.call.cameraDenied" | "ta.call.cameraOff" | "ta.call.cameraOn" | "ta.call.captionsHidden" | "ta.call.captionsOff" | "ta.call.captionsOn" | "ta.call.captionsShown" | "ta.call.connecting" | "ta.call.done" | "ta.call.endedFailed" | "ta.call.endedSilent" | "ta.call.endedUnavailable" | "ta.call.expand" | "ta.call.faceFailed" | "ta.call.flip" | "ta.call.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.minimize" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.person" | "ta.call.person.blonde" | "ta.call.person.first" | "ta.call.pin" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "ta.call.unpin" | "ta.call.video" | "ta.call.videoTitle" | "ta.call.waitsAsk" | "ta.call.waitsDialog" | "ta.call.youSpeak" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.draft" | "ta.chat.folderLatest" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.markSeen" | "ta.chat.markUnseen" | "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.chats.busy" | "ta.chats.busyClear" | "ta.chats.busyFilter" | "ta.chats.busyNone" | "ta.close" | "ta.cloud.address" | "ta.cloud.back" | "ta.cloud.builtInHint" | "ta.cloud.code" | "ta.cloud.codeTitle" | "ta.cloud.companyAccount" | "ta.cloud.connecting" | "ta.cloud.device.allow" | "ta.cloud.device.done" | "ta.cloud.device.doneTitle" | "ta.cloud.device.failed" | "ta.cloud.device.failedTitle" | "ta.cloud.device.from" | "ta.cloud.device.fromAny" | "ta.cloud.device.hint" | "ta.cloud.device.ignored" | "ta.cloud.device.ignoredTitle" | "ta.cloud.device.none" | "ta.cloud.device.notMe" | "ta.cloud.device.title" | "ta.cloud.device.waiting" | "ta.cloud.device.waitingTitle" | "ta.cloud.direct" | "ta.cloud.expired" | "ta.cloud.go" | "ta.cloud.hint" | "ta.cloud.noGateway" | "ta.cloud.or" | "ta.cloud.orComputer" | "ta.cloud.other" | "ta.cloud.pending" | "ta.cloud.reachHint" | "ta.cloud.reopen" | "ta.cloud.retry" | "ta.cloud.signIn" | "ta.cloud.signInTo" | "ta.cloud.unreachable" | "ta.cloud.unreachableAt" | "ta.cloud.waiting" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.deleteBack" | "ta.composer.emoji" | "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.cloudUnreachable" | "ta.connection.cloudUnreachableBrief" | "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.console.about" | "ta.console.accounts" | "ta.console.active" | "ta.console.activityNone" | "ta.console.activityRunning" | "ta.console.activitySummary" | "ta.console.agentAsking" | "ta.console.agentIdle" | "ta.console.agentWaiting" | "ta.console.agentWorking" | "ta.console.agents" | "ta.console.agentsNone" | "ta.console.agentsOwn" | "ta.console.agentsPrivacy" | "ta.console.agentsStopped" | "ta.console.agentsWorking" | "ta.console.allProviders" | "ta.console.audit" | "ta.console.auditActivity" | "ta.console.auditAllow" | "ta.console.auditDefaults" | "ta.console.auditDisallow" | "ta.console.auditDismiss" | "ta.console.auditEgress" | "ta.console.auditGrant" | "ta.console.auditInvite" | "ta.console.auditLimits" | "ta.console.auditLogs" | "ta.console.auditNone" | "ta.console.auditRestart" | "ta.console.auditRole" | "ta.console.auditRollback" | "ta.console.auditStart" | "ta.console.auditStop" | "ta.console.auditSuspend" | "ta.console.auditUpdate" | "ta.console.auditUpdateAll" | "ta.console.auditUpdatePolicy" | "ta.console.blockedMinutes" | "ta.console.blockedSuspended" | "ta.console.bonus" | "ta.console.byAccount" | "ta.console.byModel" | "ta.console.cannotManage" | "ta.console.checkUpdates" | "ta.console.checked" | "ta.console.connectionsLabel" | "ta.console.connectionsLimit" | "ta.console.connectionsMax" | "ta.console.connectionsMaxHint" | "ta.console.context" | "ta.console.copied" | "ta.console.copy" | "ta.console.cost" | "ta.console.cpu" | "ta.console.created" | "ta.console.default" | "ta.console.defaults" | "ta.console.defaultsHint" | "ta.console.defaultsReadOnly" | "ta.console.demote" | "ta.console.demoteConfirm" | "ta.console.demoteDetail" | "ta.console.egress" | "ta.console.egressBytes" | "ta.console.egressHint" | "ta.console.egressHosts" | "ta.console.egressHostsHint" | "ta.console.egressHostsPlaceholder" | "ta.console.egressNetworks" | "ta.console.egressOff" | "ta.console.egressReasonHost" | "ta.console.egressReasonNetwork" | "ta.console.egressReasonPort" | "ta.console.egressRefused" | "ta.console.egressThrough" | "ta.console.empty" | "ta.console.emptyHint" | "ta.console.environment" | "ta.console.failed" | "ta.console.filterAdmins" | "ta.console.filterAll" | "ta.console.filterLimited" | "ta.console.filterRunning" | "ta.console.filterWorking" | "ta.console.freeMinutes" | "ta.console.freeMinutesHint" | "ta.console.grant" | "ta.console.grantTitle" | "ta.console.granted" | "ta.console.hint" | "ta.console.idle" | "ta.console.idleNever" | "ta.console.invite" | "ta.console.inviteHint" | "ta.console.inviteLink" | "ta.console.invitePlaceholder" | "ta.console.inviteShort" | "ta.console.inviteTitle" | "ta.console.isAdmin" | "ta.console.isMember" | "ta.console.limitCustom" | "ta.console.limitDefault" | "ta.console.limitSet" | "ta.console.limitedCount" | "ta.console.limits" | "ta.console.limitsDone" | "ta.console.limitsEdit" | "ta.console.limitsHint" | "ta.console.logs" | "ta.console.logsAudited" | "ta.console.logsEmpty" | "ta.console.logsNone" | "ta.console.logsShow" | "ta.console.manage" | "ta.console.managers" | "ta.console.managersHint" | "ta.console.memory" | "ta.console.messages" | "ta.console.metric" | "ta.console.modelFailed" | "ta.console.models" | "ta.console.modelsHint" | "ta.console.modelsNone" | "ta.console.modelsOf" | "ta.console.monthTokens" | "ta.console.monthlyTokens" | "ta.console.monthlyTokensHint" | "ta.console.monthlyTokensOff" | "ta.console.more" | "ta.console.never" | "ta.console.no" | "ta.console.noMatch" | "ta.console.outOfMinutes" | "ta.console.ownAllowed" | "ta.console.ownNot" | "ta.console.ownService" | "ta.console.ownServiceHint" | "ta.console.peak" | "ta.console.promote" | "ta.console.promoteConfirm" | "ta.console.promoteDetail" | "ta.console.promptsLimit" | "ta.console.promptsPerMinute" | "ta.console.promptsPerMinuteHint" | "ta.console.providerTenants" | "ta.console.providersAllowed" | "ta.console.providersAllowedHint" | "ta.console.quota" | "ta.console.range" | "ta.console.range1" | "ta.console.range30" | "ta.console.range7" | "ta.console.refresh" | "ta.console.requests" | "ta.console.requestsWaiting" | "ta.console.reset" | "ta.console.resets" | "ta.console.restartConfirm" | "ta.console.restartDetail" | "ta.console.resume" | "ta.console.resumed" | "ta.console.review" | "ta.console.roleAdmin" | "ta.console.roleMember" | "ta.console.roleOwner" | "ta.console.rollback" | "ta.console.rollbackConfirm" | "ta.console.rollbackDetail" | "ta.console.rowWaiting" | "ta.console.rowWorking" | "ta.console.running" | "ta.console.sandbox" | "ta.console.sandboxNow" | "ta.console.sandboxes" | "ta.console.save" | "ta.console.saved" | "ta.console.search" | "ta.console.sessions" | "ta.console.since" | "ta.console.someProviders" | "ta.console.sort" | "ta.console.sortActive" | "ta.console.sortMinutes" | "ta.console.sortName" | "ta.console.stale" | "ta.console.start" | "ta.console.suspend" | "ta.console.suspendConfirm" | "ta.console.suspendDetail" | "ta.console.suspended" | "ta.console.tabAccounts" | "ta.console.tabOverview" | "ta.console.tabPolicy" | "ta.console.tenantId" | "ta.console.title" | "ta.console.tokens" | "ta.console.tokensMetered" | "ta.console.tokensReported" | "ta.console.toolCalls" | "ta.console.toolCallsLabel" | "ta.console.trend" | "ta.console.trendEmpty" | "ta.console.turns" | "ta.console.unlimited" | "ta.console.updatable" | "ta.console.update" | "ta.console.updateAll" | "ta.console.updateAllConfirm" | "ta.console.updateAllDetail" | "ta.console.updateConfirm" | "ta.console.updateDetail" | "ta.console.updateIdle" | "ta.console.updateIdleHint" | "ta.console.updateManual" | "ta.console.updateManualHint" | "ta.console.updateMode" | "ta.console.updateWorking" | "ta.console.updated" | "ta.console.updates" | "ta.console.updatesAvailable" | "ta.console.updatesHint" | "ta.console.updatingProgress" | "ta.console.version" | "ta.console.view" | "ta.console.wholeNumber" | "ta.console.yes" | "ta.copied" | "ta.copy" | "ta.deploy.cloud" | "ta.deploy.cloudAdded" | "ta.deploy.cloudHint" | "ta.deploy.gateway" | "ta.deploy.join" | "ta.deploy.joinButton" | "ta.deploy.joinHint" | "ta.deploy.joined" | "ta.deploy.joinedLine" | "ta.deploy.leave" | "ta.deploy.open" | "ta.deploy.relay" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.discover.hintTouch" | "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.blockedMinutes" | "ta.environment.blockedSuspended" | "ta.environment.blockedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.elsewhere" | "ta.environment.elsewhereHint" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.makeToken" | "ta.environment.newVersion" | "ta.environment.newVersionIdle" | "ta.environment.newVersionManual" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.quotaHint" | "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.tokenHint" | "ta.environment.tokenLabel" | "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.find.newer" | "ta.find.none" | "ta.find.older" | "ta.find.open" | "ta.find.placeholder" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.type" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.hold" | "ta.game.key" | "ta.game.label" | "ta.game.loading" | "ta.game.move" | "ta.game.point" | "ta.home" | "ta.home.decide" | "ta.home.fresh" | "ta.home.running" | "ta.home.standingBy" | "ta.home.tasks" | "ta.home.waiting" | "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.image.copied" | "ta.images.collapse" | "ta.images.expand" | "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.vault" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.me.account" | "ta.me.companyAccount" | "ta.me.name" | "ta.me.nameHint" | "ta.me.noAccount" | "ta.me.picture" | "ta.me.profile" | "ta.me.profileHint" | "ta.me.recent" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.copiedFrom" | "ta.message.copyFrom" | "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.pictureSeen" | "ta.message.picturesSeen" | "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.transcriptUser" | "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.myDevices.allow" | "ta.myDevices.askHint" | "ta.myDevices.askTitle" | "ta.myDevices.code" | "ta.myDevices.computersComing" | "ta.myDevices.enterCode" | "ta.myDevices.hint" | "ta.myDevices.later" | "ta.myDevices.none" | "ta.myDevices.notMe" | "ta.myDevices.online" | "ta.myDevices.open" | "ta.myDevices.openProvider" | "ta.myDevices.others" | "ta.myDevices.remove" | "ta.myDevices.removeConfirm" | "ta.myDevices.seen" | "ta.myDevices.signInAccount" | "ta.myDevices.signInWith" | "ta.myDevices.signOut" | "ta.myDevices.signOutConfirm" | "ta.myDevices.signOutConfirmComputer" | "ta.myDevices.thisDevice" | "ta.myDevices.title" | "ta.myDevices.waiting" | "ta.myDevices.waitingHint" | "ta.myDevices.waitingTitle" | "ta.nav.double" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.openLink" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.partners.add" | "ta.partners.agents" | "ta.partners.clear" | "ta.partners.empty" | "ta.partners.emptyHint" | "ta.partners.friends" | "ta.partners.groups" | "ta.partners.infoAgent" | "ta.partners.infoFriend" | "ta.partners.infoGroup" | "ta.partners.infoShort" | "ta.partners.infoShortGroup" | "ta.partners.newGroup" | "ta.partners.noMatch" | "ta.partners.pickCannot" | "ta.partners.pickChat" | "ta.partners.pickDone" | "ta.partners.pickLead" | "ta.partners.pickLeadWith" | "ta.partners.pickNone" | "ta.partners.search" | "ta.partners.waiting" | "ta.partners.withFriends" | "ta.picture.choose" | "ta.picture.draw" | "ta.picture.drawPlaceholder" | "ta.picture.drawPrompt" | "ta.picture.drawSend" | "ta.picture.hint" | "ta.picture.reset" | "ta.picture.title" | "ta.picture.tooLarge" | "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.files" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.steps" | "ta.process.thinking" | "ta.process.thought" | "ta.process.timesTitle" | "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.direct" | "ta.relays.directHint" | "ta.relays.directUnavailable" | "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.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.routeAt" | "ta.relays.routeOff" | "ta.relays.routeUp" | "ta.relays.routeUse" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.syncElsewhere" | "ta.relays.syncElsewhereHint" | "ta.relays.title" | "ta.release.available" | "ta.release.copy" | "ta.release.detail" | "ta.release.failed" | "ta.release.install" | "ta.release.installOnly" | "ta.release.installing" | "ta.remote.add" | "ta.remote.addCloud" | "ta.remote.addConfirm" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.cloudAdded" | "ta.remote.cloudConnect" | "ta.remote.cloudDescription" | "ta.remote.cloudHint" | "ta.remote.cloudName" | "ta.remote.cloudTitle" | "ta.remote.cloudToken" | "ta.remote.cloudUrl" | "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.openCloud" | "ta.remote.openCloudHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.restart" | "ta.restart.button" | "ta.restart.confirm" | "ta.restart.description" | "ta.restart.detail" | "ta.restart.done" | "ta.restart.restarting" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.noCodeFound" | "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.screen.allow" | "ta.screen.answer" | "ta.screen.asks" | "ta.screen.chats" | "ta.screen.confirm" | "ta.screen.open" | "ta.screen.unread" | "ta.screen.working" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.secret.bankCard" | "ta.secret.email" | "ta.secret.gone" | "ta.secret.idNumber" | "ta.secret.manage" | "ta.secret.phone" | "ta.secret.secret" | "ta.secret.title" | "ta.secret.unused" | "ta.secret.uses" | "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.moved" | "ta.session.movedBusy" | "ta.session.movedCopy" | "ta.session.movedDetail" | "ta.session.movedDone" | "ta.session.movedKeep" | "ta.session.movedPick" | "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.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "ta.settings.callFace" | "ta.settings.callFaceHint" | "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.delegate" | "ta.settings.delegate.balanced" | "ta.settings.delegate.balancedHint" | "ta.settings.delegate.less" | "ta.settings.delegate.lessHint" | "ta.settings.delegate.more" | "ta.settings.delegate.moreHint" | "ta.settings.delegateHint" | "ta.settings.devices" | "ta.settings.diagramStyle" | "ta.settings.diagramStyle.clean" | "ta.settings.diagramStyle.colour" | "ta.settings.diagramStyle.motion" | "ta.settings.diagramStyle.sketch" | "ta.settings.diagramStyleHint" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.files" | "ta.settings.files.check" | "ta.settings.files.checking" | "ta.settings.files.notJson" | "ta.settings.files.notJsonAt" | "ta.settings.files.notObject" | "ta.settings.files.ok" | "ta.settings.files.problems" | "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.general" | "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.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "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.show" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.part.chats" | "ta.settings.part.initiative" | "ta.settings.part.voice" | "ta.settings.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "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.share.apps" | "ta.share.cannot" | "ta.share.cannotMake" | "ta.share.copied" | "ta.share.copy" | "ta.share.copyPassword" | "ta.share.extensionGets" | "ta.share.friends" | "ta.share.making" | "ta.share.passwordApart" | "ta.share.pickFriends" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.renew" | "ta.share.send" | "ta.share.sendN" | "ta.share.sentTo" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shared.copied" | "ta.shared.copy" | "ta.shared.failed" | "ta.shared.footer" | "ta.shared.imagesOmitted" | "ta.shared.messages" | "ta.shared.opening" | "ta.shared.outputsOmitted" | "ta.shared.redacted" | "ta.shared.report" | "ta.shared.secure" | "ta.shared.sharedAt" | "ta.shell.build" | "ta.shell.copy" | "ta.shell.count" | "ta.shell.gitAdd" | "ta.shell.gitCommit" | "ta.shell.gitDiff" | "ta.shell.gitLog" | "ta.shell.gitMerge" | "ta.shell.gitPull" | "ta.shell.gitPush" | "ta.shell.gitRebase" | "ta.shell.gitShow" | "ta.shell.gitStatus" | "ta.shell.gitSwitch" | "ta.shell.gitWorktree" | "ta.shell.install" | "ta.shell.kill" | "ta.shell.lint" | "ta.shell.mkdir" | "ta.shell.move" | "ta.shell.open" | "ta.shell.processes" | "ta.shell.remove" | "ta.shell.request" | "ta.shell.test" | "ta.shell.typecheck" | "ta.shell.wait" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.call" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.keep" | "ta.talk.listening" | "ta.talk.releaseCall" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseKeep" | "ta.talk.releaseSend" | "ta.talk.releaseSendCall" | "ta.talk.releaseSendKeep" | "ta.talk.tooShort" | "ta.task.adopted" | "ta.task.allTasks" | "ta.task.branch" | "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.verdictFail" | "ta.task.verdictPass" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.update.later" | "ta.update.ready" | "ta.update.readyDetail" | "ta.update.restartTo" | "ta.voices.add" | "ta.voices.addOpen" | "ta.voices.bargeIn" | "ta.voices.bargeIn.0" | "ta.voices.bargeIn.1" | "ta.voices.bargeIn.2" | "ta.voices.bargeIn.3" | "ta.voices.bargeIn.4" | "ta.voices.bargeInHint" | "ta.voices.brain" | "ta.voices.brainHint" | "ta.voices.cutIn" | "ta.voices.cutInHint" | "ta.voices.device" | "ta.voices.deviceHint" | "ta.voices.edit" | "ta.voices.file" | "ta.voices.keepSecret" | "ta.voices.listensOnly" | "ta.voices.name" | "ta.voices.none" | "ta.voices.note" | "ta.voices.noteSave" | "ta.voices.optional" | "ta.voices.remove" | "ta.voices.save" | "ta.voices.submit" | "ta.voices.title" | "ta.voices.titleHint" | "ta.voices.unavailable" | "ta.voices.use" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "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.copy" | "ta.zoom.copyFailed" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
44
+ error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.open" | "ta.access.openHint" | "ta.access.openOff" | "ta.access.openOffConfirm" | "ta.access.openOffDetail" | "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.account.switchSignIn" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.builtin.partners" | "ta.builtin.partnersHint" | "ta.call.aiMade" | "ta.call.back" | "ta.call.cameraDenied" | "ta.call.cameraOff" | "ta.call.cameraOn" | "ta.call.captionsHidden" | "ta.call.captionsOff" | "ta.call.captionsOn" | "ta.call.captionsShown" | "ta.call.connecting" | "ta.call.done" | "ta.call.endedFailed" | "ta.call.endedSilent" | "ta.call.endedUnavailable" | "ta.call.expand" | "ta.call.faceFailed" | "ta.call.flip" | "ta.call.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.minimize" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.person" | "ta.call.person.blonde" | "ta.call.person.first" | "ta.call.pin" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "ta.call.unpin" | "ta.call.video" | "ta.call.videoTitle" | "ta.call.waitsAsk" | "ta.call.waitsDialog" | "ta.call.youSpeak" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.draft" | "ta.chat.folderLatest" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.markSeen" | "ta.chat.markUnseen" | "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.tagOpen" | "ta.chat.title" | "ta.chat.toAsk" | "ta.chat.unpin" | "ta.chat.unseen" | "ta.chats.busy" | "ta.chats.busyClear" | "ta.chats.busyFilter" | "ta.chats.busyNone" | "ta.close" | "ta.cloud.address" | "ta.cloud.back" | "ta.cloud.builtInHint" | "ta.cloud.code" | "ta.cloud.codeTitle" | "ta.cloud.companyAccount" | "ta.cloud.connecting" | "ta.cloud.device.allow" | "ta.cloud.device.done" | "ta.cloud.device.doneTitle" | "ta.cloud.device.failed" | "ta.cloud.device.failedTitle" | "ta.cloud.device.from" | "ta.cloud.device.fromAny" | "ta.cloud.device.hint" | "ta.cloud.device.ignored" | "ta.cloud.device.ignoredTitle" | "ta.cloud.device.none" | "ta.cloud.device.notMe" | "ta.cloud.device.title" | "ta.cloud.device.waiting" | "ta.cloud.device.waitingTitle" | "ta.cloud.direct" | "ta.cloud.expired" | "ta.cloud.go" | "ta.cloud.hint" | "ta.cloud.noGateway" | "ta.cloud.or" | "ta.cloud.orComputer" | "ta.cloud.other" | "ta.cloud.pending" | "ta.cloud.reachHint" | "ta.cloud.reopen" | "ta.cloud.retry" | "ta.cloud.signIn" | "ta.cloud.signInTo" | "ta.cloud.unreachable" | "ta.cloud.unreachableAt" | "ta.cloud.waiting" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.deleteBack" | "ta.composer.emoji" | "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.composer.voiceUnavailable" | "ta.connection.away" | "ta.connection.awayBrief" | "ta.connection.back" | "ta.connection.cloudUnreachable" | "ta.connection.cloudUnreachableBrief" | "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.console.about" | "ta.console.accounts" | "ta.console.active" | "ta.console.activityNone" | "ta.console.activityRunning" | "ta.console.activitySummary" | "ta.console.agentAsking" | "ta.console.agentIdle" | "ta.console.agentWaiting" | "ta.console.agentWorking" | "ta.console.agents" | "ta.console.agentsNone" | "ta.console.agentsOwn" | "ta.console.agentsPrivacy" | "ta.console.agentsStopped" | "ta.console.agentsWorking" | "ta.console.allProviders" | "ta.console.audit" | "ta.console.auditActivity" | "ta.console.auditAllow" | "ta.console.auditDefaults" | "ta.console.auditDisallow" | "ta.console.auditDismiss" | "ta.console.auditEgress" | "ta.console.auditGrant" | "ta.console.auditInvite" | "ta.console.auditLimits" | "ta.console.auditLogs" | "ta.console.auditNone" | "ta.console.auditRestart" | "ta.console.auditRole" | "ta.console.auditRollback" | "ta.console.auditStart" | "ta.console.auditStop" | "ta.console.auditSuspend" | "ta.console.auditUpdate" | "ta.console.auditUpdateAll" | "ta.console.auditUpdatePolicy" | "ta.console.blockedMinutes" | "ta.console.blockedSuspended" | "ta.console.bonus" | "ta.console.byAccount" | "ta.console.byModel" | "ta.console.cannotManage" | "ta.console.checkUpdates" | "ta.console.checked" | "ta.console.connectionsLabel" | "ta.console.connectionsLimit" | "ta.console.connectionsMax" | "ta.console.connectionsMaxHint" | "ta.console.context" | "ta.console.copied" | "ta.console.copy" | "ta.console.cost" | "ta.console.cpu" | "ta.console.created" | "ta.console.default" | "ta.console.defaults" | "ta.console.defaultsHint" | "ta.console.defaultsReadOnly" | "ta.console.demote" | "ta.console.demoteConfirm" | "ta.console.demoteDetail" | "ta.console.egress" | "ta.console.egressBytes" | "ta.console.egressHint" | "ta.console.egressHosts" | "ta.console.egressHostsHint" | "ta.console.egressHostsPlaceholder" | "ta.console.egressNetworks" | "ta.console.egressOff" | "ta.console.egressReasonHost" | "ta.console.egressReasonNetwork" | "ta.console.egressReasonPort" | "ta.console.egressRefused" | "ta.console.egressThrough" | "ta.console.empty" | "ta.console.emptyHint" | "ta.console.environment" | "ta.console.failed" | "ta.console.filterAdmins" | "ta.console.filterAll" | "ta.console.filterLimited" | "ta.console.filterRunning" | "ta.console.filterWorking" | "ta.console.freeMinutes" | "ta.console.freeMinutesHint" | "ta.console.grant" | "ta.console.grantTitle" | "ta.console.granted" | "ta.console.hint" | "ta.console.idle" | "ta.console.idleNever" | "ta.console.invite" | "ta.console.inviteHint" | "ta.console.inviteLink" | "ta.console.invitePlaceholder" | "ta.console.inviteShort" | "ta.console.inviteTitle" | "ta.console.isAdmin" | "ta.console.isMember" | "ta.console.limitCustom" | "ta.console.limitDefault" | "ta.console.limitSet" | "ta.console.limitedCount" | "ta.console.limits" | "ta.console.limitsDone" | "ta.console.limitsEdit" | "ta.console.limitsHint" | "ta.console.logs" | "ta.console.logsAudited" | "ta.console.logsEmpty" | "ta.console.logsNone" | "ta.console.logsShow" | "ta.console.manage" | "ta.console.managers" | "ta.console.managersHint" | "ta.console.memory" | "ta.console.messages" | "ta.console.metric" | "ta.console.modelFailed" | "ta.console.models" | "ta.console.modelsHint" | "ta.console.modelsNone" | "ta.console.modelsOf" | "ta.console.monthTokens" | "ta.console.monthlyTokens" | "ta.console.monthlyTokensHint" | "ta.console.monthlyTokensOff" | "ta.console.more" | "ta.console.never" | "ta.console.no" | "ta.console.noMatch" | "ta.console.outOfMinutes" | "ta.console.ownAllowed" | "ta.console.ownNot" | "ta.console.ownService" | "ta.console.ownServiceHint" | "ta.console.peak" | "ta.console.promote" | "ta.console.promoteConfirm" | "ta.console.promoteDetail" | "ta.console.promptsLimit" | "ta.console.promptsPerMinute" | "ta.console.promptsPerMinuteHint" | "ta.console.providerTenants" | "ta.console.providersAllowed" | "ta.console.providersAllowedHint" | "ta.console.quota" | "ta.console.range" | "ta.console.range1" | "ta.console.range30" | "ta.console.range7" | "ta.console.refresh" | "ta.console.requests" | "ta.console.requestsWaiting" | "ta.console.reset" | "ta.console.resets" | "ta.console.restartConfirm" | "ta.console.restartDetail" | "ta.console.resume" | "ta.console.resumed" | "ta.console.review" | "ta.console.roleAdmin" | "ta.console.roleMember" | "ta.console.roleOwner" | "ta.console.rollback" | "ta.console.rollbackConfirm" | "ta.console.rollbackDetail" | "ta.console.rowWaiting" | "ta.console.rowWorking" | "ta.console.running" | "ta.console.sandbox" | "ta.console.sandboxNow" | "ta.console.sandboxes" | "ta.console.save" | "ta.console.saved" | "ta.console.search" | "ta.console.sessions" | "ta.console.since" | "ta.console.someProviders" | "ta.console.sort" | "ta.console.sortActive" | "ta.console.sortMinutes" | "ta.console.sortName" | "ta.console.stale" | "ta.console.start" | "ta.console.suspend" | "ta.console.suspendConfirm" | "ta.console.suspendDetail" | "ta.console.suspended" | "ta.console.tabAccounts" | "ta.console.tabOverview" | "ta.console.tabPolicy" | "ta.console.tenantId" | "ta.console.title" | "ta.console.tokens" | "ta.console.tokensMetered" | "ta.console.tokensReported" | "ta.console.toolCalls" | "ta.console.toolCallsLabel" | "ta.console.trend" | "ta.console.trendEmpty" | "ta.console.turns" | "ta.console.unlimited" | "ta.console.updatable" | "ta.console.update" | "ta.console.updateAll" | "ta.console.updateAllConfirm" | "ta.console.updateAllDetail" | "ta.console.updateConfirm" | "ta.console.updateDetail" | "ta.console.updateIdle" | "ta.console.updateIdleHint" | "ta.console.updateManual" | "ta.console.updateManualHint" | "ta.console.updateMode" | "ta.console.updateWorking" | "ta.console.updated" | "ta.console.updates" | "ta.console.updatesAvailable" | "ta.console.updatesHint" | "ta.console.updatingProgress" | "ta.console.version" | "ta.console.view" | "ta.console.wholeNumber" | "ta.console.yes" | "ta.copied" | "ta.copy" | "ta.deploy.cloud" | "ta.deploy.cloudAdded" | "ta.deploy.cloudHint" | "ta.deploy.gateway" | "ta.deploy.join" | "ta.deploy.joinButton" | "ta.deploy.joinHint" | "ta.deploy.joined" | "ta.deploy.joinedLine" | "ta.deploy.leave" | "ta.deploy.open" | "ta.deploy.relay" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.discover.hintTouch" | "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.blockedMinutes" | "ta.environment.blockedSuspended" | "ta.environment.blockedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.elsewhere" | "ta.environment.elsewhereHint" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.makeToken" | "ta.environment.newVersion" | "ta.environment.newVersionIdle" | "ta.environment.newVersionManual" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.quotaHint" | "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.tokenHint" | "ta.environment.tokenLabel" | "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.find.newer" | "ta.find.none" | "ta.find.older" | "ta.find.open" | "ta.find.placeholder" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.type" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.hold" | "ta.game.key" | "ta.game.label" | "ta.game.loading" | "ta.game.move" | "ta.game.point" | "ta.home" | "ta.home.decide" | "ta.home.fresh" | "ta.home.running" | "ta.home.standingBy" | "ta.home.tasks" | "ta.home.waiting" | "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.image.copied" | "ta.images.collapse" | "ta.images.expand" | "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.copiedToOpen" | "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.vault" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.me.account" | "ta.me.companyAccount" | "ta.me.name" | "ta.me.nameHint" | "ta.me.noAccount" | "ta.me.picture" | "ta.me.profile" | "ta.me.profileHint" | "ta.me.recent" | "ta.me.signIn" | "ta.me.signInAs" | "ta.me.signInAsHint" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.copiedFrom" | "ta.message.copyFrom" | "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.pictureSeen" | "ta.message.picturesSeen" | "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.transcriptUser" | "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.myDevices.allow" | "ta.myDevices.askHint" | "ta.myDevices.askTitle" | "ta.myDevices.code" | "ta.myDevices.computersComing" | "ta.myDevices.enterCode" | "ta.myDevices.hint" | "ta.myDevices.later" | "ta.myDevices.none" | "ta.myDevices.notMe" | "ta.myDevices.online" | "ta.myDevices.open" | "ta.myDevices.openProvider" | "ta.myDevices.others" | "ta.myDevices.remove" | "ta.myDevices.removeConfirm" | "ta.myDevices.seen" | "ta.myDevices.signInWith" | "ta.myDevices.signOut" | "ta.myDevices.signOutConfirm" | "ta.myDevices.signOutConfirmComputer" | "ta.myDevices.thisDevice" | "ta.myDevices.title" | "ta.myDevices.waiting" | "ta.myDevices.waitingHint" | "ta.myDevices.waitingTitle" | "ta.nav.double" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.openLink" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.partners.add" | "ta.partners.agents" | "ta.partners.clear" | "ta.partners.empty" | "ta.partners.emptyHint" | "ta.partners.friends" | "ta.partners.groups" | "ta.partners.infoAgent" | "ta.partners.infoFriend" | "ta.partners.infoGroup" | "ta.partners.infoShort" | "ta.partners.infoShortGroup" | "ta.partners.newGroup" | "ta.partners.noMatch" | "ta.partners.pickCannot" | "ta.partners.pickChat" | "ta.partners.pickDone" | "ta.partners.pickLead" | "ta.partners.pickLeadWith" | "ta.partners.pickNone" | "ta.partners.search" | "ta.partners.waiting" | "ta.partners.withFriends" | "ta.picture.choose" | "ta.picture.draw" | "ta.picture.drawPlaceholder" | "ta.picture.drawPrompt" | "ta.picture.drawSend" | "ta.picture.hint" | "ta.picture.reset" | "ta.picture.title" | "ta.picture.tooLarge" | "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.files" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.steps" | "ta.process.thinking" | "ta.process.thought" | "ta.process.timesTitle" | "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.direct" | "ta.relays.directHint" | "ta.relays.directUnavailable" | "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.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.routeAt" | "ta.relays.routeOff" | "ta.relays.routeUp" | "ta.relays.routeUse" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.syncElsewhere" | "ta.relays.syncElsewhereHint" | "ta.relays.title" | "ta.release.available" | "ta.release.copy" | "ta.release.detail" | "ta.release.failed" | "ta.release.install" | "ta.release.installOnly" | "ta.release.installing" | "ta.remote.add" | "ta.remote.addCloud" | "ta.remote.addConfirm" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.cloudAdded" | "ta.remote.cloudConnect" | "ta.remote.cloudDescription" | "ta.remote.cloudHint" | "ta.remote.cloudName" | "ta.remote.cloudTitle" | "ta.remote.cloudToken" | "ta.remote.cloudUrl" | "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.openCloud" | "ta.remote.openCloudHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.restart" | "ta.restart.button" | "ta.restart.confirm" | "ta.restart.description" | "ta.restart.detail" | "ta.restart.done" | "ta.restart.restarting" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.noCodeFound" | "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.screen.allow" | "ta.screen.answer" | "ta.screen.asks" | "ta.screen.chats" | "ta.screen.confirm" | "ta.screen.open" | "ta.screen.unread" | "ta.screen.working" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.secret.bankCard" | "ta.secret.email" | "ta.secret.gone" | "ta.secret.idNumber" | "ta.secret.manage" | "ta.secret.phone" | "ta.secret.secret" | "ta.secret.title" | "ta.secret.unused" | "ta.secret.uses" | "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.moved" | "ta.session.movedBusy" | "ta.session.movedCopy" | "ta.session.movedDetail" | "ta.session.movedDone" | "ta.session.movedKeep" | "ta.session.movedPick" | "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.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "ta.settings.callFace" | "ta.settings.callFaceHint" | "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.delegate" | "ta.settings.delegate.balanced" | "ta.settings.delegate.balancedHint" | "ta.settings.delegate.less" | "ta.settings.delegate.lessHint" | "ta.settings.delegate.more" | "ta.settings.delegate.moreHint" | "ta.settings.delegateHint" | "ta.settings.devices" | "ta.settings.diagramStyle" | "ta.settings.diagramStyle.clean" | "ta.settings.diagramStyle.colour" | "ta.settings.diagramStyle.motion" | "ta.settings.diagramStyle.sketch" | "ta.settings.diagramStyleHint" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.files" | "ta.settings.files.check" | "ta.settings.files.checking" | "ta.settings.files.notJson" | "ta.settings.files.notJsonAt" | "ta.settings.files.notObject" | "ta.settings.files.ok" | "ta.settings.files.problems" | "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.general" | "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.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "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.show" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.part.chats" | "ta.settings.part.initiative" | "ta.settings.part.voice" | "ta.settings.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "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.share.apps" | "ta.share.cannot" | "ta.share.cannotMake" | "ta.share.copied" | "ta.share.copy" | "ta.share.copyPassword" | "ta.share.extensionGets" | "ta.share.friends" | "ta.share.making" | "ta.share.passwordApart" | "ta.share.pickFriends" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.renew" | "ta.share.send" | "ta.share.sendN" | "ta.share.sentTo" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shared.copied" | "ta.shared.copy" | "ta.shared.failed" | "ta.shared.footer" | "ta.shared.imagesOmitted" | "ta.shared.messages" | "ta.shared.opening" | "ta.shared.outputsOmitted" | "ta.shared.redacted" | "ta.shared.report" | "ta.shared.secure" | "ta.shared.sharedAt" | "ta.shell.build" | "ta.shell.copy" | "ta.shell.count" | "ta.shell.gitAdd" | "ta.shell.gitCommit" | "ta.shell.gitDiff" | "ta.shell.gitLog" | "ta.shell.gitMerge" | "ta.shell.gitPull" | "ta.shell.gitPush" | "ta.shell.gitRebase" | "ta.shell.gitShow" | "ta.shell.gitStatus" | "ta.shell.gitSwitch" | "ta.shell.gitWorktree" | "ta.shell.install" | "ta.shell.kill" | "ta.shell.lint" | "ta.shell.mkdir" | "ta.shell.move" | "ta.shell.open" | "ta.shell.processes" | "ta.shell.remove" | "ta.shell.request" | "ta.shell.test" | "ta.shell.typecheck" | "ta.shell.wait" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.call" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.keep" | "ta.talk.listening" | "ta.talk.releaseCall" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseKeep" | "ta.talk.releaseSend" | "ta.talk.releaseSendCall" | "ta.talk.releaseSendKeep" | "ta.talk.tooShort" | "ta.task.adopted" | "ta.task.allTasks" | "ta.task.branch" | "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.verdictFail" | "ta.task.verdictPass" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.update.later" | "ta.update.ready" | "ta.update.readyDetail" | "ta.update.restartTo" | "ta.voices.add" | "ta.voices.addOpen" | "ta.voices.bargeIn" | "ta.voices.bargeIn.0" | "ta.voices.bargeIn.1" | "ta.voices.bargeIn.2" | "ta.voices.bargeIn.3" | "ta.voices.bargeIn.4" | "ta.voices.bargeInHint" | "ta.voices.brain" | "ta.voices.brainHint" | "ta.voices.cutIn" | "ta.voices.cutInHint" | "ta.voices.device" | "ta.voices.deviceHint" | "ta.voices.edit" | "ta.voices.file" | "ta.voices.keepSecret" | "ta.voices.listensOnly" | "ta.voices.name" | "ta.voices.none" | "ta.voices.note" | "ta.voices.noteSave" | "ta.voices.optional" | "ta.voices.remove" | "ta.voices.save" | "ta.voices.submit" | "ta.voices.title" | "ta.voices.titleHint" | "ta.voices.unavailable" | "ta.voices.use" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "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.copy" | "ta.zoom.copyFailed" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
45
45
  start: (address: string, known?: boolean, provider?: string) => Promise<void>;
46
46
  cancel: () => void;
47
47
  };
@@ -48,6 +48,11 @@ export interface ComposerBoxProps {
48
48
  placeholder: string;
49
49
  /** Something runs: with nothing typed, the button stops it. */
50
50
  working?: boolean;
51
+ /**
52
+ * The conversation is being compacted: with nothing typed the button (and Esc) stops that too, as it does a run;
53
+ * what is typed is sent as when nothing runs.
54
+ */
55
+ compacting?: boolean;
51
56
  /** Stops it; the button spins from the press until `working` is false, or a promise it returns fails. */
52
57
  onStop?(): void;
53
58
  /** Sends; when it fails, what was sent comes back into the box. `followUp`: Alt+Enter. */
@@ -38,6 +38,7 @@ const lucide_react_1 = require("lucide-react");
38
38
  const React = __importStar(require("react"));
39
39
  const device_1 = require("../device/device");
40
40
  const hold_1 = require("../device/hold");
41
+ const mini_program_1 = require("../device/mini-program");
41
42
  const photo_picker_1 = require("../device/photo-picker");
42
43
  const recent_shots_1 = require("../device/recent-shots");
43
44
  const use_composer_draft_1 = require("../drafts/use-composer-draft");
@@ -65,7 +66,7 @@ const voice_talk_1 = require("./voice-talk");
65
66
  let talkFirst = false;
66
67
  exports.ComposerBox = React.forwardRef(function ComposerBox(props, ref) {
67
68
  var _a;
68
- const { placeholder, working = false, onStop, onSend, commands = [], onMentionQuery, mentions, mentionLabel, images: takesImages, emoji: takesEmoji, recentShots, actions = [], above, head, after, voiceSends, talkPlace, onTalkSent, onTalkCall, talkCalls = ['keep', 'call'], onListening, autoFocus, onTextChange, draft, cwd, onError, } = props;
69
+ const { placeholder, working = false, compacting = false, onStop, onSend, commands = [], onMentionQuery, mentions, mentionLabel, images: takesImages, emoji: takesEmoji, recentShots, actions = [], above, head, after, voiceSends, talkPlace, onTalkSent, onTalkCall, talkCalls = ['keep', 'call'], onListening, autoFocus, onTextChange, draft, cwd, onError, } = props;
69
70
  const t = (0, use_t_1.useT)();
70
71
  const drafts = (0, use_composer_draft_1.useTaDrafts)();
71
72
  const [text, setText] = React.useState(() => { var _a; var _b; return (_b = (draft === undefined ? undefined : (_a = drafts === null || drafts === void 0 ? void 0 : drafts.get(draft)) === null || _a === void 0 ? void 0 : _a.text)) !== null && _b !== void 0 ? _b : ''; });
@@ -91,11 +92,12 @@ exports.ComposerBox = React.forwardRef(function ComposerBox(props, ref) {
91
92
  const [listening, setListening] = React.useState(false);
92
93
  // Stop pressed: the run may take a moment to end (a tool winding down), and the press must show at once.
93
94
  const [stopping, setStopping] = React.useState(false);
95
+ const busy = working || compacting;
94
96
  React.useEffect(() => {
95
- if (!working) {
97
+ if (!busy) {
96
98
  setStopping(false);
97
99
  }
98
- }, [working]);
100
+ }, [busy]);
99
101
  const stop = () => {
100
102
  if (!onStop || stopping) {
101
103
  return;
@@ -136,7 +138,7 @@ exports.ComposerBox = React.forwardRef(function ComposerBox(props, ref) {
136
138
  : [];
137
139
  const note = (trigger === null || trigger === void 0 ? void 0 : trigger.kind) === 'file' && onMentionQuery && !items.length ? mentions === null || mentions === void 0 ? void 0 : mentions.note : undefined;
138
140
  const sendable = text.trim().length > 0 || attachments.length > 0;
139
- const action = composer_1.ComposerUtil.action(working, sendable);
141
+ const action = composer_1.ComposerUtil.action(working, sendable, compacting);
140
142
  // An image still being read holds the message back, rather than leaving without it.
141
143
  const reading = !composer_1.ComposerUtil.ready(attachments);
142
144
  (0, composer_box_hooks_1.useFieldFit)(input, text, talkMode);
@@ -276,7 +278,10 @@ exports.ComposerBox = React.forwardRef(function ComposerBox(props, ref) {
276
278
  requestAnimationFrame(() => { var _a; return (_a = input.current) === null || _a === void 0 ? void 0 : _a.focus(); });
277
279
  }
278
280
  };
279
- const microphone = !voice_1.Voice.canListen() ? null : touch ? (React.createElement("button", { type: "button", className: "ta-mic", title: t(talkMode ? 'ta.composer.keyboard' : 'ta.composer.voice'), "aria-label": t(talkMode ? 'ta.composer.keyboard' : 'ta.composer.voice'), "aria-pressed": talkMode, onClick: () => switchTalk(!talkMode) },
281
+ const microphone = mini_program_1.MiniProgram.canDictate() ? (React.createElement(voice_button_1.DictateButton, { onHeard: words => {
282
+ const [message, position] = composer_1.ComposerUtil.insert(latest.current, latestCaret.current, words);
283
+ edit(message, position);
284
+ } })) : !voice_1.Voice.canListen() ? null : touch ? (React.createElement("button", { type: "button", className: "ta-mic", title: t(talkMode ? 'ta.composer.keyboard' : 'ta.composer.voice'), "aria-label": t(talkMode ? 'ta.composer.keyboard' : 'ta.composer.voice'), "aria-pressed": talkMode, onClick: () => switchTalk(!talkMode) },
280
285
  React.createElement(icon_1.Icon, { icon: talkMode ? lucide_react_1.Keyboard : lucide_react_1.Mic, size: 18 }))) : (React.createElement(voice_button_1.VoiceButton, { hints: hints, onListening: listen, onText: words => {
281
286
  setText(speech(words));
282
287
  setCaret(spoken.current.before.length + words.length);
@@ -355,7 +360,7 @@ exports.ComposerBox = React.forwardRef(function ComposerBox(props, ref) {
355
360
  event.preventDefault();
356
361
  send(event.altKey);
357
362
  }
358
- else if (event.key === 'Escape' && working && onStop) {
363
+ else if (event.key === 'Escape' && busy && onStop) {
359
364
  event.preventDefault();
360
365
  stop();
361
366
  }
@@ -30,6 +30,8 @@ export interface ComposerProps {
30
30
  /** Where `@` looks for files. */
31
31
  workspace: Pick<TaWorkspaceServer, 'findFiles'>;
32
32
  working: boolean;
33
+ /** ComposerBoxProps.compacting: the stop of the box stops compacting the conversation too. */
34
+ compacting?: boolean;
33
35
  commands: TaSlashCommand[];
34
36
  /** The directory of the session: where `@` looks for files. */
35
37
  cwd?: string;