@opencode/ui 0.0.0-dev-1298 → 0.0.0-dev-1301
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/dist/forms/typeahead/typeahead.d.ts +2 -0
- package/dist/i18n/am.d.ts +134 -0
- package/dist/i18n/ar.d.ts +218 -0
- package/dist/i18n/az.d.ts +134 -0
- package/dist/i18n/bg.d.ts +134 -0
- package/dist/i18n/bn.d.ts +134 -0
- package/dist/i18n/br.d.ts +155 -0
- package/dist/i18n/bs.d.ts +155 -0
- package/dist/i18n/ca.d.ts +155 -0
- package/dist/i18n/cs.d.ts +176 -0
- package/dist/i18n/da.d.ts +134 -0
- package/dist/i18n/de.d.ts +134 -0
- package/dist/i18n/dv.d.ts +134 -0
- package/dist/i18n/dz.d.ts +134 -0
- package/dist/i18n/el.d.ts +134 -0
- package/dist/i18n/es.d.ts +155 -0
- package/dist/i18n/et.d.ts +134 -0
- package/dist/i18n/fa.d.ts +134 -0
- package/dist/i18n/fi.d.ts +134 -0
- package/dist/i18n/fo.d.ts +134 -0
- package/dist/i18n/fr.d.ts +155 -0
- package/dist/i18n/he.d.ts +155 -0
- package/dist/i18n/hi.d.ts +134 -0
- package/dist/i18n/hr.d.ts +155 -0
- package/dist/i18n/hu.d.ts +134 -0
- package/dist/i18n/hy.d.ts +134 -0
- package/dist/i18n/id.d.ts +134 -0
- package/dist/i18n/is.d.ts +134 -0
- package/dist/i18n/it.d.ts +155 -0
- package/dist/i18n/ja.d.ts +134 -0
- package/dist/i18n/ka.d.ts +134 -0
- package/dist/i18n/km.d.ts +134 -0
- package/dist/i18n/ko.d.ts +134 -0
- package/dist/i18n/lo.d.ts +134 -0
- package/dist/i18n/lt.d.ts +176 -0
- package/dist/i18n/lv.d.ts +155 -0
- package/dist/i18n/mk.d.ts +134 -0
- package/dist/i18n/mn.d.ts +134 -0
- package/dist/i18n/ms.d.ts +134 -0
- package/dist/i18n/my.d.ts +134 -0
- package/dist/i18n/ne.d.ts +134 -0
- package/dist/i18n/nl.d.ts +134 -0
- package/dist/i18n/pa.d.ts +134 -0
- package/dist/i18n/pl.d.ts +176 -0
- package/dist/i18n/ro.d.ts +155 -0
- package/dist/i18n/ru.d.ts +176 -0
- package/dist/i18n/si.d.ts +134 -0
- package/dist/i18n/sk.d.ts +176 -0
- package/dist/i18n/sl.d.ts +176 -0
- package/dist/i18n/sq.d.ts +134 -0
- package/dist/i18n/sr.d.ts +155 -0
- package/dist/i18n/sv.d.ts +134 -0
- package/dist/i18n/tg.d.ts +134 -0
- package/dist/i18n/th.d.ts +134 -0
- package/dist/i18n/tk.d.ts +134 -0
- package/dist/i18n/tr.d.ts +134 -0
- package/dist/i18n/uk.d.ts +176 -0
- package/dist/i18n/ur.d.ts +134 -0
- package/dist/i18n/uz.d.ts +134 -0
- package/dist/i18n/vi.d.ts +134 -0
- package/dist/i18n/zh.d.ts +134 -0
- package/dist/i18n/zht.d.ts +134 -0
- package/dist/overlays/dialog/dialog.d.ts +2 -2
- package/package.json +2 -2
- package/src/actions/button/button.css +3 -1
- package/src/components/animated-number.css +4 -0
- package/src/forms/typeahead/typeahead.tsx +12 -3
- package/src/i18n/am.ts +135 -0
- package/src/i18n/ar.ts +220 -0
- package/src/i18n/az.ts +136 -0
- package/src/i18n/bg.ts +136 -0
- package/src/i18n/bn.ts +137 -0
- package/src/i18n/br.ts +158 -0
- package/src/i18n/bs.ts +157 -0
- package/src/i18n/ca.ts +159 -0
- package/src/i18n/cs.ts +179 -0
- package/src/i18n/da.ts +137 -0
- package/src/i18n/de.ts +139 -0
- package/src/i18n/dv.ts +137 -0
- package/src/i18n/dz.ts +139 -0
- package/src/i18n/el.ts +138 -0
- package/src/i18n/es.ts +158 -0
- package/src/i18n/et.ts +136 -0
- package/src/i18n/fa.ts +136 -0
- package/src/i18n/fi.ts +137 -0
- package/src/i18n/fo.ts +138 -0
- package/src/i18n/fr.ts +160 -0
- package/src/i18n/he.ts +157 -0
- package/src/i18n/hi.ts +136 -0
- package/src/i18n/hr.ts +157 -0
- package/src/i18n/hu.ts +136 -0
- package/src/i18n/hy.ts +138 -0
- package/src/i18n/id.ts +138 -0
- package/src/i18n/is.ts +137 -0
- package/src/i18n/it.ts +158 -0
- package/src/i18n/ja.ts +136 -0
- package/src/i18n/ka.ts +137 -0
- package/src/i18n/km.ts +137 -0
- package/src/i18n/ko.ts +136 -0
- package/src/i18n/lo.ts +136 -0
- package/src/i18n/lt.ts +179 -0
- package/src/i18n/lv.ts +157 -0
- package/src/i18n/mk.ts +137 -0
- package/src/i18n/mn.ts +136 -0
- package/src/i18n/ms.ts +138 -0
- package/src/i18n/my.ts +137 -0
- package/src/i18n/ne.ts +137 -0
- package/src/i18n/nl.ts +137 -0
- package/src/i18n/no.ts +137 -0
- package/src/i18n/pa.ts +137 -0
- package/src/i18n/pl.ts +178 -0
- package/src/i18n/ro.ts +158 -0
- package/src/i18n/ru.ts +178 -0
- package/src/i18n/si.ts +136 -0
- package/src/i18n/sk.ts +179 -0
- package/src/i18n/sl.ts +178 -0
- package/src/i18n/sq.ts +137 -0
- package/src/i18n/sr.ts +157 -0
- package/src/i18n/sv.ts +137 -0
- package/src/i18n/tg.ts +139 -0
- package/src/i18n/th.ts +136 -0
- package/src/i18n/tk.ts +136 -0
- package/src/i18n/tr.ts +136 -0
- package/src/i18n/uk.ts +179 -0
- package/src/i18n/ur.ts +136 -0
- package/src/i18n/uz.ts +137 -0
- package/src/i18n/vi.ts +136 -0
- package/src/i18n/zh.ts +134 -0
- package/src/i18n/zht.ts +134 -0
- package/src/overlays/dialog/dialog.css +3 -4
- package/src/overlays/dialog/dialog.tsx +2 -2
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -244,4 +244,138 @@ export declare const dict: {
|
|
|
244
244
|
"ui.tool.browser": string;
|
|
245
245
|
"ui.common.fileCount.one": string;
|
|
246
246
|
"ui.common.fileCount.other": string;
|
|
247
|
+
"ui.preview.controls": string;
|
|
248
|
+
"ui.preview.zoomIn": string;
|
|
249
|
+
"ui.preview.zoomOut": string;
|
|
250
|
+
"ui.preview.fit": string;
|
|
251
|
+
"ui.commentCard.quote": string;
|
|
252
|
+
"ui.commentCard.addComment": string;
|
|
253
|
+
"ui.commentCard.editComment": string;
|
|
254
|
+
"ui.sessionTurn.diffs.failed": string;
|
|
255
|
+
"ui.sessionTurn.diffs.retry": string;
|
|
256
|
+
"ui.sessionTurn.freeLimit.title": string;
|
|
257
|
+
"ui.sessionTurn.freeLimit.lineReset": string;
|
|
258
|
+
"ui.sessionTurn.budgetLimit.all": string;
|
|
259
|
+
"ui.sessionTurn.budgetLimit.allUntilReset": string;
|
|
260
|
+
"ui.sessionTurn.budgetLimit.models": string;
|
|
261
|
+
"ui.sessionTurn.budgetLimit.modelsUntilReset": string;
|
|
262
|
+
"ui.sessionTurn.budgetLimit.useFreeModel": string;
|
|
263
|
+
"ui.sessionTurn.budgetLimit.switchModel": string;
|
|
264
|
+
"ui.sessionTurn.goLimit.title": string;
|
|
265
|
+
"ui.sessionTurn.goLimit.lineReset": string;
|
|
266
|
+
"dialog.usageExceeded.freeTier.reset": string;
|
|
267
|
+
"ui.messagePart.compaction.queued": string;
|
|
268
|
+
"ui.messagePart.compaction.done": string;
|
|
269
|
+
"ui.messagePart.context.matchCount.one": string;
|
|
270
|
+
"ui.messagePart.context.matchCount.other": string;
|
|
271
|
+
"ui.timeline.activity.explored": string;
|
|
272
|
+
"ui.timeline.activity.edited": string;
|
|
273
|
+
"ui.timeline.activity.ran": string;
|
|
274
|
+
"ui.timeline.activity.used": string;
|
|
275
|
+
"ui.timeline.activity.worked": string;
|
|
276
|
+
"ui.timeline.activity.workedUnknown": string;
|
|
277
|
+
"ui.timeline.activity.files.one": string;
|
|
278
|
+
"ui.timeline.activity.files.other": string;
|
|
279
|
+
"ui.timeline.activity.reads.one": string;
|
|
280
|
+
"ui.timeline.activity.reads.other": string;
|
|
281
|
+
"ui.timeline.activity.editedFiles.one": string;
|
|
282
|
+
"ui.timeline.activity.editedFiles.other": string;
|
|
283
|
+
"ui.timeline.activity.searches.one": string;
|
|
284
|
+
"ui.timeline.activity.searches.other": string;
|
|
285
|
+
"ui.timeline.activity.webSearches.one": string;
|
|
286
|
+
"ui.timeline.activity.webSearches.other": string;
|
|
287
|
+
"ui.timeline.activity.pages.one": string;
|
|
288
|
+
"ui.timeline.activity.pages.other": string;
|
|
289
|
+
"ui.timeline.activity.skills.one": string;
|
|
290
|
+
"ui.timeline.activity.skills.other": string;
|
|
291
|
+
"ui.timeline.activity.commands.one": string;
|
|
292
|
+
"ui.timeline.activity.commands.other": string;
|
|
293
|
+
"ui.timeline.activity.subagents.one": string;
|
|
294
|
+
"ui.timeline.activity.subagents.other": string;
|
|
295
|
+
"ui.timeline.activity.startedShells.one": string;
|
|
296
|
+
"ui.timeline.activity.startedShells.other": string;
|
|
297
|
+
"ui.timeline.activity.startedSubagents.one": string;
|
|
298
|
+
"ui.timeline.activity.startedSubagents.other": string;
|
|
299
|
+
"ui.timeline.activity.finishedShells.one": string;
|
|
300
|
+
"ui.timeline.activity.finishedShells.other": string;
|
|
301
|
+
"ui.timeline.activity.finishedSubagents.one": string;
|
|
302
|
+
"ui.timeline.activity.finishedSubagents.other": string;
|
|
303
|
+
"ui.timeline.activity.stoppedShells.one": string;
|
|
304
|
+
"ui.timeline.activity.stoppedShells.other": string;
|
|
305
|
+
"ui.timeline.activity.stoppedSubagents.one": string;
|
|
306
|
+
"ui.timeline.activity.stoppedSubagents.other": string;
|
|
307
|
+
"ui.timeline.event.started": string;
|
|
308
|
+
"ui.timeline.event.finished": string;
|
|
309
|
+
"ui.timeline.subagent.name": string;
|
|
310
|
+
"ui.timeline.subagent.updated": string;
|
|
311
|
+
"ui.timeline.subagent.completed": string;
|
|
312
|
+
"ui.timeline.event.stopped": string;
|
|
313
|
+
"ui.timeline.event.subagents.one": string;
|
|
314
|
+
"ui.timeline.event.subagents.other": string;
|
|
315
|
+
"ui.timeline.event.shells.one": string;
|
|
316
|
+
"ui.timeline.event.shells.other": string;
|
|
317
|
+
"ui.timeline.event.failed": string;
|
|
318
|
+
"ui.timeline.event.allFailed": string;
|
|
319
|
+
"ui.timeline.notice.agentSwitched": string;
|
|
320
|
+
"ui.timeline.shell.exit": string;
|
|
321
|
+
"ui.timeline.shell.timedOut": string;
|
|
322
|
+
"ui.timeline.shell.stopped": string;
|
|
323
|
+
"ui.list.failed": string;
|
|
324
|
+
"ui.promptInput.history": string;
|
|
325
|
+
"ui.promptInput.history.search": string;
|
|
326
|
+
"ui.promptInput.history.contextOnly": string;
|
|
327
|
+
"ui.redirectPaste.label": string;
|
|
328
|
+
"ui.redirectPaste.placeholder": string;
|
|
329
|
+
"ui.redirectPaste.required": string;
|
|
330
|
+
"ui.imagePreview.zoomIn": string;
|
|
331
|
+
"ui.imagePreview.zoomOut": string;
|
|
332
|
+
"ui.imagePreview.zoomToFit": string;
|
|
333
|
+
"ui.diagramPreview.label": string;
|
|
334
|
+
"ui.diagramPreview.open": string;
|
|
335
|
+
"ui.tool.searchWeb": string;
|
|
336
|
+
"ui.tool.fetch": string;
|
|
337
|
+
"ui.tool.execute.viewCode": string;
|
|
338
|
+
"ui.tool.execute.code": string;
|
|
339
|
+
"ui.tool.execute.output": string;
|
|
340
|
+
"ui.tool.execute.error": string;
|
|
341
|
+
"ui.tool.execute.copyCode": string;
|
|
342
|
+
"ui.tool.execute.copyOutput": string;
|
|
343
|
+
"ui.tool.execute.running": string;
|
|
344
|
+
"ui.tool.execute.completed": string;
|
|
345
|
+
"ui.tool.execute.calls.one": string;
|
|
346
|
+
"ui.tool.execute.calls.other": string;
|
|
347
|
+
"ui.tool.execute.lines.one": string;
|
|
348
|
+
"ui.tool.execute.lines.other": string;
|
|
349
|
+
"ui.common.showLess": string;
|
|
350
|
+
"ui.message.readMore": string;
|
|
351
|
+
"ui.message.showLess": string;
|
|
352
|
+
"ui.message.copyFullMessage": string;
|
|
353
|
+
"ui.message.undoMessage": string;
|
|
354
|
+
"ui.message.moreActions": string;
|
|
355
|
+
"ui.message.moveToQueue": string;
|
|
356
|
+
"ui.message.pending": string;
|
|
357
|
+
"ui.message.voice": string;
|
|
358
|
+
"ui.message.deletePending": string;
|
|
359
|
+
"ui.message.copyOutput": string;
|
|
360
|
+
"ui.message.duration.hoursMinutes": string;
|
|
361
|
+
"ui.message.tokensPerSecond": string;
|
|
362
|
+
"ui.message.modelVariant": string;
|
|
363
|
+
"ui.message.time.justNow": string;
|
|
364
|
+
"ui.message.time.minutesAgo": string;
|
|
365
|
+
"ui.message.time.hoursAgo": string;
|
|
366
|
+
"ui.message.time.daysAgo": string;
|
|
367
|
+
"ui.sources.count.one": string;
|
|
368
|
+
"ui.sources.count.other": string;
|
|
369
|
+
"ui.sources.none": string;
|
|
370
|
+
"ui.sources.title": string;
|
|
371
|
+
"ui.sources.searched": string;
|
|
372
|
+
"ui.sources.searchFailed": string;
|
|
373
|
+
"ui.sources.noResults": string;
|
|
374
|
+
"ui.sources.opened": string;
|
|
375
|
+
"ui.sources.openFailed": string;
|
|
376
|
+
"ui.sessionTimeline.notice.variantSwitched": string;
|
|
377
|
+
"ui.sessionTimeline.notice.variantDefault": string;
|
|
378
|
+
"ui.question.singleHint": string;
|
|
379
|
+
"ui.question.classic.multiHint": string;
|
|
380
|
+
"ui.question.custom.answerPlaceholder": string;
|
|
247
381
|
};
|
package/dist/i18n/zht.d.ts
CHANGED
|
@@ -244,4 +244,138 @@ export declare const dict: {
|
|
|
244
244
|
"ui.tool.browser": string;
|
|
245
245
|
"ui.common.fileCount.one": string;
|
|
246
246
|
"ui.common.fileCount.other": string;
|
|
247
|
+
"ui.preview.controls": string;
|
|
248
|
+
"ui.preview.zoomIn": string;
|
|
249
|
+
"ui.preview.zoomOut": string;
|
|
250
|
+
"ui.preview.fit": string;
|
|
251
|
+
"ui.commentCard.quote": string;
|
|
252
|
+
"ui.commentCard.addComment": string;
|
|
253
|
+
"ui.commentCard.editComment": string;
|
|
254
|
+
"ui.sessionTurn.diffs.failed": string;
|
|
255
|
+
"ui.sessionTurn.diffs.retry": string;
|
|
256
|
+
"ui.sessionTurn.freeLimit.title": string;
|
|
257
|
+
"ui.sessionTurn.freeLimit.lineReset": string;
|
|
258
|
+
"ui.sessionTurn.budgetLimit.all": string;
|
|
259
|
+
"ui.sessionTurn.budgetLimit.allUntilReset": string;
|
|
260
|
+
"ui.sessionTurn.budgetLimit.models": string;
|
|
261
|
+
"ui.sessionTurn.budgetLimit.modelsUntilReset": string;
|
|
262
|
+
"ui.sessionTurn.budgetLimit.useFreeModel": string;
|
|
263
|
+
"ui.sessionTurn.budgetLimit.switchModel": string;
|
|
264
|
+
"ui.sessionTurn.goLimit.title": string;
|
|
265
|
+
"ui.sessionTurn.goLimit.lineReset": string;
|
|
266
|
+
"dialog.usageExceeded.freeTier.reset": string;
|
|
267
|
+
"ui.messagePart.compaction.queued": string;
|
|
268
|
+
"ui.messagePart.compaction.done": string;
|
|
269
|
+
"ui.messagePart.context.matchCount.one": string;
|
|
270
|
+
"ui.messagePart.context.matchCount.other": string;
|
|
271
|
+
"ui.timeline.activity.explored": string;
|
|
272
|
+
"ui.timeline.activity.edited": string;
|
|
273
|
+
"ui.timeline.activity.ran": string;
|
|
274
|
+
"ui.timeline.activity.used": string;
|
|
275
|
+
"ui.timeline.activity.worked": string;
|
|
276
|
+
"ui.timeline.activity.workedUnknown": string;
|
|
277
|
+
"ui.timeline.activity.files.one": string;
|
|
278
|
+
"ui.timeline.activity.files.other": string;
|
|
279
|
+
"ui.timeline.activity.reads.one": string;
|
|
280
|
+
"ui.timeline.activity.reads.other": string;
|
|
281
|
+
"ui.timeline.activity.editedFiles.one": string;
|
|
282
|
+
"ui.timeline.activity.editedFiles.other": string;
|
|
283
|
+
"ui.timeline.activity.searches.one": string;
|
|
284
|
+
"ui.timeline.activity.searches.other": string;
|
|
285
|
+
"ui.timeline.activity.webSearches.one": string;
|
|
286
|
+
"ui.timeline.activity.webSearches.other": string;
|
|
287
|
+
"ui.timeline.activity.pages.one": string;
|
|
288
|
+
"ui.timeline.activity.pages.other": string;
|
|
289
|
+
"ui.timeline.activity.skills.one": string;
|
|
290
|
+
"ui.timeline.activity.skills.other": string;
|
|
291
|
+
"ui.timeline.activity.commands.one": string;
|
|
292
|
+
"ui.timeline.activity.commands.other": string;
|
|
293
|
+
"ui.timeline.activity.subagents.one": string;
|
|
294
|
+
"ui.timeline.activity.subagents.other": string;
|
|
295
|
+
"ui.timeline.activity.startedShells.one": string;
|
|
296
|
+
"ui.timeline.activity.startedShells.other": string;
|
|
297
|
+
"ui.timeline.activity.startedSubagents.one": string;
|
|
298
|
+
"ui.timeline.activity.startedSubagents.other": string;
|
|
299
|
+
"ui.timeline.activity.finishedShells.one": string;
|
|
300
|
+
"ui.timeline.activity.finishedShells.other": string;
|
|
301
|
+
"ui.timeline.activity.finishedSubagents.one": string;
|
|
302
|
+
"ui.timeline.activity.finishedSubagents.other": string;
|
|
303
|
+
"ui.timeline.activity.stoppedShells.one": string;
|
|
304
|
+
"ui.timeline.activity.stoppedShells.other": string;
|
|
305
|
+
"ui.timeline.activity.stoppedSubagents.one": string;
|
|
306
|
+
"ui.timeline.activity.stoppedSubagents.other": string;
|
|
307
|
+
"ui.timeline.event.started": string;
|
|
308
|
+
"ui.timeline.event.finished": string;
|
|
309
|
+
"ui.timeline.subagent.name": string;
|
|
310
|
+
"ui.timeline.subagent.updated": string;
|
|
311
|
+
"ui.timeline.subagent.completed": string;
|
|
312
|
+
"ui.timeline.event.stopped": string;
|
|
313
|
+
"ui.timeline.event.subagents.one": string;
|
|
314
|
+
"ui.timeline.event.subagents.other": string;
|
|
315
|
+
"ui.timeline.event.shells.one": string;
|
|
316
|
+
"ui.timeline.event.shells.other": string;
|
|
317
|
+
"ui.timeline.event.failed": string;
|
|
318
|
+
"ui.timeline.event.allFailed": string;
|
|
319
|
+
"ui.timeline.notice.agentSwitched": string;
|
|
320
|
+
"ui.timeline.shell.exit": string;
|
|
321
|
+
"ui.timeline.shell.timedOut": string;
|
|
322
|
+
"ui.timeline.shell.stopped": string;
|
|
323
|
+
"ui.list.failed": string;
|
|
324
|
+
"ui.promptInput.history": string;
|
|
325
|
+
"ui.promptInput.history.search": string;
|
|
326
|
+
"ui.promptInput.history.contextOnly": string;
|
|
327
|
+
"ui.redirectPaste.label": string;
|
|
328
|
+
"ui.redirectPaste.placeholder": string;
|
|
329
|
+
"ui.redirectPaste.required": string;
|
|
330
|
+
"ui.imagePreview.zoomIn": string;
|
|
331
|
+
"ui.imagePreview.zoomOut": string;
|
|
332
|
+
"ui.imagePreview.zoomToFit": string;
|
|
333
|
+
"ui.diagramPreview.label": string;
|
|
334
|
+
"ui.diagramPreview.open": string;
|
|
335
|
+
"ui.tool.searchWeb": string;
|
|
336
|
+
"ui.tool.fetch": string;
|
|
337
|
+
"ui.tool.execute.viewCode": string;
|
|
338
|
+
"ui.tool.execute.code": string;
|
|
339
|
+
"ui.tool.execute.output": string;
|
|
340
|
+
"ui.tool.execute.error": string;
|
|
341
|
+
"ui.tool.execute.copyCode": string;
|
|
342
|
+
"ui.tool.execute.copyOutput": string;
|
|
343
|
+
"ui.tool.execute.running": string;
|
|
344
|
+
"ui.tool.execute.completed": string;
|
|
345
|
+
"ui.tool.execute.calls.one": string;
|
|
346
|
+
"ui.tool.execute.calls.other": string;
|
|
347
|
+
"ui.tool.execute.lines.one": string;
|
|
348
|
+
"ui.tool.execute.lines.other": string;
|
|
349
|
+
"ui.common.showLess": string;
|
|
350
|
+
"ui.message.readMore": string;
|
|
351
|
+
"ui.message.showLess": string;
|
|
352
|
+
"ui.message.copyFullMessage": string;
|
|
353
|
+
"ui.message.undoMessage": string;
|
|
354
|
+
"ui.message.moreActions": string;
|
|
355
|
+
"ui.message.moveToQueue": string;
|
|
356
|
+
"ui.message.pending": string;
|
|
357
|
+
"ui.message.voice": string;
|
|
358
|
+
"ui.message.deletePending": string;
|
|
359
|
+
"ui.message.copyOutput": string;
|
|
360
|
+
"ui.message.duration.hoursMinutes": string;
|
|
361
|
+
"ui.message.tokensPerSecond": string;
|
|
362
|
+
"ui.message.modelVariant": string;
|
|
363
|
+
"ui.message.time.justNow": string;
|
|
364
|
+
"ui.message.time.minutesAgo": string;
|
|
365
|
+
"ui.message.time.hoursAgo": string;
|
|
366
|
+
"ui.message.time.daysAgo": string;
|
|
367
|
+
"ui.sources.count.one": string;
|
|
368
|
+
"ui.sources.count.other": string;
|
|
369
|
+
"ui.sources.none": string;
|
|
370
|
+
"ui.sources.title": string;
|
|
371
|
+
"ui.sources.searched": string;
|
|
372
|
+
"ui.sources.searchFailed": string;
|
|
373
|
+
"ui.sources.noResults": string;
|
|
374
|
+
"ui.sources.opened": string;
|
|
375
|
+
"ui.sources.openFailed": string;
|
|
376
|
+
"ui.sessionTimeline.notice.variantSwitched": string;
|
|
377
|
+
"ui.sessionTimeline.notice.variantDefault": string;
|
|
378
|
+
"ui.question.singleHint": string;
|
|
379
|
+
"ui.question.classic.multiHint": string;
|
|
380
|
+
"ui.question.custom.answerPlaceholder": string;
|
|
247
381
|
};
|
|
@@ -3,8 +3,8 @@ import { type ComponentProps, type JSXElement, type ParentProps } from "solid-js
|
|
|
3
3
|
import "./dialog.css";
|
|
4
4
|
export interface DialogProps extends ParentProps {
|
|
5
5
|
/**
|
|
6
|
-
* normal: 480px wide, for confirmations and small forms. large:
|
|
7
|
-
* x-large:
|
|
6
|
+
* normal: 480px wide, for confirmations and small forms. large: 720×600, for palettes, pickers and lists.
|
|
7
|
+
* x-large: 880×680, for long documents and settings-like panels. Each clamps to the window.
|
|
8
8
|
*/
|
|
9
9
|
size?: "normal" | "large" | "x-large";
|
|
10
10
|
/** Height follows the content, up to the size's height. Large sizes grow down from a fixed top edge. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencode/ui",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-1301",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
"dependencies": {
|
|
310
310
|
"@kitlangton/solid-motion": "0.2.2",
|
|
311
311
|
"@kobalte/core": "0.13.13",
|
|
312
|
-
"@opencode/util": "0.0.0-dev-
|
|
312
|
+
"@opencode/util": "0.0.0-dev-1301",
|
|
313
313
|
"@pierre/diffs": "1.6.1",
|
|
314
314
|
"@pierre/highlights": "0.2.0",
|
|
315
315
|
"@solid-primitives/event-listener": "2.4.6",
|
|
@@ -83,7 +83,9 @@
|
|
|
83
83
|
linear-gradient(90deg, var(--v2-background-bg-button-neutral) 0%, var(--v2-background-bg-button-neutral) 100%);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
[data-component="button-v2"][data-variant="neutral"]:is(:active, [data-state="pressed"]):not(
|
|
86
|
+
[data-component="button-v2"][data-variant="neutral"]:is(:active, [data-state="pressed"], [data-expanded]):not(
|
|
87
|
+
:disabled
|
|
88
|
+
) {
|
|
87
89
|
background-image:
|
|
88
90
|
linear-gradient(
|
|
89
91
|
90deg,
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
line-height: 1em;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
vertical-align: baseline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* The fade softens a roll; at rest it would dim the edges of the digit. */
|
|
35
|
+
[data-slot="animated-number-digit"][data-animating="true"] {
|
|
32
36
|
-webkit-mask-image: linear-gradient(
|
|
33
37
|
to bottom,
|
|
34
38
|
transparent 0%,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createResizeObserver } from "@solid-primitives/resize-observer"
|
|
2
|
-
import { createEffect, createSignal, For, type JSX, on, onCleanup, Show, untrack } from "solid-js"
|
|
2
|
+
import { createEffect, createMemo, createSignal, For, type JSX, on, onCleanup, Show, untrack } from "solid-js"
|
|
3
3
|
import { Icon } from "@opencode/ui/icon"
|
|
4
4
|
import { abort } from "@opencode/util/abort"
|
|
5
5
|
import { useI18n } from "../../context/i18n"
|
|
@@ -28,6 +28,8 @@ export function Typeahead<T>(props: {
|
|
|
28
28
|
source: (query: string, signal: AbortSignal) => Promise<T[]>
|
|
29
29
|
/** Preloaded opening results, including a failed request that the user can retry. */
|
|
30
30
|
initial?: { items: T[]; failed?: boolean }
|
|
31
|
+
/** A local option placed before the remote results while the search is empty. */
|
|
32
|
+
emptyQueryItem?: T
|
|
31
33
|
/** Narrows earlier results while the request for the current query is pending. */
|
|
32
34
|
match: (item: T, query: string) => boolean
|
|
33
35
|
key: (item: T) => string
|
|
@@ -99,7 +101,14 @@ export function Typeahead<T>(props: {
|
|
|
99
101
|
const changeInput = (value: string) =>
|
|
100
102
|
dispatch({ type: "input.changed", input: value, delayMs: props.delay, match: props.match })
|
|
101
103
|
|
|
102
|
-
const items = () =>
|
|
104
|
+
const items = createMemo(() => {
|
|
105
|
+
const results = selectTypeaheadItems(machine())
|
|
106
|
+
|
|
107
|
+
return props.emptyQueryItem !== undefined && !selectTypeaheadInput(machine()).trim()
|
|
108
|
+
? [props.emptyQueryItem, ...results]
|
|
109
|
+
: results
|
|
110
|
+
})
|
|
111
|
+
|
|
103
112
|
const stale = () => selectTypeaheadStale(machine())
|
|
104
113
|
const pending = () => selectTypeaheadPending(machine())
|
|
105
114
|
const animateHeight = () => selectTypeaheadAnimateHeight(machine())
|
|
@@ -206,7 +215,7 @@ export function Typeahead<T>(props: {
|
|
|
206
215
|
</For>
|
|
207
216
|
</MenuScroll>
|
|
208
217
|
{/* Stays mounted while a retry or a newer query is pending, so the list never collapses to nothing. */}
|
|
209
|
-
<Show when={items().length === 0}>
|
|
218
|
+
<Show when={items().length === 0 || selectTypeaheadFailed(machine())}>
|
|
210
219
|
<div
|
|
211
220
|
class="mx-1 flex h-9 items-center px-2 py-1 text-v2-text-text-faint"
|
|
212
221
|
classList={{ invisible: !selectTypeaheadAnswered(machine()) }}
|
package/src/i18n/am.ts
CHANGED
|
@@ -244,4 +244,139 @@ export const dict = {
|
|
|
244
244
|
"ui.messagePart.context.updates": "ዝማኔዎች",
|
|
245
245
|
"ui.promptInput.cancelUpload": "ስቀላን ሰርዝ",
|
|
246
246
|
"ui.promptInput.uploading": "{{percent}}%",
|
|
247
|
+
"ui.preview.controls": "የቅድመ እይታ መቆጣጠሪያዎች",
|
|
248
|
+
"ui.preview.zoomIn": "አጉላ",
|
|
249
|
+
"ui.preview.zoomOut": "አሳንስ",
|
|
250
|
+
"ui.preview.fit": "አስማማ",
|
|
251
|
+
"ui.commentCard.quote": "ጥቀስ",
|
|
252
|
+
"ui.commentCard.addComment": "አስተያየት አክል",
|
|
253
|
+
"ui.commentCard.editComment": "አስተያየት አርትዕ",
|
|
254
|
+
"ui.sessionTurn.diffs.failed": "ልዩነቱ አይገኝም",
|
|
255
|
+
"ui.sessionTurn.diffs.retry": "እንደገና ሞክር",
|
|
256
|
+
"ui.sessionTurn.freeLimit.title": "የዛሬ ነፃ መልእክቶችዎን ተጠቅመዋል።",
|
|
257
|
+
"ui.sessionTurn.freeLimit.lineReset": "የዛሬ ነፃ መልእክቶችዎን ተጠቅመዋል። በ{{time}} ዳግም ይጀምራሉ።",
|
|
258
|
+
"ui.sessionTurn.budgetLimit.all": "የworkspace በጀት ላይ ደርሷል · የሚከፈልባቸው ሞዴሎች እስከ {{time}} ቆመዋል · ነፃ ሞዴሎች አሁንም ይሰራሉ",
|
|
259
|
+
"ui.sessionTurn.budgetLimit.allUntilReset":
|
|
260
|
+
"የworkspace በጀት ላይ ደርሷል · የሚከፈልባቸው ሞዴሎች ዳግም እስኪጀመር ቆመዋል · ነፃ ሞዴሎች አሁንም ይሰራሉ",
|
|
261
|
+
"ui.sessionTurn.budgetLimit.models": "የሞዴል በጀት ላይ ደርሷል · ይህ ሞዴል እስከ {{time}} ቆሟል",
|
|
262
|
+
"ui.sessionTurn.budgetLimit.modelsUntilReset": "የሞዴል በጀት ላይ ደርሷል · ይህ ሞዴል ዳግም እስኪጀመር ቆሟል",
|
|
263
|
+
"ui.sessionTurn.budgetLimit.useFreeModel": "ነፃ ሞዴል ተጠቀም",
|
|
264
|
+
"ui.sessionTurn.budgetLimit.switchModel": "ሞዴል ቀይር",
|
|
265
|
+
"ui.sessionTurn.goLimit.title": "የOpenCode Go አጠቃቀም ገደብዎ ላይ ደርሰዋል።",
|
|
266
|
+
"ui.sessionTurn.goLimit.lineReset": "የOpenCode Go አጠቃቀም ገደብዎ ላይ ደርሰዋል። በ{{time}} ዳግም ይጀምራል።",
|
|
267
|
+
"dialog.usageExceeded.freeTier.reset": "ነፃ መልእክቶችዎ በ{{time}} ዳግም ይጀምራሉ።",
|
|
268
|
+
"ui.messagePart.compaction.queued": "የክፍለ ጊዜ ማጠቃለያ ወረፋ ላይ ነው",
|
|
269
|
+
"ui.messagePart.compaction.done": "ተጠቃሏል",
|
|
270
|
+
"ui.messagePart.context.matchCount.one": "{{count}} ተዛማጅ",
|
|
271
|
+
"ui.messagePart.context.matchCount.other": "{{count}} ተዛማጆች",
|
|
272
|
+
"ui.timeline.activity.explored": "ተዳሷል",
|
|
273
|
+
"ui.timeline.activity.edited": "ተስተካክሏል",
|
|
274
|
+
"ui.timeline.activity.ran": "አሂዷል",
|
|
275
|
+
"ui.timeline.activity.used": "ጥቅም ላይ የዋለ",
|
|
276
|
+
"ui.timeline.activity.worked": "ለ{{duration}} ሰርቷል",
|
|
277
|
+
"ui.timeline.activity.workedUnknown": "ሰርቷል",
|
|
278
|
+
"ui.timeline.activity.files.one": "{{count}} ፋይል",
|
|
279
|
+
"ui.timeline.activity.files.other": "{{count}} ፋይሎች",
|
|
280
|
+
"ui.timeline.activity.reads.one": "{{count}} ንባብ",
|
|
281
|
+
"ui.timeline.activity.reads.other": "{{count}} ንባቦች",
|
|
282
|
+
"ui.timeline.activity.editedFiles.one": "{{count}} የተስተካከለ ፋይል",
|
|
283
|
+
"ui.timeline.activity.editedFiles.other": "{{count}} የተስተካከሉ ፋይሎች",
|
|
284
|
+
"ui.timeline.activity.searches.one": "{{count}} ፍለጋ",
|
|
285
|
+
"ui.timeline.activity.searches.other": "{{count}} ፍለጋዎች",
|
|
286
|
+
"ui.timeline.activity.webSearches.one": "{{count}} የድር ፍለጋ",
|
|
287
|
+
"ui.timeline.activity.webSearches.other": "{{count}} የድር ፍለጋዎች",
|
|
288
|
+
"ui.timeline.activity.pages.one": "{{count}} ገጽ",
|
|
289
|
+
"ui.timeline.activity.pages.other": "{{count}} ገጾች",
|
|
290
|
+
"ui.timeline.activity.skills.one": "{{count}} ችሎታ",
|
|
291
|
+
"ui.timeline.activity.skills.other": "{{count}} ችሎታዎች",
|
|
292
|
+
"ui.timeline.activity.commands.one": "{{count}} ትዕዛዝ",
|
|
293
|
+
"ui.timeline.activity.commands.other": "{{count}} ትዕዛዞች",
|
|
294
|
+
"ui.timeline.activity.subagents.one": "{{count}} ንዑስ ወኪል",
|
|
295
|
+
"ui.timeline.activity.subagents.other": "{{count}} ንዑስ ወኪሎች",
|
|
296
|
+
"ui.timeline.activity.startedShells.one": "{{count}} ሼል ጀምሯል",
|
|
297
|
+
"ui.timeline.activity.startedShells.other": "{{count}} ሼሎች ጀምሯል",
|
|
298
|
+
"ui.timeline.activity.startedSubagents.one": "{{count}} ንዑስ ወኪል ጀምሯል",
|
|
299
|
+
"ui.timeline.activity.startedSubagents.other": "{{count}} ንዑስ ወኪሎች ጀምሯል",
|
|
300
|
+
"ui.timeline.activity.finishedShells.one": "{{count}} ሼል ጨርሷል",
|
|
301
|
+
"ui.timeline.activity.finishedShells.other": "{{count}} ሼሎች ጨርሷል",
|
|
302
|
+
"ui.timeline.activity.finishedSubagents.one": "{{count}} ንዑስ ወኪል ጨርሷል",
|
|
303
|
+
"ui.timeline.activity.finishedSubagents.other": "{{count}} ንዑስ ወኪሎች ጨርሷል",
|
|
304
|
+
"ui.timeline.activity.stoppedShells.one": "{{count}} ሼል አቁሟል",
|
|
305
|
+
"ui.timeline.activity.stoppedShells.other": "{{count}} ሼሎች አቁሟል",
|
|
306
|
+
"ui.timeline.activity.stoppedSubagents.one": "{{count}} ንዑስ ወኪል አቁሟል",
|
|
307
|
+
"ui.timeline.activity.stoppedSubagents.other": "{{count}} ንዑስ ወኪሎች አቁሟል",
|
|
308
|
+
"ui.timeline.event.started": "ተጀምሯል",
|
|
309
|
+
"ui.timeline.event.finished": "ተጠናቋል",
|
|
310
|
+
"ui.timeline.subagent.name": "{{name}} ወኪል",
|
|
311
|
+
"ui.timeline.subagent.updated": "ተዘምኗል",
|
|
312
|
+
"ui.timeline.subagent.completed": "ተጠናቋል",
|
|
313
|
+
"ui.timeline.event.stopped": "ቆሟል",
|
|
314
|
+
"ui.timeline.event.subagents.one": "{{count}} ንዑስ ወኪል",
|
|
315
|
+
"ui.timeline.event.subagents.other": "{{count}} ንዑስ ወኪሎች",
|
|
316
|
+
"ui.timeline.event.shells.one": "{{count}} ሼል",
|
|
317
|
+
"ui.timeline.event.shells.other": "{{count}} ሼሎች",
|
|
318
|
+
"ui.timeline.event.failed": "{{count}} አልተሳካም",
|
|
319
|
+
"ui.timeline.event.allFailed": "አልተሳካም",
|
|
320
|
+
"ui.timeline.notice.agentSwitched": "ወደ {{agent}} ተቀይሯል",
|
|
321
|
+
"ui.timeline.shell.exit": "የመውጫ ኮድ {{code}}",
|
|
322
|
+
"ui.timeline.shell.timedOut": "ጊዜው አልፏል",
|
|
323
|
+
"ui.timeline.shell.stopped": "ቆሟል",
|
|
324
|
+
"ui.list.failed": "ውጤቶችን መጫን አልተሳካም",
|
|
325
|
+
"ui.promptInput.history": "የፕሮምፕት ታሪክ",
|
|
326
|
+
"ui.promptInput.history.search": "የፕሮምፕት ታሪክ ፈልግ…",
|
|
327
|
+
"ui.promptInput.history.contextOnly": "ፕሮምፕት ከአውድ ጋር",
|
|
328
|
+
"ui.redirectPaste.label": "የማዛወሪያ URL",
|
|
329
|
+
"ui.redirectPaste.placeholder": "http://127.0.0.1:…/callback?code=…",
|
|
330
|
+
"ui.redirectPaste.required": "URLን ከአሳሹ የአድራሻ አሞሌ ይለጥፉ",
|
|
331
|
+
"ui.imagePreview.zoomIn": "አጉላ",
|
|
332
|
+
"ui.imagePreview.zoomOut": "አሳንስ",
|
|
333
|
+
"ui.imagePreview.zoomToFit": "ለማስማማት አጉላ",
|
|
334
|
+
"ui.diagramPreview.label": "ሥዕላዊ መግለጫ",
|
|
335
|
+
"ui.diagramPreview.open": "ሥዕላዊ መግለጫውን አስፋ",
|
|
336
|
+
"ui.tool.searchWeb": "ድሩን ፈልግ",
|
|
337
|
+
"ui.tool.fetch": "አምጣ",
|
|
338
|
+
"ui.tool.execute.viewCode": "ኮድ ይመልከቱ",
|
|
339
|
+
"ui.tool.execute.code": "ኮድ",
|
|
340
|
+
"ui.tool.execute.output": "ውጤት",
|
|
341
|
+
"ui.tool.execute.error": "ስህተት",
|
|
342
|
+
"ui.tool.execute.copyCode": "ኮድ ቅዳ",
|
|
343
|
+
"ui.tool.execute.copyOutput": "ውጤቱን ቅዳ",
|
|
344
|
+
"ui.tool.execute.running": "በሂደት ላይ",
|
|
345
|
+
"ui.tool.execute.completed": "ተጠናቋል",
|
|
346
|
+
"ui.tool.execute.calls.one": "{{count}} ጥሪ",
|
|
347
|
+
"ui.tool.execute.calls.other": "{{count}} ጥሪዎች",
|
|
348
|
+
"ui.tool.execute.lines.one": "{{count}} መስመር",
|
|
349
|
+
"ui.tool.execute.lines.other": "{{count}} መስመሮች",
|
|
350
|
+
"ui.common.showLess": "ያነሰ አሳይ",
|
|
351
|
+
"ui.message.readMore": "ተጨማሪ አንብብ",
|
|
352
|
+
"ui.message.showLess": "ያነሰ አሳይ",
|
|
353
|
+
"ui.message.copyFullMessage": "ሙሉውን መልእክት ቅዳ",
|
|
354
|
+
"ui.message.undoMessage": "ቀልብስ",
|
|
355
|
+
"ui.message.moreActions": "ተጨማሪ ድርጊቶች",
|
|
356
|
+
"ui.message.moveToQueue": "ወደ ወረፋ አንቀሳቅስ",
|
|
357
|
+
"ui.message.pending": "በመጠባበቅ ላይ",
|
|
358
|
+
"ui.message.voice": "ድምጽ",
|
|
359
|
+
"ui.message.deletePending": "ሰርዝ",
|
|
360
|
+
"ui.message.copyOutput": "ውጤቱን ቅዳ",
|
|
361
|
+
"ui.message.duration.hoursMinutes": "{{hours}}ሰዓ {{minutes}}ደ",
|
|
362
|
+
"ui.message.tokensPerSecond": "{{value}} tok/s",
|
|
363
|
+
"ui.message.modelVariant": "{{model}} ({{variant}})",
|
|
364
|
+
"ui.message.time.justNow": "አሁን",
|
|
365
|
+
"ui.message.time.minutesAgo": "ከ{{count}}ደ በፊት",
|
|
366
|
+
"ui.message.time.hoursAgo": "ከ{{count}}ሰዓ በፊት",
|
|
367
|
+
"ui.message.time.daysAgo": "ከ{{count}}ቀ በፊት",
|
|
368
|
+
"ui.sources.count.one": "{{count}} ምንጭ",
|
|
369
|
+
"ui.sources.count.other": "{{count}} ምንጮች",
|
|
370
|
+
"ui.sources.none": "ምንም ምንጭ የለም",
|
|
371
|
+
"ui.sources.title": "ምንጮች",
|
|
372
|
+
"ui.sources.searched": "ድሩ ተፈልጓል",
|
|
373
|
+
"ui.sources.searchFailed": "ፍለጋው አልተሳካም",
|
|
374
|
+
"ui.sources.noResults": "ምንም ውጤት የለም",
|
|
375
|
+
"ui.sources.opened": "ገጹ ተከፍቷል",
|
|
376
|
+
"ui.sources.openFailed": "ገጹን መክፈት አልተቻለም",
|
|
377
|
+
"ui.sessionTimeline.notice.variantSwitched": "ልዩነቱ ወደ {{variant}} ተቀይሯል",
|
|
378
|
+
"ui.sessionTimeline.notice.variantDefault": "ልዩነቱ ወደ ነባሪ ተቀይሯል",
|
|
379
|
+
"ui.question.singleHint": "አንድ መልስ ይምረጡ",
|
|
380
|
+
"ui.question.classic.multiHint": "የሚመለከቱትን ሁሉንም መልሶች ይምረጡ",
|
|
381
|
+
"ui.question.custom.answerPlaceholder": "የራስዎን መልስ ይተይቡ…",
|
|
247
382
|
}
|