@celljs/ta-web 4.15.0 → 4.15.2
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/components/access-view.d.ts +6 -0
- package/esm/browser/components/access-view.js +4 -4
- package/esm/browser/components/account-menu.js +8 -1
- package/esm/browser/components/app-view.js +8 -1
- package/esm/browser/components/environment-view.js +9 -2
- package/esm/browser/components/face.js +7 -2
- package/esm/browser/components/gallery.d.ts +9 -0
- package/esm/browser/components/gallery.js +57 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/lightbox.d.ts +8 -1
- package/esm/browser/components/lightbox.js +4 -1
- package/esm/browser/components/markdown.js +6 -1
- package/esm/browser/components/media.d.ts +12 -2
- package/esm/browser/components/media.js +55 -13
- package/esm/browser/components/message-list.js +3 -2
- package/esm/browser/components/notice-center.js +6 -2
- package/esm/browser/components/serve-restart.d.ts +26 -0
- package/esm/browser/components/serve-restart.js +91 -0
- package/esm/browser/components/session-view.js +19 -11
- package/esm/browser/components/settings-parts.js +18 -6
- package/esm/browser/extension/icons.js +3 -1
- package/esm/browser/extension/web-extension-protocol.d.ts +6 -0
- package/esm/browser/extension/web-extensions.d.ts +3 -0
- package/esm/browser/extension/web-extensions.js +7 -0
- package/esm/browser/gateway/console-extension.d.ts +20 -0
- package/esm/browser/gateway/console-extension.js +75 -0
- package/esm/browser/gateway/console-parts.d.ts +62 -0
- package/esm/browser/gateway/console-parts.js +271 -0
- package/esm/browser/gateway/console-tenant.d.ts +22 -0
- package/esm/browser/gateway/console-tenant.js +286 -0
- package/esm/browser/gateway/console-util.d.ts +59 -0
- package/esm/browser/gateway/console-util.js +187 -0
- package/esm/browser/gateway/console-view.d.ts +2 -0
- package/esm/browser/gateway/console-view.js +218 -0
- package/esm/browser/i18n/locales.d.ts +186 -3
- package/esm/browser/i18n/messages-ja.js +183 -0
- package/esm/browser/i18n/messages-zh-tw.js +183 -0
- package/esm/browser/i18n/messages.d.ts +183 -0
- package/esm/browser/i18n/messages.js +366 -0
- package/esm/browser/index.d.ts +3 -0
- package/esm/browser/index.js +3 -0
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +18 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +2 -0
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +140 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +2 -0
- package/esm/browser/style/surfaces.d.ts +1 -1
- package/esm/browser/style/surfaces.js +1 -0
- package/esm/browser/util/desktop.d.ts +6 -1
- package/esm/browser/util/desktop.js +10 -0
- package/esm/browser/util/gallery.d.ts +18 -0
- package/esm/browser/util/gallery.js +123 -0
- package/esm/browser/util/link.d.ts +8 -0
- package/esm/browser/util/link.js +14 -0
- package/esm/browser/util/markdown.d.ts +11 -0
- package/esm/browser/util/markdown.js +4 -0
- package/esm/browser/util/thumbnail.d.ts +18 -0
- package/esm/browser/util/thumbnail.js +26 -0
- package/esm/browser/workbench-protocol.d.ts +8 -0
- package/esm/browser/workbench.d.ts +16 -0
- package/esm/browser/workbench.js +67 -0
- package/lib/browser/components/access-view.d.ts +6 -0
- package/lib/browser/components/access-view.js +5 -4
- package/lib/browser/components/account-menu.js +7 -0
- package/lib/browser/components/app-view.js +8 -1
- package/lib/browser/components/environment-view.js +9 -2
- package/lib/browser/components/face.js +7 -2
- package/lib/browser/components/gallery.d.ts +10 -0
- package/lib/browser/components/gallery.js +93 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/lightbox.d.ts +8 -1
- package/lib/browser/components/lightbox.js +4 -1
- package/lib/browser/components/markdown.js +6 -1
- package/lib/browser/components/media.d.ts +12 -2
- package/lib/browser/components/media.js +57 -13
- package/lib/browser/components/message-list.js +3 -2
- package/lib/browser/components/notice-center.js +6 -2
- package/lib/browser/components/serve-restart.d.ts +27 -0
- package/lib/browser/components/serve-restart.js +129 -0
- package/lib/browser/components/session-view.js +21 -13
- package/lib/browser/components/settings-parts.js +17 -5
- package/lib/browser/extension/icons.js +2 -0
- package/lib/browser/extension/web-extension-protocol.d.ts +6 -0
- package/lib/browser/extension/web-extensions.d.ts +3 -0
- package/lib/browser/extension/web-extensions.js +7 -0
- package/lib/browser/gateway/console-extension.d.ts +21 -0
- package/lib/browser/gateway/console-extension.js +111 -0
- package/lib/browser/gateway/console-parts.d.ts +63 -0
- package/lib/browser/gateway/console-parts.js +315 -0
- package/lib/browser/gateway/console-tenant.d.ts +23 -0
- package/lib/browser/gateway/console-tenant.js +327 -0
- package/lib/browser/gateway/console-util.d.ts +60 -0
- package/lib/browser/gateway/console-util.js +190 -0
- package/lib/browser/gateway/console-view.d.ts +3 -0
- package/lib/browser/gateway/console-view.js +254 -0
- package/lib/browser/i18n/locales.d.ts +186 -3
- package/lib/browser/i18n/messages-ja.js +183 -0
- package/lib/browser/i18n/messages-zh-tw.js +183 -0
- package/lib/browser/i18n/messages.d.ts +183 -0
- package/lib/browser/i18n/messages.js +366 -0
- package/lib/browser/index.d.ts +3 -0
- package/lib/browser/index.js +3 -0
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +18 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +2 -0
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +140 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +2 -0
- package/lib/browser/style/surfaces.d.ts +1 -1
- package/lib/browser/style/surfaces.js +1 -0
- package/lib/browser/util/desktop.d.ts +6 -1
- package/lib/browser/util/desktop.js +10 -0
- package/lib/browser/util/gallery.d.ts +19 -0
- package/lib/browser/util/gallery.js +126 -0
- package/lib/browser/util/link.d.ts +8 -0
- package/lib/browser/util/link.js +14 -0
- package/lib/browser/util/markdown.d.ts +11 -0
- package/lib/browser/util/markdown.js +4 -0
- package/lib/browser/util/thumbnail.d.ts +19 -0
- package/lib/browser/util/thumbnail.js +29 -0
- package/lib/browser/workbench-protocol.d.ts +8 -0
- package/lib/browser/workbench.d.ts +16 -0
- package/lib/browser/workbench.js +67 -0
- package/package.json +7 -7
|
@@ -77,6 +77,17 @@ export const EN_MESSAGES = {
|
|
|
77
77
|
'ta.connection.awayBrief': "Can't reach Ta on your computer",
|
|
78
78
|
'ta.connection.unreachableBrief': 'The Ta service is not running',
|
|
79
79
|
'ta.connection.notDone': 'Not done: the connection dropped for a moment. Try again',
|
|
80
|
+
'ta.restart': 'Restart Ta',
|
|
81
|
+
'ta.restart.button': 'Restart',
|
|
82
|
+
'ta.restart.description': 'Makes what was installed or updated take effect',
|
|
83
|
+
'ta.restart.confirm': 'Restart Ta?',
|
|
84
|
+
'ta.restart.detail': 'Running tasks pause, and carry on by themselves once Ta is back.',
|
|
85
|
+
'ta.restart.restarting': 'Restarting Ta…',
|
|
86
|
+
'ta.restart.done': 'Ta restarted · {version}',
|
|
87
|
+
'ta.update.ready': 'Ta was updated to {version}',
|
|
88
|
+
'ta.update.readyDetail': 'Restart Ta to use it. Running tasks carry on after it.',
|
|
89
|
+
'ta.update.later': 'Later',
|
|
90
|
+
'ta.update.restartTo': 'Restart to use {version}',
|
|
80
91
|
'ta.error.sessionNotFound': 'This conversation is no longer open; open it again from the list',
|
|
81
92
|
'ta.error.sessionLocked': 'This conversation is open in another Ta; close it there first',
|
|
82
93
|
'ta.error.tooManySessions': 'Too many conversations are open; close one and try again',
|
|
@@ -93,6 +104,7 @@ export const EN_MESSAGES = {
|
|
|
93
104
|
'ta.error.forbiddenNever': 'This is kept out of reach of everyone let in',
|
|
94
105
|
'ta.notices': 'Notifications',
|
|
95
106
|
'ta.notice.picture': 'Picture of the extension, such as a QR code to scan',
|
|
107
|
+
'ta.notice.openLink': 'Open',
|
|
96
108
|
'ta.packages.removeDetail': 'Its pages, cards and commands go with it.',
|
|
97
109
|
'ta.packages.removed': 'Removed {name}',
|
|
98
110
|
'ta.packages.reloaded': 'Extensions loaded again',
|
|
@@ -143,6 +155,177 @@ export const EN_MESSAGES = {
|
|
|
143
155
|
'ta.environment.stopConfirm': 'Stop the environment of {account}?',
|
|
144
156
|
'ta.environment.stopDetail': 'It starts again when they connect; what runs in it stops now.',
|
|
145
157
|
// Who may sign in with an account (Settings, Access)
|
|
158
|
+
'ta.console.title': 'Console',
|
|
159
|
+
'ta.console.hint': "Everyone's Ta on this gateway, for its administrators",
|
|
160
|
+
'ta.console.refresh': 'Refresh',
|
|
161
|
+
'ta.console.accounts': 'Accounts',
|
|
162
|
+
'ta.console.running': 'Running',
|
|
163
|
+
'ta.console.connectionsLabel': 'Connections',
|
|
164
|
+
'ta.console.requests': 'To let in',
|
|
165
|
+
'ta.console.invite': 'Invite someone',
|
|
166
|
+
'ta.console.inviteTitle': 'Their account',
|
|
167
|
+
'ta.console.invitePlaceholder': 'github:octocat or user:alice',
|
|
168
|
+
'ta.console.inviteLink': 'A link for {account}',
|
|
169
|
+
'ta.console.inviteHint': 'It signs in once, within a day. Send it to them alone.',
|
|
170
|
+
'ta.console.copy': 'Copy link',
|
|
171
|
+
'ta.console.copied': 'Link copied',
|
|
172
|
+
'ta.console.sandboxes': 'Sandboxes',
|
|
173
|
+
'ta.console.default': 'Default',
|
|
174
|
+
'ta.console.providerTenants': '{type} · {count, plural, one {# account} other {# accounts}}',
|
|
175
|
+
'ta.console.ownAllowed': 'People may use a Ta service of their own',
|
|
176
|
+
'ta.console.ownNot': 'Only the sandboxes of this gateway',
|
|
177
|
+
'ta.console.idle': 'A sandbox stops {minutes} minutes after the last one leaves',
|
|
178
|
+
'ta.console.idleNever': 'Sandboxes keep running with nobody connected',
|
|
179
|
+
'ta.console.search': 'Search accounts',
|
|
180
|
+
'ta.console.empty': 'Nobody has signed in yet',
|
|
181
|
+
'ta.console.emptyHint': 'Invite someone: their Ta gets a sandbox of its own.',
|
|
182
|
+
'ta.console.noMatch': 'No account matches',
|
|
183
|
+
'ta.console.cpu': 'CPU',
|
|
184
|
+
'ta.console.memory': 'Memory',
|
|
185
|
+
'ta.console.start': 'Start',
|
|
186
|
+
'ta.console.restartConfirm': 'Restart the Ta of {account}?',
|
|
187
|
+
'ta.console.restartDetail': 'What runs in it stops and their pages connect again; conversations and files stay.',
|
|
188
|
+
'ta.console.environment': 'Runs in',
|
|
189
|
+
'ta.console.created': 'Joined',
|
|
190
|
+
'ta.console.active': 'Last active',
|
|
191
|
+
'ta.console.tenantId': 'Tenant',
|
|
192
|
+
'ta.console.logs': 'Log',
|
|
193
|
+
'ta.console.logsEmpty': 'Nothing written yet',
|
|
194
|
+
'ta.console.logsNone': 'Its sandboxes keep no log for the gateway',
|
|
195
|
+
'ta.console.failed': 'The console did not load',
|
|
196
|
+
'ta.console.never': 'Never',
|
|
197
|
+
'ta.console.since': 'Gateway up since {time}',
|
|
198
|
+
'ta.console.activityNone': 'Nothing done yet',
|
|
199
|
+
'ta.console.activityRunning': 'Running',
|
|
200
|
+
'ta.console.activitySummary': 'Last {count, plural, one {# call} other {# calls}}, {failed} failed',
|
|
201
|
+
'ta.console.allProviders': 'All sandboxes',
|
|
202
|
+
'ta.console.audit': 'Audit log',
|
|
203
|
+
'ta.console.auditNone': 'No administrator has done anything yet',
|
|
204
|
+
'ta.console.bonus': '+{minutes} min given',
|
|
205
|
+
'ta.console.byAccount': 'By account',
|
|
206
|
+
'ta.console.byModel': 'By model',
|
|
207
|
+
'ta.console.cannotManage': 'Admins manage members only: ask an owner to change this account',
|
|
208
|
+
'ta.console.connectionsLimit': '{count} pages at once',
|
|
209
|
+
'ta.console.connectionsMax': 'Pages at once',
|
|
210
|
+
'ta.console.connectionsMaxHint': 'Browsers and apps connected together',
|
|
211
|
+
'ta.console.defaults': 'Default limits',
|
|
212
|
+
'ta.console.defaultsHint': 'For every member without limits of their own. Owners have none.',
|
|
213
|
+
'ta.console.defaultsReadOnly': 'Only owners change the defaults.',
|
|
214
|
+
'ta.console.freeMinutes': 'Free minutes a month',
|
|
215
|
+
'ta.console.freeMinutesHint': 'Counted while their sandbox runs; it stops when they are used',
|
|
216
|
+
'ta.console.grant': 'Give minutes',
|
|
217
|
+
'ta.console.grantTitle': 'Minutes to give {account} this month (negative takes back)',
|
|
218
|
+
'ta.console.granted': '{minutes} minutes given',
|
|
219
|
+
'ta.console.limitDefault': 'Default ({value})',
|
|
220
|
+
'ta.console.limitSet': 'Set',
|
|
221
|
+
'ta.console.limitedCount': '{count, plural, one {# account is} other {# accounts are}} suspended or out of free minutes',
|
|
222
|
+
'ta.console.logsAudited': 'Viewing is recorded in the audit log',
|
|
223
|
+
'ta.console.logsShow': 'Show log',
|
|
224
|
+
'ta.console.managers': 'Managers',
|
|
225
|
+
'ta.console.managersHint': 'Owners are set where the gateway runs (TA_GATEWAY_ADMINS); owners make admins from an account’s page.',
|
|
226
|
+
'ta.console.metric': 'Show',
|
|
227
|
+
'ta.console.modelFailed': '{model} failed',
|
|
228
|
+
'ta.console.monthTokens': 'Tokens this month',
|
|
229
|
+
'ta.console.no': 'No',
|
|
230
|
+
'ta.console.ownService': 'Their own Ta service',
|
|
231
|
+
'ta.console.ownServiceHint': 'Run their Ta elsewhere, outside the sandboxes',
|
|
232
|
+
'ta.console.peak': 'Peak {value}',
|
|
233
|
+
'ta.console.promptsLimit': '{count} messages a minute',
|
|
234
|
+
'ta.console.promptsPerMinute': 'Messages a minute',
|
|
235
|
+
'ta.console.promptsPerMinuteHint': 'Messages sent to their agents',
|
|
236
|
+
'ta.console.providersAllowed': 'Sandboxes allowed',
|
|
237
|
+
'ta.console.providersAllowedHint': 'Which providers they may pick',
|
|
238
|
+
'ta.console.quota': 'Limits this month',
|
|
239
|
+
'ta.console.range': 'Range',
|
|
240
|
+
'ta.console.range1': '24 h',
|
|
241
|
+
'ta.console.range7': '7 days',
|
|
242
|
+
'ta.console.range30': '30 days',
|
|
243
|
+
'ta.console.reset': 'Undo',
|
|
244
|
+
'ta.console.resets': 'resets {date}',
|
|
245
|
+
'ta.console.resumed': '{account} can use their Ta again',
|
|
246
|
+
'ta.console.sandboxNow': 'Sandbox now',
|
|
247
|
+
'ta.console.save': 'Save',
|
|
248
|
+
'ta.console.saved': 'Saved',
|
|
249
|
+
'ta.console.someProviders': 'Only these',
|
|
250
|
+
'ta.console.sort': 'Sort',
|
|
251
|
+
'ta.console.sortActive': 'Recently active',
|
|
252
|
+
'ta.console.sortMinutes': 'Most minutes',
|
|
253
|
+
'ta.console.sortName': 'Name',
|
|
254
|
+
'ta.console.stale': '{count, plural, one {# sandbox is} other {# sandboxes are}} stopped: their numbers are those read last',
|
|
255
|
+
'ta.console.suspend': 'Suspend',
|
|
256
|
+
'ta.console.suspendConfirm': 'Suspend {account}?',
|
|
257
|
+
'ta.console.suspendDetail': 'Their Ta stops now and does not start until you resume it; their files stay.',
|
|
258
|
+
'ta.console.resume': 'Resume',
|
|
259
|
+
'ta.console.suspended': 'Suspended',
|
|
260
|
+
'ta.console.outOfMinutes': 'Out of minutes',
|
|
261
|
+
'ta.console.blockedSuspended': 'Suspended by an administrator: their Ta does not start until resumed.',
|
|
262
|
+
'ta.console.blockedMinutes': 'Their free minutes of this month are used: give minutes or raise their limit.',
|
|
263
|
+
'ta.console.isAdmin': 'An admin of the gateway',
|
|
264
|
+
'ta.console.isMember': 'A member',
|
|
265
|
+
'ta.console.promote': 'Make admin',
|
|
266
|
+
'ta.console.demote': 'Remove admin',
|
|
267
|
+
'ta.console.promoteConfirm': 'Make {account} an admin?',
|
|
268
|
+
'ta.console.promoteDetail': 'They see everyone in the console, and manage members: their limits, sandboxes and logs.',
|
|
269
|
+
'ta.console.demoteConfirm': 'Remove {account} as admin?',
|
|
270
|
+
'ta.console.demoteDetail': 'They keep their own Ta, and no longer see the console.',
|
|
271
|
+
'ta.console.limitsEdit': 'Edit limits',
|
|
272
|
+
'ta.console.limitsDone': 'Done',
|
|
273
|
+
'ta.console.toolCallsLabel': 'Tool calls',
|
|
274
|
+
'ta.console.trend': 'Usage',
|
|
275
|
+
'ta.console.trendEmpty': 'No agent answered in this range',
|
|
276
|
+
'ta.console.turns': '{count, plural, one {# answer} other {# answers}}',
|
|
277
|
+
'ta.console.unlimited': 'No limit',
|
|
278
|
+
'ta.console.updated': 'updated {time}',
|
|
279
|
+
'ta.console.view': 'View',
|
|
280
|
+
'ta.console.yes': 'Yes',
|
|
281
|
+
'ta.console.auditActivity': 'looked at what an agent did of',
|
|
282
|
+
'ta.console.auditAllow': 'let in',
|
|
283
|
+
'ta.console.auditDefaults': 'changed the default limits',
|
|
284
|
+
'ta.console.auditDisallow': 'removed',
|
|
285
|
+
'ta.console.auditDismiss': 'dismissed the request of',
|
|
286
|
+
'ta.console.auditGrant': 'gave minutes to',
|
|
287
|
+
'ta.console.auditInvite': 'invited',
|
|
288
|
+
'ta.console.auditLimits': 'changed the limits of',
|
|
289
|
+
'ta.console.auditLogs': 'read the log of',
|
|
290
|
+
'ta.console.auditRestart': 'restarted',
|
|
291
|
+
'ta.console.auditRole': 'changed the role of',
|
|
292
|
+
'ta.console.auditStart': 'started',
|
|
293
|
+
'ta.console.auditStop': 'stopped',
|
|
294
|
+
'ta.console.auditSuspend': 'suspended or resumed',
|
|
295
|
+
'ta.console.filterAdmins': 'Managers',
|
|
296
|
+
'ta.console.filterAll': 'All',
|
|
297
|
+
'ta.console.filterLimited': 'Near or over limit',
|
|
298
|
+
'ta.console.filterRunning': 'Running',
|
|
299
|
+
'ta.console.filterWorking': 'Working',
|
|
300
|
+
'ta.console.roleAdmin': 'Admin',
|
|
301
|
+
'ta.console.roleMember': 'Member',
|
|
302
|
+
'ta.console.roleOwner': 'Owner',
|
|
303
|
+
'ta.console.tabAccounts': 'Accounts',
|
|
304
|
+
'ta.console.tabOverview': 'Overview',
|
|
305
|
+
'ta.console.tabPolicy': 'Policy',
|
|
306
|
+
'ta.environment.quotaHint': 'What you used of your free minutes this month',
|
|
307
|
+
'ta.environment.blockedTitle': 'Your Ta is paused',
|
|
308
|
+
'ta.environment.blockedSuspended': 'An administrator of the gateway suspended your account. Ask them to resume it.',
|
|
309
|
+
'ta.environment.blockedMinutes': 'Your free minutes of this month are used up. They come back on {date}, or ask an administrator for more.',
|
|
310
|
+
'ta.console.agents': 'Agents',
|
|
311
|
+
'ta.console.agentsWorking': 'Working',
|
|
312
|
+
'ta.console.agentWorking': 'Working',
|
|
313
|
+
'ta.console.agentWaiting': 'Waiting for them',
|
|
314
|
+
'ta.console.agentAsking': 'Asked them to decide',
|
|
315
|
+
'ta.console.agentIdle': 'Idle',
|
|
316
|
+
'ta.console.rowWorking': '{count, plural, one {# agent working} other {# agents working}}',
|
|
317
|
+
'ta.console.rowWaiting': '{count} waiting',
|
|
318
|
+
'ta.console.messages': '{count, plural, one {# message} other {# messages}}',
|
|
319
|
+
'ta.console.toolCalls': '{count, plural, one {# tool call} other {# tool calls}}',
|
|
320
|
+
'ta.console.context': 'Context window used',
|
|
321
|
+
'ta.console.sessions': 'Conversations',
|
|
322
|
+
'ta.console.tokens': 'Tokens',
|
|
323
|
+
'ta.console.cost': 'Cost',
|
|
324
|
+
'ta.console.agentsNone': 'No conversation is open',
|
|
325
|
+
'ta.console.agentsStopped': 'Its sandbox does not run: start it to see its agents',
|
|
326
|
+
'ta.console.agentsOwn': 'Their own Ta service is theirs: the gateway does not watch it',
|
|
327
|
+
'ta.console.agentsPrivacy': 'What was said is not shown: only names they gave, models and what each took',
|
|
328
|
+
'ta.console.about': 'About',
|
|
146
329
|
'ta.access.title': 'Access',
|
|
147
330
|
'ta.access.bind': 'Sign in with your account',
|
|
148
331
|
'ta.access.bindHint': 'Lets in the account you sign in with, so that it signs you in next time, on any device.',
|
|
@@ -1054,6 +1237,17 @@ export const ZH_MESSAGES = {
|
|
|
1054
1237
|
'ta.connection.awayBrief': '连不上电脑上的 Ta',
|
|
1055
1238
|
'ta.connection.unreachableBrief': 'Ta 服务没有在运行',
|
|
1056
1239
|
'ta.connection.notDone': '没有完成:连接断了一下,再试一次',
|
|
1240
|
+
'ta.restart': '重启 Ta',
|
|
1241
|
+
'ta.restart.button': '重启',
|
|
1242
|
+
'ta.restart.description': '让安装或更新的内容生效',
|
|
1243
|
+
'ta.restart.confirm': '重启 Ta?',
|
|
1244
|
+
'ta.restart.detail': '进行中的任务会先暂停,Ta 回来后自动接着做。',
|
|
1245
|
+
'ta.restart.restarting': '正在重启 Ta…',
|
|
1246
|
+
'ta.restart.done': 'Ta 已重启 · {version}',
|
|
1247
|
+
'ta.update.ready': 'Ta 已更新到 {version}',
|
|
1248
|
+
'ta.update.readyDetail': '重启 Ta 后生效,进行中的任务会在重启后接着做。',
|
|
1249
|
+
'ta.update.later': '稍后',
|
|
1250
|
+
'ta.update.restartTo': '重启以使用 {version}',
|
|
1057
1251
|
'ta.error.sessionNotFound': '这个对话已关闭,请从列表里重新打开',
|
|
1058
1252
|
'ta.error.sessionLocked': '这个对话在另一个 Ta 里打开着,请先在那里关闭',
|
|
1059
1253
|
'ta.error.tooManySessions': '打开的对话太多了,请关掉一个再试',
|
|
@@ -1070,6 +1264,7 @@ export const ZH_MESSAGES = {
|
|
|
1070
1264
|
'ta.error.forbiddenNever': '这里对所有协作者都不开放',
|
|
1071
1265
|
'ta.notices': '通知',
|
|
1072
1266
|
'ta.notice.picture': '扩展给出的图像,如要扫描的二维码',
|
|
1267
|
+
'ta.notice.openLink': '打开',
|
|
1073
1268
|
'ta.packages.removeDetail': '它的页面、卡片和命令也会一起移除。',
|
|
1074
1269
|
'ta.packages.removed': '已移除 {name}',
|
|
1075
1270
|
'ta.packages.reloaded': '已重新加载扩展',
|
|
@@ -1118,6 +1313,177 @@ export const ZH_MESSAGES = {
|
|
|
1118
1313
|
'ta.environment.stop': '停止',
|
|
1119
1314
|
'ta.environment.stopConfirm': '停止 {account} 的运行环境?',
|
|
1120
1315
|
'ta.environment.stopDetail': '对方再连接时会重新启动;正在运行的会马上停下。',
|
|
1316
|
+
'ta.console.title': '控制台',
|
|
1317
|
+
'ta.console.hint': '网关管理员查看和管理每个人的 Ta',
|
|
1318
|
+
'ta.console.refresh': '刷新',
|
|
1319
|
+
'ta.console.accounts': '账号',
|
|
1320
|
+
'ta.console.running': '运行中',
|
|
1321
|
+
'ta.console.connectionsLabel': '在线连接',
|
|
1322
|
+
'ta.console.requests': '待批准',
|
|
1323
|
+
'ta.console.invite': '邀请一个人',
|
|
1324
|
+
'ta.console.inviteTitle': '对方的账号',
|
|
1325
|
+
'ta.console.invitePlaceholder': 'github:octocat 或 user:alice',
|
|
1326
|
+
'ta.console.inviteLink': '给 {account} 的登录链接',
|
|
1327
|
+
'ta.console.inviteHint': '一天内有效,只能用一次。只发给本人。',
|
|
1328
|
+
'ta.console.copy': '复制链接',
|
|
1329
|
+
'ta.console.copied': '链接已复制',
|
|
1330
|
+
'ta.console.sandboxes': '沙箱',
|
|
1331
|
+
'ta.console.default': '默认',
|
|
1332
|
+
'ta.console.providerTenants': '{type} · {count} 个账号',
|
|
1333
|
+
'ta.console.ownAllowed': '允许使用自己的 Ta 服务',
|
|
1334
|
+
'ta.console.ownNot': '只能用网关的沙箱',
|
|
1335
|
+
'ta.console.idle': '最后一个人离开 {minutes} 分钟后停止沙箱',
|
|
1336
|
+
'ta.console.idleNever': '无人连接时沙箱也保持运行',
|
|
1337
|
+
'ta.console.search': '搜索账号',
|
|
1338
|
+
'ta.console.empty': '还没有人登录',
|
|
1339
|
+
'ta.console.emptyHint': '邀请一个人,Ta 会为他单独准备一个沙箱。',
|
|
1340
|
+
'ta.console.noMatch': '没有匹配的账号',
|
|
1341
|
+
'ta.console.cpu': 'CPU',
|
|
1342
|
+
'ta.console.memory': '内存',
|
|
1343
|
+
'ta.console.start': '启动',
|
|
1344
|
+
'ta.console.restartConfirm': '重启 {account} 的 Ta?',
|
|
1345
|
+
'ta.console.restartDetail': '正在运行的会停下,对方的页面会重新连接;对话和文件都保留。',
|
|
1346
|
+
'ta.console.environment': '运行在',
|
|
1347
|
+
'ta.console.created': '加入于',
|
|
1348
|
+
'ta.console.active': '最近活跃',
|
|
1349
|
+
'ta.console.tenantId': '租户 ID',
|
|
1350
|
+
'ta.console.logs': '日志',
|
|
1351
|
+
'ta.console.logsEmpty': '还没有输出',
|
|
1352
|
+
'ta.console.logsNone': '这类沙箱不向网关提供日志',
|
|
1353
|
+
'ta.console.failed': '控制台没有加载出来',
|
|
1354
|
+
'ta.console.never': '从未',
|
|
1355
|
+
'ta.console.since': '网关启动于 {time}',
|
|
1356
|
+
'ta.console.activityNone': '还没有工具调用',
|
|
1357
|
+
'ta.console.activityRunning': '进行中',
|
|
1358
|
+
'ta.console.activitySummary': '最近 {count} 次调用,{failed} 次失败',
|
|
1359
|
+
'ta.console.allProviders': '全部沙箱',
|
|
1360
|
+
'ta.console.audit': '操作记录',
|
|
1361
|
+
'ta.console.auditNone': '管理员还没有任何操作',
|
|
1362
|
+
'ta.console.bonus': '已赠送 {minutes} 分钟',
|
|
1363
|
+
'ta.console.byAccount': '按账号',
|
|
1364
|
+
'ta.console.byModel': '按模型',
|
|
1365
|
+
'ta.console.cannotManage': '管理员只能管理普通成员,改这个账号请找所有者',
|
|
1366
|
+
'ta.console.connectionsLimit': '同时 {count} 个页面',
|
|
1367
|
+
'ta.console.connectionsMax': '同时连接数',
|
|
1368
|
+
'ta.console.connectionsMaxHint': '同时打开的浏览器和 App',
|
|
1369
|
+
'ta.console.defaults': '默认限额',
|
|
1370
|
+
'ta.console.defaultsHint': '适用于没有单独设置的成员;所有者不受限制。',
|
|
1371
|
+
'ta.console.defaultsReadOnly': '只有所有者能修改默认限额。',
|
|
1372
|
+
'ta.console.freeMinutes': '每月免费时长',
|
|
1373
|
+
'ta.console.freeMinutesHint': '沙箱运行时计时,用完后自动停止',
|
|
1374
|
+
'ta.console.grant': '赠送时长',
|
|
1375
|
+
'ta.console.grantTitle': '本月给 {account} 加多少分钟(负数为扣回)',
|
|
1376
|
+
'ta.console.granted': '已调整 {minutes} 分钟',
|
|
1377
|
+
'ta.console.limitDefault': '默认({value})',
|
|
1378
|
+
'ta.console.limitSet': '自定',
|
|
1379
|
+
'ta.console.limitedCount': '{count} 个账号已停用或免费时长用完',
|
|
1380
|
+
'ta.console.logsAudited': '查看会记入操作记录',
|
|
1381
|
+
'ta.console.logsShow': '查看日志',
|
|
1382
|
+
'ta.console.managers': '管理人员',
|
|
1383
|
+
'ta.console.managersHint': '所有者在网关运行处配置(TA_GATEWAY_ADMINS);所有者可在账号详情里设管理员。',
|
|
1384
|
+
'ta.console.metric': '指标',
|
|
1385
|
+
'ta.console.modelFailed': '{model} 调用失败',
|
|
1386
|
+
'ta.console.monthTokens': '本月 tokens',
|
|
1387
|
+
'ta.console.no': '否',
|
|
1388
|
+
'ta.console.ownService': '允许自己的 Ta 服务',
|
|
1389
|
+
'ta.console.ownServiceHint': '把 Ta 接到网关沙箱之外的地方运行',
|
|
1390
|
+
'ta.console.peak': '峰值 {value}',
|
|
1391
|
+
'ta.console.promptsLimit': '每分钟 {count} 条消息',
|
|
1392
|
+
'ta.console.promptsPerMinute': '每分钟消息数',
|
|
1393
|
+
'ta.console.promptsPerMinuteHint': '发给智能体的消息',
|
|
1394
|
+
'ta.console.providersAllowed': '可用沙箱',
|
|
1395
|
+
'ta.console.providersAllowedHint': '可以选择哪些沙箱提供方',
|
|
1396
|
+
'ta.console.quota': '本月额度',
|
|
1397
|
+
'ta.console.range': '时间范围',
|
|
1398
|
+
'ta.console.range1': '24 小时',
|
|
1399
|
+
'ta.console.range7': '7 天',
|
|
1400
|
+
'ta.console.range30': '30 天',
|
|
1401
|
+
'ta.console.reset': '撤销修改',
|
|
1402
|
+
'ta.console.resets': '{date} 重置',
|
|
1403
|
+
'ta.console.resumed': '{account} 已恢复使用',
|
|
1404
|
+
'ta.console.sandboxNow': '沙箱当前占用',
|
|
1405
|
+
'ta.console.save': '保存',
|
|
1406
|
+
'ta.console.saved': '已保存',
|
|
1407
|
+
'ta.console.someProviders': '仅限以下',
|
|
1408
|
+
'ta.console.sort': '排序',
|
|
1409
|
+
'ta.console.sortActive': '最近活跃',
|
|
1410
|
+
'ta.console.sortMinutes': '用时最多',
|
|
1411
|
+
'ta.console.sortName': '名字',
|
|
1412
|
+
'ta.console.stale': '{count} 个沙箱已停止,显示的是上次读到的数据',
|
|
1413
|
+
'ta.console.suspend': '停用',
|
|
1414
|
+
'ta.console.suspendConfirm': '停用 {account}?',
|
|
1415
|
+
'ta.console.suspendDetail': '对方的 Ta 立即停止,恢复前无法启动;文件都保留。',
|
|
1416
|
+
'ta.console.resume': '恢复',
|
|
1417
|
+
'ta.console.suspended': '已停用',
|
|
1418
|
+
'ta.console.outOfMinutes': '时长用完',
|
|
1419
|
+
'ta.console.blockedSuspended': '已被管理员停用,恢复前 Ta 无法启动。',
|
|
1420
|
+
'ta.console.blockedMinutes': '本月免费时长已用完,可赠送时长或调高额度。',
|
|
1421
|
+
'ta.console.isAdmin': '网关管理员',
|
|
1422
|
+
'ta.console.isMember': '普通成员',
|
|
1423
|
+
'ta.console.promote': '设为管理员',
|
|
1424
|
+
'ta.console.demote': '取消管理员',
|
|
1425
|
+
'ta.console.promoteConfirm': '把 {account} 设为管理员?',
|
|
1426
|
+
'ta.console.promoteDetail': '对方能在控制台看到所有人,并管理普通成员的额度、沙箱和日志。',
|
|
1427
|
+
'ta.console.demoteConfirm': '取消 {account} 的管理员?',
|
|
1428
|
+
'ta.console.demoteDetail': '对方保留自己的 Ta,但不再能进入控制台。',
|
|
1429
|
+
'ta.console.limitsEdit': '编辑额度',
|
|
1430
|
+
'ta.console.limitsDone': '完成',
|
|
1431
|
+
'ta.console.toolCallsLabel': '工具调用',
|
|
1432
|
+
'ta.console.trend': '用量趋势',
|
|
1433
|
+
'ta.console.trendEmpty': '这段时间没有智能体回答',
|
|
1434
|
+
'ta.console.turns': '{count} 次回答',
|
|
1435
|
+
'ta.console.unlimited': '不限',
|
|
1436
|
+
'ta.console.updated': '{time}更新',
|
|
1437
|
+
'ta.console.view': '查看',
|
|
1438
|
+
'ta.console.yes': '是',
|
|
1439
|
+
'ta.console.auditActivity': '查看了智能体活动:',
|
|
1440
|
+
'ta.console.auditAllow': '允许登录',
|
|
1441
|
+
'ta.console.auditDefaults': '修改了默认限额',
|
|
1442
|
+
'ta.console.auditDisallow': '移除了',
|
|
1443
|
+
'ta.console.auditDismiss': '忽略了登录请求:',
|
|
1444
|
+
'ta.console.auditGrant': '赠送时长给',
|
|
1445
|
+
'ta.console.auditInvite': '邀请了',
|
|
1446
|
+
'ta.console.auditLimits': '修改了额度:',
|
|
1447
|
+
'ta.console.auditLogs': '查看了日志:',
|
|
1448
|
+
'ta.console.auditRestart': '重启了',
|
|
1449
|
+
'ta.console.auditRole': '修改了角色:',
|
|
1450
|
+
'ta.console.auditStart': '启动了',
|
|
1451
|
+
'ta.console.auditStop': '停止了',
|
|
1452
|
+
'ta.console.auditSuspend': '停用/恢复了',
|
|
1453
|
+
'ta.console.filterAdmins': '管理人员',
|
|
1454
|
+
'ta.console.filterAll': '全部',
|
|
1455
|
+
'ta.console.filterLimited': '额度紧张',
|
|
1456
|
+
'ta.console.filterRunning': '运行中',
|
|
1457
|
+
'ta.console.filterWorking': '工作中',
|
|
1458
|
+
'ta.console.roleAdmin': '管理员',
|
|
1459
|
+
'ta.console.roleMember': '成员',
|
|
1460
|
+
'ta.console.roleOwner': '所有者',
|
|
1461
|
+
'ta.console.tabAccounts': '账号',
|
|
1462
|
+
'ta.console.tabOverview': '概览',
|
|
1463
|
+
'ta.console.tabPolicy': '策略',
|
|
1464
|
+
'ta.environment.quotaHint': '本月免费时长的使用情况',
|
|
1465
|
+
'ta.environment.blockedTitle': '你的 Ta 暂停了',
|
|
1466
|
+
'ta.environment.blockedSuspended': '网关管理员停用了你的账号,请联系管理员恢复。',
|
|
1467
|
+
'ta.environment.blockedMinutes': '本月免费时长已用完,{date} 恢复;也可以找管理员加时长。',
|
|
1468
|
+
'ta.console.agents': '智能体',
|
|
1469
|
+
'ta.console.agentsWorking': '工作中',
|
|
1470
|
+
'ta.console.agentWorking': '工作中',
|
|
1471
|
+
'ta.console.agentWaiting': '等对方回应',
|
|
1472
|
+
'ta.console.agentAsking': '等对方决定',
|
|
1473
|
+
'ta.console.agentIdle': '空闲',
|
|
1474
|
+
'ta.console.rowWorking': '{count} 个在工作',
|
|
1475
|
+
'ta.console.rowWaiting': '{count} 个在等',
|
|
1476
|
+
'ta.console.messages': '{count} 条消息',
|
|
1477
|
+
'ta.console.toolCalls': '{count} 次工具调用',
|
|
1478
|
+
'ta.console.context': '上下文已用',
|
|
1479
|
+
'ta.console.sessions': '会话',
|
|
1480
|
+
'ta.console.tokens': 'Tokens',
|
|
1481
|
+
'ta.console.cost': '花费',
|
|
1482
|
+
'ta.console.agentsNone': '没有打开的会话',
|
|
1483
|
+
'ta.console.agentsStopped': '沙箱没有运行,启动后才能看到智能体',
|
|
1484
|
+
'ta.console.agentsOwn': '对方自己的 Ta 服务,网关不查看',
|
|
1485
|
+
'ta.console.agentsPrivacy': '不显示对话内容,只显示对方起的名字、模型和用量',
|
|
1486
|
+
'ta.console.about': '基本信息',
|
|
1121
1487
|
'ta.access.title': '访问',
|
|
1122
1488
|
'ta.access.bind': '用你的账号登录',
|
|
1123
1489
|
'ta.access.bindHint': '允许你登录用的这个账号,以后在任何设备上都能用它登录。',
|
package/esm/browser/index.d.ts
CHANGED
|
@@ -42,6 +42,9 @@ export * from './game/game-util.js';
|
|
|
42
42
|
export * from './game/game-view.js';
|
|
43
43
|
export * from './game/game3d-protocol.js';
|
|
44
44
|
export * from './game/game3d-runner.js';
|
|
45
|
+
export * from './gateway/console-extension.js';
|
|
46
|
+
export * from './gateway/console-util.js';
|
|
47
|
+
export * from './gateway/console-view.js';
|
|
45
48
|
export * from './hooks.js';
|
|
46
49
|
export * from './i18n/locales.js';
|
|
47
50
|
export * from './i18n/messages.js';
|
package/esm/browser/index.js
CHANGED
|
@@ -42,6 +42,9 @@ export * from './game/game-util.js';
|
|
|
42
42
|
export * from './game/game-view.js';
|
|
43
43
|
export * from './game/game3d-protocol.js';
|
|
44
44
|
export * from './game/game3d-runner.js';
|
|
45
|
+
export * from './gateway/console-extension.js';
|
|
46
|
+
export * from './gateway/console-util.js';
|
|
47
|
+
export * from './gateway/console-view.js';
|
|
45
48
|
export * from './hooks.js';
|
|
46
49
|
export * from './i18n/locales.js';
|
|
47
50
|
export * from './i18n/messages.js';
|