@opencode-ai/ui 0.0.0-dev-17482 → 0.0.0-dev-202608160609
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/components/icon.d.ts +0 -6
- package/dist/components/scroll-view.d.ts +3 -3
- package/dist/context/i18n.d.ts +7 -10
- package/dist/i18n/ar.d.ts +2 -0
- package/dist/i18n/bg.d.ts +2 -0
- package/dist/i18n/br.d.ts +2 -0
- package/dist/i18n/bs.d.ts +2 -0
- package/dist/i18n/da.d.ts +2 -0
- package/dist/i18n/de.d.ts +2 -0
- package/dist/i18n/en.d.ts +1 -202
- package/dist/i18n/es.d.ts +2 -0
- package/dist/i18n/fr.d.ts +2 -0
- package/dist/i18n/ja.d.ts +2 -0
- package/dist/i18n/km.d.ts +2 -0
- package/dist/i18n/ko.d.ts +2 -0
- package/dist/i18n/lo.d.ts +2 -0
- package/dist/i18n/mk.d.ts +2 -0
- package/dist/i18n/mn.d.ts +2 -0
- package/dist/i18n/my.d.ts +2 -0
- package/dist/i18n/pl.d.ts +2 -0
- package/dist/i18n/ru.d.ts +2 -0
- package/dist/i18n/sr.d.ts +2 -0
- package/dist/i18n/tg.d.ts +2 -0
- package/dist/i18n/th.d.ts +2 -0
- package/dist/i18n/tr.d.ts +2 -0
- package/dist/i18n/zh.d.ts +2 -0
- package/dist/i18n/zht.d.ts +2 -0
- package/dist/v2/components/icon.d.ts +0 -12
- package/package.json +5 -1
- package/src/components/card.tsx +3 -3
- package/src/components/icon.tsx +0 -6
- package/src/components/list.tsx +2 -4
- package/src/components/provider-icon.tsx +1 -1
- package/src/components/scroll-view.tsx +20 -5
- package/src/components/toast.tsx +14 -16
- package/src/context/i18n.tsx +14 -17
- package/src/hooks/create-auto-scroll.tsx +0 -20
- package/src/i18n/am.ts +2 -0
- package/src/i18n/ar.ts +2 -0
- package/src/i18n/az.ts +2 -0
- package/src/i18n/bg.ts +2 -0
- package/src/i18n/bn.ts +2 -0
- package/src/i18n/br.ts +2 -0
- package/src/i18n/bs.ts +2 -0
- package/src/i18n/ca.ts +2 -0
- package/src/i18n/cs.ts +2 -0
- package/src/i18n/da.ts +2 -0
- package/src/i18n/de.ts +2 -0
- package/src/i18n/dv.ts +2 -0
- package/src/i18n/dz.ts +2 -0
- package/src/i18n/el.ts +2 -0
- package/src/i18n/en.ts +4 -11
- package/src/i18n/es.ts +2 -0
- package/src/i18n/et.ts +2 -0
- package/src/i18n/fa.ts +2 -0
- package/src/i18n/fi.ts +2 -0
- package/src/i18n/fo.ts +2 -0
- package/src/i18n/fr.ts +2 -0
- package/src/i18n/hi.ts +2 -0
- package/src/i18n/hr.ts +2 -0
- package/src/i18n/hu.ts +2 -0
- package/src/i18n/hy.ts +2 -0
- package/src/i18n/id.ts +2 -0
- package/src/i18n/is.ts +2 -0
- package/src/i18n/it.ts +2 -0
- package/src/i18n/ja.ts +2 -0
- package/src/i18n/ka.ts +2 -0
- package/src/i18n/km.ts +2 -0
- package/src/i18n/ko.ts +2 -0
- package/src/i18n/lo.ts +2 -0
- package/src/i18n/lt.ts +2 -0
- package/src/i18n/lv.ts +2 -0
- package/src/i18n/mk.ts +2 -0
- package/src/i18n/mn.ts +2 -0
- package/src/i18n/ms.ts +2 -0
- package/src/i18n/my.ts +2 -0
- package/src/i18n/ne.ts +2 -0
- package/src/i18n/nl.ts +2 -0
- package/src/i18n/no.ts +2 -0
- package/src/i18n/pa.ts +2 -0
- package/src/i18n/pl.ts +2 -0
- package/src/i18n/ro.ts +2 -0
- package/src/i18n/ru.ts +2 -0
- package/src/i18n/si.ts +2 -0
- package/src/i18n/sk.ts +2 -0
- package/src/i18n/sl.ts +2 -0
- package/src/i18n/sq.ts +2 -0
- package/src/i18n/sr.ts +2 -0
- package/src/i18n/sv.ts +2 -0
- package/src/i18n/tg.ts +2 -0
- package/src/i18n/th.ts +2 -0
- package/src/i18n/tk.ts +2 -0
- package/src/i18n/tr.ts +2 -0
- package/src/i18n/uk.ts +2 -0
- package/src/i18n/ur.ts +2 -0
- package/src/i18n/uz.ts +2 -0
- package/src/i18n/vi.ts +2 -0
- package/src/i18n/zh.ts +2 -0
- package/src/i18n/zht.ts +2 -0
- package/src/theme/themes/oc-2.json +1 -1
- package/src/v2/components/dialog-v2.css +0 -3
- package/src/v2/components/dialog-v2.tsx +2 -2
- package/src/v2/components/icon.tsx +0 -13
- package/src/v2/components/keybind-v2.css +1 -1
- package/src/v2/components/line-comment-v2.tsx +0 -2
- package/src/v2/components/tabs-v2.css +4 -12
- package/src/v2/components/toast-v2.tsx +0 -2
- package/src/v2/components/tooltip-v2.tsx +2 -3
- package/dist/i18n/he.d.ts +0 -197
- package/src/i18n/he.ts +0 -199
package/src/i18n/pa.ts
CHANGED
|
@@ -144,6 +144,8 @@ export const dict: Record<string, string> = {
|
|
|
144
144
|
"ui.tool.websearch.provider": "{{provider}} Web Search",
|
|
145
145
|
"ui.tool.shell": "Shell",
|
|
146
146
|
"ui.tool.patch": "Patch",
|
|
147
|
+
"ui.tool.todos": "ٹوڈوس",
|
|
148
|
+
"ui.tool.todos.read": "ٹوڈوس پڑھو",
|
|
147
149
|
"ui.tool.questions": "سوال",
|
|
148
150
|
"ui.tool.questions.numbered": "سوال {{number}}",
|
|
149
151
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/pl.ts
CHANGED
|
@@ -159,6 +159,8 @@ export const dict = {
|
|
|
159
159
|
"ui.tool.websearch.provider": "{{provider}} Wyszukiwanie w sieci",
|
|
160
160
|
"ui.tool.shell": "Terminal",
|
|
161
161
|
"ui.tool.patch": "Patch",
|
|
162
|
+
"ui.tool.todos": "Zadania",
|
|
163
|
+
"ui.tool.todos.read": "Czytaj zadania",
|
|
162
164
|
"ui.tool.questions": "Pytania",
|
|
163
165
|
"ui.tool.questions.numbered": "Pytania {{number}}",
|
|
164
166
|
"ui.tool.agent": "Agent {{type}}",
|
package/src/i18n/ro.ts
CHANGED
|
@@ -147,6 +147,8 @@ export const dict: Record<string, string> = {
|
|
|
147
147
|
"ui.tool.websearch.provider": "Căutare web {{provider}}",
|
|
148
148
|
"ui.tool.shell": "Shell",
|
|
149
149
|
"ui.tool.patch": "Petec",
|
|
150
|
+
"ui.tool.todos": "Sarcini",
|
|
151
|
+
"ui.tool.todos.read": "Citește sarcinile",
|
|
150
152
|
"ui.tool.questions": "Întrebări",
|
|
151
153
|
"ui.tool.questions.numbered": "Întrebări {{number}}",
|
|
152
154
|
"ui.tool.agent": "Agent {{type}}",
|
package/src/i18n/ru.ts
CHANGED
|
@@ -158,6 +158,8 @@ export const dict = {
|
|
|
158
158
|
"ui.tool.websearch.provider": "{{provider}} Веб-поиск",
|
|
159
159
|
"ui.tool.shell": "Оболочка",
|
|
160
160
|
"ui.tool.patch": "Патч",
|
|
161
|
+
"ui.tool.todos": "Задачи",
|
|
162
|
+
"ui.tool.todos.read": "Читать задачи",
|
|
161
163
|
"ui.tool.questions": "Вопросы",
|
|
162
164
|
"ui.tool.questions.numbered": "Вопросы {{number}}",
|
|
163
165
|
"ui.tool.agent": "Агент {{type}}",
|
package/src/i18n/si.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Web Search",
|
|
144
144
|
"ui.tool.shell": "ෂෙල්",
|
|
145
145
|
"ui.tool.patch": "පැච්",
|
|
146
|
+
"ui.tool.todos": "කළ යුතු දේ",
|
|
147
|
+
"ui.tool.todos.read": "කළ යුතු දේ කියවන්න",
|
|
146
148
|
"ui.tool.questions": "ප්රශ්න",
|
|
147
149
|
"ui.tool.questions.numbered": "ප්රශ්න {{number}}",
|
|
148
150
|
"ui.tool.agent": "{{type}} නියෝජිතයා",
|
package/src/i18n/sk.ts
CHANGED
|
@@ -151,6 +151,8 @@ export const dict: Record<string, string> = {
|
|
|
151
151
|
"ui.tool.websearch.provider": "{{provider}} webové vyhľadávanie",
|
|
152
152
|
"ui.tool.shell": "Shell",
|
|
153
153
|
"ui.tool.patch": "Záplata",
|
|
154
|
+
"ui.tool.todos": "Úlohy",
|
|
155
|
+
"ui.tool.todos.read": "Prečítať úlohy",
|
|
154
156
|
"ui.tool.questions": "Otázky",
|
|
155
157
|
"ui.tool.questions.numbered": "Otázky {{number}}",
|
|
156
158
|
"ui.tool.agent": "{{type}} agent",
|
package/src/i18n/sl.ts
CHANGED
|
@@ -152,6 +152,8 @@ export const dict: Record<string, string> = {
|
|
|
152
152
|
"ui.tool.websearch.provider": "Spletno iskanje {{provider}}",
|
|
153
153
|
"ui.tool.shell": "Lupina",
|
|
154
154
|
"ui.tool.patch": "obliž",
|
|
155
|
+
"ui.tool.todos": "Opravki",
|
|
156
|
+
"ui.tool.todos.read": "Preberi opravila",
|
|
155
157
|
"ui.tool.questions": "Vprašanja",
|
|
156
158
|
"ui.tool.questions.numbered": "Vprašanja {{number}}",
|
|
157
159
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/sq.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Kërkimi në ueb",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
+
"ui.tool.todos": "detyrat",
|
|
147
|
+
"ui.tool.todos.read": "Lexoni detyrat",
|
|
146
148
|
"ui.tool.questions": "Pyetje",
|
|
147
149
|
"ui.tool.questions.numbered": "Pyetje {{number}}",
|
|
148
150
|
"ui.tool.agent": "{{type}} Agjent",
|
package/src/i18n/sr.ts
CHANGED
|
@@ -148,6 +148,8 @@ export const dict = {
|
|
|
148
148
|
"ui.tool.websearch.provider": "{{provider}} Веб претрага",
|
|
149
149
|
"ui.tool.shell": "Shell",
|
|
150
150
|
"ui.tool.patch": "Patch",
|
|
151
|
+
"ui.tool.todos": "То-дос",
|
|
152
|
+
"ui.tool.todos.read": "Читање обавеза",
|
|
151
153
|
"ui.tool.questions": "Питања",
|
|
152
154
|
"ui.tool.questions.numbered": "Питања {{number}}",
|
|
153
155
|
"ui.tool.agent": "{{type}} Агент",
|
package/src/i18n/sv.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Webbsökning",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
+
"ui.tool.todos": "Att göra",
|
|
147
|
+
"ui.tool.todos.read": "Läs att göra-listan",
|
|
146
148
|
"ui.tool.questions": "Frågor",
|
|
147
149
|
"ui.tool.questions.numbered": "Frågor {{number}}",
|
|
148
150
|
"ui.tool.agent": "{{type}}-agent",
|
package/src/i18n/tg.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Ҷустуҷӯи веб",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
+
"ui.tool.todos": "Вазифаҳо",
|
|
147
|
+
"ui.tool.todos.read": "Вазифаҳоро хонед",
|
|
146
148
|
"ui.tool.questions": "Саволҳо",
|
|
147
149
|
"ui.tool.questions.numbered": "Саволҳо {{number}}",
|
|
148
150
|
"ui.tool.agent": "{{type}} Агент",
|
package/src/i18n/th.ts
CHANGED
|
@@ -151,6 +151,8 @@ export const dict = {
|
|
|
151
151
|
"ui.tool.websearch.provider": "{{provider}} ค้นหาเว็บ",
|
|
152
152
|
"ui.tool.shell": "เชลล์",
|
|
153
153
|
"ui.tool.patch": "แพตช์",
|
|
154
|
+
"ui.tool.todos": "รายการงาน",
|
|
155
|
+
"ui.tool.todos.read": "อ่านรายการงาน",
|
|
154
156
|
"ui.tool.questions": "คำถาม",
|
|
155
157
|
"ui.tool.questions.numbered": "คำถาม {{number}}",
|
|
156
158
|
"ui.tool.agent": "เอเจนต์ {{type}}",
|
package/src/i18n/tk.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Web gözlegi",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
+
"ui.tool.todos": "Edilmeli işler",
|
|
147
|
+
"ui.tool.todos.read": "Edilmeli zatlary okaň",
|
|
146
148
|
"ui.tool.questions": "Soraglar",
|
|
147
149
|
"ui.tool.questions.numbered": "Soraglar {{number}}",
|
|
148
150
|
"ui.tool.agent": "{{type}} Agenti",
|
package/src/i18n/tr.ts
CHANGED
|
@@ -157,6 +157,8 @@ export const dict = {
|
|
|
157
157
|
"ui.tool.websearch.provider": "{{provider}} Web araması",
|
|
158
158
|
"ui.tool.shell": "Kabuk",
|
|
159
159
|
"ui.tool.patch": "Yama",
|
|
160
|
+
"ui.tool.todos": "Görevler",
|
|
161
|
+
"ui.tool.todos.read": "Görevleri oku",
|
|
160
162
|
"ui.tool.questions": "Sorular",
|
|
161
163
|
"ui.tool.questions.numbered": "Sorular {{number}}",
|
|
162
164
|
"ui.tool.agent": "{{type}} ajanı",
|
package/src/i18n/uk.ts
CHANGED
|
@@ -167,6 +167,8 @@ export const dict: Record<string, string> = {
|
|
|
167
167
|
"ui.tool.websearch.provider": "{{provider}} Веб-пошук",
|
|
168
168
|
"ui.tool.shell": "Оболонка",
|
|
169
169
|
"ui.tool.patch": "Патч",
|
|
170
|
+
"ui.tool.todos": "Завдання",
|
|
171
|
+
"ui.tool.todos.read": "Читати завдання",
|
|
170
172
|
"ui.tool.questions": "Запитання",
|
|
171
173
|
"ui.tool.questions.numbered": "Запитання {{number}}",
|
|
172
174
|
"ui.tool.agent": "Агент {{type}}",
|
package/src/i18n/ur.ts
CHANGED
|
@@ -144,6 +144,8 @@ export const dict: Record<string, string> = {
|
|
|
144
144
|
"ui.tool.websearch.provider": "{{provider}} ویب تلاش",
|
|
145
145
|
"ui.tool.shell": "شیل",
|
|
146
146
|
"ui.tool.patch": "پیچ",
|
|
147
|
+
"ui.tool.todos": "زیر التوا کام",
|
|
148
|
+
"ui.tool.todos.read": "زیر التوا کام پڑھیں",
|
|
147
149
|
"ui.tool.questions": "سوالات",
|
|
148
150
|
"ui.tool.questions.numbered": "سوالات {{number}}",
|
|
149
151
|
"ui.tool.agent": "{{type}} ایجنٹ",
|
package/src/i18n/uz.ts
CHANGED
|
@@ -146,6 +146,8 @@ export const dict: Record<string, string> = {
|
|
|
146
146
|
"ui.tool.websearch.provider": "{{provider}} veb-qidiruv",
|
|
147
147
|
"ui.tool.shell": "Shell",
|
|
148
148
|
"ui.tool.patch": "Yamoq",
|
|
149
|
+
"ui.tool.todos": "Vazifalar",
|
|
150
|
+
"ui.tool.todos.read": "Vazifalarni o'qing",
|
|
149
151
|
"ui.tool.questions": "Savollar",
|
|
150
152
|
"ui.tool.questions.numbered": "Savollar {{number}}",
|
|
151
153
|
"ui.tool.agent": "{{type}} agenti",
|
package/src/i18n/vi.ts
CHANGED
|
@@ -143,6 +143,8 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Tìm kiếm trên web",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Bản vá",
|
|
146
|
+
"ui.tool.todos": "Việc cần làm",
|
|
147
|
+
"ui.tool.todos.read": "Đọc việc cần làm",
|
|
146
148
|
"ui.tool.questions": "Câu hỏi",
|
|
147
149
|
"ui.tool.questions.numbered": "Câu hỏi {{number}}",
|
|
148
150
|
"ui.tool.agent": "Tác nhân {{type}}",
|
package/src/i18n/zh.ts
CHANGED
|
@@ -153,6 +153,8 @@ export const dict = {
|
|
|
153
153
|
"ui.tool.websearch.provider": "{{provider}} 网页搜索",
|
|
154
154
|
"ui.tool.shell": "Shell",
|
|
155
155
|
"ui.tool.patch": "补丁",
|
|
156
|
+
"ui.tool.todos": "待办",
|
|
157
|
+
"ui.tool.todos.read": "读取待办",
|
|
156
158
|
"ui.tool.questions": "问题",
|
|
157
159
|
"ui.tool.questions.numbered": "问题 {{number}}",
|
|
158
160
|
"ui.tool.agent": "{{type}} 智能体",
|
package/src/i18n/zht.ts
CHANGED
|
@@ -153,6 +153,8 @@ export const dict = {
|
|
|
153
153
|
"ui.tool.websearch.provider": "{{provider}} 網頁搜尋",
|
|
154
154
|
"ui.tool.shell": "Shell",
|
|
155
155
|
"ui.tool.patch": "修補",
|
|
156
|
+
"ui.tool.todos": "待辦",
|
|
157
|
+
"ui.tool.todos.read": "讀取待辦",
|
|
156
158
|
"ui.tool.questions": "問題",
|
|
157
159
|
"ui.tool.questions.numbered": "問題 {{number}}",
|
|
158
160
|
"ui.tool.agent": "{{type}} 代理程式",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"border-weak-base": "#DBDBDB",
|
|
26
26
|
"border-weaker-base": "#E8E8E8",
|
|
27
27
|
"icon-base": "#8F8F8F",
|
|
28
|
-
"icon-weak-base": "C7C7C7",
|
|
28
|
+
"icon-weak-base": "#C7C7C7",
|
|
29
29
|
"surface-raised-base": "#F3F3F3",
|
|
30
30
|
"surface-raised-base-hover": "#EDEDED",
|
|
31
31
|
"surface-base": "#F8F8F8",
|
|
@@ -59,7 +59,7 @@ export function DialogHeader(props: DialogHeaderProps) {
|
|
|
59
59
|
return (
|
|
60
60
|
<div data-slot="dialog-header" data-hide-close={hideClose() ? "" : undefined}>
|
|
61
61
|
{local.children}
|
|
62
|
-
|
|
62
|
+
{!hideClose() && (
|
|
63
63
|
<Kobalte.CloseButton data-slot="dialog-close-button" aria-label={local.closeLabel ?? i18n.t("ui.common.close")}>
|
|
64
64
|
<svg
|
|
65
65
|
width="16"
|
|
@@ -76,7 +76,7 @@ export function DialogHeader(props: DialogHeaderProps) {
|
|
|
76
76
|
/>
|
|
77
77
|
</svg>
|
|
78
78
|
</Kobalte.CloseButton>
|
|
79
|
-
|
|
79
|
+
)}
|
|
80
80
|
</div>
|
|
81
81
|
)
|
|
82
82
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { onMount, type ComponentProps, splitProps } from "solid-js"
|
|
2
2
|
|
|
3
|
-
// Consumers center the SVG viewport, so each icon must center its artwork within its viewBox.
|
|
4
3
|
const icons = {
|
|
5
4
|
edit: {
|
|
6
5
|
viewBox: "0 0 16 16",
|
|
@@ -18,10 +17,6 @@ const icons = {
|
|
|
18
17
|
viewBox: "0 0 16 16",
|
|
19
18
|
body: `<path d="M5.118 5.686V10.314M5.118 5.686C5.97 5.686 6.661 4.995 6.661 4.143C6.661 3.291 5.97 2.6 5.118 2.6C4.266 2.6 3.575 3.291 3.575 4.143C3.575 4.995 4.266 5.686 5.118 5.686ZM5.118 10.314C4.266 10.314 3.575 11.005 3.575 11.857C3.575 12.709 4.266 13.4 5.118 13.4C5.97 13.4 6.661 12.709 6.661 11.857M5.118 10.314C5.97 10.314 6.661 11.005 6.661 11.857M10.882 5.686C11.734 5.686 12.425 4.995 12.425 4.143C12.425 3.291 11.734 2.6 10.882 2.6C10.03 2.6 9.339 3.291 9.339 4.143C9.339 4.995 10.03 5.686 10.882 5.686ZM10.882 5.686V9.457C10.882 10.783 9.807 11.857 8.482 11.857H6.661" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
20
19
|
},
|
|
21
|
-
"branch-out": {
|
|
22
|
-
viewBox: "0 0 16 16",
|
|
23
|
-
body: `<path d="M10.4225 3.35355L12.9024 5.83344L10.4225 8.31333" stroke="currentColor"/><path d="M1 12.2852H4.23042C4.89912 12.2852 5.52359 11.951 5.89452 11.3946L9.00783 6.72462C8.37877 6.16823 10.0032 5.83402 10.6719 5.83402H12.9024" stroke="currentColor"/><path d="M8.5 12.2852H14" stroke="currentColor" stroke-linejoin="round"/>`,
|
|
24
|
-
},
|
|
25
20
|
"grid-plus": {
|
|
26
21
|
viewBox: "0 0 16 16",
|
|
27
22
|
body: `<path d="M13.9948 11.668H9.32812M11.6641 9.33203V13.9987M6.66667 9.33203V13.9987H2V9.33203H6.66667ZM6.66667 2V6.66667H2V2H6.66667ZM13.9948 2V6.66667H9.32812V2H13.9948Z" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/>`,
|
|
@@ -126,14 +121,6 @@ const icons = {
|
|
|
126
121
|
viewBox: "0 0 20 20",
|
|
127
122
|
body: `<path d="M7 14.5H13M7 7.99512H10.0049M10.0049 7.99512H13M10.0049 7.99512V5M10.0049 7.99512V11M18 18V2L2 2L2 18H18Z" stroke="currentColor"/>`,
|
|
128
123
|
},
|
|
129
|
-
"window-analytics": {
|
|
130
|
-
viewBox: "0 0 16 16",
|
|
131
|
-
body: `<g transform="translate(1 2)"><path d="M7 4H11M7 8H11M0.5 0.5V11.5H13.5V0.5H0.5ZM3.5 3.5H4.5V4.5H3.5V3.5ZM3.5 7.5H4.5V8.5H3.5V7.5Z" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/></g>`,
|
|
132
|
-
},
|
|
133
|
-
trash: {
|
|
134
|
-
viewBox: "0 0 20 20",
|
|
135
|
-
body: `<path d="M4.58342 17.9134L4.58369 17.4134L4.22787 17.5384L4.22766 18.0384H4.58342V17.9134ZM15.4167 17.9134V18.0384H15.7725L15.7723 17.5384L15.4167 17.9134ZM2.08342 3.95508V3.45508H1.58342V3.95508H2.08342V4.45508V3.95508ZM17.9167 4.45508V4.95508H18.4167V4.45508H17.9167V3.95508V4.45508ZM4.16677 4.58008L3.66701 4.5996L4.22816 17.5379L4.72792 17.4934L5.22767 17.4489L4.66652 4.54055L4.16677 4.58008ZM4.58342 18.0384V17.9134H15.4167V18.0384V18.5384H4.58342V18.0384ZM15.4167 17.9134L15.8332 17.5379L16.2498 4.5996L15.7501 4.58008L15.2503 4.56055L14.8337 17.4989L15.4167 17.9134ZM15.8334 4.58008V4.08008H4.16677V4.58008V5.08008H15.8334V4.58008ZM2.08342 4.45508V4.95508H4.16677V4.58008V4.08008H2.08342V4.45508ZM15.8334 4.58008V5.08008H17.9167V4.45508V3.95508H15.8334V4.58008ZM6.83951 4.35149L7.432 4.55047C7.79251 3.47701 8.80699 2.70508 10.0001 2.70508V2.20508V1.70508C8.25392 1.70508 6.77335 2.83539 6.24702 4.15251L6.83951 4.35149ZM10.0001 2.20508V2.70508C11.1932 2.70508 12.2077 3.47701 12.5682 4.55047L13.1607 4.35149L13.7532 4.15251C13.2269 2.83539 11.7463 1.70508 10.0001 1.70508V2.20508Z" fill="currentColor"/>`,
|
|
136
|
-
},
|
|
137
124
|
"outline-sliders": {
|
|
138
125
|
viewBox: "0 0 16 16",
|
|
139
126
|
body: `<path d="M11.7779 4.66675H14.4446M11.7779 4.66675C11.7779 5.77132 10.8825 6.66675 9.77789 6.66675C8.67332 6.66675 7.77789 5.77132 7.77789 4.66675M11.7779 4.66675C11.7779 3.56218 10.8825 2.66675 9.77789 2.66675C8.67332 2.66675 7.77789 3.56218 7.77789 4.66675M1.55566 4.66675H7.77789M4.22233 11.3334H1.55566M4.22233 11.3334C4.22233 12.438 5.11776 13.3334 6.22233 13.3334C7.3269 13.3334 8.22233 12.438 8.22233 11.3334M4.22233 11.3334C4.22233 10.2288 5.11776 9.33341 6.22233 9.33341C7.3269 9.33341 8.22233 10.2288 8.22233 11.3334M14.4446 11.3334H8.22233" stroke="currentColor"/>`,
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
justify-content: center;
|
|
28
28
|
align-items: center;
|
|
29
29
|
padding: 0;
|
|
30
|
-
padding-inline: 4px;
|
|
31
30
|
gap: 4px;
|
|
32
31
|
min-width: 14px;
|
|
33
32
|
height: 14px;
|
|
@@ -49,6 +48,7 @@
|
|
|
49
48
|
flex-direction: row;
|
|
50
49
|
justify-content: center;
|
|
51
50
|
align-items: center;
|
|
51
|
+
min-width: 14px;
|
|
52
52
|
height: 11px;
|
|
53
53
|
padding: 0;
|
|
54
54
|
flex: none;
|
|
@@ -212,11 +212,9 @@ export function LineCommentEditorV2(props: LineCommentEditorV2Props) {
|
|
|
212
212
|
textareaRef = el
|
|
213
213
|
}}
|
|
214
214
|
data-slot="line-comment-v2-textarea"
|
|
215
|
-
dir="auto"
|
|
216
215
|
rows={local.rows ?? 3}
|
|
217
216
|
placeholder={local.placeholder ?? i18n.t("ui.lineComment.contextPlaceholder")}
|
|
218
217
|
value={local.value}
|
|
219
|
-
style={{ "unicode-bidi": "plaintext", "text-align": "start" }}
|
|
220
218
|
onInput={(e) => {
|
|
221
219
|
local.onInput(e.currentTarget.value)
|
|
222
220
|
syncMention()
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
border: 0.5px solid var(--v2-border-border-muted);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
178
|
+
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"] [data-slot="tabs-v2-list"] {
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
width: 240px;
|
|
181
181
|
min-width: 200px;
|
|
@@ -186,9 +186,7 @@
|
|
|
186
186
|
border-inline-end: 1px solid var(--v2-border-border-base);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
190
|
-
> [data-slot="tabs-v2-list"]
|
|
191
|
-
[data-slot="tabs-v2-section-title"] {
|
|
189
|
+
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"] [data-slot="tabs-v2-section-title"] {
|
|
192
190
|
width: 100%;
|
|
193
191
|
padding-inline-start: 4px;
|
|
194
192
|
color: var(--v2-text-text-muted);
|
|
@@ -197,9 +195,7 @@
|
|
|
197
195
|
user-select: none;
|
|
198
196
|
}
|
|
199
197
|
|
|
200
|
-
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
201
|
-
> [data-slot="tabs-v2-list"]
|
|
202
|
-
[data-slot="tabs-v2-trigger-wrapper"] {
|
|
198
|
+
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"] [data-slot="tabs-v2-trigger-wrapper"] {
|
|
203
199
|
width: 100%;
|
|
204
200
|
height: 28px;
|
|
205
201
|
border-radius: 4px;
|
|
@@ -207,9 +203,7 @@
|
|
|
207
203
|
color: var(--v2-text-text-muted);
|
|
208
204
|
}
|
|
209
205
|
|
|
210
|
-
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
211
|
-
> [data-slot="tabs-v2-list"]
|
|
212
|
-
[data-slot="tabs-v2-trigger"] {
|
|
206
|
+
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"] [data-slot="tabs-v2-trigger"] {
|
|
213
207
|
width: 100%;
|
|
214
208
|
height: 100%;
|
|
215
209
|
justify-content: flex-start;
|
|
@@ -218,14 +212,12 @@
|
|
|
218
212
|
}
|
|
219
213
|
|
|
220
214
|
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
221
|
-
> [data-slot="tabs-v2-list"]
|
|
222
215
|
[data-slot="tabs-v2-trigger-wrapper"]:hover:not(:disabled):not(:has([data-selected])) {
|
|
223
216
|
background-color: var(--v2-background-bg-layer-03);
|
|
224
217
|
color: var(--v2-text-text-base);
|
|
225
218
|
}
|
|
226
219
|
|
|
227
220
|
[data-component="tabs-v2"][data-variant="settings"][data-orientation="vertical"]
|
|
228
|
-
> [data-slot="tabs-v2-list"]
|
|
229
221
|
[data-slot="tabs-v2-trigger-wrapper"]:has([data-selected]) {
|
|
230
222
|
background-color: var(--v2-background-bg-layer-03);
|
|
231
223
|
color: var(--v2-text-text-base);
|
|
@@ -239,8 +239,6 @@ function createToastV2Actions(entry: ActiveToastV2) {
|
|
|
239
239
|
if (!entry.options.actions?.length) return undefined
|
|
240
240
|
return (
|
|
241
241
|
<ToastV2.Actions>
|
|
242
|
-
{/* Static map, not <For>: this JSX is created imperatively outside any Solid
|
|
243
|
-
root, where a <For> computation would never be disposed. */}
|
|
244
242
|
{entry.options.actions.map((action, index) => (
|
|
245
243
|
<button
|
|
246
244
|
type="button"
|
|
@@ -32,7 +32,6 @@ export function TooltipV2(props: TooltipV2Props) {
|
|
|
32
32
|
])
|
|
33
33
|
|
|
34
34
|
const close = () => setState("open", false)
|
|
35
|
-
const controlled = () => local.forceOpen !== undefined
|
|
36
35
|
|
|
37
36
|
const inside = () => {
|
|
38
37
|
const active = document.activeElement
|
|
@@ -94,9 +93,9 @@ export function TooltipV2(props: TooltipV2Props) {
|
|
|
94
93
|
{...others}
|
|
95
94
|
closeDelay={0}
|
|
96
95
|
ignoreSafeArea={local.ignoreSafeArea ?? true}
|
|
97
|
-
open={
|
|
96
|
+
open={local.forceOpen || state.open}
|
|
98
97
|
onOpenChange={(open) => {
|
|
99
|
-
if (
|
|
98
|
+
if (local.forceOpen) return
|
|
100
99
|
if (state.block && open) return
|
|
101
100
|
if (justClickedTrigger) {
|
|
102
101
|
justClickedTrigger = false
|
package/dist/i18n/he.d.ts
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
export declare const dict: {
|
|
2
|
-
"ui.sessionReview.title": string;
|
|
3
|
-
"ui.sessionReview.title.git": string;
|
|
4
|
-
"ui.sessionReview.title.branch": string;
|
|
5
|
-
"ui.sessionReview.title.lastTurn": string;
|
|
6
|
-
"ui.sessionReview.diffStyle.unified": string;
|
|
7
|
-
"ui.sessionReview.diffStyle.split": string;
|
|
8
|
-
"ui.sessionReview.expandAll": string;
|
|
9
|
-
"ui.sessionReview.collapseAll": string;
|
|
10
|
-
"ui.sessionReview.change.added": string;
|
|
11
|
-
"ui.sessionReview.change.removed": string;
|
|
12
|
-
"ui.sessionReview.change.modified": string;
|
|
13
|
-
"ui.sessionReview.image.loading": string;
|
|
14
|
-
"ui.sessionReview.image.placeholder": string;
|
|
15
|
-
"ui.sessionReview.largeDiff.title": string;
|
|
16
|
-
"ui.sessionReview.largeDiff.meta": string;
|
|
17
|
-
"ui.sessionReview.largeDiff.renderAnyway": string;
|
|
18
|
-
"ui.sessionReviewV2.expandMode": string;
|
|
19
|
-
"ui.sessionReviewV2.filterFiles": string;
|
|
20
|
-
"ui.sessionReviewV2.toggleSidebar": string;
|
|
21
|
-
"ui.sessionReviewV2.showAllLines": string;
|
|
22
|
-
"ui.sessionReviewV2.hideNonDiffLines": string;
|
|
23
|
-
"ui.sessionReviewV2.unifiedDiff": string;
|
|
24
|
-
"ui.sessionReviewV2.splitDiff": string;
|
|
25
|
-
"ui.sessionReviewV2.previousFile": string;
|
|
26
|
-
"ui.sessionReviewV2.nextFile": string;
|
|
27
|
-
"ui.sessionReviewV2.diffView": string;
|
|
28
|
-
"ui.sessionReviewV2.empty.noGit.title": string;
|
|
29
|
-
"ui.sessionReviewV2.empty.noGit.description": string;
|
|
30
|
-
"ui.sessionReviewV2.empty.noGit.action": string;
|
|
31
|
-
"ui.sessionReviewV2.empty.noGit.actionLoading": string;
|
|
32
|
-
"ui.sessionReviewV2.empty.changes.title": string;
|
|
33
|
-
"ui.sessionReviewV2.empty.changes.description": string;
|
|
34
|
-
"ui.sessionReview.openFile": string;
|
|
35
|
-
"ui.sessionReview.selection.line": string;
|
|
36
|
-
"ui.sessionReview.selection.lines": string;
|
|
37
|
-
"ui.fileMedia.kind.image": string;
|
|
38
|
-
"ui.fileMedia.kind.audio": string;
|
|
39
|
-
"ui.fileMedia.state.removed": string;
|
|
40
|
-
"ui.fileMedia.state.loading": string;
|
|
41
|
-
"ui.fileMedia.state.error": string;
|
|
42
|
-
"ui.fileMedia.state.unavailable": string;
|
|
43
|
-
"ui.fileMedia.binary.title": string;
|
|
44
|
-
"ui.fileMedia.binary.description.path": string;
|
|
45
|
-
"ui.fileMedia.binary.description.default": string;
|
|
46
|
-
"ui.lineComment.label.prefix": string;
|
|
47
|
-
"ui.lineComment.label.suffix": string;
|
|
48
|
-
"ui.lineComment.editorLabel.prefix": string;
|
|
49
|
-
"ui.lineComment.editorLabel.suffix": string;
|
|
50
|
-
"ui.lineComment.placeholder": string;
|
|
51
|
-
"ui.lineComment.contextPlaceholder": string;
|
|
52
|
-
"ui.lineComment.submit": string;
|
|
53
|
-
"ui.lineComment.cancel": string;
|
|
54
|
-
"ui.sessionTurn.steps.show": string;
|
|
55
|
-
"ui.sessionTurn.steps.hide": string;
|
|
56
|
-
"ui.sessionTurn.summary.response": string;
|
|
57
|
-
"ui.sessionTurn.diff.showMore": string;
|
|
58
|
-
"ui.sessionTurn.diffs.changed.one": string;
|
|
59
|
-
"ui.sessionTurn.diffs.changed.other": string;
|
|
60
|
-
"ui.sessionTurn.diffs.showAll": string;
|
|
61
|
-
"ui.sessionTurn.diffs.showLess": string;
|
|
62
|
-
"ui.sessionTurn.diffs.more": string;
|
|
63
|
-
"ui.sessionTurn.retry.retrying": string;
|
|
64
|
-
"ui.sessionTurn.retry.inSeconds": string;
|
|
65
|
-
"ui.sessionTurn.retry.attempt": string;
|
|
66
|
-
"ui.sessionTurn.retry.attemptLine": string;
|
|
67
|
-
"ui.sessionTurn.retry.geminiHot": string;
|
|
68
|
-
"ui.sessionTurn.error.freeUsageExceeded": string;
|
|
69
|
-
"ui.sessionTurn.error.addCredits": string;
|
|
70
|
-
"dialog.usageExceeded.freeTier.title": string;
|
|
71
|
-
"dialog.usageExceeded.freeTier.description": string;
|
|
72
|
-
"dialog.usageExceeded.freeTier.actionLabel": string;
|
|
73
|
-
"dialog.usageExceeded.accountRateLimit.title": string;
|
|
74
|
-
"dialog.usageExceeded.accountRateLimit.description": string;
|
|
75
|
-
"dialog.usageExceeded.accountRateLimit.actionLabel": string;
|
|
76
|
-
"ui.sessionTurn.status.delegating": string;
|
|
77
|
-
"ui.sessionTurn.status.planning": string;
|
|
78
|
-
"ui.sessionTurn.status.gatheringContext": string;
|
|
79
|
-
"ui.sessionTurn.status.gatheredContext": string;
|
|
80
|
-
"ui.sessionTurn.status.searchingCodebase": string;
|
|
81
|
-
"ui.sessionTurn.status.searchingWeb": string;
|
|
82
|
-
"ui.sessionTurn.status.makingEdits": string;
|
|
83
|
-
"ui.sessionTurn.status.runningCommands": string;
|
|
84
|
-
"ui.sessionTurn.status.thinking": string;
|
|
85
|
-
"ui.sessionTurn.status.thinkingWithTopic": string;
|
|
86
|
-
"ui.sessionTurn.status.gatheringThoughts": string;
|
|
87
|
-
"ui.sessionTurn.status.consideringNextSteps": string;
|
|
88
|
-
"ui.messagePart.diagnostic.error": string;
|
|
89
|
-
"ui.messagePart.title.edit": string;
|
|
90
|
-
"ui.messagePart.title.write": string;
|
|
91
|
-
"ui.messagePart.option.typeOwnAnswer": string;
|
|
92
|
-
"ui.messagePart.review.title": string;
|
|
93
|
-
"ui.messagePart.questions.dismissed": string;
|
|
94
|
-
"ui.messagePart.compaction": string;
|
|
95
|
-
"ui.messagePart.context.read.one": string;
|
|
96
|
-
"ui.messagePart.context.read.other": string;
|
|
97
|
-
"ui.messagePart.context.search.one": string;
|
|
98
|
-
"ui.messagePart.context.search.other": string;
|
|
99
|
-
"ui.messagePart.context.list.one": string;
|
|
100
|
-
"ui.messagePart.context.list.other": string;
|
|
101
|
-
"ui.list.loading": string;
|
|
102
|
-
"ui.list.empty": string;
|
|
103
|
-
"ui.list.clearFilter": string;
|
|
104
|
-
"ui.list.emptyWithFilter.prefix": string;
|
|
105
|
-
"ui.list.emptyWithFilter.suffix": string;
|
|
106
|
-
"ui.fileSearch.placeholder": string;
|
|
107
|
-
"ui.fileSearch.previousMatch": string;
|
|
108
|
-
"ui.fileSearch.nextMatch": string;
|
|
109
|
-
"ui.fileSearch.close": string;
|
|
110
|
-
"ui.messageNav.newMessage": string;
|
|
111
|
-
"ui.promptInput.noMatchingItems": string;
|
|
112
|
-
"ui.promptInput.commands": string;
|
|
113
|
-
"ui.promptInput.dropFiles": string;
|
|
114
|
-
"ui.promptInput.removeAttachment": string;
|
|
115
|
-
"ui.promptInput.label": string;
|
|
116
|
-
"ui.promptInput.placeholder.shell": string;
|
|
117
|
-
"ui.promptInput.placeholder.normal": string;
|
|
118
|
-
"ui.promptInput.add": string;
|
|
119
|
-
"ui.promptInput.attachments": string;
|
|
120
|
-
"ui.promptInput.context": string;
|
|
121
|
-
"ui.promptInput.shell": string;
|
|
122
|
-
"ui.promptInput.chooseAgent": string;
|
|
123
|
-
"ui.promptInput.chooseModel": string;
|
|
124
|
-
"ui.promptInput.chooseVariant": string;
|
|
125
|
-
"ui.promptInput.send": string;
|
|
126
|
-
"ui.promptInput.stop": string;
|
|
127
|
-
"ui.tabs.close": string;
|
|
128
|
-
"ui.textField.copyToClipboard": string;
|
|
129
|
-
"ui.textField.copyLink": string;
|
|
130
|
-
"ui.textField.copied": string;
|
|
131
|
-
"ui.imagePreview.alt": string;
|
|
132
|
-
"ui.scrollView.ariaLabel": string;
|
|
133
|
-
"ui.tool.read": string;
|
|
134
|
-
"ui.tool.loaded": string;
|
|
135
|
-
"ui.tool.list": string;
|
|
136
|
-
"ui.tool.glob": string;
|
|
137
|
-
"ui.tool.grep": string;
|
|
138
|
-
"ui.tool.task": string;
|
|
139
|
-
"ui.tool.webfetch": string;
|
|
140
|
-
"ui.tool.websearch": string;
|
|
141
|
-
"ui.tool.websearch.provider": string;
|
|
142
|
-
"ui.tool.shell": string;
|
|
143
|
-
"ui.tool.patch": string;
|
|
144
|
-
"ui.tool.questions": string;
|
|
145
|
-
"ui.tool.questions.numbered": string;
|
|
146
|
-
"ui.tool.agent": string;
|
|
147
|
-
"ui.tool.agent.default": string;
|
|
148
|
-
"ui.tool.skill": string;
|
|
149
|
-
"ui.basicTool.called": string;
|
|
150
|
-
"ui.toolErrorCard.failed": string;
|
|
151
|
-
"ui.toolErrorCard.copyError": string;
|
|
152
|
-
"ui.common.file.one": string;
|
|
153
|
-
"ui.common.file.other": string;
|
|
154
|
-
"ui.common.question.one": string;
|
|
155
|
-
"ui.common.question.other": string;
|
|
156
|
-
"ui.common.add": string;
|
|
157
|
-
"ui.common.clear": string;
|
|
158
|
-
"ui.common.file": string;
|
|
159
|
-
"ui.common.back": string;
|
|
160
|
-
"ui.common.cancel": string;
|
|
161
|
-
"ui.common.confirm": string;
|
|
162
|
-
"ui.common.dismiss": string;
|
|
163
|
-
"ui.common.close": string;
|
|
164
|
-
"ui.common.next": string;
|
|
165
|
-
"ui.common.submit": string;
|
|
166
|
-
"ui.common.showMore": string;
|
|
167
|
-
"ui.permission.deny": string;
|
|
168
|
-
"ui.permission.allowAlways": string;
|
|
169
|
-
"ui.permission.allowOnce": string;
|
|
170
|
-
"ui.message.expand": string;
|
|
171
|
-
"ui.message.collapse": string;
|
|
172
|
-
"ui.message.copy": string;
|
|
173
|
-
"ui.message.copyMessage": string;
|
|
174
|
-
"ui.message.forkMessage": string;
|
|
175
|
-
"ui.message.revertMessage": string;
|
|
176
|
-
"ui.message.copyResponse": string;
|
|
177
|
-
"ui.message.copied": string;
|
|
178
|
-
"ui.message.duration.seconds": string;
|
|
179
|
-
"ui.message.duration.minutesSeconds": string;
|
|
180
|
-
"ui.message.interrupted": string;
|
|
181
|
-
"ui.message.queued": string;
|
|
182
|
-
"ui.message.attachment.alt": string;
|
|
183
|
-
"ui.patch.action.deleted": string;
|
|
184
|
-
"ui.patch.action.created": string;
|
|
185
|
-
"ui.patch.action.moved": string;
|
|
186
|
-
"ui.patch.action.patched": string;
|
|
187
|
-
"ui.question.subtitle.answered": string;
|
|
188
|
-
"ui.question.answer.none": string;
|
|
189
|
-
"ui.question.review.notAnswered": string;
|
|
190
|
-
"ui.question.multiHint": string;
|
|
191
|
-
"ui.question.singleHint": string;
|
|
192
|
-
"ui.question.custom.placeholder": string;
|
|
193
|
-
"ui.sessionTurn.diffs.changed.two": string;
|
|
194
|
-
"ui.messagePart.context.read.two": string;
|
|
195
|
-
"ui.messagePart.context.search.two": string;
|
|
196
|
-
"ui.messagePart.context.list.two": string;
|
|
197
|
-
};
|