@celljs/ta-web 4.45.1 → 4.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/account/device-account.d.ts +15 -8
  4. package/esm/browser/account/device-account.js +40 -4
  5. package/esm/browser/assistant/assistant-view.js +8 -8
  6. package/esm/browser/assistant/assistant.d.ts +3 -1
  7. package/esm/browser/assistant/assistant.js +10 -4
  8. package/esm/browser/chat/chat-stores.d.ts +1 -3
  9. package/esm/browser/chat/chat-stores.js +3 -18
  10. package/esm/browser/chat/chat-view.js +9 -3
  11. package/esm/browser/chat/web-client-tools.d.ts +15 -0
  12. package/esm/browser/chat/web-client-tools.js +35 -0
  13. package/esm/browser/components/account-view.js +7 -4
  14. package/esm/browser/components/app-shell-hooks.js +2 -1
  15. package/esm/browser/components/cloud-sign-in-view.d.ts +3 -2
  16. package/esm/browser/components/cloud-sign-in-view.js +11 -3
  17. package/esm/browser/components/composer-addon-util.d.ts +3 -1
  18. package/esm/browser/components/composer-addon-util.js +22 -0
  19. package/esm/browser/components/composer-addons.d.ts +2 -1
  20. package/esm/browser/components/composer-addons.js +1 -1
  21. package/esm/browser/components/hero-cards-util.d.ts +15 -0
  22. package/esm/browser/components/hero-cards-util.js +25 -0
  23. package/esm/browser/components/hero-cards.d.ts +13 -3
  24. package/esm/browser/components/hero-cards.js +41 -11
  25. package/esm/browser/components/host-view.d.ts +1 -1
  26. package/esm/browser/components/host-view.js +2 -1
  27. package/esm/browser/components/profile-view.js +31 -1
  28. package/esm/browser/components/recent-shots-access.d.ts +9 -0
  29. package/esm/browser/components/recent-shots-access.js +29 -0
  30. package/esm/browser/components/relay-view.js +20 -0
  31. package/esm/browser/components/settings-more.js +2 -1
  32. package/esm/browser/components/settings-parts.js +5 -2
  33. package/esm/browser/components/workbench-tabs.js +1 -1
  34. package/esm/browser/components/workbench-view.js +3 -5
  35. package/esm/browser/device/hold.d.ts +5 -2
  36. package/esm/browser/device/hold.js +7 -4
  37. package/esm/browser/extension/icons.js +2 -1
  38. package/esm/browser/extension/web-api-composer.d.ts +51 -0
  39. package/esm/browser/extension/web-api-composer.js +2 -0
  40. package/esm/browser/extension/web-api-contributions.d.ts +5 -33
  41. package/esm/browser/extension/web-api-desktop.d.ts +5 -0
  42. package/esm/browser/extension/web-api-spec.js +1 -0
  43. package/esm/browser/extension/web-extension-context.js +6 -0
  44. package/esm/browser/i18n/en/account.d.ts +1 -0
  45. package/esm/browser/i18n/en/account.js +2 -1
  46. package/esm/browser/i18n/en/assistant.d.ts +1 -0
  47. package/esm/browser/i18n/en/assistant.js +1 -0
  48. package/esm/browser/i18n/en/chat.d.ts +1 -0
  49. package/esm/browser/i18n/en/chat.js +1 -0
  50. package/esm/browser/i18n/en/service.d.ts +2 -0
  51. package/esm/browser/i18n/en/service.js +2 -0
  52. package/esm/browser/i18n/en/settings.d.ts +5 -0
  53. package/esm/browser/i18n/en/settings.js +5 -0
  54. package/esm/browser/i18n/ja/account.js +2 -1
  55. package/esm/browser/i18n/ja/assistant.js +1 -0
  56. package/esm/browser/i18n/ja/chat.js +1 -0
  57. package/esm/browser/i18n/ja/service.js +2 -0
  58. package/esm/browser/i18n/ja/settings.js +5 -0
  59. package/esm/browser/i18n/locales.d.ts +11 -1
  60. package/esm/browser/i18n/messages.d.ts +10 -0
  61. package/esm/browser/i18n/zh/account.js +2 -1
  62. package/esm/browser/i18n/zh/assistant.js +1 -0
  63. package/esm/browser/i18n/zh/chat.js +1 -0
  64. package/esm/browser/i18n/zh/service.js +2 -0
  65. package/esm/browser/i18n/zh/settings.js +5 -0
  66. package/esm/browser/i18n/zh-tw/account.js +2 -1
  67. package/esm/browser/i18n/zh-tw/assistant.js +1 -0
  68. package/esm/browser/i18n/zh-tw/chat.js +1 -0
  69. package/esm/browser/i18n/zh-tw/service.js +2 -0
  70. package/esm/browser/i18n/zh-tw/settings.js +5 -0
  71. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  72. package/esm/browser/share/shared-page.js +3 -5
  73. package/esm/browser/style/chat-list.d.ts +1 -1
  74. package/esm/browser/style/chat-list.js +2 -0
  75. package/esm/browser/style/layout.d.ts +1 -1
  76. package/esm/browser/style/layout.js +5 -2
  77. package/esm/browser/style/pages.d.ts +1 -1
  78. package/esm/browser/style/pages.js +6 -0
  79. package/esm/browser/style.d.ts +10 -0
  80. package/esm/browser/style.js +35 -0
  81. package/esm/browser/util/desktop.d.ts +9 -0
  82. package/esm/browser/util/desktop.js +5 -1
  83. package/esm/browser/video-call/call-window.js +2 -4
  84. package/lib/browser/account/device-account.d.ts +15 -8
  85. package/lib/browser/account/device-account.js +40 -4
  86. package/lib/browser/assistant/assistant-view.js +7 -7
  87. package/lib/browser/assistant/assistant.d.ts +3 -1
  88. package/lib/browser/assistant/assistant.js +10 -4
  89. package/lib/browser/chat/chat-stores.d.ts +1 -3
  90. package/lib/browser/chat/chat-stores.js +3 -18
  91. package/lib/browser/chat/chat-view.js +8 -2
  92. package/lib/browser/chat/web-client-tools.d.ts +16 -0
  93. package/lib/browser/chat/web-client-tools.js +38 -0
  94. package/lib/browser/components/account-view.js +7 -4
  95. package/lib/browser/components/app-shell-hooks.js +2 -1
  96. package/lib/browser/components/cloud-sign-in-view.d.ts +3 -2
  97. package/lib/browser/components/cloud-sign-in-view.js +10 -2
  98. package/lib/browser/components/composer-addon-util.d.ts +3 -1
  99. package/lib/browser/components/composer-addon-util.js +22 -0
  100. package/lib/browser/components/composer-addons.d.ts +2 -1
  101. package/lib/browser/components/composer-addons.js +1 -1
  102. package/lib/browser/components/hero-cards-util.d.ts +16 -0
  103. package/lib/browser/components/hero-cards-util.js +28 -0
  104. package/lib/browser/components/hero-cards.d.ts +13 -3
  105. package/lib/browser/components/hero-cards.js +43 -11
  106. package/lib/browser/components/host-view.d.ts +1 -1
  107. package/lib/browser/components/host-view.js +2 -1
  108. package/lib/browser/components/profile-view.js +30 -0
  109. package/lib/browser/components/recent-shots-access.d.ts +10 -0
  110. package/lib/browser/components/recent-shots-access.js +65 -0
  111. package/lib/browser/components/relay-view.js +20 -0
  112. package/lib/browser/components/settings-more.js +2 -1
  113. package/lib/browser/components/settings-parts.js +5 -2
  114. package/lib/browser/components/workbench-tabs.js +1 -1
  115. package/lib/browser/components/workbench-view.js +2 -4
  116. package/lib/browser/device/hold.d.ts +5 -2
  117. package/lib/browser/device/hold.js +7 -4
  118. package/lib/browser/extension/icons.js +1 -0
  119. package/lib/browser/extension/web-api-composer.d.ts +52 -0
  120. package/lib/browser/extension/web-api-composer.js +3 -0
  121. package/lib/browser/extension/web-api-contributions.d.ts +5 -33
  122. package/lib/browser/extension/web-api-desktop.d.ts +5 -0
  123. package/lib/browser/extension/web-api-spec.js +1 -0
  124. package/lib/browser/extension/web-extension-context.js +6 -0
  125. package/lib/browser/i18n/en/account.d.ts +1 -0
  126. package/lib/browser/i18n/en/account.js +2 -1
  127. package/lib/browser/i18n/en/assistant.d.ts +1 -0
  128. package/lib/browser/i18n/en/assistant.js +1 -0
  129. package/lib/browser/i18n/en/chat.d.ts +1 -0
  130. package/lib/browser/i18n/en/chat.js +1 -0
  131. package/lib/browser/i18n/en/service.d.ts +2 -0
  132. package/lib/browser/i18n/en/service.js +2 -0
  133. package/lib/browser/i18n/en/settings.d.ts +5 -0
  134. package/lib/browser/i18n/en/settings.js +5 -0
  135. package/lib/browser/i18n/ja/account.js +2 -1
  136. package/lib/browser/i18n/ja/assistant.js +1 -0
  137. package/lib/browser/i18n/ja/chat.js +1 -0
  138. package/lib/browser/i18n/ja/service.js +2 -0
  139. package/lib/browser/i18n/ja/settings.js +5 -0
  140. package/lib/browser/i18n/locales.d.ts +11 -1
  141. package/lib/browser/i18n/messages.d.ts +10 -0
  142. package/lib/browser/i18n/zh/account.js +2 -1
  143. package/lib/browser/i18n/zh/assistant.js +1 -0
  144. package/lib/browser/i18n/zh/chat.js +1 -0
  145. package/lib/browser/i18n/zh/service.js +2 -0
  146. package/lib/browser/i18n/zh/settings.js +5 -0
  147. package/lib/browser/i18n/zh-tw/account.js +2 -1
  148. package/lib/browser/i18n/zh-tw/assistant.js +1 -0
  149. package/lib/browser/i18n/zh-tw/chat.js +1 -0
  150. package/lib/browser/i18n/zh-tw/service.js +2 -0
  151. package/lib/browser/i18n/zh-tw/settings.js +5 -0
  152. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  153. package/lib/browser/share/shared-page.js +2 -4
  154. package/lib/browser/style/chat-list.d.ts +1 -1
  155. package/lib/browser/style/chat-list.js +2 -0
  156. package/lib/browser/style/layout.d.ts +1 -1
  157. package/lib/browser/style/layout.js +5 -2
  158. package/lib/browser/style/pages.d.ts +1 -1
  159. package/lib/browser/style/pages.js +6 -0
  160. package/lib/browser/style.d.ts +10 -0
  161. package/lib/browser/style.js +36 -1
  162. package/lib/browser/util/desktop.d.ts +9 -0
  163. package/lib/browser/util/desktop.js +5 -1
  164. package/lib/browser/video-call/call-window.js +1 -3
  165. package/package.json +7 -7
