@opencode-ai/ui 0.0.0-dev-202608170540 → 0.0.0-dev-17518
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 +6 -0
- package/dist/components/scroll-view.d.ts +3 -3
- package/dist/context/i18n.d.ts +10 -7
- package/dist/i18n/ar.d.ts +0 -2
- package/dist/i18n/bg.d.ts +0 -2
- package/dist/i18n/br.d.ts +0 -2
- package/dist/i18n/bs.d.ts +0 -2
- package/dist/i18n/da.d.ts +0 -2
- package/dist/i18n/de.d.ts +0 -2
- package/dist/i18n/en.d.ts +203 -1
- package/dist/i18n/es.d.ts +0 -2
- package/dist/i18n/fr.d.ts +0 -2
- package/dist/i18n/he.d.ts +197 -0
- package/dist/i18n/ja.d.ts +0 -2
- package/dist/i18n/km.d.ts +0 -2
- package/dist/i18n/ko.d.ts +0 -2
- package/dist/i18n/lo.d.ts +0 -2
- package/dist/i18n/mk.d.ts +0 -2
- package/dist/i18n/mn.d.ts +0 -2
- package/dist/i18n/my.d.ts +0 -2
- package/dist/i18n/pl.d.ts +0 -2
- package/dist/i18n/ru.d.ts +0 -2
- package/dist/i18n/sr.d.ts +0 -2
- package/dist/i18n/tg.d.ts +0 -2
- package/dist/i18n/th.d.ts +0 -2
- package/dist/i18n/tr.d.ts +0 -2
- package/dist/i18n/zh.d.ts +0 -2
- package/dist/i18n/zht.d.ts +0 -2
- package/dist/v2/components/icon.d.ts +12 -0
- package/package.json +1 -5
- package/src/components/card.tsx +3 -3
- package/src/components/icon.tsx +6 -0
- package/src/components/list.tsx +4 -2
- package/src/components/provider-icon.tsx +1 -1
- package/src/components/scroll-view.tsx +5 -20
- package/src/components/toast.tsx +16 -14
- package/src/context/i18n.tsx +17 -14
- package/src/hooks/create-auto-scroll.tsx +20 -0
- package/src/i18n/am.ts +0 -2
- package/src/i18n/ar.ts +0 -2
- package/src/i18n/az.ts +0 -2
- package/src/i18n/bg.ts +0 -2
- package/src/i18n/bn.ts +0 -2
- package/src/i18n/br.ts +0 -2
- package/src/i18n/bs.ts +0 -2
- package/src/i18n/ca.ts +0 -2
- package/src/i18n/cs.ts +0 -2
- package/src/i18n/da.ts +0 -2
- package/src/i18n/de.ts +0 -2
- package/src/i18n/dv.ts +0 -2
- package/src/i18n/dz.ts +0 -2
- package/src/i18n/el.ts +0 -2
- package/src/i18n/en.ts +12 -4
- package/src/i18n/es.ts +0 -2
- package/src/i18n/et.ts +0 -2
- package/src/i18n/fa.ts +0 -2
- package/src/i18n/fi.ts +0 -2
- package/src/i18n/fo.ts +0 -2
- package/src/i18n/fr.ts +0 -2
- package/src/i18n/he.ts +199 -0
- package/src/i18n/hi.ts +0 -2
- package/src/i18n/hr.ts +0 -2
- package/src/i18n/hu.ts +0 -2
- package/src/i18n/hy.ts +0 -2
- package/src/i18n/id.ts +0 -2
- package/src/i18n/is.ts +0 -2
- package/src/i18n/it.ts +0 -2
- package/src/i18n/ja.ts +0 -2
- package/src/i18n/ka.ts +0 -2
- package/src/i18n/km.ts +0 -2
- package/src/i18n/ko.ts +0 -2
- package/src/i18n/lo.ts +0 -2
- package/src/i18n/lt.ts +0 -2
- package/src/i18n/lv.ts +0 -2
- package/src/i18n/mk.ts +0 -2
- package/src/i18n/mn.ts +0 -2
- package/src/i18n/ms.ts +0 -2
- package/src/i18n/my.ts +0 -2
- package/src/i18n/ne.ts +0 -2
- package/src/i18n/nl.ts +0 -2
- package/src/i18n/no.ts +0 -2
- package/src/i18n/pa.ts +0 -2
- package/src/i18n/pl.ts +0 -2
- package/src/i18n/ro.ts +0 -2
- package/src/i18n/ru.ts +0 -2
- package/src/i18n/si.ts +0 -2
- package/src/i18n/sk.ts +0 -2
- package/src/i18n/sl.ts +0 -2
- package/src/i18n/sq.ts +0 -2
- package/src/i18n/sr.ts +0 -2
- package/src/i18n/sv.ts +0 -2
- package/src/i18n/tg.ts +0 -2
- package/src/i18n/th.ts +0 -2
- package/src/i18n/tk.ts +0 -2
- package/src/i18n/tr.ts +0 -2
- package/src/i18n/uk.ts +0 -2
- package/src/i18n/ur.ts +0 -2
- package/src/i18n/uz.ts +0 -2
- package/src/i18n/vi.ts +0 -2
- package/src/i18n/zh.ts +0 -2
- package/src/i18n/zht.ts +0 -2
- package/src/theme/themes/oc-2.json +1 -1
- package/src/v2/components/dialog-v2.css +3 -0
- package/src/v2/components/dialog-v2.tsx +2 -2
- package/src/v2/components/icon.tsx +13 -0
- package/src/v2/components/keybind-v2.css +1 -1
- package/src/v2/components/line-comment-v2.tsx +2 -0
- package/src/v2/components/tabs-v2.css +12 -4
- package/src/v2/components/toast-v2.tsx +2 -0
- package/src/v2/components/tooltip-v2.tsx +3 -2
package/dist/i18n/tg.d.ts
CHANGED
|
@@ -141,8 +141,6 @@ export declare const dict: {
|
|
|
141
141
|
"ui.tool.websearch.provider": string;
|
|
142
142
|
"ui.tool.shell": string;
|
|
143
143
|
"ui.tool.patch": string;
|
|
144
|
-
"ui.tool.todos": string;
|
|
145
|
-
"ui.tool.todos.read": string;
|
|
146
144
|
"ui.tool.questions": string;
|
|
147
145
|
"ui.tool.questions.numbered": string;
|
|
148
146
|
"ui.tool.agent": string;
|
package/dist/i18n/th.d.ts
CHANGED
|
@@ -136,8 +136,6 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
-
"ui.tool.todos": string;
|
|
140
|
-
"ui.tool.todos.read": string;
|
|
141
139
|
"ui.tool.questions": string;
|
|
142
140
|
"ui.tool.questions.numbered": string;
|
|
143
141
|
"ui.tool.agent": string;
|
package/dist/i18n/tr.d.ts
CHANGED
|
@@ -136,8 +136,6 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
-
"ui.tool.todos": string;
|
|
140
|
-
"ui.tool.todos.read": string;
|
|
141
139
|
"ui.tool.questions": string;
|
|
142
140
|
"ui.tool.questions.numbered": string;
|
|
143
141
|
"ui.tool.agent": string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -136,8 +136,6 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
-
"ui.tool.todos": string;
|
|
140
|
-
"ui.tool.todos.read": string;
|
|
141
139
|
"ui.tool.questions": string;
|
|
142
140
|
"ui.tool.questions.numbered": string;
|
|
143
141
|
"ui.tool.agent": string;
|
package/dist/i18n/zht.d.ts
CHANGED
|
@@ -136,8 +136,6 @@ export declare const dict: {
|
|
|
136
136
|
"ui.tool.websearch.provider": string;
|
|
137
137
|
"ui.tool.shell": string;
|
|
138
138
|
"ui.tool.patch": string;
|
|
139
|
-
"ui.tool.todos": string;
|
|
140
|
-
"ui.tool.todos.read": string;
|
|
141
139
|
"ui.tool.questions": string;
|
|
142
140
|
"ui.tool.questions.numbered": string;
|
|
143
141
|
"ui.tool.agent": string;
|
|
@@ -16,6 +16,10 @@ declare const icons: {
|
|
|
16
16
|
viewBox: string;
|
|
17
17
|
body: string;
|
|
18
18
|
};
|
|
19
|
+
"branch-out": {
|
|
20
|
+
viewBox: string;
|
|
21
|
+
body: string;
|
|
22
|
+
};
|
|
19
23
|
"grid-plus": {
|
|
20
24
|
viewBox: string;
|
|
21
25
|
body: string;
|
|
@@ -120,6 +124,14 @@ declare const icons: {
|
|
|
120
124
|
viewBox: string;
|
|
121
125
|
body: string;
|
|
122
126
|
};
|
|
127
|
+
"window-analytics": {
|
|
128
|
+
viewBox: string;
|
|
129
|
+
body: string;
|
|
130
|
+
};
|
|
131
|
+
trash: {
|
|
132
|
+
viewBox: string;
|
|
133
|
+
body: string;
|
|
134
|
+
};
|
|
123
135
|
"outline-sliders": {
|
|
124
136
|
viewBox: string;
|
|
125
137
|
body: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencode-ai/ui",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-17518",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -124,8 +124,6 @@
|
|
|
124
124
|
"dependencies": {
|
|
125
125
|
"@kobalte/core": "0.13.11",
|
|
126
126
|
"@pierre/diffs": "1.2.10",
|
|
127
|
-
"@shikijs/transformers": "3.9.2",
|
|
128
|
-
"@solid-primitives/bounds": "0.1.3",
|
|
129
127
|
"@solid-primitives/event-listener": "2.4.5",
|
|
130
128
|
"@solid-primitives/media": "2.3.3",
|
|
131
129
|
"@solid-primitives/resize-observer": "2.1.3",
|
|
@@ -139,8 +137,6 @@
|
|
|
139
137
|
"marked-shiki": "1.2.1",
|
|
140
138
|
"morphdom": "2.7.8",
|
|
141
139
|
"motion": "12.34.5",
|
|
142
|
-
"motion-dom": "12.34.3",
|
|
143
|
-
"motion-utils": "12.29.2",
|
|
144
140
|
"remeda": "2.26.0",
|
|
145
141
|
"remend": "1.3.0",
|
|
146
142
|
"shiki": "4.2.0",
|
package/src/components/card.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps, splitProps } from "solid-js"
|
|
1
|
+
import { type ComponentProps, Show, splitProps } from "solid-js"
|
|
2
2
|
import { Icon, type IconProps } from "./icon"
|
|
3
3
|
|
|
4
4
|
type Variant = "normal" | "error" | "warning" | "success" | "info"
|
|
@@ -80,11 +80,11 @@ export function CardTitle(props: CardTitleProps) {
|
|
|
80
80
|
[split.class ?? ""]: !!split.class,
|
|
81
81
|
}}
|
|
82
82
|
>
|
|
83
|
-
{show()
|
|
83
|
+
<Show when={show()}>
|
|
84
84
|
<span data-slot="card-title-icon" data-placeholder={placeholder() || undefined}>
|
|
85
85
|
<Icon name={name() ?? "dash"} size="small" />
|
|
86
86
|
</span>
|
|
87
|
-
|
|
87
|
+
</Show>
|
|
88
88
|
{split.children}
|
|
89
89
|
</div>
|
|
90
90
|
)
|
package/src/components/icon.tsx
CHANGED
|
@@ -10,6 +10,7 @@ const icons = {
|
|
|
10
10
|
prompt: `<path d="M14.5841 12.0807H17.9193V2.91406H5.6276V6.2474M14.5859 6.2474H2.08594V15.4141H5.0026V17.4974L8.7526 15.4141H14.5859V6.2474Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
11
11
|
brain: `<path d="M13.332 8.7487C11.4911 8.7487 9.9987 7.25631 9.9987 5.41536M6.66536 11.2487C8.50631 11.2487 9.9987 12.7411 9.9987 14.582M9.9987 2.78209L9.9987 17.0658M16.004 15.0475C17.1255 14.5876 17.9154 13.4849 17.9154 12.1978C17.9154 11.3363 17.5615 10.5575 16.9913 9.9987C17.5615 9.43991 17.9154 8.66108 17.9154 7.79962C17.9154 6.21199 16.7136 4.90504 15.1702 4.73878C14.7858 3.21216 13.4039 2.08203 11.758 2.08203C11.1171 2.08203 10.5162 2.25337 9.9987 2.55275C9.48117 2.25337 8.88032 2.08203 8.23944 2.08203C6.59353 2.08203 5.21157 3.21216 4.82722 4.73878C3.28377 4.90504 2.08203 6.21199 2.08203 7.79962C2.08203 8.66108 2.43585 9.43991 3.00609 9.9987C2.43585 10.5575 2.08203 11.3363 2.08203 12.1978C2.08203 13.4849 2.87191 14.5876 3.99339 15.0475C4.46688 16.7033 5.9917 17.9154 7.79962 17.9154C8.61335 17.9154 9.36972 17.6698 9.9987 17.2488C10.6277 17.6698 11.384 17.9154 12.1978 17.9154C14.0057 17.9154 15.5305 16.7033 16.004 15.0475Z" stroke="currentColor"/>`,
|
|
12
12
|
fork: `<path d="M2.91602 7.91406L2.91602 2.91406H7.91602M12.0827 2.91406H17.0827L17.0827 7.91406M9.99935 9.9974L9.99935 17.0807M9.99935 9.9974L3.33268 3.33073M9.99935 9.9974L16.666 3.33073" stroke="currentColor" stroke-linecap="square"/>`,
|
|
13
|
+
"workspace-isolated": `<g transform="translate(2 2)"><path d="M10.5 10.5V5.5H5.5V10.5H10.5Z" fill="currentColor"/><rect x="2.5" y="2.5" width="11" height="11" stroke="currentColor"/></g>`,
|
|
13
14
|
"bullet-list": `<path d="M9.58329 13.7497H17.0833M9.58329 6.24967H17.0833M6.24996 6.24967C6.24996 7.17015 5.50377 7.91634 4.58329 7.91634C3.66282 7.91634 2.91663 7.17015 2.91663 6.24967C2.91663 5.3292 3.66282 4.58301 4.58329 4.58301C5.50377 4.58301 6.24996 5.3292 6.24996 6.24967ZM6.24996 13.7497C6.24996 14.6701 5.50377 15.4163 4.58329 15.4163C3.66282 15.4163 2.91663 14.6701 2.91663 13.7497C2.91663 12.8292 3.66282 12.083 4.58329 12.083C5.50377 12.083 6.24996 12.8292 6.24996 13.7497Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
14
15
|
"check-small": `<path d="M6.5 11.4412L8.97059 13.5L13.5 6.5" stroke="currentColor" stroke-linecap="square"/>`,
|
|
15
16
|
"chevron-down": `<path d="M6.6665 8.33325L9.99984 11.6666L13.3332 8.33325" stroke="currentColor" stroke-linecap="square"/>`,
|
|
@@ -103,6 +104,11 @@ const icons = {
|
|
|
103
104
|
link: `<path d="M2.08334 12.0833L1.72979 11.7298L1.37624 12.0833L1.72979 12.4369L2.08334 12.0833ZM7.91668 17.9167L7.56312 18.2702L7.91668 18.6238L8.27023 18.2702L7.91668 17.9167ZM17.9167 7.91666L18.2702 8.27022L18.6238 7.91666L18.2702 7.56311L17.9167 7.91666ZM12.0833 2.08333L12.4369 1.72977L12.0833 1.37622L11.7298 1.72977L12.0833 2.08333ZM8.39646 5.06311L8.0429 5.41666L8.75001 6.12377L9.10356 5.77021L8.75001 5.41666L8.39646 5.06311ZM5.77023 9.10355L6.12378 8.74999L5.41668 8.04289L5.06312 8.39644L5.41668 8.74999L5.77023 9.10355ZM14.2298 10.8964L13.8762 11.25L14.5833 11.9571L14.9369 11.6035L14.5833 11.25L14.2298 10.8964ZM11.6036 14.9369L11.9571 14.5833L11.25 13.8762L10.8965 14.2298L11.25 14.5833L11.6036 14.9369ZM7.14646 12.1464L6.7929 12.5L7.50001 13.2071L7.85356 12.8535L7.50001 12.5L7.14646 12.1464ZM12.8536 7.85355L13.2071 7.49999L12.5 6.79289L12.1465 7.14644L12.5 7.49999L12.8536 7.85355ZM2.08334 12.0833L1.72979 12.4369L7.56312 18.2702L7.91668 17.9167L8.27023 17.5631L2.4369 11.7298L2.08334 12.0833ZM17.9167 7.91666L18.2702 7.56311L12.4369 1.72977L12.0833 2.08333L11.7298 2.43688L17.5631 8.27022L17.9167 7.91666ZM12.0833 2.08333L11.7298 1.72977L8.39646 5.06311L8.75001 5.41666L9.10356 5.77021L12.4369 2.43688L12.0833 2.08333ZM5.41668 8.74999L5.06312 8.39644L1.72979 11.7298L2.08334 12.0833L2.4369 12.4369L5.77023 9.10355L5.41668 8.74999ZM14.5833 11.25L14.9369 11.6035L18.2702 8.27022L17.9167 7.91666L17.5631 7.56311L14.2298 10.8964L14.5833 11.25ZM7.91668 17.9167L8.27023 18.2702L11.6036 14.9369L11.25 14.5833L10.8965 14.2298L7.56312 17.5631L7.91668 17.9167ZM7.50001 12.5L7.85356 12.8535L12.8536 7.85355L12.5 7.49999L12.1465 7.14644L7.14646 12.1464L7.50001 12.5Z" fill="currentColor"/>`,
|
|
104
105
|
providers: `<path d="M10.0001 4.37562V2.875M13 4.37793V2.87793M7.00014 4.37793V2.875M10 17.1279V15.6279M13 17.1279V15.6279M7 17.1279V15.6279M15.625 13.0029H17.125M15.625 7.00293H17.125M15.625 10.0029H17.125M2.875 10.0029H4.375M2.875 13.0029H4.375M2.875 7.00293H4.375M4.375 4.37793H15.625V15.6279H4.375V4.37793ZM12.6241 10.0022C12.6241 11.4519 11.4488 12.6272 9.99908 12.6272C8.54934 12.6272 7.37408 11.4519 7.37408 10.0022C7.37408 8.55245 8.54934 7.3772 9.99908 7.3772C11.4488 7.3772 12.6241 8.55245 12.6241 10.0022Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
105
106
|
models: `<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 10C12.2917 10 10 12.2917 10 17.5C10 12.2917 7.70833 10 2.5 10C7.70833 10 10 7.70833 10 2.5C10 7.70833 12.2917 10 17.5 10Z" stroke="currentColor"/>`,
|
|
107
|
+
appearance: `<path d="M2.707 14.707L14.707 2.707M2.707 9.06L9.06 2.707M2.707 3.413L3.413 2.707M8.354 14.707L14.707 8.354M14.000 14.706L14.706 14.000" stroke="currentColor" stroke-linecap="square"/>`,
|
|
108
|
+
notifications: `<path d="M15.389 7.278V9.611C15.389 10.593 15.389 11.389 15.389 11.389H11.833M6.056 11.389H2.5C2.5 11.389 2.5 10.593 2.5 9.611V4.278C2.5 3.296 2.5 2.5 2.5 2.5H9.945M6.056 11.389V13.611H8.944H11.833V11.389M6.056 11.389H11.833" stroke="currentColor"/><circle cx="14.5" cy="4.5" r="2" stroke="currentColor" fill="currentColor"/>`,
|
|
109
|
+
extensions: `<path d="M9.166 6.805V9.305M11.834 6.805V9.305M6.5 6.805V9.305M2.5 2.5V13.61H15.833V2.5H2.5Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
110
|
+
cube: `<path d="M10 2.5L16.5 6.25V13.75L10 17.5L3.5 13.75V6.25L10 2.5Z" stroke="currentColor"/><path d="M10 10L16.5 6.25M10 10V17.5M10 10L3.5 6.25" stroke="currentColor"/>`,
|
|
111
|
+
"post-skill": `<rect x="2.5" y="3.5" width="15" height="13" rx="1.5" stroke="currentColor"/><path d="M5.5 7.5H10.5M5.5 10.5H14.5" stroke="currentColor"/>`,
|
|
106
112
|
"arrow-undo-down": `<path d="M4.08333 11.0859L1.75 8.7526L4.08333 6.41927M2.33333 8.7526L12.5417 8.7526L12.5417 3.21094L7 3.21094" stroke="currentColor" stroke-width="1" stroke-linecap="square"/>`,
|
|
107
113
|
}
|
|
108
114
|
|
package/src/components/list.tsx
CHANGED
|
@@ -367,9 +367,11 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
|
|
|
367
367
|
</span>
|
|
368
368
|
)}
|
|
369
369
|
</Show>
|
|
370
|
-
|
|
370
|
+
<Show
|
|
371
|
+
when={props.divider && (i() !== group.items.length - 1 || (showAdd() && isLastGroup()))}
|
|
372
|
+
>
|
|
371
373
|
<span data-slot="list-item-divider" />
|
|
372
|
-
|
|
374
|
+
</Show>
|
|
373
375
|
</button>
|
|
374
376
|
)
|
|
375
377
|
if (props.itemWrapper) return props.itemWrapper(item, node)
|
|
@@ -9,7 +9,7 @@ export type ProviderIconProps = JSX.SVGElementTags["svg"] & {
|
|
|
9
9
|
|
|
10
10
|
export const ProviderIcon: Component<ProviderIconProps> = (props) => {
|
|
11
11
|
const [local, rest] = splitProps(props, ["id", "class", "classList"])
|
|
12
|
-
const resolved = createMemo(() => (iconNames.includes(local.id as IconName) ? local.id : "synthetic"))
|
|
12
|
+
const resolved = createMemo(() => (iconNames.includes(local.id as IconName) ? local.id : "session.synthetic"))
|
|
13
13
|
return (
|
|
14
14
|
<svg
|
|
15
15
|
data-component="provider-icon"
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createEffect,
|
|
3
|
-
createMemo,
|
|
4
|
-
mergeProps,
|
|
5
|
-
onCleanup,
|
|
6
|
-
onMount,
|
|
7
|
-
Show,
|
|
8
|
-
splitProps,
|
|
9
|
-
type Accessor,
|
|
10
|
-
type ComponentProps,
|
|
11
|
-
} from "solid-js"
|
|
1
|
+
import { createEffect, mergeProps, onCleanup, onMount, Show, splitProps, type ComponentProps } from "solid-js"
|
|
12
2
|
import { Portal } from "solid-js/web"
|
|
13
3
|
import { createResizeObserver } from "@solid-primitives/resize-observer"
|
|
14
4
|
import { createStore } from "solid-js/store"
|
|
@@ -27,9 +17,9 @@ export interface ScrollViewProps extends ComponentProps<"div"> {
|
|
|
27
17
|
* */
|
|
28
18
|
thumbVisibility?: ScrollViewThumbVisibility
|
|
29
19
|
/** Mount the thumb into an external track. Scroll metrics still come from this ScrollView. */
|
|
30
|
-
thumbContainer?: HTMLElement
|
|
20
|
+
thumbContainer?: HTMLElement
|
|
31
21
|
/** Element whose hover reveals the thumb. Defaults to the ScrollView root when unset. */
|
|
32
|
-
thumbHoverTarget?: HTMLElement
|
|
22
|
+
thumbHoverTarget?: HTMLElement
|
|
33
23
|
}
|
|
34
24
|
|
|
35
25
|
export const scrollKey = (event: Pick<KeyboardEvent, "key" | "altKey" | "ctrlKey" | "metaKey" | "shiftKey">) => {
|
|
@@ -128,13 +118,8 @@ export function ScrollView(props: ScrollViewProps) {
|
|
|
128
118
|
let viewportRef!: HTMLDivElement
|
|
129
119
|
let thumbRef!: HTMLDivElement
|
|
130
120
|
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
return value
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
const thumbMount = createMemo(() => resolveEl(local.thumbContainer))
|
|
137
|
-
const thumbHover = createMemo(() => resolveEl(local.thumbHoverTarget))
|
|
121
|
+
const thumbMount = () => local.thumbContainer
|
|
122
|
+
const thumbHover = () => local.thumbHoverTarget
|
|
138
123
|
const hoverRoot = () => !local.thumbHoverTarget && !local.thumbContainer
|
|
139
124
|
|
|
140
125
|
const [state, setState] = createStore({
|
package/src/components/toast.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toast as Kobalte, toaster } from "@kobalte/core/toast"
|
|
2
2
|
import type { ToastRootProps, ToastCloseButtonProps, ToastTitleProps, ToastDescriptionProps } from "@kobalte/core/toast"
|
|
3
3
|
import type { ComponentProps, JSX } from "solid-js"
|
|
4
|
-
import { Show } from "solid-js"
|
|
4
|
+
import { For, Show } from "solid-js"
|
|
5
5
|
import { Portal } from "solid-js/web"
|
|
6
6
|
import { useI18n } from "../context/i18n"
|
|
7
7
|
import { Icon, type IconProps } from "./icon"
|
|
@@ -136,19 +136,21 @@ export function showToast(options: ToastOptions | string) {
|
|
|
136
136
|
</Show>
|
|
137
137
|
<Show when={opts.actions?.length}>
|
|
138
138
|
<Toast.Actions>
|
|
139
|
-
{opts.actions
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
action.onClick
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
139
|
+
<For each={opts.actions}>
|
|
140
|
+
{(action) => (
|
|
141
|
+
<button
|
|
142
|
+
data-slot="toast-action"
|
|
143
|
+
onClick={() => {
|
|
144
|
+
if (typeof action.onClick === "function") {
|
|
145
|
+
action.onClick()
|
|
146
|
+
}
|
|
147
|
+
toaster.dismiss(props.toastId)
|
|
148
|
+
}}
|
|
149
|
+
>
|
|
150
|
+
{action.label}
|
|
151
|
+
</button>
|
|
152
|
+
)}
|
|
153
|
+
</For>
|
|
152
154
|
</Toast.Actions>
|
|
153
155
|
</Show>
|
|
154
156
|
</Toast.Content>
|
package/src/context/i18n.tsx
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import { createContext, useContext, type Accessor, type ParentProps } from "solid-js"
|
|
2
2
|
import { I18nProvider } from "@kobalte/core/i18n"
|
|
3
3
|
import { dict as en } from "../i18n/en"
|
|
4
|
+
import type { Key, LocaleKey, PluralCategory, PluralKey, PluralLookupKey } from "../i18n/en"
|
|
4
5
|
|
|
5
|
-
export type UiI18nKey =
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"ui.messagePart.context.list",
|
|
12
|
-
] as const
|
|
13
|
-
export type UiI18nPluralKey = (typeof UI_PLURAL_KEYS)[number]
|
|
14
|
-
export type UiPluralCategory = "zero" | "one" | "two" | "few" | "many" | "other"
|
|
15
|
-
export type UiI18nPluralLookupKey = `${UiI18nPluralKey}.${UiPluralCategory}`
|
|
6
|
+
export type UiI18nKey = Key
|
|
7
|
+
export type UiI18nPluralKey = PluralKey
|
|
8
|
+
export type UiPluralCategory = PluralCategory
|
|
9
|
+
export type UiI18nPluralLookupKey = PluralLookupKey
|
|
10
|
+
export type UiI18nLocaleKey = LocaleKey
|
|
11
|
+
type UiTranslationKey<Value extends string> = Value extends UiI18nPluralLookupKey ? never : Value
|
|
16
12
|
|
|
17
13
|
export type UiI18nParams = Record<string, string | number | boolean>
|
|
14
|
+
export type UiTranslate = <Value extends string>(key: UiTranslationKey<Value>, params?: UiI18nParams) => string
|
|
18
15
|
|
|
19
16
|
export type UiI18n = {
|
|
20
17
|
locale: Accessor<string>
|
|
21
18
|
layoutLocale?: Accessor<string>
|
|
22
|
-
t:
|
|
19
|
+
t: UiTranslate
|
|
23
20
|
plural: (key: UiI18nPluralKey, count: number, params?: UiI18nParams) => string
|
|
21
|
+
pluralForm?: (key: UiI18nPluralKey, category: UiPluralCategory, params?: UiI18nParams) => string
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
const rules = new Map<string, Intl.PluralRules>()
|
|
@@ -50,11 +48,16 @@ function resolveTemplate(text: string, params?: UiI18nParams) {
|
|
|
50
48
|
const fallback: UiI18n = {
|
|
51
49
|
locale: () => "en",
|
|
52
50
|
t: (key, params) => {
|
|
53
|
-
const value = en[key] ?? String(key)
|
|
51
|
+
const value = en[key as UiI18nKey] ?? String(key)
|
|
54
52
|
return resolveTemplate(value, params)
|
|
55
53
|
},
|
|
56
54
|
plural: (key, count, params) =>
|
|
57
|
-
fallback.
|
|
55
|
+
fallback.pluralForm!(key, pluralCategory(fallback.locale(), count), { ...params, count }),
|
|
56
|
+
pluralForm: (key, category, params) => {
|
|
57
|
+
const values = en as Partial<Record<UiI18nLocaleKey, string>>
|
|
58
|
+
const value = values[pluralKey(key, category)] ?? values[`${key}.other`] ?? `${key}.other`
|
|
59
|
+
return resolveTemplate(value, params)
|
|
60
|
+
},
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
const Context = createContext<UiI18n>(fallback)
|
|
@@ -186,6 +186,26 @@ export function createAutoScroll(options: AutoScrollOptions) {
|
|
|
186
186
|
},
|
|
187
187
|
)
|
|
188
188
|
|
|
189
|
+
createEffect(() => {
|
|
190
|
+
const el = store.scrollRef
|
|
191
|
+
if (!el) return
|
|
192
|
+
const root = el.closest("main")
|
|
193
|
+
if (!root) return
|
|
194
|
+
let connected = el.isConnected
|
|
195
|
+
const contains = (node: Node) => node === el || (node instanceof Element && node.contains(el))
|
|
196
|
+
const observer = new MutationObserver((records) => {
|
|
197
|
+
records.forEach((record) => {
|
|
198
|
+
if ([...record.removedNodes].some(contains)) connected = false
|
|
199
|
+
if (!record.addedNodes.length || ![...record.addedNodes].some(contains)) return
|
|
200
|
+
const reattached = !connected
|
|
201
|
+
connected = true
|
|
202
|
+
if (reattached) scrollToBottom(false)
|
|
203
|
+
})
|
|
204
|
+
})
|
|
205
|
+
observer.observe(root, { childList: true })
|
|
206
|
+
onCleanup(() => observer.disconnect())
|
|
207
|
+
})
|
|
208
|
+
|
|
189
209
|
createEffect(
|
|
190
210
|
on(options.working, (working: boolean) => {
|
|
191
211
|
settling = false
|
package/src/i18n/am.ts
CHANGED
|
@@ -142,8 +142,6 @@ export const dict: Record<string, string> = {
|
|
|
142
142
|
"ui.tool.websearch.provider": "{{provider}}ድር ፍለጋ",
|
|
143
143
|
"ui.tool.shell": "ሼል",
|
|
144
144
|
"ui.tool.patch": "Patch",
|
|
145
|
-
"ui.tool.todos": "የሚደረጉ ነገሮች",
|
|
146
|
-
"ui.tool.todos.read": "ወደ-ድርጊት አንብብ",
|
|
147
145
|
"ui.tool.questions": "ጥያቄዎች",
|
|
148
146
|
"ui.tool.questions.numbered": "ጥያቄዎች {{number}}",
|
|
149
147
|
"ui.tool.agent": "{{type}} ወኪል",
|
package/src/i18n/ar.ts
CHANGED
|
@@ -167,8 +167,6 @@ export const dict = {
|
|
|
167
167
|
"ui.tool.websearch.provider": "{{provider}} بحث الويب",
|
|
168
168
|
"ui.tool.shell": "Shell",
|
|
169
169
|
"ui.tool.patch": "تطبيق رقعة",
|
|
170
|
-
"ui.tool.todos": "المهام",
|
|
171
|
-
"ui.tool.todos.read": "قراءة المهام",
|
|
172
170
|
"ui.tool.questions": "أسئلة",
|
|
173
171
|
"ui.tool.questions.numbered": "أسئلة {{number}}",
|
|
174
172
|
"ui.tool.agent": "وكيل {{type}}",
|
package/src/i18n/az.ts
CHANGED
|
@@ -143,8 +143,6 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Veb axtarışı",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
-
"ui.tool.todos": "Tapşırıqlar",
|
|
147
|
-
"ui.tool.todos.read": "Tapşırıqları oxu",
|
|
148
146
|
"ui.tool.questions": "Suallar",
|
|
149
147
|
"ui.tool.questions.numbered": "Suallar {{number}}",
|
|
150
148
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/bg.ts
CHANGED
|
@@ -143,8 +143,6 @@ 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": "Прочетете задачи",
|
|
148
146
|
"ui.tool.questions": "Въпроси",
|
|
149
147
|
"ui.tool.questions.numbered": "Въпроси {{number}}",
|
|
150
148
|
"ui.tool.agent": "{{type}} Агент",
|
package/src/i18n/bn.ts
CHANGED
|
@@ -145,8 +145,6 @@ export const dict: Record<string, string> = {
|
|
|
145
145
|
"ui.tool.websearch.provider": "{{provider}} Web Search",
|
|
146
146
|
"ui.tool.shell": "শেল",
|
|
147
147
|
"ui.tool.patch": "প্যাচ",
|
|
148
|
-
"ui.tool.todos": "করণীয়",
|
|
149
|
-
"ui.tool.todos.read": "করণীয় পড়ুন",
|
|
150
148
|
"ui.tool.questions": "প্রশ্ন",
|
|
151
149
|
"ui.tool.questions.numbered": "প্রশ্ন {{number}}",
|
|
152
150
|
"ui.tool.agent": "{{type}} এজেন্ট",
|
package/src/i18n/br.ts
CHANGED
|
@@ -155,8 +155,6 @@ export const dict = {
|
|
|
155
155
|
"ui.tool.websearch.provider": "{{provider}} Pesquisa na web",
|
|
156
156
|
"ui.tool.shell": "Shell",
|
|
157
157
|
"ui.tool.patch": "Patch",
|
|
158
|
-
"ui.tool.todos": "Tarefas",
|
|
159
|
-
"ui.tool.todos.read": "Ler tarefas",
|
|
160
158
|
"ui.tool.questions": "Perguntas",
|
|
161
159
|
"ui.tool.questions.numbered": "Perguntas {{number}}",
|
|
162
160
|
"ui.tool.agent": "Agente {{type}}",
|
package/src/i18n/bs.ts
CHANGED
|
@@ -159,8 +159,6 @@ export const dict = {
|
|
|
159
159
|
"ui.tool.websearch.provider": "{{provider}} Pretraga weba",
|
|
160
160
|
"ui.tool.shell": "Shell",
|
|
161
161
|
"ui.tool.patch": "Patch",
|
|
162
|
-
"ui.tool.todos": "Lista zadataka",
|
|
163
|
-
"ui.tool.todos.read": "Čitanje liste zadataka",
|
|
164
162
|
"ui.tool.questions": "Pitanja",
|
|
165
163
|
"ui.tool.questions.numbered": "Pitanja {{number}}",
|
|
166
164
|
"ui.tool.agent": "{{type}} agent",
|
package/src/i18n/ca.ts
CHANGED
|
@@ -147,8 +147,6 @@ export const dict: Record<string, string> = {
|
|
|
147
147
|
"ui.tool.websearch.provider": "{{provider}} Cerca web",
|
|
148
148
|
"ui.tool.shell": "Shell",
|
|
149
149
|
"ui.tool.patch": "Pedaç",
|
|
150
|
-
"ui.tool.todos": "Coses pendents",
|
|
151
|
-
"ui.tool.todos.read": "Llegir tasques pendents",
|
|
152
150
|
"ui.tool.questions": "Preguntes",
|
|
153
151
|
"ui.tool.questions.numbered": "Preguntes {{number}}",
|
|
154
152
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/cs.ts
CHANGED
|
@@ -151,8 +151,6 @@ export const dict: Record<string, string> = {
|
|
|
151
151
|
"ui.tool.websearch.provider": "{{provider}} Vyhledávání na webu",
|
|
152
152
|
"ui.tool.shell": "Shell",
|
|
153
153
|
"ui.tool.patch": "Patch",
|
|
154
|
-
"ui.tool.todos": "Úkoly",
|
|
155
|
-
"ui.tool.todos.read": "Přečtěte si úkoly",
|
|
156
154
|
"ui.tool.questions": "Otázky",
|
|
157
155
|
"ui.tool.questions.numbered": "Otázky {{number}}",
|
|
158
156
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/da.ts
CHANGED
|
@@ -130,8 +130,6 @@ export const dict = {
|
|
|
130
130
|
"ui.tool.websearch.provider": "{{provider}} Websøgning",
|
|
131
131
|
"ui.tool.shell": "Shell",
|
|
132
132
|
"ui.tool.patch": "Patch",
|
|
133
|
-
"ui.tool.todos": "Opgaver",
|
|
134
|
-
"ui.tool.todos.read": "Læs opgaver",
|
|
135
133
|
"ui.tool.questions": "Spørgsmål",
|
|
136
134
|
"ui.tool.questions.numbered": "Spørgsmål {{number}}",
|
|
137
135
|
"ui.tool.agent": "{{type}}-agent",
|
package/src/i18n/de.ts
CHANGED
|
@@ -137,8 +137,6 @@ export const dict = {
|
|
|
137
137
|
"ui.tool.websearch.provider": "{{provider}} Web-Suche",
|
|
138
138
|
"ui.tool.shell": "Shell",
|
|
139
139
|
"ui.tool.patch": "Patch",
|
|
140
|
-
"ui.tool.todos": "Aufgaben",
|
|
141
|
-
"ui.tool.todos.read": "Aufgaben lesen",
|
|
142
140
|
"ui.tool.questions": "Fragen",
|
|
143
141
|
"ui.tool.questions.numbered": "Fragen {{number}}",
|
|
144
142
|
"ui.tool.agent": "{{type}}-Agent",
|
package/src/i18n/dv.ts
CHANGED
|
@@ -144,8 +144,6 @@ 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": "ޓޫ-ޑޯސް ކިޔާށެވެ",
|
|
149
147
|
"ui.tool.questions": "ސުވާލުތަކެވެ",
|
|
150
148
|
"ui.tool.questions.numbered": "ސުވާލުތައް {{number}}",
|
|
151
149
|
"ui.tool.agent": "{{type}} އޭޖެންޓް",
|
package/src/i18n/dz.ts
CHANGED
|
@@ -145,8 +145,6 @@ export const dict: Record<string, string> = {
|
|
|
145
145
|
"ui.tool.websearch.provider": "{{provider}} Web Search",
|
|
146
146
|
"ui.tool.shell": "Shell",
|
|
147
147
|
"ui.tool.patch": "ལྷནམ",
|
|
148
|
-
"ui.tool.todos": "འབད་དགོཔ་ཚུ།",
|
|
149
|
-
"ui.tool.todos.read": "ལཱ་འབད་དགོཔ་ལྷག།",
|
|
150
148
|
"ui.tool.questions": "དྲི་བ།",
|
|
151
149
|
"ui.tool.questions.numbered": "དྲི་བ།{{number}}།",
|
|
152
150
|
"ui.tool.agent": "{{type}} ལས་ཚན།",
|
package/src/i18n/el.ts
CHANGED
|
@@ -143,8 +143,6 @@ export const dict: Record<string, string> = {
|
|
|
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": "Διαβάστε τις εργασίες",
|
|
148
146
|
"ui.tool.questions": "Ερωτήσεις",
|
|
149
147
|
"ui.tool.questions.numbered": "Ερωτήσεις {{number}}",
|
|
150
148
|
"ui.tool.agent": "Πράκτορας {{type}}",
|
package/src/i18n/en.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const source = {
|
|
2
2
|
"ui.sessionReview.title": "Session changes",
|
|
3
3
|
"ui.sessionReview.title.git": "Git changes",
|
|
4
4
|
"ui.sessionReview.title.branch": "Branch changes",
|
|
@@ -158,9 +158,8 @@ export const dict: Record<string, string> = {
|
|
|
158
158
|
"ui.tool.websearch": "Web Search",
|
|
159
159
|
"ui.tool.websearch.provider": "{{provider}} Web Search",
|
|
160
160
|
"ui.tool.shell": "Shell",
|
|
161
|
+
"ui.tool.execute": "Execute",
|
|
161
162
|
"ui.tool.patch": "Patch",
|
|
162
|
-
"ui.tool.todos": "To-dos",
|
|
163
|
-
"ui.tool.todos.read": "Read to-dos",
|
|
164
163
|
"ui.tool.questions": "Questions",
|
|
165
164
|
"ui.tool.questions.numbered": "Questions {{number}}",
|
|
166
165
|
"ui.tool.agent": "{{type}} Agent",
|
|
@@ -217,4 +216,13 @@ export const dict: Record<string, string> = {
|
|
|
217
216
|
"ui.question.multiHint": "Select all answers that apply",
|
|
218
217
|
"ui.question.singleHint": "Select one answer",
|
|
219
218
|
"ui.question.custom.placeholder": "Type your answer...",
|
|
220
|
-
}
|
|
219
|
+
} satisfies Record<string, string>
|
|
220
|
+
|
|
221
|
+
export type Key = keyof typeof source
|
|
222
|
+
export type PluralCategory = "zero" | "one" | "two" | "few" | "many" | "other"
|
|
223
|
+
export type PluralKey = {
|
|
224
|
+
[Entry in Key]: Entry extends `${infer Base}.other` ? (`${Base}.one` extends Key ? Base : never) : never
|
|
225
|
+
}[Key]
|
|
226
|
+
export type PluralLookupKey = `${PluralKey}.${PluralCategory}`
|
|
227
|
+
export type LocaleKey = Key | PluralLookupKey
|
|
228
|
+
export const dict: typeof source & Record<string, string> = source
|
package/src/i18n/es.ts
CHANGED
|
@@ -155,8 +155,6 @@ export const dict = {
|
|
|
155
155
|
"ui.tool.websearch.provider": "{{provider}} Búsqueda web",
|
|
156
156
|
"ui.tool.shell": "Shell",
|
|
157
157
|
"ui.tool.patch": "Parche",
|
|
158
|
-
"ui.tool.todos": "Tareas",
|
|
159
|
-
"ui.tool.todos.read": "Leer tareas",
|
|
160
158
|
"ui.tool.questions": "Preguntas",
|
|
161
159
|
"ui.tool.questions.numbered": "Preguntas {{number}}",
|
|
162
160
|
"ui.tool.agent": "Agente {{type}}",
|
package/src/i18n/et.ts
CHANGED
|
@@ -143,8 +143,6 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Veebiotsing",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
-
"ui.tool.todos": "Ülesanded",
|
|
147
|
-
"ui.tool.todos.read": "Lugege ülesandeid",
|
|
148
146
|
"ui.tool.questions": "Küsimused",
|
|
149
147
|
"ui.tool.questions.numbered": "Küsimused {{number}}",
|
|
150
148
|
"ui.tool.agent": "{{type}} Agent",
|
package/src/i18n/fa.ts
CHANGED
|
@@ -143,8 +143,6 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "جستجوی وب {{provider}}",
|
|
144
144
|
"ui.tool.shell": "پوسته",
|
|
145
145
|
"ui.tool.patch": "پچ",
|
|
146
|
-
"ui.tool.todos": "کارها",
|
|
147
|
-
"ui.tool.todos.read": "کارها را بخوانید",
|
|
148
146
|
"ui.tool.questions": "سوالات",
|
|
149
147
|
"ui.tool.questions.numbered": "سوالات {{number}}",
|
|
150
148
|
"ui.tool.agent": "عامل {{type}}",
|
package/src/i18n/fi.ts
CHANGED
|
@@ -125,8 +125,6 @@ export const dict: Record<string, string> = {
|
|
|
125
125
|
"ui.tool.websearch.provider": "{{provider}} Verkkohaku",
|
|
126
126
|
"ui.tool.shell": "Shell",
|
|
127
127
|
"ui.tool.patch": "Patch",
|
|
128
|
-
"ui.tool.todos": "Tehtävät",
|
|
129
|
-
"ui.tool.todos.read": "Lue tehtävät",
|
|
130
128
|
"ui.tool.questions": "Kysymykset",
|
|
131
129
|
"ui.tool.questions.numbered": "Kysymykset {{number}}",
|
|
132
130
|
"ui.tool.agent": "{{type}}-agentti",
|
package/src/i18n/fo.ts
CHANGED
|
@@ -143,8 +143,6 @@ export const dict: Record<string, string> = {
|
|
|
143
143
|
"ui.tool.websearch.provider": "{{provider}} Leitan á netinum",
|
|
144
144
|
"ui.tool.shell": "Shell",
|
|
145
145
|
"ui.tool.patch": "Patch",
|
|
146
|
-
"ui.tool.todos": "Uppgávur",
|
|
147
|
-
"ui.tool.todos.read": "Les uppgávur",
|
|
148
146
|
"ui.tool.questions": "Spurningar",
|
|
149
147
|
"ui.tool.questions.numbered": "Spurningar {{number}}",
|
|
150
148
|
"ui.tool.agent": "{{type}} agentur",
|
package/src/i18n/fr.ts
CHANGED
|
@@ -157,8 +157,6 @@ export const dict = {
|
|
|
157
157
|
"ui.tool.websearch.provider": "{{provider}} Recherche Web",
|
|
158
158
|
"ui.tool.shell": "Shell",
|
|
159
159
|
"ui.tool.patch": "Patch",
|
|
160
|
-
"ui.tool.todos": "Tâches",
|
|
161
|
-
"ui.tool.todos.read": "Lire les tâches",
|
|
162
160
|
"ui.tool.questions": "Questions",
|
|
163
161
|
"ui.tool.questions.numbered": "Questions {{number}}",
|
|
164
162
|
"ui.tool.agent": "Agent {{type}}",
|