@celljs/ta-web 4.25.0 → 4.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/browser/account/account-side.js +3 -1
- package/esm/browser/assistant/assistant-task-source.js +3 -1
- package/esm/browser/assistant/assistant-thread.d.ts +5 -2
- package/esm/browser/assistant/assistant-thread.js +70 -46
- package/esm/browser/assistant/assistant-view.js +9 -3
- package/esm/browser/components/account-menu.d.ts +2 -1
- package/esm/browser/components/account-menu.js +7 -2
- package/esm/browser/components/app-nav.js +5 -5
- package/esm/browser/components/chat-asks.js +16 -1
- package/esm/browser/components/chat-home.d.ts +13 -6
- package/esm/browser/components/chat-home.js +9 -9
- package/esm/browser/components/chat-icon.d.ts +6 -1
- package/esm/browser/components/chat-icon.js +49 -4
- package/esm/browser/components/chat-list-hooks.d.ts +20 -0
- package/esm/browser/components/chat-list-hooks.js +21 -0
- package/esm/browser/components/chat-list-row.d.ts +7 -4
- package/esm/browser/components/chat-list-row.js +22 -10
- package/esm/browser/components/chat-list.js +11 -18
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/composer-addon-util.d.ts +5 -0
- package/esm/browser/components/composer-addon-util.js +17 -0
- package/esm/browser/components/composer-addons.d.ts +3 -1
- package/esm/browser/components/composer-addons.js +5 -2
- package/esm/browser/components/editor-area.js +2 -2
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/message-footer.d.ts +2 -2
- package/esm/browser/components/message-footer.js +2 -2
- package/esm/browser/components/message-list.d.ts +12 -0
- package/esm/browser/components/message-list.js +31 -18
- package/esm/browser/components/nav-places.d.ts +2 -1
- package/esm/browser/components/nav-places.js +3 -2
- package/esm/browser/components/serve-restart.d.ts +11 -2
- package/esm/browser/components/serve-restart.js +64 -3
- package/esm/browser/components/session-view.js +3 -2
- package/esm/browser/components/settings-more.js +7 -4
- package/esm/browser/components/ta-avatar.js +34 -6
- package/esm/browser/extension/extension-view.d.ts +8 -0
- package/esm/browser/extension/extension-view.js +12 -1
- package/esm/browser/extension/icons.js +10 -1
- package/esm/browser/extension/web-api-contributions.d.ts +15 -2
- package/esm/browser/extension/web-api-partners.d.ts +6 -0
- package/esm/browser/extension/web-home.js +8 -0
- package/esm/browser/hosts.d.ts +2 -0
- package/esm/browser/hosts.js +22 -3
- package/esm/browser/i18n/locales.d.ts +8 -1
- package/esm/browser/i18n/messages-ja.js +7 -0
- package/esm/browser/i18n/messages-zh-tw.js +7 -0
- package/esm/browser/i18n/messages.d.ts +7 -0
- package/esm/browser/i18n/messages.js +14 -0
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +2 -2
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +7 -4
- package/esm/browser/style/tasks.d.ts +1 -1
- package/esm/browser/style/tasks.js +1 -1
- package/esm/browser/workbench-hosts.js +8 -4
- package/esm/browser/workbench-lists.d.ts +16 -1
- package/esm/browser/workbench-lists.js +38 -3
- package/esm/browser/workbench-protocol.d.ts +5 -0
- package/esm/browser/workbench.d.ts +1 -0
- package/esm/browser/workbench.js +20 -0
- package/lib/browser/account/account-side.js +3 -1
- package/lib/browser/assistant/assistant-task-source.js +3 -1
- package/lib/browser/assistant/assistant-thread.d.ts +5 -2
- package/lib/browser/assistant/assistant-thread.js +70 -46
- package/lib/browser/assistant/assistant-view.js +8 -2
- package/lib/browser/components/account-menu.d.ts +2 -1
- package/lib/browser/components/account-menu.js +6 -1
- package/lib/browser/components/app-nav.js +4 -4
- package/lib/browser/components/chat-asks.js +16 -1
- package/lib/browser/components/chat-home.d.ts +13 -6
- package/lib/browser/components/chat-home.js +10 -11
- package/lib/browser/components/chat-icon.d.ts +6 -1
- package/lib/browser/components/chat-icon.js +49 -4
- package/lib/browser/components/chat-list-hooks.d.ts +20 -0
- package/lib/browser/components/chat-list-hooks.js +22 -0
- package/lib/browser/components/chat-list-row.d.ts +7 -4
- package/lib/browser/components/chat-list-row.js +23 -12
- package/lib/browser/components/chat-list.js +10 -17
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/composer-addon-util.d.ts +5 -0
- package/lib/browser/components/composer-addon-util.js +17 -0
- package/lib/browser/components/composer-addons.d.ts +3 -1
- package/lib/browser/components/composer-addons.js +5 -2
- package/lib/browser/components/editor-area.js +1 -1
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/message-footer.d.ts +2 -2
- package/lib/browser/components/message-footer.js +3 -4
- package/lib/browser/components/message-list.d.ts +12 -0
- package/lib/browser/components/message-list.js +32 -18
- package/lib/browser/components/nav-places.d.ts +2 -1
- package/lib/browser/components/nav-places.js +3 -2
- package/lib/browser/components/serve-restart.d.ts +11 -2
- package/lib/browser/components/serve-restart.js +64 -3
- package/lib/browser/components/session-view.js +3 -2
- package/lib/browser/components/settings-more.js +7 -4
- package/lib/browser/components/ta-avatar.js +34 -6
- package/lib/browser/extension/extension-view.d.ts +8 -0
- package/lib/browser/extension/extension-view.js +12 -0
- package/lib/browser/extension/icons.js +9 -0
- package/lib/browser/extension/web-api-contributions.d.ts +15 -2
- package/lib/browser/extension/web-api-partners.d.ts +6 -0
- package/lib/browser/extension/web-home.js +8 -0
- package/lib/browser/hosts.d.ts +2 -0
- package/lib/browser/hosts.js +22 -3
- package/lib/browser/i18n/locales.d.ts +8 -1
- package/lib/browser/i18n/messages-ja.js +7 -0
- package/lib/browser/i18n/messages-zh-tw.js +7 -0
- package/lib/browser/i18n/messages.d.ts +7 -0
- package/lib/browser/i18n/messages.js +14 -0
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +2 -2
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +7 -4
- package/lib/browser/style/tasks.d.ts +1 -1
- package/lib/browser/style/tasks.js +1 -1
- package/lib/browser/workbench-hosts.js +8 -4
- package/lib/browser/workbench-lists.d.ts +16 -1
- package/lib/browser/workbench-lists.js +38 -3
- package/lib/browser/workbench-protocol.d.ts +5 -0
- package/lib/browser/workbench.d.ts +1 -0
- package/lib/browser/workbench.js +20 -0
- package/package.json +7 -7
|
@@ -3,10 +3,12 @@ import type { WebConversation } from '../extension/web-extension-api';
|
|
|
3
3
|
import type { ComposerAction } from './composer-box-protocol';
|
|
4
4
|
/**
|
|
5
5
|
* What web extensions add to the message box of a conversation (registerComposerAddon): sections of its +
|
|
6
|
-
* menu,
|
|
6
|
+
* menu, what each draws above the box, in its own boundary, and what the conversation shows before anything is said
|
|
7
|
+
* in it, the first extension's that has one for it.
|
|
7
8
|
*/
|
|
8
9
|
export declare function useComposerAddons(conversation: WebConversation | undefined): {
|
|
9
10
|
actions: ComposerAction[][];
|
|
10
11
|
above: React.ReactNode;
|
|
12
|
+
empty?: React.ReactNode;
|
|
11
13
|
};
|
|
12
14
|
//# sourceMappingURL=composer-addons.d.ts.map
|
|
@@ -40,7 +40,8 @@ const hooks_1 = require("../hooks");
|
|
|
40
40
|
const composer_addon_util_1 = require("./composer-addon-util");
|
|
41
41
|
/**
|
|
42
42
|
* What web extensions add to the message box of a conversation (registerComposerAddon): sections of its +
|
|
43
|
-
* menu,
|
|
43
|
+
* menu, what each draws above the box, in its own boundary, and what the conversation shows before anything is said
|
|
44
|
+
* in it, the first extension's that has one for it.
|
|
44
45
|
*/
|
|
45
46
|
function useComposerAddons(conversation) {
|
|
46
47
|
const [{ composerAddons }] = (0, hooks_1.useWebExtensions)();
|
|
@@ -61,6 +62,8 @@ function useComposerAddons(conversation) {
|
|
|
61
62
|
return Above ? (React.createElement(extension_view_1.ExtensionBoundary, { key: id, name: id, resetKey: Above },
|
|
62
63
|
React.createElement(Above, { conversation: conversation }))) : null;
|
|
63
64
|
});
|
|
64
|
-
|
|
65
|
+
const own = composer_addon_util_1.ComposerAddonUtil.empty(composerAddons, conversation);
|
|
66
|
+
const empty = own && (React.createElement(extension_view_1.ExtensionBoundary, { key: own.id, name: own.id }, own.node));
|
|
67
|
+
return { actions, above, empty };
|
|
65
68
|
}
|
|
66
69
|
//# sourceMappingURL=composer-addons.js.map
|
|
@@ -77,7 +77,7 @@ function EditorArea(props) {
|
|
|
77
77
|
return (React.createElement("div", { key: editor.id, className: "ta-editor-body", role: "tabpanel", hidden: editor.id !== active },
|
|
78
78
|
React.createElement(editor_actions_1.EditorActionsSlot.Provider, { value: editor.id === active ? slot : null },
|
|
79
79
|
React.createElement(extension_view_1.ExtensionBoundary, { name: web_extension_protocol_1.WebLabelUtil.text(editor.title), resetKey: Content },
|
|
80
|
-
React.createElement(
|
|
80
|
+
React.createElement(extension_view_1.ExtensionPart, { component: Content })))));
|
|
81
81
|
})));
|
|
82
82
|
}
|
|
83
83
|
/** The cards of web extensions (`setWidget` with `placement: 'panel'`): a tab of the workbench. */
|
|
@@ -4,7 +4,7 @@ import type { SavedHost } from '../workbench-protocol';
|
|
|
4
4
|
/** Adding a computer by its code or link: what the sign-in and the sheet of the computers share. */
|
|
5
5
|
export declare function useAddHost(): {
|
|
6
6
|
busy: boolean;
|
|
7
|
-
error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.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.back" | "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.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "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.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.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.vault" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.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.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.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.syncElsewhere" | "ta.relays.syncElsewhereHint" | "ta.relays.title" | "ta.relays.unavailable" | "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.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "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.manageAccounts" | "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.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.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.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;
|
|
7
|
+
error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.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.back" | "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.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "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.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.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.vault" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.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.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.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.syncElsewhere" | "ta.relays.syncElsewhereHint" | "ta.relays.title" | "ta.relays.unavailable" | "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.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "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.manageAccounts" | "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.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.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.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;
|
|
8
8
|
add: (text: string, scanned?: boolean) => Promise<void>;
|
|
9
9
|
scan: () => Promise<void>;
|
|
10
10
|
canScan: boolean;
|
|
@@ -29,9 +29,9 @@ export declare function useTimeLabel(): (timestamp: number) => string;
|
|
|
29
29
|
* The time between two messages far apart (ProcessUtil.timeBreaks), as WeChat shows it: on a touch screen,
|
|
30
30
|
* where the footers of the messages, which carry their times, are not shown.
|
|
31
31
|
*/
|
|
32
|
-
export declare
|
|
32
|
+
export declare const TimeBreak: React.MemoExoticComponent<({ timestamp }: {
|
|
33
33
|
timestamp?: number;
|
|
34
|
-
})
|
|
34
|
+
}) => React.JSX.Element>;
|
|
35
35
|
/** Above the first turn of another model (ProcessUtil.modelBreaks): the conversation goes on with it. */
|
|
36
36
|
export declare function ModelBreak({ model }: {
|
|
37
37
|
model: string;
|
|
@@ -33,9 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.MessageFooterUtil = exports.MessageActions = void 0;
|
|
36
|
+
exports.TimeBreak = exports.MessageFooterUtil = exports.MessageActions = void 0;
|
|
37
37
|
exports.useTimeLabel = useTimeLabel;
|
|
38
|
-
exports.TimeBreak = TimeBreak;
|
|
39
38
|
exports.ModelBreak = ModelBreak;
|
|
40
39
|
exports.UserFooter = UserFooter;
|
|
41
40
|
exports.TurnFooter = TurnFooter;
|
|
@@ -103,9 +102,9 @@ function Time({ timestamp, className = 'ta-footer-time' }) {
|
|
|
103
102
|
* The time between two messages far apart (ProcessUtil.timeBreaks), as WeChat shows it: on a touch screen,
|
|
104
103
|
* where the footers of the messages, which carry their times, are not shown.
|
|
105
104
|
*/
|
|
106
|
-
function TimeBreak({ timestamp }) {
|
|
105
|
+
exports.TimeBreak = React.memo(function TimeBreak({ timestamp }) {
|
|
107
106
|
return React.createElement(Time, { timestamp: timestamp, className: "ta-time-break" });
|
|
108
|
-
}
|
|
107
|
+
});
|
|
109
108
|
/** Above the first turn of another model (ProcessUtil.modelBreaks): the conversation goes on with it. */
|
|
110
109
|
function ModelBreak({ model }) {
|
|
111
110
|
const t = (0, use_t_1.useT)();
|
|
@@ -19,6 +19,18 @@ export declare function quiet(item: ThreadItem | undefined): boolean;
|
|
|
19
19
|
* again when the words under the steps go into them, and it stayed out of line until something else drew.
|
|
20
20
|
*/
|
|
21
21
|
export declare function endsInSteps(item: ThreadItem | undefined): boolean;
|
|
22
|
+
/** Which rows of a thread are drawn, and the classes of the box of each (.ta-thread-item). */
|
|
23
|
+
export interface ThreadRows {
|
|
24
|
+
/** The first row drawn: those before are held back (RowWindow). */
|
|
25
|
+
from: number;
|
|
26
|
+
className(index: number, extra?: string | false): string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The rows of a thread as a conversation draws them (MessageList, the double's AssistantThread): only the latest
|
|
30
|
+
* `rows.rows` of a long one; those far up neither laid out nor painted until they scroll into view (content-visibility);
|
|
31
|
+
* those that come after it was drawn come in with a motion, and no other.
|
|
32
|
+
*/
|
|
33
|
+
export declare function useThreadRows(items: readonly ThreadItem[], rows?: RowWindow): ThreadRows;
|
|
22
34
|
/** The conversation; tool results show with the calls they answer. `rows`: only its latest rows are drawn, more as asked. */
|
|
23
35
|
export declare function MessageList({ state, outbox, rows }: {
|
|
24
36
|
state: SessionState;
|
|
@@ -37,6 +37,7 @@ exports.ConversationSession = void 0;
|
|
|
37
37
|
exports.TurnAvatar = TurnAvatar;
|
|
38
38
|
exports.quiet = quiet;
|
|
39
39
|
exports.endsInSteps = endsInSteps;
|
|
40
|
+
exports.useThreadRows = useThreadRows;
|
|
40
41
|
exports.MessageList = MessageList;
|
|
41
42
|
const lucide_react_1 = require("lucide-react");
|
|
42
43
|
const React = __importStar(require("react"));
|
|
@@ -235,17 +236,14 @@ function useLaidOut(key) {
|
|
|
235
236
|
}
|
|
236
237
|
/** The last rows, which change and are in view, are always laid out. */
|
|
237
238
|
const SETTLED_AFTER = 4;
|
|
238
|
-
/**
|
|
239
|
-
|
|
239
|
+
/**
|
|
240
|
+
* The rows of a thread as a conversation draws them (MessageList, the double's AssistantThread): only the latest
|
|
241
|
+
* `rows.rows` of a long one; those far up neither laid out nor painted until they scroll into view (content-visibility);
|
|
242
|
+
* those that come after it was drawn come in with a motion, and no other.
|
|
243
|
+
*/
|
|
244
|
+
function useThreadRows(items, rows) {
|
|
240
245
|
var _a;
|
|
241
246
|
var _b;
|
|
242
|
-
const renderers = React.useContext(extension_view_1.MessageRenderers);
|
|
243
|
-
const items = React.useMemo(() => process_1.ProcessUtil.items(state.messages, state.working, state.start, renderers, state.head), [state.messages, state.working, state.start, renderers, state.head]);
|
|
244
|
-
const breaks = React.useMemo(() => process_1.ProcessUtil.timeBreaks(process_1.ProcessUtil.starts(items), index => process_1.ProcessUtil.shown(items[index], renderers)), [items, renderers]);
|
|
245
|
-
const models = React.useMemo(() => process_1.ProcessUtil.modelBreaks(items), [items]);
|
|
246
|
-
// A turn's cards know what the user said after it: a choice they asked for is made.
|
|
247
|
-
const answers = React.useMemo(() => process_1.ProcessUtil.answers(items, message => (0, message_user_1.userWords)(message_1.MessageUtil.blocks(message)).copied), [items]);
|
|
248
|
-
const sent = React.useMemo(() => { var _a; return ({ of: new Map(((_a = state.outbox) !== null && _a !== void 0 ? _a : []).map(message => [message.message, message])), actions: outbox }); }, [state.outbox, outbox]);
|
|
249
247
|
// The rows held back: those before the latest `rows.rows`.
|
|
250
248
|
const from = rows ? Math.max(0, items.length - rows.rows) : 0;
|
|
251
249
|
if (rows) {
|
|
@@ -261,6 +259,30 @@ function MessageList({ state, outbox, rows }) {
|
|
|
261
259
|
const freshRows = React.useRef(undefined);
|
|
262
260
|
(_b = freshRows.current) !== null && _b !== void 0 ? _b : (freshRows.current = new process_1.FreshRows(items));
|
|
263
261
|
const fresh = freshRows.current.from(items);
|
|
262
|
+
const count = items.length;
|
|
263
|
+
return {
|
|
264
|
+
from,
|
|
265
|
+
className: (index, extra) => [
|
|
266
|
+
'ta-thread-item',
|
|
267
|
+
index >= front && index < count - SETTLED_AFTER && 'ta-settled',
|
|
268
|
+
index === count - 1 && 'ta-thread-last',
|
|
269
|
+
index >= fresh && 'ta-thread-new',
|
|
270
|
+
extra,
|
|
271
|
+
]
|
|
272
|
+
.filter(Boolean)
|
|
273
|
+
.join(' '),
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
/** The conversation; tool results show with the calls they answer. `rows`: only its latest rows are drawn, more as asked. */
|
|
277
|
+
function MessageList({ state, outbox, rows }) {
|
|
278
|
+
const renderers = React.useContext(extension_view_1.MessageRenderers);
|
|
279
|
+
const items = React.useMemo(() => process_1.ProcessUtil.items(state.messages, state.working, state.start, renderers, state.head), [state.messages, state.working, state.start, renderers, state.head]);
|
|
280
|
+
const breaks = React.useMemo(() => process_1.ProcessUtil.timeBreaks(process_1.ProcessUtil.starts(items), index => process_1.ProcessUtil.shown(items[index], renderers)), [items, renderers]);
|
|
281
|
+
const models = React.useMemo(() => process_1.ProcessUtil.modelBreaks(items), [items]);
|
|
282
|
+
// A turn's cards know what the user said after it: a choice they asked for is made.
|
|
283
|
+
const answers = React.useMemo(() => process_1.ProcessUtil.answers(items, message => (0, message_user_1.userWords)(message_1.MessageUtil.blocks(message)).copied), [items]);
|
|
284
|
+
const sent = React.useMemo(() => { var _a; return ({ of: new Map(((_a = state.outbox) !== null && _a !== void 0 ? _a : []).map(message => [message.message, message])), actions: outbox }); }, [state.outbox, outbox]);
|
|
285
|
+
const shown = useThreadRows(items, rows);
|
|
264
286
|
let lastTurn = items.length - 1;
|
|
265
287
|
while (lastTurn >= 0 && items[lastTurn].kind !== 'turn') {
|
|
266
288
|
lastTurn--;
|
|
@@ -274,15 +296,7 @@ function MessageList({ state, outbox, rows }) {
|
|
|
274
296
|
const status = state.working || state.compacting ? React.createElement(run_status_1.RunStatus, { state: state }) : undefined;
|
|
275
297
|
const onHead = status && quiet(last);
|
|
276
298
|
return (React.createElement(message_user_1.Outbox.Provider, { value: sent },
|
|
277
|
-
items.map((item, index) => index < from ? null : (React.createElement("div", { key: item.key, "data-row": item.key, className:
|
|
278
|
-
'ta-thread-item',
|
|
279
|
-
index >= front && index < items.length - SETTLED_AFTER && 'ta-settled',
|
|
280
|
-
index === items.length - 1 && 'ta-thread-last',
|
|
281
|
-
index >= fresh && 'ta-thread-new',
|
|
282
|
-
item.kind === 'message' && item.message.role === 'user' && conversation_scroll_util_1.ASK_CLASS,
|
|
283
|
-
]
|
|
284
|
-
.filter(Boolean)
|
|
285
|
-
.join(' ') },
|
|
299
|
+
items.map((item, index) => index < shown.from ? null : (React.createElement("div", { key: item.key, "data-row": item.key, className: shown.className(index, item.kind === 'message' && item.message.role === 'user' && conversation_scroll_util_1.ASK_CLASS) },
|
|
286
300
|
breaks[index] !== undefined && React.createElement(message_footer_1.TimeBreak, { timestamp: breaks[index] }),
|
|
287
301
|
models[index] && React.createElement(message_footer_1.ModelBreak, { model: models[index] }),
|
|
288
302
|
React.createElement(code_renderers_1.CodeAnswer.Provider, { value: answers[index] },
|
|
@@ -10,7 +10,8 @@ import { type SideList } from './side-lists';
|
|
|
10
10
|
/**
|
|
11
11
|
* The pages on the rail: the pages a sidebar view lists are reached from it, and show beside it, as the double's from
|
|
12
12
|
* its list (the chats, else a sidebar view of before that lists it); those of extensions started on open from the
|
|
13
|
-
* launcher (ta-launcher.md), as they come and go; those only shown by something else (WebView.navigation)
|
|
13
|
+
* launcher (ta-launcher.md), as they come and go; those only shown by something else (WebView.navigation), and those
|
|
14
|
+
* of Me (WebView.group `me`, listed by useAccountEntries), nowhere.
|
|
14
15
|
*/
|
|
15
16
|
export declare function railPages(views: WebViewEntry[]): WebViewEntry[];
|
|
16
17
|
/**
|
|
@@ -18,11 +18,12 @@ const side_lists_1 = require("./side-lists");
|
|
|
18
18
|
/**
|
|
19
19
|
* The pages on the rail: the pages a sidebar view lists are reached from it, and show beside it, as the double's from
|
|
20
20
|
* its list (the chats, else a sidebar view of before that lists it); those of extensions started on open from the
|
|
21
|
-
* launcher (ta-launcher.md), as they come and go; those only shown by something else (WebView.navigation)
|
|
21
|
+
* launcher (ta-launcher.md), as they come and go; those only shown by something else (WebView.navigation), and those
|
|
22
|
+
* of Me (WebView.group `me`, listed by useAccountEntries), nowhere.
|
|
22
23
|
*/
|
|
23
24
|
function railPages(views) {
|
|
24
25
|
const listed = new Set([side_lists_1.DOUBLE_PAGE, ...views.flatMap(view => { var _a; return (view.location === 'sidebar' ? ((_a = view.pages) !== null && _a !== void 0 ? _a : []) : []); })]);
|
|
25
|
-
return views.filter(view => view.location === 'page' && !view.onOpen && view.navigation !== false && !listed.has(view.id));
|
|
26
|
+
return views.filter(view => view.location === 'page' && !view.onOpen && view.navigation !== false && view.group !== 'me' && !listed.has(view.id));
|
|
26
27
|
}
|
|
27
28
|
/** The hold of an entry of the navigation: the double's, the chats'; pages keep their menus (their fold and the settings). */
|
|
28
29
|
function entryHold(id, double, holds) {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { TaServerInfo, TaServerUpdate } from '@celljs/ta-protocol';
|
|
1
|
+
import type { TaServerInfo, TaServerRelease, TaServerUpdate } from '@celljs/ta-protocol';
|
|
2
|
+
import { useT } from '../i18n/use-t';
|
|
3
|
+
import type { NoticeAction, TaNotices } from '../notices/notices-protocol';
|
|
2
4
|
export declare namespace ServeRestartUtil {
|
|
3
5
|
/** `v4.16.0`, with the commit of a build of the development channel: `v4.16.0 (695fbe1)`. */
|
|
4
6
|
function label(build: {
|
|
@@ -6,6 +8,8 @@ export declare namespace ServeRestartUtil {
|
|
|
6
8
|
build?: string;
|
|
7
9
|
}): string;
|
|
8
10
|
function key(update: TaServerUpdate): string;
|
|
11
|
+
/** The button that copies the command that installs a version, for the user to run it in a terminal. */
|
|
12
|
+
function copyCommand(command: string, notices: TaNotices, t: ReturnType<typeof useT>): NoticeAction;
|
|
9
13
|
/** Whether the page may restart Ta: the owner, of a Ta service that can restart itself. */
|
|
10
14
|
function restartable(server: TaServerInfo | undefined): boolean;
|
|
11
15
|
}
|
|
@@ -17,10 +21,15 @@ export interface RestartTa {
|
|
|
17
21
|
update?: TaServerUpdate;
|
|
18
22
|
/** Asks the user first, unless they already said so (the button of the notice of an update). */
|
|
19
23
|
restart(ask?: boolean): Promise<void>;
|
|
24
|
+
/** A newer version published, for the owner to install. */
|
|
25
|
+
release?: TaServerRelease;
|
|
26
|
+
/** Installs it, then restarts Ta to it where it can; a failure is told with the command to run by hand. */
|
|
27
|
+
install(): Promise<void>;
|
|
20
28
|
}
|
|
21
29
|
export declare function useRestartTa(): RestartTa;
|
|
22
30
|
/**
|
|
23
|
-
* Tells of
|
|
31
|
+
* Tells of a newer version published (TaServerInfo.release), with the command that installs it, once for each version;
|
|
32
|
+
* and of what restarting Ta is about, in a corner: another build installed (an update of Ta Desktop, `npm i -g`, a
|
|
24
33
|
* build of the repository), with Restart and Later, once for each build; Ta restarting, then back with its version.
|
|
25
34
|
*/
|
|
26
35
|
export declare function ServeRestartNotices(): null;
|
|
@@ -42,6 +42,8 @@ const use_t_1 = require("../i18n/use-t");
|
|
|
42
42
|
const workbench_util_1 = require("../workbench-util");
|
|
43
43
|
/** The build installed that the user put off restarting for (Later): not asked about again on this device. */
|
|
44
44
|
const LATER_KEY = 'ta.update.later';
|
|
45
|
+
/** The version published that the user put off installing (Later): not told of again on this device. */
|
|
46
|
+
const RELEASE_LATER_KEY = 'ta.release.later';
|
|
45
47
|
var ServeRestartUtil;
|
|
46
48
|
(function (ServeRestartUtil) {
|
|
47
49
|
/** `v4.16.0`, with the commit of a build of the development channel: `v4.16.0 (695fbe1)`. */
|
|
@@ -54,6 +56,14 @@ var ServeRestartUtil;
|
|
|
54
56
|
return `${update.version}+${(_a = update.build) !== null && _a !== void 0 ? _a : ''}`;
|
|
55
57
|
}
|
|
56
58
|
ServeRestartUtil.key = key;
|
|
59
|
+
/** The button that copies the command that installs a version, for the user to run it in a terminal. */
|
|
60
|
+
function copyCommand(command, notices, t) {
|
|
61
|
+
return {
|
|
62
|
+
label: t('ta.release.copy'),
|
|
63
|
+
run: () => { var _a; return void ((_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.writeText(command).then(() => notices.notify(t('ta.copied'), { level: 'success', key: 'ta-serve-release-copied' })).catch(() => undefined)); },
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
ServeRestartUtil.copyCommand = copyCommand;
|
|
57
67
|
/** Whether the page may restart Ta: the owner, of a Ta service that can restart itself. */
|
|
58
68
|
function restartable(server) {
|
|
59
69
|
return !!server && !server.member && server.restartable === true;
|
|
@@ -70,18 +80,32 @@ function useRestartTa() {
|
|
|
70
80
|
}
|
|
71
81
|
await workbench.restartServer().catch(error => notices.error(error));
|
|
72
82
|
}, [t, notices, workbench]);
|
|
83
|
+
const release = (server === null || server === void 0 ? void 0 : server.member) ? undefined : server === null || server === void 0 ? void 0 : server.release;
|
|
84
|
+
const install = React.useCallback(async () => {
|
|
85
|
+
if (!release || release.installing) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
await workbench.installRelease().catch(error => notices.notify(t('ta.release.failed', { version: `v${release.version}` }), {
|
|
89
|
+
level: 'error',
|
|
90
|
+
key: 'ta-serve-release-failed',
|
|
91
|
+
sticky: true,
|
|
92
|
+
detail: error instanceof Error ? error.message : String(error),
|
|
93
|
+
action: ServeRestartUtil.copyCommand(release.command, notices, t),
|
|
94
|
+
}));
|
|
95
|
+
}, [release, workbench, notices, t]);
|
|
73
96
|
const can = ServeRestartUtil.restartable(server);
|
|
74
|
-
return { can, restarting: !!restarting, update: can ? server === null || server === void 0 ? void 0 : server.update : undefined, restart };
|
|
97
|
+
return { can, restarting: !!restarting, update: can ? server === null || server === void 0 ? void 0 : server.update : undefined, restart, release, install };
|
|
75
98
|
}
|
|
76
99
|
/**
|
|
77
|
-
* Tells of
|
|
100
|
+
* Tells of a newer version published (TaServerInfo.release), with the command that installs it, once for each version;
|
|
101
|
+
* and of what restarting Ta is about, in a corner: another build installed (an update of Ta Desktop, `npm i -g`, a
|
|
78
102
|
* build of the repository), with Restart and Later, once for each build; Ta restarting, then back with its version.
|
|
79
103
|
*/
|
|
80
104
|
function ServeRestartNotices() {
|
|
81
105
|
const t = (0, use_t_1.useT)();
|
|
82
106
|
const [{ server }] = (0, hooks_1.useWorkbench)();
|
|
83
107
|
const [, notices] = (0, hooks_1.useNotices)();
|
|
84
|
-
const { update, restarting, restart } = useRestartTa();
|
|
108
|
+
const { update, restarting, restart, release, install, can } = useRestartTa();
|
|
85
109
|
const told = React.useRef(undefined);
|
|
86
110
|
const key = update && ServeRestartUtil.key(update);
|
|
87
111
|
React.useEffect(() => {
|
|
@@ -107,6 +131,43 @@ function ServeRestartNotices() {
|
|
|
107
131
|
told.current = undefined;
|
|
108
132
|
}
|
|
109
133
|
}, [key, notices]);
|
|
134
|
+
const releaseTold = React.useRef(undefined);
|
|
135
|
+
React.useEffect(() => {
|
|
136
|
+
var _a, _b;
|
|
137
|
+
const releaseKey = release && `${release.version}${release.installing ? ':installing' : ''}`;
|
|
138
|
+
if (((_a = releaseTold.current) === null || _a === void 0 ? void 0 : _a.key) === releaseKey) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (releaseTold.current) {
|
|
142
|
+
notices.dismiss(releaseTold.current.id);
|
|
143
|
+
releaseTold.current = undefined;
|
|
144
|
+
}
|
|
145
|
+
// Installed, or none published after all: nothing to tell of any more.
|
|
146
|
+
if (!release || !releaseKey) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const version = `v${release.version}`;
|
|
150
|
+
if (release.installing) {
|
|
151
|
+
releaseTold.current = { key: releaseKey, id: notices.notify(t('ta.release.installing', { version }), { key: 'ta-serve-release', sticky: true }) };
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
if (((_b = (0, workbench_util_1.storage)()) === null || _b === void 0 ? void 0 : _b.getItem(RELEASE_LATER_KEY)) === release.version) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
releaseTold.current = {
|
|
158
|
+
key: releaseKey,
|
|
159
|
+
id: notices.notify(t('ta.release.available', { version }), {
|
|
160
|
+
detail: t('ta.release.detail', { command: release.command }),
|
|
161
|
+
key: 'ta-serve-release',
|
|
162
|
+
sticky: true,
|
|
163
|
+
actions: [
|
|
164
|
+
{ label: t('ta.update.later'), run: () => { var _a; return (_a = (0, workbench_util_1.storage)()) === null || _a === void 0 ? void 0 : _a.setItem(RELEASE_LATER_KEY, release.version); } },
|
|
165
|
+
ServeRestartUtil.copyCommand(release.command, notices, t),
|
|
166
|
+
],
|
|
167
|
+
action: { label: t(can ? 'ta.release.install' : 'ta.release.installOnly'), run: () => void install() },
|
|
168
|
+
}),
|
|
169
|
+
};
|
|
170
|
+
}, [release, can, install, notices, t]);
|
|
110
171
|
const restartingId = React.useRef(undefined);
|
|
111
172
|
// Read once the restart ended: a server read again meanwhile says nothing.
|
|
112
173
|
const serverNow = React.useRef(server);
|