@celljs/ta-web 4.37.0 → 4.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/esm/browser/assistant/assistant-thread.d.ts +1 -1
- package/esm/browser/assistant/chat-task-source.js +2 -1
- package/esm/browser/components/app-contexts.js +11 -9
- package/esm/browser/components/chat-asks.d.ts +4 -1
- package/esm/browser/components/chat-asks.js +10 -0
- package/esm/browser/components/chat-list-row.js +5 -3
- package/esm/browser/components/cloud-network.d.ts +17 -0
- package/esm/browser/components/cloud-network.js +105 -0
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/composer-box-protocol.d.ts +5 -0
- package/esm/browser/components/composer-box.js +11 -14
- package/esm/browser/components/composer-media.d.ts +26 -0
- package/esm/browser/components/composer-media.js +37 -0
- package/esm/browser/components/composer-target.d.ts +2 -2
- package/esm/browser/components/composer-target.js +3 -3
- package/esm/browser/components/composer.js +1 -0
- package/esm/browser/components/folder-picker.d.ts +3 -3
- package/esm/browser/components/folder-picker.js +5 -15
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/link.d.ts +7 -1
- package/esm/browser/components/link.js +24 -5
- package/esm/browser/components/markdown.d.ts +2 -2
- package/esm/browser/components/markdown.js +77 -5
- package/esm/browser/components/relay-services.d.ts +0 -2
- package/esm/browser/components/relay-services.js +1 -11
- package/esm/browser/components/remote-hosts.d.ts +11 -7
- package/esm/browser/components/remote-hosts.js +94 -50
- package/esm/browser/components/remote-machines.d.ts +21 -0
- package/esm/browser/components/remote-machines.js +56 -0
- package/esm/browser/components/remote-prompts.d.ts +2 -3
- package/esm/browser/components/remote-prompts.js +3 -15
- package/esm/browser/components/remote-steps.d.ts +19 -0
- package/esm/browser/components/remote-steps.js +26 -0
- package/esm/browser/components/session-view.js +10 -6
- package/esm/browser/components/settings-controls.d.ts +3 -1
- package/esm/browser/components/settings-controls.js +2 -2
- package/esm/browser/components/web-composer.d.ts +1 -1
- package/esm/browser/components/web-composer.js +12 -3
- package/esm/browser/device/photo-picker.d.ts +11 -3
- package/esm/browser/device/photo-picker.js +26 -9
- package/esm/browser/device/video-picks.d.ts +24 -0
- package/esm/browser/device/video-picks.js +104 -0
- package/esm/browser/extension/icons.js +3 -1
- package/esm/browser/extension/web-access.js +4 -1
- package/esm/browser/extension/web-api-code.d.ts +36 -0
- package/esm/browser/extension/web-api-code.js +3 -0
- package/esm/browser/extension/web-api-components.d.ts +22 -0
- package/esm/browser/extension/web-api-contributions.d.ts +0 -31
- package/esm/browser/extension/web-api-menus.d.ts +29 -3
- package/esm/browser/extension/web-api-play.d.ts +29 -0
- package/esm/browser/extension/web-api-play.js +2 -0
- package/esm/browser/extension/web-api-services.d.ts +6 -0
- package/esm/browser/extension/web-api-spec.js +5 -0
- package/esm/browser/extension/web-api-terminal.d.ts +20 -0
- package/esm/browser/extension/web-extension-api.d.ts +12 -17
- package/esm/browser/extension/web-extension-context.d.ts +1 -1
- package/esm/browser/extension/web-extension-context.js +6 -3
- package/esm/browser/extension/web-extension-protocol.d.ts +5 -1
- package/esm/browser/extension/web-extension-protocol.js +2 -0
- package/esm/browser/extension/web-extension-run.d.ts +6 -4
- package/esm/browser/extension/web-extension-run.js +18 -9
- package/esm/browser/extension/web-extensions-running.js +38 -7
- package/esm/browser/extension/web-on-demand.d.ts +5 -0
- package/esm/browser/extension/web-on-demand.js +11 -0
- package/esm/browser/i18n/en/assistant.d.ts +3 -0
- package/esm/browser/i18n/en/assistant.js +3 -0
- package/esm/browser/i18n/en/chat.d.ts +1 -0
- package/esm/browser/i18n/en/chat.js +1 -0
- package/esm/browser/i18n/en/common.d.ts +1 -0
- package/esm/browser/i18n/en/common.js +1 -0
- package/esm/browser/i18n/en/discover.d.ts +2 -0
- package/esm/browser/i18n/en/discover.js +2 -0
- package/esm/browser/i18n/en/service.d.ts +26 -2
- package/esm/browser/i18n/en/service.js +34 -10
- package/esm/browser/i18n/ja/assistant.js +3 -0
- package/esm/browser/i18n/ja/chat.js +1 -0
- package/esm/browser/i18n/ja/common.js +1 -0
- package/esm/browser/i18n/ja/discover.js +2 -0
- package/esm/browser/i18n/ja/service.js +34 -10
- package/esm/browser/i18n/locales.d.ts +34 -3
- package/esm/browser/i18n/messages.d.ts +33 -2
- package/esm/browser/i18n/zh/assistant.js +3 -0
- package/esm/browser/i18n/zh/chat.js +1 -0
- package/esm/browser/i18n/zh/common.js +1 -0
- package/esm/browser/i18n/zh/discover.js +2 -0
- package/esm/browser/i18n/zh/service.js +34 -10
- package/esm/browser/i18n/zh-tw/assistant.js +3 -0
- package/esm/browser/i18n/zh-tw/chat.js +1 -0
- package/esm/browser/i18n/zh-tw/common.js +1 -0
- package/esm/browser/i18n/zh-tw/discover.js +2 -0
- package/esm/browser/i18n/zh-tw/service.js +34 -10
- package/esm/browser/markdown/code-renderers.d.ts +6 -1
- package/esm/browser/markdown/code-renderers.js +4 -0
- package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/esm/browser/sandbox/work/work-api.d.ts +113 -0
- package/esm/browser/sandbox/work/work-api.js +95 -0
- package/esm/browser/sandbox/work/work-docs.d.ts +18 -0
- package/esm/browser/sandbox/work/work-docs.js +66 -0
- package/esm/browser/sandbox/work/work-frame.d.ts +27 -0
- package/esm/browser/sandbox/work/work-frame.js +124 -0
- package/esm/browser/share/shared-extensions.d.ts +2 -1
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +10 -0
- package/esm/browser/style/dialogs.d.ts +1 -1
- package/esm/browser/style/dialogs.js +1 -4
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +10 -1
- package/esm/browser/terminal/terminal-osc.d.ts +15 -0
- package/esm/browser/terminal/terminal-osc.js +91 -0
- package/esm/browser/terminal/web-terminal.d.ts +4 -7
- package/esm/browser/terminal/web-terminal.js +22 -26
- package/esm/browser/util/link.d.ts +6 -1
- package/esm/browser/util/link.js +11 -0
- package/esm/browser/workbench-protocol.d.ts +2 -0
- package/esm/browser/workbench-services.d.ts +2 -0
- package/esm/browser/workbench-services.js +5 -0
- package/esm/browser/workbench.js +3 -0
- package/lib/browser/assistant/assistant-thread.d.ts +1 -1
- package/lib/browser/assistant/chat-task-source.js +2 -1
- package/lib/browser/components/app-contexts.js +10 -8
- package/lib/browser/components/chat-asks.d.ts +4 -1
- package/lib/browser/components/chat-asks.js +10 -0
- package/lib/browser/components/chat-list-row.js +5 -3
- package/lib/browser/components/cloud-network.d.ts +18 -0
- package/lib/browser/components/cloud-network.js +142 -0
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/composer-box-protocol.d.ts +5 -0
- package/lib/browser/components/composer-box.js +9 -12
- package/lib/browser/components/composer-media.d.ts +27 -0
- package/lib/browser/components/composer-media.js +74 -0
- package/lib/browser/components/composer-target.d.ts +2 -2
- package/lib/browser/components/composer-target.js +3 -3
- package/lib/browser/components/composer.js +1 -0
- package/lib/browser/components/folder-picker.d.ts +3 -3
- package/lib/browser/components/folder-picker.js +5 -15
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/link.d.ts +7 -1
- package/lib/browser/components/link.js +25 -6
- package/lib/browser/components/markdown.d.ts +2 -2
- package/lib/browser/components/markdown.js +75 -3
- package/lib/browser/components/relay-services.d.ts +0 -2
- package/lib/browser/components/relay-services.js +1 -11
- package/lib/browser/components/remote-hosts.d.ts +11 -7
- package/lib/browser/components/remote-hosts.js +92 -48
- package/lib/browser/components/remote-machines.d.ts +22 -0
- package/lib/browser/components/remote-machines.js +59 -0
- package/lib/browser/components/remote-prompts.d.ts +2 -3
- package/lib/browser/components/remote-prompts.js +3 -15
- package/lib/browser/components/remote-steps.d.ts +20 -0
- package/lib/browser/components/remote-steps.js +63 -0
- package/lib/browser/components/session-view.js +8 -4
- package/lib/browser/components/settings-controls.d.ts +3 -1
- package/lib/browser/components/settings-controls.js +2 -2
- package/lib/browser/components/web-composer.d.ts +1 -1
- package/lib/browser/components/web-composer.js +12 -3
- package/lib/browser/device/photo-picker.d.ts +11 -3
- package/lib/browser/device/photo-picker.js +26 -9
- package/lib/browser/device/video-picks.d.ts +25 -0
- package/lib/browser/device/video-picks.js +107 -0
- package/lib/browser/extension/icons.js +2 -0
- package/lib/browser/extension/web-access.js +4 -1
- package/lib/browser/extension/web-api-code.d.ts +37 -0
- package/lib/browser/extension/web-api-code.js +4 -0
- package/lib/browser/extension/web-api-components.d.ts +22 -0
- package/lib/browser/extension/web-api-contributions.d.ts +0 -31
- package/lib/browser/extension/web-api-menus.d.ts +29 -3
- package/lib/browser/extension/web-api-play.d.ts +30 -0
- package/lib/browser/extension/web-api-play.js +3 -0
- package/lib/browser/extension/web-api-services.d.ts +6 -0
- package/lib/browser/extension/web-api-spec.js +5 -0
- package/lib/browser/extension/web-api-terminal.d.ts +20 -0
- package/lib/browser/extension/web-extension-api.d.ts +12 -17
- package/lib/browser/extension/web-extension-context.d.ts +1 -1
- package/lib/browser/extension/web-extension-context.js +6 -3
- package/lib/browser/extension/web-extension-protocol.d.ts +5 -1
- package/lib/browser/extension/web-extension-protocol.js +2 -0
- package/lib/browser/extension/web-extension-run.d.ts +6 -4
- package/lib/browser/extension/web-extension-run.js +18 -9
- package/lib/browser/extension/web-extensions-running.js +38 -7
- package/lib/browser/extension/web-on-demand.d.ts +5 -0
- package/lib/browser/extension/web-on-demand.js +11 -0
- package/lib/browser/i18n/en/assistant.d.ts +3 -0
- package/lib/browser/i18n/en/assistant.js +3 -0
- package/lib/browser/i18n/en/chat.d.ts +1 -0
- package/lib/browser/i18n/en/chat.js +1 -0
- package/lib/browser/i18n/en/common.d.ts +1 -0
- package/lib/browser/i18n/en/common.js +1 -0
- package/lib/browser/i18n/en/discover.d.ts +2 -0
- package/lib/browser/i18n/en/discover.js +2 -0
- package/lib/browser/i18n/en/service.d.ts +26 -2
- package/lib/browser/i18n/en/service.js +34 -10
- package/lib/browser/i18n/ja/assistant.js +3 -0
- package/lib/browser/i18n/ja/chat.js +1 -0
- package/lib/browser/i18n/ja/common.js +1 -0
- package/lib/browser/i18n/ja/discover.js +2 -0
- package/lib/browser/i18n/ja/service.js +34 -10
- package/lib/browser/i18n/locales.d.ts +34 -3
- package/lib/browser/i18n/messages.d.ts +33 -2
- package/lib/browser/i18n/zh/assistant.js +3 -0
- package/lib/browser/i18n/zh/chat.js +1 -0
- package/lib/browser/i18n/zh/common.js +1 -0
- package/lib/browser/i18n/zh/discover.js +2 -0
- package/lib/browser/i18n/zh/service.js +34 -10
- package/lib/browser/i18n/zh-tw/assistant.js +3 -0
- package/lib/browser/i18n/zh-tw/chat.js +1 -0
- package/lib/browser/i18n/zh-tw/common.js +1 -0
- package/lib/browser/i18n/zh-tw/discover.js +2 -0
- package/lib/browser/i18n/zh-tw/service.js +34 -10
- package/lib/browser/markdown/code-renderers.d.ts +6 -1
- package/lib/browser/markdown/code-renderers.js +5 -1
- package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/lib/browser/sandbox/work/work-api.d.ts +114 -0
- package/lib/browser/sandbox/work/work-api.js +99 -0
- package/lib/browser/sandbox/work/work-docs.d.ts +19 -0
- package/lib/browser/sandbox/work/work-docs.js +69 -0
- package/lib/browser/sandbox/work/work-frame.d.ts +28 -0
- package/lib/browser/sandbox/work/work-frame.js +160 -0
- package/lib/browser/share/shared-extensions.d.ts +2 -1
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +10 -0
- package/lib/browser/style/dialogs.d.ts +1 -1
- package/lib/browser/style/dialogs.js +1 -4
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +10 -1
- package/lib/browser/terminal/terminal-osc.d.ts +16 -0
- package/lib/browser/terminal/terminal-osc.js +94 -0
- package/lib/browser/terminal/web-terminal.d.ts +4 -7
- package/lib/browser/terminal/web-terminal.js +25 -29
- package/lib/browser/util/link.d.ts +6 -1
- package/lib/browser/util/link.js +11 -0
- package/lib/browser/workbench-protocol.d.ts +2 -0
- package/lib/browser/workbench-services.d.ts +2 -0
- package/lib/browser/workbench-services.js +5 -0
- package/lib/browser/workbench.js +3 -0
- package/package.json +12 -12
|
@@ -2,7 +2,7 @@ import type { TaEvent, TaTemporaryFrom, TaWebExtensionInfo } from '@celljs/ta-pr
|
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
import type { MessageId } from '../i18n/messages.js';
|
|
4
4
|
import type { BlockSpeech } from '../util/spoken.js';
|
|
5
|
-
import type { WebAvatarProps, WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebChatTagSource, WebCodeRendererProps, WebComposerAddon, WebCustomMessage, WebEditor, WebExtensionFactory, WebFileMenu, WebHomeEntry, WebIcon, WebImage, WebInitiative, WebLabel, WebMenuItem, WebOpener, WebPageGroup, WebRoomAddonEntry, WebSearchSource, WebSessionMenu, WebSessionOpening, WebSettingsSection, WebShareTarget, WebTool, WebToolRendererResolver, WebViewLocation, WebViewPreview, WidgetOptions } from './web-extension-api.js';
|
|
5
|
+
import type { WebAvatarProps, WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebChatTagSource, WebCodeMenu, WebCodeRendererProps, WebComposerAddon, WebCustomMessage, WebEditor, WebExtensionFactory, WebFileMenu, WebHomeEntry, WebIcon, WebImage, WebInitiative, WebLabel, WebMenuItem, WebOpener, WebPageGroup, WebRoomAddonEntry, WebSearchSource, WebSessionMenu, WebSessionOpening, WebSettingsSection, WebShareTarget, WebTool, WebToolRendererResolver, WebViewLocation, WebViewPreview, WidgetOptions } from './web-extension-api.js';
|
|
6
6
|
import type { WebHomeBoard } from './web-home.js';
|
|
7
7
|
import type { PageUsage, WebPageInfo } from './web-pages.js';
|
|
8
8
|
import type { WebPartnerBoard } from './web-partners.js';
|
|
@@ -126,6 +126,8 @@ export interface WebExtensionsState {
|
|
|
126
126
|
codeRenderers: Record<string, React.ComponentType<WebCodeRendererProps>>;
|
|
127
127
|
/** By language, in lower case, how its blocks are said aloud (WebCodeRendererOptions.spoken): SpokenReply. */
|
|
128
128
|
codeSpeech: BlockSpeech;
|
|
129
|
+
/** The languages whose renderers tell the parts of a block apart (WebCodeRendererOptions.pointable). */
|
|
130
|
+
codePointable: Readonly<Record<string, true>>;
|
|
129
131
|
/** Who answers in calls in place of the conversation (WebExtensionAPI.registerCallPartner): the first registered. */
|
|
130
132
|
callPartner?: WebCallPartner;
|
|
131
133
|
/**
|
|
@@ -157,6 +159,8 @@ export interface WebExtensionsState {
|
|
|
157
159
|
sessionMenus: WebSessionMenu[];
|
|
158
160
|
/** Entries of the menu of a file or a folder of a list of files (WebExtensionAPI.registerFileMenu). */
|
|
159
161
|
fileMenus: WebFileMenu[];
|
|
162
|
+
/** Actions of a block of code (WebExtensionAPI.registerCodeMenu). */
|
|
163
|
+
codeMenus: WebCodeMenu[];
|
|
160
164
|
/** The tabs of the editor area (the workbench), in the order they opened. */
|
|
161
165
|
editors: WebEditorEntry[];
|
|
162
166
|
activeEditor?: string;
|
|
@@ -14,6 +14,7 @@ export var WebExtensionsStateUtil;
|
|
|
14
14
|
renderers: {},
|
|
15
15
|
codeRenderers: {},
|
|
16
16
|
codeSpeech: {},
|
|
17
|
+
codePointable: {},
|
|
17
18
|
avatars: {},
|
|
18
19
|
callMoves: [],
|
|
19
20
|
chatIcons: [],
|
|
@@ -25,6 +26,7 @@ export var WebExtensionsStateUtil;
|
|
|
25
26
|
specificOpeners: [],
|
|
26
27
|
sessionMenus: [],
|
|
27
28
|
fileMenus: [],
|
|
29
|
+
codeMenus: [],
|
|
28
30
|
customs: [],
|
|
29
31
|
editors: [],
|
|
30
32
|
focus: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TaEvent } from '@celljs/ta-protocol';
|
|
2
2
|
import type * as React from 'react';
|
|
3
|
-
import type { WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebChatTagSource, WebComposerAddon, WebFileMenu, WebHomeSource, WebInitiative, WebMenuItem, WebOpener, WebPartnerSource, WebRoomAddon, WebSearchSource, WebSessionMenu, WebSettingsSection, WebTaskSource, WebTool, WebToolRendererResolver, WebView, WebVoice, WidgetOptions } from './web-extension-api.js';
|
|
3
|
+
import type { WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebChatTagSource, WebCodeMenu, WebCodeRendererOptions, WebComposerAddon, WebFileMenu, WebHomeSource, WebInitiative, WebMenuItem, WebOpener, WebPartnerSource, WebRoomAddon, WebSearchSource, WebSessionMenu, WebSettingsSection, WebTaskSource, WebTool, WebToolRendererResolver, WebView, WebVoice, WidgetOptions } from './web-extension-api.js';
|
|
4
4
|
import type { LoadedWebExtension, WebExtensionsState } from './web-extension-protocol.js';
|
|
5
5
|
/** What an extension registered through its API: all of it goes when it stops. */
|
|
6
6
|
export interface WebRegistrations {
|
|
@@ -11,7 +11,8 @@ export interface WebRegistrations {
|
|
|
11
11
|
}>;
|
|
12
12
|
renderers: Map<string, WebExtensionsState['renderers'][string]>;
|
|
13
13
|
codeRenderers: Map<string, WebExtensionsState['codeRenderers'][string]>;
|
|
14
|
-
|
|
14
|
+
/** By language, in lower case (WebCodeRendererOptions): how its blocks are said aloud, whether they can be pointed at. */
|
|
15
|
+
codeOptions: Map<string, WebCodeRendererOptions>;
|
|
15
16
|
callPartners: WebCallPartner[];
|
|
16
17
|
callMouths: WebCallMouth[];
|
|
17
18
|
callMoves: WebCallMoves[];
|
|
@@ -28,6 +29,7 @@ export interface WebRegistrations {
|
|
|
28
29
|
specificOpeners: WebOpener[];
|
|
29
30
|
sessionMenus: WebSessionMenu[];
|
|
30
31
|
fileMenus: WebFileMenu[];
|
|
32
|
+
codeMenus: WebCodeMenu[];
|
|
31
33
|
taskSources: WebTaskSource[];
|
|
32
34
|
searches: WebSearchSource[];
|
|
33
35
|
composerAddons: WebComposerAddon[];
|
|
@@ -51,7 +53,7 @@ export interface WebExtensionRun extends WebRegistrations {
|
|
|
51
53
|
dispose?: () => void;
|
|
52
54
|
}
|
|
53
55
|
export declare namespace WebExtensionRunUtil {
|
|
54
|
-
/** A menu of the extension (registerSessionMenu, registerFileMenu): none once it stopped, nor when it throws. */
|
|
56
|
+
/** A menu of the extension (registerSessionMenu, registerFileMenu, registerCodeMenu): none once it stopped, nor when it throws. */
|
|
55
57
|
function menu<T>(run: WebExtensionRun, menu: (target: T) => WebMenuItem[]): (target: T) => WebMenuItem[];
|
|
56
58
|
/** Nothing registered: the one list of what a run holds, so that a stop clears every kind of it. */
|
|
57
59
|
function registrations(): WebRegistrations;
|
|
@@ -68,5 +70,5 @@ export declare namespace WebExtensionRunUtil {
|
|
|
68
70
|
*/
|
|
69
71
|
function voice(run: WebExtensionRun, voice: WebVoice): WebVoice;
|
|
70
72
|
/** What the extensions that run registered, as the page shows it: the first of a message type or a tool name wins. */
|
|
71
|
-
function collect(runs: readonly WebExtensionRun[], onOpen: (id: string) => boolean): Pick<WebExtensionsState, 'openers' | 'specificOpeners' | 'sessionMenus' | 'fileMenus' | 'extensions' | 'views' | 'widgets' | 'composerAddons' | 'roomAddons' | 'settingsSections' | 'renderers' | 'codeRenderers' | 'codeSpeech' | 'callPartner' | 'callGroup' | 'callMouth' | 'callMoves' | 'avatars' | 'chatIcons' | 'chatTags' | 'initiatives' | 'tools' | 'toolRenderers' | 'searches'>;
|
|
73
|
+
function collect(runs: readonly WebExtensionRun[], onOpen: (id: string) => boolean): Pick<WebExtensionsState, 'openers' | 'specificOpeners' | 'sessionMenus' | 'fileMenus' | 'codeMenus' | 'extensions' | 'views' | 'widgets' | 'composerAddons' | 'roomAddons' | 'settingsSections' | 'renderers' | 'codeRenderers' | 'codeSpeech' | 'codePointable' | 'callPartner' | 'callGroup' | 'callMouth' | 'callMoves' | 'avatars' | 'chatIcons' | 'chatTags' | 'initiatives' | 'tools' | 'toolRenderers' | 'searches'>;
|
|
72
74
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const DEFAULT_ORDER = 100;
|
|
2
2
|
export var WebExtensionRunUtil;
|
|
3
3
|
(function (WebExtensionRunUtil) {
|
|
4
|
-
/** A menu of the extension (registerSessionMenu, registerFileMenu): none once it stopped, nor when it throws. */
|
|
4
|
+
/** A menu of the extension (registerSessionMenu, registerFileMenu, registerCodeMenu): none once it stopped, nor when it throws. */
|
|
5
5
|
function menu(run, menu) {
|
|
6
6
|
return target => {
|
|
7
7
|
try {
|
|
@@ -21,7 +21,7 @@ export var WebExtensionRunUtil;
|
|
|
21
21
|
widgets: new Map(),
|
|
22
22
|
renderers: new Map(),
|
|
23
23
|
codeRenderers: new Map(),
|
|
24
|
-
|
|
24
|
+
codeOptions: new Map(),
|
|
25
25
|
callPartners: [],
|
|
26
26
|
callMouths: [],
|
|
27
27
|
callMoves: [],
|
|
@@ -37,6 +37,7 @@ export var WebExtensionRunUtil;
|
|
|
37
37
|
specificOpeners: [],
|
|
38
38
|
sessionMenus: [],
|
|
39
39
|
fileMenus: [],
|
|
40
|
+
codeMenus: [],
|
|
40
41
|
taskSources: [],
|
|
41
42
|
searches: [],
|
|
42
43
|
composerAddons: [],
|
|
@@ -111,11 +112,12 @@ export var WebExtensionRunUtil;
|
|
|
111
112
|
WebExtensionRunUtil.voice = voice;
|
|
112
113
|
/** What the extensions that run registered, as the page shows it: the first of a message type or a tool name wins. */
|
|
113
114
|
function collect(runs, onOpen) {
|
|
114
|
-
var _a;
|
|
115
|
-
var
|
|
115
|
+
var _a, _b;
|
|
116
|
+
var _c, _d, _e;
|
|
116
117
|
const renderers = {};
|
|
117
118
|
const codeRenderers = {};
|
|
118
119
|
const codeSpeech = {};
|
|
120
|
+
const codePointable = {};
|
|
119
121
|
const avatars = {};
|
|
120
122
|
const tools = [];
|
|
121
123
|
for (const run of runs) {
|
|
@@ -123,13 +125,18 @@ export var WebExtensionRunUtil;
|
|
|
123
125
|
avatars[run.loaded.name] = run.avatar;
|
|
124
126
|
}
|
|
125
127
|
for (const [type, renderer] of run.renderers) {
|
|
126
|
-
(
|
|
128
|
+
(_c = renderers[type]) !== null && _c !== void 0 ? _c : (renderers[type] = renderer);
|
|
127
129
|
}
|
|
128
130
|
for (const [language, renderer] of run.codeRenderers) {
|
|
129
|
-
(
|
|
131
|
+
if (!codeRenderers[language] && ((_a = run.codeOptions.get(language)) === null || _a === void 0 ? void 0 : _a.pointable)) {
|
|
132
|
+
codePointable[language] = true;
|
|
133
|
+
}
|
|
134
|
+
(_d = codeRenderers[language]) !== null && _d !== void 0 ? _d : (codeRenderers[language] = renderer);
|
|
130
135
|
}
|
|
131
|
-
for (const [language,
|
|
132
|
-
|
|
136
|
+
for (const [language, options] of run.codeOptions) {
|
|
137
|
+
if (options.spoken) {
|
|
138
|
+
(_e = codeSpeech[language]) !== null && _e !== void 0 ? _e : (codeSpeech[language] = options.spoken);
|
|
139
|
+
}
|
|
133
140
|
}
|
|
134
141
|
for (const tool of run.tools) {
|
|
135
142
|
if (!tools.some(other => other.name === tool.name)) {
|
|
@@ -162,6 +169,7 @@ export var WebExtensionRunUtil;
|
|
|
162
169
|
specificOpeners: runs.flatMap(run => run.specificOpeners),
|
|
163
170
|
sessionMenus: runs.flatMap(run => run.sessionMenus),
|
|
164
171
|
fileMenus: runs.flatMap(run => run.fileMenus),
|
|
172
|
+
codeMenus: runs.flatMap(run => run.codeMenus),
|
|
165
173
|
extensions: runs.map(run => run.loaded),
|
|
166
174
|
views,
|
|
167
175
|
widgets: runs.flatMap(run => [...run.widgets].map(([key, { component, options }]) => { var _a; return ({
|
|
@@ -177,8 +185,9 @@ export var WebExtensionRunUtil;
|
|
|
177
185
|
renderers,
|
|
178
186
|
codeRenderers,
|
|
179
187
|
codeSpeech,
|
|
188
|
+
codePointable,
|
|
180
189
|
callPartner: runs.flatMap(run => run.callPartners)[0],
|
|
181
|
-
callGroup: (
|
|
190
|
+
callGroup: (_b = runs.find(run => run.callPartners.length)) === null || _b === void 0 ? void 0 : _b.loaded.name,
|
|
182
191
|
callMouth: runs.flatMap(run => run.callMouths)[0],
|
|
183
192
|
callMoves: runs.flatMap(run => run.callMoves),
|
|
184
193
|
avatars,
|
|
@@ -172,6 +172,15 @@ export class WebExtensionsRunning {
|
|
|
172
172
|
void this.allow(info).then(allowed => allowed && this.refresh());
|
|
173
173
|
}
|
|
174
174
|
const loads = await Promise.all(starting.map(info => this.loadPackage(info)));
|
|
175
|
+
// The tabs of the views of one that starts again (a new version of a work) open again once it has: its page
|
|
176
|
+
// drawn anew beside the conversation, not closed under the user. One started on open starts again for them.
|
|
177
|
+
const prefix = WebViewUtil.editorId('');
|
|
178
|
+
const renewed = (id) => {
|
|
179
|
+
const info = fresh.get(id);
|
|
180
|
+
return !!info && this.running.has(id) && !this.same(this.running.get(id), info) && (info.activation === 'open' || starting.includes(info));
|
|
181
|
+
};
|
|
182
|
+
const reopen = this.current.editors.filter(editor => editor.id.startsWith(prefix) && renewed(editor.extension));
|
|
183
|
+
const active = reopen.some(editor => editor.id === this.current.activeEditor) ? this.current.activeEditor : undefined;
|
|
175
184
|
// Stopped only now, just before the new code starts: the views of the old one stay drawn until the next
|
|
176
185
|
// publish, and stopped while the new code is read (after an update, over the relay) they would show
|
|
177
186
|
// without the styles it took away.
|
|
@@ -194,6 +203,26 @@ export class WebExtensionsRunning {
|
|
|
194
203
|
this.placeholders = undefined;
|
|
195
204
|
// The list of those started on open may have changed too.
|
|
196
205
|
this.publish();
|
|
206
|
+
if (reopen.length > 0) {
|
|
207
|
+
// One in a sandbox registers its views as it starts: they are there to open once it did.
|
|
208
|
+
const ready = [...new Set(reopen.map(editor => editor.extension))].map(id => {
|
|
209
|
+
var _a;
|
|
210
|
+
const index = starting.findIndex(info => info.id === id);
|
|
211
|
+
const load = loads[index];
|
|
212
|
+
if (!load) {
|
|
213
|
+
return this.onDemand.ensure(fresh.get(id)).catch(() => undefined);
|
|
214
|
+
}
|
|
215
|
+
return 'factory' in load ? (_a = load.factory.ready) === null || _a === void 0 ? void 0 : _a.catch(() => undefined) : undefined;
|
|
216
|
+
});
|
|
217
|
+
void Promise.all(ready).then(() => {
|
|
218
|
+
for (const editor of reopen) {
|
|
219
|
+
this.openView(editor.id.slice(prefix.length), true);
|
|
220
|
+
}
|
|
221
|
+
if (active) {
|
|
222
|
+
this.tabs.show(active);
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
197
226
|
changed = changed || stopped || starting.length > 0;
|
|
198
227
|
await this.tabs.restore();
|
|
199
228
|
return changed;
|
|
@@ -209,9 +238,10 @@ export class WebExtensionsRunning {
|
|
|
209
238
|
return false;
|
|
210
239
|
}
|
|
211
240
|
this.keptStarted = true;
|
|
212
|
-
const
|
|
213
|
-
|
|
214
|
-
|
|
241
|
+
const kept = this.code.list(host).filter(info => info.enabled !== false);
|
|
242
|
+
// Those started on open, in Quick open and on their links before the computer answers, or while it cannot.
|
|
243
|
+
const seeded = this.onDemand.seed(kept.filter(info => info.activation === 'open'));
|
|
244
|
+
const infos = kept.filter(info => info.activation !== 'open' && !this.running.has(info.id) && WebAccessUtil.granted(info) !== undefined);
|
|
215
245
|
const loads = await Promise.all(infos.map(async (info) => {
|
|
216
246
|
const code = await this.code.get(info.hash);
|
|
217
247
|
return code === undefined ? undefined : this.factoryOf(info, code).catch(() => undefined);
|
|
@@ -224,10 +254,10 @@ export class WebExtensionsRunning {
|
|
|
224
254
|
started = true;
|
|
225
255
|
}
|
|
226
256
|
}
|
|
227
|
-
if (started) {
|
|
257
|
+
if (started || seeded) {
|
|
228
258
|
this.publish();
|
|
229
259
|
}
|
|
230
|
-
return started;
|
|
260
|
+
return started || seeded;
|
|
231
261
|
}
|
|
232
262
|
/** Whether what runs is that of the list: the same code, allowed as much. */
|
|
233
263
|
same(run, info) {
|
|
@@ -253,13 +283,14 @@ export class WebExtensionsRunning {
|
|
|
253
283
|
}
|
|
254
284
|
async askAccess(info) {
|
|
255
285
|
var _a;
|
|
286
|
+
var _b;
|
|
256
287
|
const language = this.settings.state.language;
|
|
257
288
|
const say = (id) => message(language, id);
|
|
258
|
-
const access = (
|
|
289
|
+
const access = (_b = info.access) !== null && _b !== void 0 ? _b : 'full';
|
|
259
290
|
const yes = await this.notices.confirm({
|
|
260
291
|
title: say('ta.access.ask').replace('{name}', WebPagesUtil.title(info, language)),
|
|
261
292
|
message: [
|
|
262
|
-
say(info.regrant ? 'ta.access.updated' : 'ta.access.new'),
|
|
293
|
+
say(info.regrant ? 'ta.access.updated' : ((_a = info.temporary) === null || _a === void 0 ? void 0 : _a.from) === 'agent' ? 'ta.access.agent' : 'ta.access.new'),
|
|
263
294
|
say(`ta.access.${access}`),
|
|
264
295
|
say('ta.access.from').replace('{source}', WebAccessUtil.source(info, say)),
|
|
265
296
|
].join('\n'),
|
|
@@ -42,6 +42,11 @@ export declare class WebOnDemand {
|
|
|
42
42
|
get(id: string): TaWebExtensionInfo | undefined;
|
|
43
43
|
/** Those of the server's list now; one an agent just made for the user is told of, with a way to open it. */
|
|
44
44
|
set(infos: readonly TaWebExtensionInfo[]): void;
|
|
45
|
+
/**
|
|
46
|
+
* Those of the list of the last time, before the computer answers (or while it cannot): their pages open from the
|
|
47
|
+
* code the device keeps, as those started with the page do. The list of the computer replaces them.
|
|
48
|
+
*/
|
|
49
|
+
seed(infos: readonly TaWebExtensionInfo[]): boolean;
|
|
45
50
|
/** The extension started on open that a view id is of: its name, or `<its name>/<view>`. */
|
|
46
51
|
find(viewId: string): TaWebExtensionInfo | undefined;
|
|
47
52
|
/** Starts it unless it runs, once however often asked meanwhile. */
|
|
@@ -58,6 +58,17 @@ export class WebOnDemand {
|
|
|
58
58
|
}
|
|
59
59
|
this.listed = true;
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Those of the list of the last time, before the computer answers (or while it cannot): their pages open from the
|
|
63
|
+
* code the device keeps, as those started with the page do. The list of the computer replaces them.
|
|
64
|
+
*/
|
|
65
|
+
seed(infos) {
|
|
66
|
+
if (this.listed || this.infos.size > 0 || infos.length === 0) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
this.infos = new Map(infos.map(info => [info.id, info]));
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
61
72
|
/** The extension started on open that a view id is of: its name, or `<its name>/<view>`. */
|
|
62
73
|
find(viewId) {
|
|
63
74
|
for (const info of this.infos.values()) {
|
|
@@ -79,6 +79,9 @@ export declare const ASSISTANT_EN: {
|
|
|
79
79
|
'ta.task.branch': string;
|
|
80
80
|
'ta.task.stopped': string;
|
|
81
81
|
'ta.task.waiting': string;
|
|
82
|
+
'ta.task.waitingPermission': string;
|
|
83
|
+
'ta.task.waitingQuestion': string;
|
|
84
|
+
'ta.task.waitingAuth': string;
|
|
82
85
|
'ta.task.takenOver': string;
|
|
83
86
|
'ta.task.takeOver': string;
|
|
84
87
|
'ta.task.takeOverHint': string;
|
|
@@ -79,6 +79,9 @@ export const ASSISTANT_EN = {
|
|
|
79
79
|
'ta.task.branch': 'Branch {branch}',
|
|
80
80
|
'ta.task.stopped': 'Stopped',
|
|
81
81
|
'ta.task.waiting': 'Waiting for you',
|
|
82
|
+
'ta.task.waitingPermission': 'Waiting for you to allow',
|
|
83
|
+
'ta.task.waitingQuestion': 'Waiting for your answer',
|
|
84
|
+
'ta.task.waitingAuth': 'Waiting for you to sign in',
|
|
82
85
|
'ta.task.takenOver': 'You took it over',
|
|
83
86
|
'ta.task.takeOver': 'Take over',
|
|
84
87
|
'ta.task.takeOverHint': 'Go on with it yourself in the main area; the double stops following it',
|
|
@@ -180,6 +180,7 @@ export declare const CHAT_EN: {
|
|
|
180
180
|
'ta.composer.keyboard': string;
|
|
181
181
|
'ta.composer.steerTitle': string;
|
|
182
182
|
'ta.composer.addImage': string;
|
|
183
|
+
'ta.composer.addMedia': string;
|
|
183
184
|
'ta.composer.album': string;
|
|
184
185
|
'ta.composer.camera': string;
|
|
185
186
|
'ta.composer.more': string;
|
|
@@ -180,6 +180,7 @@ export const CHAT_EN = {
|
|
|
180
180
|
'ta.composer.keyboard': 'Type instead',
|
|
181
181
|
'ta.composer.steerTitle': 'Steer Ta (Enter); Alt+Enter queues a follow-up',
|
|
182
182
|
'ta.composer.addImage': 'Add images',
|
|
183
|
+
'ta.composer.addMedia': 'Add images or videos',
|
|
183
184
|
'ta.composer.album': 'Album',
|
|
184
185
|
'ta.composer.camera': 'Camera',
|
|
185
186
|
'ta.composer.more': 'Add and settings',
|
|
@@ -10,6 +10,7 @@ export const COMMON_EN = {
|
|
|
10
10
|
'ta.stop': 'Stop',
|
|
11
11
|
'ta.copy': 'Copy',
|
|
12
12
|
'ta.copied': 'Copied',
|
|
13
|
+
'ta.point.hint': 'Tap the part Ta should change',
|
|
13
14
|
'ta.markdown.source': 'Source',
|
|
14
15
|
'ta.markdown.diagram': 'Diagram',
|
|
15
16
|
'ta.markdown.download': 'Download SVG',
|
|
@@ -60,6 +60,7 @@ export declare const DISCOVER_EN: {
|
|
|
60
60
|
'ta.open.failed': string;
|
|
61
61
|
'ta.access.ask': string;
|
|
62
62
|
'ta.access.new': string;
|
|
63
|
+
'ta.access.agent': string;
|
|
63
64
|
'ta.access.updated': string;
|
|
64
65
|
'ta.access.full': string;
|
|
65
66
|
'ta.access.app': string;
|
|
@@ -67,6 +68,7 @@ export declare const DISCOVER_EN: {
|
|
|
67
68
|
'ta.access.from': string;
|
|
68
69
|
'ta.access.fromLink': string;
|
|
69
70
|
'ta.access.fromMarket': string;
|
|
71
|
+
'ta.access.fromAgent': string;
|
|
70
72
|
'ta.access.allow': string;
|
|
71
73
|
'ta.access.failed': string;
|
|
72
74
|
'ta.search.pages': string;
|
|
@@ -61,6 +61,7 @@ export const DISCOVER_EN = {
|
|
|
61
61
|
'ta.open.failed': 'Could not open it',
|
|
62
62
|
'ta.access.ask': 'Allow {name} to run?',
|
|
63
63
|
'ta.access.new': 'It is not one you made: it runs once you allow it.',
|
|
64
|
+
'ta.access.agent': 'Ta made it for you; it asks for more than a web page has, so it runs once you allow it.',
|
|
64
65
|
'ta.access.updated': 'It changed since you allowed it: this version runs once you allow it again.',
|
|
65
66
|
'ta.access.full': 'It asks for all Ta can do: read and write the files of this computer, run commands, read your conversations. Allow only what you trust.',
|
|
66
67
|
'ta.access.app': 'It asks for its own pages and the notices, widgets and voice of Ta, not for your files or conversations.',
|
|
@@ -68,6 +69,7 @@ export const DISCOVER_EN = {
|
|
|
68
69
|
'ta.access.from': 'From: {source}.',
|
|
69
70
|
'ta.access.fromLink': 'a link someone shared',
|
|
70
71
|
'ta.access.fromMarket': 'the market',
|
|
72
|
+
'ta.access.fromAgent': 'made by Ta for you',
|
|
71
73
|
'ta.access.allow': 'Allow',
|
|
72
74
|
'ta.access.failed': 'Could not allow it',
|
|
73
75
|
'ta.search.pages': 'Pages',
|
|
@@ -68,12 +68,35 @@ export declare const SERVICE_EN: {
|
|
|
68
68
|
'ta.remote.cloudDescription': string;
|
|
69
69
|
'ta.remote.cloudUrl': string;
|
|
70
70
|
'ta.remote.cloudToken': string;
|
|
71
|
-
'ta.remote.cloudName': string;
|
|
72
71
|
'ta.remote.cloudHint': string;
|
|
73
72
|
'ta.remote.cloudConnect': string;
|
|
74
73
|
'ta.remote.cloudAdded': string;
|
|
75
74
|
'ta.remote.openCloud': string;
|
|
76
75
|
'ta.remote.openCloudHint': string;
|
|
76
|
+
'ta.remote.madeCloud': string;
|
|
77
|
+
'ta.remote.network': string;
|
|
78
|
+
'ta.remote.portLocal': string;
|
|
79
|
+
'ta.remote.relay': string;
|
|
80
|
+
'ta.remote.relay.off': string;
|
|
81
|
+
'ta.remote.relay.on': string;
|
|
82
|
+
'ta.remote.relay.stopTitle': string;
|
|
83
|
+
'ta.remote.relay.stopHint': string;
|
|
84
|
+
'ta.remote.relay.stop': string;
|
|
85
|
+
'ta.remote.network.off': string;
|
|
86
|
+
'ta.remote.network.common': string;
|
|
87
|
+
'ta.remote.network.open': string;
|
|
88
|
+
'ta.remote.network.custom': string;
|
|
89
|
+
'ta.remote.network.off.hint': string;
|
|
90
|
+
'ta.remote.network.common.hint': string;
|
|
91
|
+
'ta.remote.network.open.hint': string;
|
|
92
|
+
'ta.remote.network.custom.hint': string;
|
|
93
|
+
'ta.remote.network.soft': string;
|
|
94
|
+
'ta.remote.network.isolate': string;
|
|
95
|
+
'ta.remote.network.isolateHint': string;
|
|
96
|
+
'ta.remote.network.isolated': string;
|
|
97
|
+
'ta.remote.network.placeholder': string;
|
|
98
|
+
'ta.remote.network.save': string;
|
|
99
|
+
'ta.remote.network.saved': string;
|
|
77
100
|
'ta.environment.elsewhere': string;
|
|
78
101
|
'ta.environment.elsewhereHint': string;
|
|
79
102
|
'ta.environment.makeToken': string;
|
|
@@ -190,7 +213,6 @@ export declare const SERVICE_EN: {
|
|
|
190
213
|
'ta.remote.options': string;
|
|
191
214
|
'ta.remote.disconnected': string;
|
|
192
215
|
'ta.remote.fromConfig': string;
|
|
193
|
-
'ta.remote.added': string;
|
|
194
216
|
'ta.remote.connect': string;
|
|
195
217
|
'ta.remote.disconnect': string;
|
|
196
218
|
'ta.remote.connectedTo': string;
|
|
@@ -203,6 +225,8 @@ export declare const SERVICE_EN: {
|
|
|
203
225
|
'ta.remote.step.installing-node': string;
|
|
204
226
|
'ta.remote.step.copying-server': string;
|
|
205
227
|
'ta.remote.step.starting': string;
|
|
228
|
+
'ta.remote.step.installing-ta': string;
|
|
229
|
+
'ta.remote.step.starting-ta': string;
|
|
206
230
|
'ta.remote.lost': string;
|
|
207
231
|
'ta.remote.prompt.title': string;
|
|
208
232
|
'ta.remote.prompt.trust': string;
|
|
@@ -65,22 +65,45 @@ export const SERVICE_EN = {
|
|
|
65
65
|
'ta.environment.stop': 'Stop',
|
|
66
66
|
'ta.environment.stopConfirm': 'Stop the environment of {account}?',
|
|
67
67
|
'ta.environment.stopDetail': 'It starts again when they connect; what runs in it stops now.',
|
|
68
|
-
'ta.remote.addCloud': '
|
|
69
|
-
'ta.remote.cloudTitle': '
|
|
70
|
-
'ta.remote.cloudDescription': '
|
|
68
|
+
'ta.remote.addCloud': 'Enter the gateway',
|
|
69
|
+
'ta.remote.cloudTitle': "Your company's Ta gateway",
|
|
70
|
+
'ta.remote.cloudDescription': 'Only when your company runs a Ta gateway; otherwise, skip it.',
|
|
71
71
|
'ta.remote.cloudUrl': 'Gateway address',
|
|
72
72
|
'ta.remote.cloudToken': 'Access token',
|
|
73
|
-
'ta.remote.
|
|
74
|
-
'ta.remote.cloudHint': 'Make the token on the gateway: Settings, Environment, Use it from another Ta.',
|
|
73
|
+
'ta.remote.cloudHint': 'The address is that of the web page of the gateway; make the token there in Settings, Environment, Use it from another Ta.',
|
|
75
74
|
'ta.remote.cloudConnect': 'Connect and add',
|
|
76
75
|
'ta.remote.cloudAdded': '{name} added: pick it in the folder picker',
|
|
77
76
|
'ta.remote.openCloud': 'Open its Ta',
|
|
78
77
|
'ta.remote.openCloudHint': 'The whole Ta there, its agent in the cloud too',
|
|
78
|
+
'ta.remote.madeCloud': 'On: while this computer is away, conversations go on on {host}',
|
|
79
|
+
'ta.remote.network': 'Network',
|
|
80
|
+
'ta.remote.portLocal': 'Forwarded to localhost:{port} here',
|
|
81
|
+
'ta.remote.relay': 'Go on here while this computer is away',
|
|
82
|
+
'ta.remote.relay.off': 'Keeps Ta running here: when this computer closes its lid or runs low, conversations go on here.',
|
|
83
|
+
'ta.remote.relay.on': 'When the lid closes, the computer sleeps or its battery runs low, running conversations go on here, and come back when it returns.',
|
|
84
|
+
'ta.remote.relay.stopTitle': 'Stop moving conversations to {host}?',
|
|
85
|
+
'ta.remote.relay.stopHint': 'Ta stays installed there. Take back the conversations that went there first.',
|
|
86
|
+
'ta.remote.relay.stop': 'Turn off',
|
|
87
|
+
'ta.remote.network.off': 'Off (recommended)',
|
|
88
|
+
'ta.remote.network.common': 'Package sources only',
|
|
89
|
+
'ta.remote.network.open': 'Anywhere',
|
|
90
|
+
'ta.remote.network.custom': 'Custom…',
|
|
91
|
+
'ta.remote.network.off.hint': "Commands the agent runs there can't reach the internet. Dependencies are installed before it starts.",
|
|
92
|
+
'ta.remote.network.common.hint': 'Commands can reach npm, PyPI, GitHub and other common package sources only.',
|
|
93
|
+
'ta.remote.network.open.hint': 'Commands can reach any address.',
|
|
94
|
+
'ta.remote.network.custom.hint': 'Commands can reach only these hosts.',
|
|
95
|
+
'ta.remote.network.soft': 'This machine can only hold them back through proxy settings.',
|
|
96
|
+
'ta.remote.network.isolate': 'Isolate fully',
|
|
97
|
+
'ta.remote.network.isolateHint': 'Installs bubblewrap there (and its AppArmor profile on Ubuntu) with sudo',
|
|
98
|
+
'ta.remote.network.isolated': 'The agent there now has a network of its own',
|
|
99
|
+
'ta.remote.network.placeholder': 'One per line: registry.npmjs.org, *.example.com, example.com:8443',
|
|
100
|
+
'ta.remote.network.save': 'Save',
|
|
101
|
+
'ta.remote.network.saved': 'Network of {name} updated',
|
|
79
102
|
'ta.environment.elsewhere': 'Use it from another Ta',
|
|
80
103
|
'ta.environment.elsewhereHint': 'Ta on your computer works in this sandbox as a cloud workspace, its agent on your computer.',
|
|
81
104
|
'ta.environment.makeToken': 'Make a token',
|
|
82
105
|
'ta.environment.tokenLabel': 'Another Ta',
|
|
83
|
-
'ta.environment.tokenHint':
|
|
106
|
+
'ta.environment.tokenHint': "Shown once. In Ta on your computer: Settings, Remote hosts, Your company's Ta gateway, Enter the gateway. Sign it out in Access when no longer used.",
|
|
84
107
|
'ta.environment.quotaHint': 'What you used of your free minutes this month',
|
|
85
108
|
'ta.environment.blockedTitle': 'Your Ta is paused',
|
|
86
109
|
'ta.environment.blockedSuspended': 'An administrator of the gateway suspended your account. Ask them to resume it.',
|
|
@@ -91,7 +114,7 @@ export const SERVICE_EN = {
|
|
|
91
114
|
'ta.remote.local': 'This computer',
|
|
92
115
|
'ta.remote.add': 'Add a host',
|
|
93
116
|
'ta.remote.addConfirm': 'Add',
|
|
94
|
-
'ta.remote.addHint': '
|
|
117
|
+
'ta.remote.addHint': 'Host name, user@host, or ssh command',
|
|
95
118
|
'ta.remote.connected': 'Connected',
|
|
96
119
|
'ta.remote.failed': 'Cannot connect to {host}',
|
|
97
120
|
'ta.relays.title': 'Relays',
|
|
@@ -185,19 +208,18 @@ export const SERVICE_EN = {
|
|
|
185
208
|
'ta.relays.storeNote': 'Ta tries it first, writing and removing a small file. What sync puts there is sealed on this computer; the password stays in relays.json here.',
|
|
186
209
|
'ta.relays.storeAdd': 'Add and sync there',
|
|
187
210
|
'ta.remote.title': 'Remote hosts',
|
|
188
|
-
'ta.remote.description': 'Conversations can work in directories of these machines
|
|
211
|
+
'ta.remote.description': 'Conversations can work in directories of these machines, and move there to go on when this computer closes its lid or runs out of power.',
|
|
189
212
|
'ta.remote.none': 'No hosts yet',
|
|
190
213
|
'ta.remote.noneHint': 'Add one above: conversations then work in its directories over ssh',
|
|
191
214
|
'ta.remote.invalid': '{host} names no host: write a Host of ~/.ssh/config, user@host:port, or ssh user@host -p port.',
|
|
192
215
|
'ta.remote.options': 'Ta takes no {options} here: put it in a Host of ~/.ssh/config, and add that Host.',
|
|
193
216
|
'ta.remote.disconnected': 'Not connected',
|
|
194
217
|
'ta.remote.fromConfig': 'From ~/.ssh/config',
|
|
195
|
-
'ta.remote.added': 'Added',
|
|
196
218
|
'ta.remote.connect': 'Connect',
|
|
197
219
|
'ta.remote.disconnect': 'Disconnect',
|
|
198
220
|
'ta.remote.connectedTo': 'Connected to {host}',
|
|
199
221
|
'ta.remote.remove': 'Remove {host}',
|
|
200
|
-
'ta.remote.port': 'Port {port}
|
|
222
|
+
'ta.remote.port': 'Port {port}',
|
|
201
223
|
'ta.remote.closePort': 'Stop forwarding',
|
|
202
224
|
'ta.remote.connecting': 'Connecting to {host}…',
|
|
203
225
|
'ta.remote.step.connecting': 'Connecting to {host}…',
|
|
@@ -205,6 +227,8 @@ export const SERVICE_EN = {
|
|
|
205
227
|
'ta.remote.step.installing-node': 'Installing Node.js {detail} on {host}…',
|
|
206
228
|
'ta.remote.step.copying-server': 'Copying Ta to {host}…',
|
|
207
229
|
'ta.remote.step.starting': 'Starting on {host}…',
|
|
230
|
+
'ta.remote.step.installing-ta': 'Installing Ta {detail} on {host}…',
|
|
231
|
+
'ta.remote.step.starting-ta': 'Starting Ta on {host}…',
|
|
208
232
|
'ta.remote.lost': 'Lost the connection to {host}; it comes back with the next step.',
|
|
209
233
|
'ta.remote.prompt.title': 'Connect to {host}',
|
|
210
234
|
'ta.remote.prompt.trust': 'Trust and connect',
|
|
@@ -78,6 +78,9 @@ export const ASSISTANT_JA = {
|
|
|
78
78
|
'ta.task.branch': 'ブランチ {branch}',
|
|
79
79
|
'ta.task.stopped': '停止',
|
|
80
80
|
'ta.task.waiting': 'あなたの対応が必要',
|
|
81
|
+
'ta.task.waitingPermission': '許可を待っています',
|
|
82
|
+
'ta.task.waitingQuestion': '回答を待っています',
|
|
83
|
+
'ta.task.waitingAuth': 'サインインを待っています',
|
|
81
84
|
'ta.task.takenOver': 'あなたが対応しました',
|
|
82
85
|
'ta.task.takeOver': '対応する',
|
|
83
86
|
'ta.task.takeOverHint': 'メインエリアで対応し続けます。分身は追従を中止します。',
|
|
@@ -179,6 +179,7 @@ export const CHAT_JA = {
|
|
|
179
179
|
'ta.composer.keyboard': 'キーボードに切り替え',
|
|
180
180
|
'ta.composer.steerTitle': 'Ta を操舵(Enter)。Alt+Enter でフォローアップをキューに入れます',
|
|
181
181
|
'ta.composer.addImage': '画像を追加',
|
|
182
|
+
'ta.composer.addMedia': '画像・動画を追加',
|
|
182
183
|
'ta.composer.album': 'アルバム',
|
|
183
184
|
'ta.composer.camera': 'カメラ',
|
|
184
185
|
'ta.composer.more': '追加と設定',
|
|
@@ -59,6 +59,7 @@ export const DISCOVER_JA = {
|
|
|
59
59
|
'ta.open.failed': '開けませんでした',
|
|
60
60
|
'ta.access.ask': '「{name}」の実行を許可しますか?',
|
|
61
61
|
'ta.access.new': 'あなたが作ったものではないため、許可すると実行されます。',
|
|
62
|
+
'ta.access.agent': 'Ta があなたのために作ったものですが、ウェブページ以上の機能を求めているため、許可すると実行されます。',
|
|
62
63
|
'ta.access.updated': '許可した後に更新されました。この版は再度許可すると実行されます。',
|
|
63
64
|
'ta.access.full': 'Ta のすべての機能を求めています:このパソコンのファイルの読み書き、コマンドの実行、会話の閲覧。信頼できるものだけ許可してください。',
|
|
64
65
|
'ta.access.app': '自分のページと、Ta の通知・ウィジェット・音声だけを求めています。ファイルや会話は求めていません。',
|
|
@@ -66,6 +67,7 @@ export const DISCOVER_JA = {
|
|
|
66
67
|
'ta.access.from': '提供元:{source}。',
|
|
67
68
|
'ta.access.fromLink': '誰かが共有したリンク',
|
|
68
69
|
'ta.access.fromMarket': 'マーケット',
|
|
70
|
+
'ta.access.fromAgent': 'Ta があなたのために作ったもの',
|
|
69
71
|
'ta.access.allow': '許可',
|
|
70
72
|
'ta.access.failed': '許可できませんでした',
|
|
71
73
|
'ta.search.pages': 'ページ',
|