@@ -0,0 +1,51 @@
1
+ /** Part of the web extension API (web-extension-api.ts, which exports it all): what an extension adds to the message box of a conversation. */
2
+ import type * as React from 'react';
3
+ import type { WebComposerAction } from './web-api-components.js';
4
+ /** A conversation as its message box knows it. */
5
+ export interface WebConversation {
6
+ sessionId: string;
7
+ /** pi's file of it: what stays when it is closed and opened again; none for one not kept. */
8
+ sessionFile?: string;
9
+ cwd?: string;
10
+ /** `double`: the double's own conversation; `chat`: any other, an agent's too (TaSessionInfo.group). */
11
+ kind: 'double' | 'chat';
12
+ /** The package that opened it for its work (TaOpenSessionOptions.group): `@celljs/ta-channels` for an agent. */
13
+ group?: string;
14
+ /** As the page names it: the name of the session, or of the double. */
15
+ title?: string;
16
+ }
17
+ /** What an extension adds to the message box of every conversation (WebExtensionAPI.registerComposerAddon). */
18
+ export interface WebComposerAddon {
19
+ /** Entries of the + menu, a section of their own; read each time the conversation is drawn, and when `subscribe` says. */
20
+ actions?(conversation: WebConversation): WebComposerAction[];
21
+ /** What `actions` gives changed (the data it reads came): the message boxes read them again. */
22
+ subscribe?(listener: () => void): () => void;
23
+ /** Above the box of each conversation: what is connected to it, a dialog its entries opened. Nothing to show: `null`. */
24
+ above?: React.ComponentType<{
25
+ conversation: WebConversation;
26
+ }>;
27
+ /**
28
+ * What a conversation of the extension's own shows before anything is said in it, in place of Ta's (an assistant's
29
+ * face, what it does, what to start with); undefined for the others. Asked as the conversation is drawn: answer at
30
+ * once. Newer than some Ta apps, which show their own.
31
+ */
32
+ empty?(conversation: WebConversation): React.ReactNode | undefined;
33
+ /**
34
+ * What the user may start with in an empty conversation, beside Ta's own: a card each, under its face, for a new
35
+ * user to see what Ta does and have it done in one tap (docs/design/ta-onboarding.md). Answer at once; at most a
36
+ * few, the most telling first. Newer than some Ta apps, which show only theirs.
37
+ */
38
+ starters?(conversation: WebConversation): WebStarter[];
39
+ }
40
+ /** A card of an empty conversation (WebComposerAddon.starters): a picture, a few words, and what picking it does. */
41
+ export interface WebStarter {
42
+ key: string;
43
+ /** A `ui.Picture`. */
44
+ picture: React.ReactNode;
45
+ /** Two to six words: what the user gets. */
46
+ label: string;
47
+ /** Sent as the user's message when picked: one that works with nothing more said, in any directory. */
48
+ prompt?: string;
49
+ /** Done instead of sending a message (opening a page). */
50
+ run?(): void;
51
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=web-api-composer.js.map
@@ -1,30 +1,19 @@
1
1
  /** Part of the web extension API (web-extension-api.ts, which exports it all): what an extension registers, and what the page tells it of them. */
2
2
  import type { TaRoomInfo } from '@celljs/ta-protocol';
3
3
  import type * as React from 'react';
4
- import type { WebComposerAction } from './web-api-components.js';
5
4
  import type { WebIcon } from './web-extension-api.js';
6
5
  export type * from './web-api-call.js';
7
6
  export type * from './web-api-chats.js';
8
- /** A conversation as its message box knows it. */
9
- export interface WebConversation {
10
- sessionId: string;
11
- /** pi's file of it: what stays when it is closed and opened again; none for one not kept. */
12
- sessionFile?: string;
13
- cwd?: string;
14
- /** `double`: the double's own conversation; `chat`: any other, an agent's too (TaSessionInfo.group). */
15
- kind: 'double' | 'chat';
16
- /** The package that opened it for its work (TaOpenSessionOptions.group): `@celljs/ta-channels` for an agent. */
17
- group?: string;
18
- /** As the page names it: the name of the session, or of the double. */
19
- title?: string;
20
- }
7
+ export type * from './web-api-composer.js';
21
8
  /**
22
9
  * The groups of the settings, by what the user looks for (docs/design/ta-places.md): `general` (how Ta looks), `chats`
23
10
  * (the list, notices, who answers others, what is kept), `ta` (models, the double, coding agents), `initiative` (what
24
11
  * Ta does by itself), `voice` (speech, calls), `devices` (devices, other computers, the network), `privacy` (secrets,
25
- * who may come in), `extensions` (what was added to Ta). Older Ta apps leave out a section of a group they do not know.
12
+ * who may come in), `extensions` (what was added to Ta); `profile` is no part of the settings but the user's profile, its
13
+ * rows under the picture and the name: what others see of them. Older Ta apps list a section of a group they do not know
14
+ * among `extensions`.
26
15
  */
27
- export type WebSettingsGroup = 'general' | 'chats' | 'ta' | 'initiative' | 'voice' | 'devices' | 'privacy' | 'extensions';
16
+ export type WebSettingsGroup = 'general' | 'chats' | 'ta' | 'initiative' | 'voice' | 'devices' | 'privacy' | 'extensions' | 'profile';
28
17
  /** A section an extension adds to the settings (WebExtensionAPI.registerSettings). */
29
18
  export interface WebSettingsSection {
30
19
  title: WebLabel;
@@ -59,23 +48,6 @@ export interface WebSettingRow {
59
48
  render: React.ComponentType;
60
49
  stacked?: boolean;
61
50
  }
62
- /** What an extension adds to the message box of every conversation (WebExtensionAPI.registerComposerAddon). */
63
- export interface WebComposerAddon {
64
- /** Entries of the + menu, a section of their own; read each time the conversation is drawn, and when `subscribe` says. */
65
- actions?(conversation: WebConversation): WebComposerAction[];
66
- /** What `actions` gives changed (the data it reads came): the message boxes read them again. */
67
- subscribe?(listener: () => void): () => void;
68
- /** Above the box of each conversation: what is connected to it, a dialog its entries opened. Nothing to show: `null`. */
69
- above?: React.ComponentType<{
70
- conversation: WebConversation;
71
- }>;
72
- /**
73
- * What a conversation of the extension's own shows before anything is said in it, in place of Ta's (an assistant's
74
- * face, what it does, what to start with); undefined for the others. Asked as the conversation is drawn: answer at
75
- * once. Newer than some Ta apps, which show their own.
76
- */
77
- empty?(conversation: WebConversation): React.ReactNode | undefined;
78
- }
79
51
  /**
80
52
  * An app of the rooms of Ta (WebExtensionAPI.registerRoomAddon), which the Rooms page draws as its own: a tile among the
81
53
  * apps of a room (its settings, as a messenger lists the apps of a group), its page pushed there, in the same panel, and
@@ -19,6 +19,11 @@ export interface WebDeviceUI {
19
19
  * pages of its own (SANDBOX_GUARDS); once it stopped, none.
20
20
  */
21
21
  readonly apps?: WebApps;
22
+ /**
23
+ * A tap of the phone's haptic engine (the Ta app's, or a browser's that vibrates; nothing elsewhere): `light` as a
24
+ * finger lands on something, `medium` for what the user should feel, a pat say. Newer than some Ta apps.
25
+ */
26
+ haptic?(strength?: 'light' | 'medium'): void;
22
27
  }
23
28
  /**
24
29
  * A tab the browser view should open or close, as Ta Desktop tells it (`ui.onWebviewTab`): a page of a webview opened a
@@ -99,6 +99,7 @@ export const WEB_UI_SPEC = {
99
99
  setWidget: fire(A, [null, 'C', { fields: { title: 'L' } }]),
100
100
  notify: fire(A),
101
101
  notifySession: fire(A),
102
+ haptic: fire(B),
102
103
  usePages: peek(A),
103
104
  scanCode: call(A),
104
105
  scan: call(A),
@@ -37,6 +37,7 @@ import { useBackLayer } from '../device/back-stack.js';
37
37
  import { CodeScan } from '../device/code-scan.js';
38
38
  import { useDevice } from '../device/device.js';
39
39
  import { FileSave } from '../device/file-save.js';
40
+ import { HeldUtil } from '../device/hold.js';
40
41
  import { KeepAwake } from '../device/screen-awake.js';
41
42
  import { DraftPlaces } from '../drafts/drafts-protocol.js';
42
43
  import { Game3DView, GameView } from '../game/game-view.js';
@@ -280,6 +281,11 @@ export class WebExtensionContext {
280
281
  // Heard while the extension runs, as `hear` of the API.
281
282
  onWebviewTab: webviewTabs && (listener => WebExtensionRunUtil.track(run, () => webviewTabs(event => host.guard(run, () => listener(event))))),
282
283
  addToComposer: draft => !run.stopped && ComposerTarget.add(draft),
284
+ haptic: strength => {
285
+ if (!run.stopped) {
286
+ HeldUtil.tick(strength === 'medium' ? 'medium' : 'light');
287
+ }
288
+ },
283
289
  // An extension opens, closes and marks only tabs of its own.
284
290
  openEditor: (editor, options) => !run.stopped && host.tabs.open({ ...editor, extension: run.loaded.id, preview: (options === null || options === void 0 ? void 0 : options.preview) === true }, (options === null || options === void 0 ? void 0 : options.preserveFocus) === true),
285
291
  closeEditor: id => host.tabs.remove(editor => editor.id === id && editor.extension === run.loaded.id),
@@ -98,6 +98,7 @@ export declare const ACCOUNT_EN: {
98
98
  'ta.myDevices.signInWith': string;
99
99
  'ta.myDevices.enterCode': string;
100
100
  'ta.myDevices.openProvider': string;
101
+ 'ta.myDevices.codeCopied': string;
101
102
  'ta.myDevices.waitingTitle': string;
102
103
  'ta.myDevices.waitingHint': string;
103
104
  'ta.myDevices.askTitle': string;
@@ -99,7 +99,8 @@ export const ACCOUNT_EN = {
99
99
  'ta.myDevices.hint': 'Sign in to one account on your computers and phone: they show up on each other, no code to scan.',
100
100
  'ta.myDevices.signInWith': 'Sign in with {name}',
101
101
  'ta.myDevices.enterCode': 'Enter this code on {name}',
102
- 'ta.myDevices.openProvider': 'Open {name}',
102
+ 'ta.myDevices.openProvider': 'Copy code and open {name}',
103
+ 'ta.myDevices.codeCopied': 'Code copied: paste it on {name}',
103
104
  'ta.myDevices.waitingTitle': 'Waiting for your other device',
104
105
  'ta.myDevices.waitingHint': 'On a computer or phone signed in to this account, tap Allow. Check the code is the same.',
105
106
  'ta.myDevices.askTitle': '{name} wants to join your devices',
@@ -74,6 +74,7 @@ export declare const ASSISTANT_EN: {
74
74
  'ta.suggest.1.label': string;
75
75
  'ta.suggest.2.label': string;
76
76
  'ta.suggest.3.label': string;
77
+ 'ta.suggest.manual': string;
77
78
  'ta.task.running': string;
78
79
  'ta.task.done': string;
79
80
  'ta.task.failed': string;
@@ -74,6 +74,7 @@ export const ASSISTANT_EN = {
74
74
  'ta.suggest.1.label': 'Sum up the repository',
75
75
  'ta.suggest.2.label': 'Fix failing tests',
76
76
  'ta.suggest.3.label': 'Changes of the day',
77
+ 'ta.suggest.manual': 'What Ta can do',
77
78
  'ta.task.running': 'Running',
78
79
  'ta.task.done': 'Done',
79
80
  'ta.task.failed': 'Failed',
@@ -128,6 +128,7 @@ export declare const CHAT_EN: {
128
128
  'ta.chat.noneHint': string;
129
129
  'ta.chat.title': string;
130
130
  'ta.chat.hint': string;
131
+ 'ta.chat.hintHome': string;
131
132
  'ta.chat.suggest.1': string;
132
133
  'ta.chat.suggest.2': string;
133
134
  'ta.chat.suggest.3': string;
@@ -128,6 +128,7 @@ export const CHAT_EN = {
128
128
  'ta.chat.noneHint': 'Start one with +',
129
129
  'ta.chat.title': 'What can Ta do for you?',
130
130
  'ta.chat.hint': 'Code and commands in {cwd}, or something new for this page.',
131
+ 'ta.chat.hintHome': 'Write, look up, make a game or a page: say it in a sentence.',
131
132
  'ta.chat.suggest.1': 'Add a pomodoro timer beside the chat',
132
133
  'ta.chat.suggest.2': 'A to-do page that Ta can add to',
133
134
  'ta.chat.suggest.3': "A /standup command that sums up today's commits",
@@ -261,6 +261,8 @@ export declare const SERVICE_EN: {
261
261
  'ta.relay.offline': string;
262
262
  'ta.relay.unpair': string;
263
263
  'ta.relay.unpairConfirm': string;
264
+ 'ta.relay.accountOnScan': string;
265
+ 'ta.relay.accountOnScanHint': string;
264
266
  'ta.relay.keepAwake': string;
265
267
  'ta.relay.keepAwakeHint': string;
266
268
  };
@@ -263,6 +263,8 @@ export const SERVICE_EN = {
263
263
  'ta.relay.offline': 'Not connected · {relay}',
264
264
  'ta.relay.unpair': 'Unpair',
265
265
  'ta.relay.unpairConfirm': 'Unpair {name}? It can no longer reach this Ta.',
266
+ 'ta.relay.accountOnScan': 'Phones that scan sign in to my account',
267
+ 'ta.relay.accountOnScanHint': 'A phone that scans this code signs in as {name} by itself, with no sign-in of its own, and sees your other computers too.',
266
268
  'ta.relay.keepAwake': 'Keep this computer awake',
267
269
  'ta.relay.keepAwakeHint': 'Plugged in, the computer does not sleep, so your phone reaches it even overnight; on battery, only while a task runs or for 30 minutes after a device was connected. The display still turns off and locks; closing the lid still puts it to sleep.',
268
270
  };
@@ -153,6 +153,11 @@ export declare const SETTINGS_EN: {
153
153
  'ta.settings.chatArchiveHint': string;
154
154
  'ta.settings.recentShots': string;
155
155
  'ta.settings.recentShotsHint': string;
156
+ 'ta.settings.recentShotsPlace': string;
157
+ 'ta.settings.recentShotsPlaceAsk': string;
158
+ 'ta.settings.recentShotsPlaceDenied': string;
159
+ 'ta.settings.recentShotsAllow': string;
160
+ 'ta.settings.recentShotsOpenSettings': string;
156
161
  'ta.settings.clipboardLinks': string;
157
162
  'ta.settings.clipboardLinksHint': string;
158
163
  'ta.settings.navigation': string;
@@ -153,6 +153,11 @@ export const SETTINGS_EN = {
153
153
  'ta.settings.chatArchiveHint': 'Chats with no new message for this long leave the list and are no longer read with it. Find them under Archived at its end, or by search',
154
154
  'ta.settings.recentShots': 'Suggest recent screenshots',
155
155
  'ta.settings.recentShotsHint': 'When you open a chat just after taking a screenshot, it shows once above the message box; tap it to add it. In Ta Desktop and the Ta app',
156
+ 'ta.settings.recentShotsPlace': 'Read the folder of your screenshots',
157
+ 'ta.settings.recentShotsPlaceAsk': 'Screenshots are saved on the Desktop, which Ta reads only once you allow it. macOS asks once when you tap Allow',
158
+ 'ta.settings.recentShotsPlaceDenied': 'macOS did not let Ta read this folder. Turn Ta on in Files and Folders of System Settings',
159
+ 'ta.settings.recentShotsAllow': 'Allow',
160
+ 'ta.settings.recentShotsOpenSettings': 'Open System Settings',
156
161
  'ta.settings.clipboardLinks': 'Spot links of Ta you copy',
157
162
  'ta.settings.clipboardLinksHint': 'Copied a message with an invite or a share of Ta? Back in Ta, it shows what it is with Open; so does pasting it anywhere in Ta. The clipboard is read only as you come back, and nothing of it is kept. On iPhone, only once you tap Open',
158
163
  'ta.settings.navigation': 'Navigation',
@@ -96,7 +96,8 @@ export const ACCOUNT_JA = {
96
96
  'ta.myDevices.hint': 'パソコンとスマホで同じアカウントにログインすると、互いに自動で表示されます。コードの読み取りは不要です。',
97
97
  'ta.myDevices.signInWith': '{name} でログイン',
98
98
  'ta.myDevices.enterCode': '{name} でこのコードを入力',
99
- 'ta.myDevices.openProvider': '{name} を開く',
99
+ 'ta.myDevices.openProvider': 'コードをコピーして {name} を開く',
100
+ 'ta.myDevices.codeCopied': 'コードをコピーしました。{name} で貼り付けてください',
100
101
  'ta.myDevices.waitingTitle': 'ほかのデバイスの許可を待っています',
101
102
  'ta.myDevices.waitingHint': 'このアカウントでログイン済みのパソコンかスマホで「許可」をタップしてください。コードが同じか確認してください。',
102
103
  'ta.myDevices.askTitle': '{name} があなたのデバイスに参加しようとしています',
@@ -73,6 +73,7 @@ export const ASSISTANT_JA = {
73
73
  'ta.suggest.1.label': 'リポジトリをまとめる',
74
74
  'ta.suggest.2.label': '失敗したテストを修正',
75
75
  'ta.suggest.3.label': '最近 1 日の変更',
76
+ 'ta.suggest.manual': 'Ta にできること',
76
77
  'ta.task.running': '進行中',
77
78
  'ta.task.done': '完了',
78
79
  'ta.task.failed': '失敗',
@@ -127,6 +127,7 @@ export const CHAT_JA = {
127
127
  'ta.chat.noneHint': '+ で会話を始めます',
128
128
  'ta.chat.title': 'Ta には何をしてもらいたいですか?',
129
129
  'ta.chat.hint': '{cwd} でコード・コマンド、またはこのページの新機能。',
130
+ 'ta.chat.hintHome': '文書、調べもの、ゲームやページづくり:ひと言で頼めます。',
130
131
  'ta.chat.suggest.1': '会話の隣にポモドーロタイマーを追加',
131
132
  'ta.chat.suggest.2': 'Ta も追加できるやることリストページ',
132
133
  'ta.chat.suggest.3': '今日のコミットを要約する /standup コマンド',
@@ -260,6 +260,8 @@ export const SERVICE_JA = {
260
260
  'ta.relay.offline': '未接続 · {relay}',
261
261
  'ta.relay.unpair': 'ペアリング解除',
262
262
  'ta.relay.unpairConfirm': '{name} をペアリング解除しますか?このコンピュータの Ta に接続できなくなります。',
263
+ 'ta.relay.accountOnScan': 'スキャンしたスマホを自分のアカウントでログイン',
264
+ 'ta.relay.accountOnScanHint': 'このコードをスキャンしたスマホは自動で {name} としてログインし、もう一度ログインする必要はありません。ほかのコンピュータも表示されます。',
263
265
  'ta.relay.keepAwake': 'このコンピュータを起動状態に保つ',
264
266
  'ta.relay.keepAwakeHint': '電源に接続中はスリープせず、夜でもスマホから接続できます。バッテリー駆動中は、タスクの実行中またはデバイスが接続された後 30 分間だけスリープしません。ディスプレイは通常通り消灯・ロックし、ふたを閉じるとスリープに入ります。',
265
267
  };
@@ -152,6 +152,11 @@ export const SETTINGS_JA = {
152
152
  'ta.settings.chatArchiveHint': 'この期間新しいメッセージがない会話はリストから外され、リストとともに更新されなくなります。リストの末尾の「アーカイブ済み」または検索で見つけることができます',
153
153
  'ta.settings.recentShots': '最近のスクリーンショットを提案',
154
154
  'ta.settings.recentShotsHint': 'スクリーンショット直後に会話を開くと、メッセージボックスの上に一度表示されます。クリックして追加できます。Ta デスクトップ版と手機版 App のみ',
155
+ 'ta.settings.recentShotsPlace': 'スクリーンショットのフォルダを読む',
156
+ 'ta.settings.recentShotsPlaceAsk': 'スクリーンショットはデスクトップに保存され、許可するまで Ta は読みません。「許可」を押すと macOS が一度だけ確認します',
157
+ 'ta.settings.recentShotsPlaceDenied': 'macOS が Ta にこのフォルダの読み取りを許可していません。システム設定の「ファイルとフォルダ」で Ta をオンにしてください',
158
+ 'ta.settings.recentShotsAllow': '許可',
159
+ 'ta.settings.recentShotsOpenSettings': 'システム設定を開く',
155
160
  'ta.settings.clipboardLinks': 'コピーした Ta のリンクを見つける',
156
161
  'ta.settings.clipboardLinksHint': 'Ta の招待や共有のリンクを含む内容をコピーすると、Ta に戻ったときに何かを示し、「開く」で開けます。Ta のどこに貼り付けても同じです。クリップボードは戻った瞬間に一度だけ読み、内容は保存しません。iPhone では「開く」をタップしたときだけ読みます',
157
162
  'ta.settings.navigation': 'ナビゲーション',