@opencode-ai/ui 0.0.0-dev-17604 → 0.0.0-dev-202608181420
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 -205
- 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 +6 -2
- package/src/components/accordion.css +24 -0
- package/src/components/animated-number.css +11 -29
- package/src/components/animated-number.tsx +2 -2
- package/src/components/card.css +21 -0
- 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/tabs.css +18 -16
- package/src/components/text-shimmer.css +1 -2
- 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 -14
- 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/context.tsx +11 -19
- 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/text-shimmer-v2.css +1 -2
- package/src/v2/components/toast-v2.tsx +0 -2
- package/src/v2/components/tooltip-v2.tsx +2 -3
- package/src/v2/styles/theme.css +12 -0
- package/dist/i18n/he.d.ts +0 -197
- package/src/i18n/he.ts +0 -199
|
@@ -9,7 +9,6 @@ declare const icons: {
|
|
|
9
9
|
prompt: string;
|
|
10
10
|
brain: string;
|
|
11
11
|
fork: string;
|
|
12
|
-
"workspace-isolated": string;
|
|
13
12
|
"bullet-list": string;
|
|
14
13
|
"check-small": string;
|
|
15
14
|
"chevron-down": string;
|
|
@@ -96,11 +95,6 @@ declare const icons: {
|
|
|
96
95
|
link: string;
|
|
97
96
|
providers: string;
|
|
98
97
|
models: string;
|
|
99
|
-
appearance: string;
|
|
100
|
-
notifications: string;
|
|
101
|
-
extensions: string;
|
|
102
|
-
cube: string;
|
|
103
|
-
"post-skill": string;
|
|
104
98
|
"arrow-undo-down": string;
|
|
105
99
|
};
|
|
106
100
|
export interface IconProps extends ComponentProps<"svg"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps } from "solid-js";
|
|
1
|
+
import { type Accessor, type ComponentProps } from "solid-js";
|
|
2
2
|
export type ScrollViewThumbVisibility = "hover" | "scroll";
|
|
3
3
|
export interface ScrollViewProps extends ComponentProps<"div"> {
|
|
4
4
|
viewportRef?: (el: HTMLDivElement) => void;
|
|
@@ -11,9 +11,9 @@ export interface ScrollViewProps extends ComponentProps<"div"> {
|
|
|
11
11
|
* */
|
|
12
12
|
thumbVisibility?: ScrollViewThumbVisibility;
|
|
13
13
|
/** Mount the thumb into an external track. Scroll metrics still come from this ScrollView. */
|
|
14
|
-
thumbContainer?: HTMLElement
|
|
14
|
+
thumbContainer?: HTMLElement | Accessor<HTMLElement | undefined>;
|
|
15
15
|
/** Element whose hover reveals the thumb. Defaults to the ScrollView root when unset. */
|
|
16
|
-
thumbHoverTarget?: HTMLElement
|
|
16
|
+
thumbHoverTarget?: HTMLElement | Accessor<HTMLElement | undefined>;
|
|
17
17
|
}
|
|
18
18
|
export declare const scrollKey: (event: Pick<KeyboardEvent, "key" | "altKey" | "ctrlKey" | "metaKey" | "shiftKey">) => "end" | "home" | "page-down" | "page-up" | "up" | "down" | undefined;
|
|
19
19
|
export declare function canScrollKey(element: HTMLElement, key: NonNullable<ReturnType<typeof scrollKey>>): boolean;
|
package/dist/context/i18n.d.ts
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { type Accessor, type ParentProps } from "solid-js";
|
|
2
|
-
import
|
|
3
|
-
export type UiI18nKey =
|
|
4
|
-
export
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
type UiTranslationKey<Value extends string> = Value extends UiI18nPluralLookupKey ? never : Value;
|
|
2
|
+
import { dict as en } from "../i18n/en";
|
|
3
|
+
export type UiI18nKey = keyof typeof en;
|
|
4
|
+
export declare const UI_PLURAL_KEYS: readonly ["ui.sessionTurn.diffs.changed", "ui.messagePart.context.read", "ui.messagePart.context.search", "ui.messagePart.context.list"];
|
|
5
|
+
export type UiI18nPluralKey = (typeof UI_PLURAL_KEYS)[number];
|
|
6
|
+
export type UiPluralCategory = "zero" | "one" | "two" | "few" | "many" | "other";
|
|
7
|
+
export type UiI18nPluralLookupKey = `${UiI18nPluralKey}.${UiPluralCategory}`;
|
|
9
8
|
export type UiI18nParams = Record<string, string | number | boolean>;
|
|
10
|
-
export type UiTranslate = <Value extends string>(key: UiTranslationKey<Value>, params?: UiI18nParams) => string;
|
|
11
9
|
export type UiI18n = {
|
|
12
10
|
locale: Accessor<string>;
|
|
13
11
|
layoutLocale?: Accessor<string>;
|
|
14
|
-
t:
|
|
12
|
+
t: (key: UiI18nKey, params?: UiI18nParams) => string;
|
|
15
13
|
plural: (key: UiI18nPluralKey, count: number, params?: UiI18nParams) => string;
|
|
16
|
-
pluralForm?: (key: UiI18nPluralKey, category: UiPluralCategory, params?: UiI18nParams) => string;
|
|
17
14
|
};
|
|
18
15
|
export declare function pluralCategory(locale: string, count: number): UiPluralCategory;
|
|
19
16
|
export declare function pluralKey(key: UiI18nPluralKey, category: UiPluralCategory): UiI18nPluralLookupKey;
|
package/dist/i18n/ar.d.ts
CHANGED
|
@@ -152,6 +152,8 @@ export declare const dict: {
|
|
|
152
152
|
"ui.tool.websearch.provider": string;
|
|
153
153
|
"ui.tool.shell": string;
|
|
154
154
|
"ui.tool.patch": string;
|
|
155
|
+
"ui.tool.todos": string;
|
|
156
|
+
"ui.tool.todos.read": string;
|
|
155
157
|
"ui.tool.questions": string;
|
|
156
158
|
"ui.tool.questions.numbered": string;
|
|
157
159
|
"ui.tool.agent": string;
|
package/dist/i18n/bg.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/br.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/bs.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/da.d.ts
CHANGED
|
@@ -118,6 +118,8 @@ export declare const dict: {
|
|
|
118
118
|
"ui.tool.websearch.provider": string;
|
|
119
119
|
"ui.tool.shell": string;
|
|
120
120
|
"ui.tool.patch": string;
|
|
121
|
+
"ui.tool.todos": string;
|
|
122
|
+
"ui.tool.todos.read": string;
|
|
121
123
|
"ui.tool.questions": string;
|
|
122
124
|
"ui.tool.questions.numbered": string;
|
|
123
125
|
"ui.tool.agent": string;
|
package/dist/i18n/de.d.ts
CHANGED
|
@@ -118,6 +118,8 @@ export declare const dict: {
|
|
|
118
118
|
"ui.tool.websearch.provider": string;
|
|
119
119
|
"ui.tool.shell": string;
|
|
120
120
|
"ui.tool.patch": string;
|
|
121
|
+
"ui.tool.todos": string;
|
|
122
|
+
"ui.tool.todos.read": string;
|
|
121
123
|
"ui.tool.questions": string;
|
|
122
124
|
"ui.tool.questions.numbered": string;
|
|
123
125
|
"ui.tool.agent": string;
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -1,205 +1 @@
|
|
|
1
|
-
declare const
|
|
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.messagePart.context.match.one": string;
|
|
102
|
-
"ui.messagePart.context.match.other": string;
|
|
103
|
-
"ui.list.loading": string;
|
|
104
|
-
"ui.list.empty": string;
|
|
105
|
-
"ui.list.clearFilter": string;
|
|
106
|
-
"ui.list.emptyWithFilter.prefix": string;
|
|
107
|
-
"ui.list.emptyWithFilter.suffix": string;
|
|
108
|
-
"ui.fileSearch.placeholder": string;
|
|
109
|
-
"ui.fileSearch.previousMatch": string;
|
|
110
|
-
"ui.fileSearch.nextMatch": string;
|
|
111
|
-
"ui.fileSearch.close": string;
|
|
112
|
-
"ui.messageNav.newMessage": string;
|
|
113
|
-
"ui.promptInput.noMatchingItems": string;
|
|
114
|
-
"ui.promptInput.commands": string;
|
|
115
|
-
"ui.promptInput.dropFiles": string;
|
|
116
|
-
"ui.promptInput.removeAttachment": string;
|
|
117
|
-
"ui.promptInput.label": string;
|
|
118
|
-
"ui.promptInput.placeholder.shell": string;
|
|
119
|
-
"ui.promptInput.placeholder.normal": string;
|
|
120
|
-
"ui.promptInput.add": string;
|
|
121
|
-
"ui.promptInput.attachments": string;
|
|
122
|
-
"ui.promptInput.context": string;
|
|
123
|
-
"ui.promptInput.shell": string;
|
|
124
|
-
"ui.promptInput.chooseAgent": string;
|
|
125
|
-
"ui.promptInput.chooseModel": string;
|
|
126
|
-
"ui.promptInput.chooseVariant": string;
|
|
127
|
-
"ui.promptInput.send": string;
|
|
128
|
-
"ui.promptInput.stop": string;
|
|
129
|
-
"ui.tabs.close": string;
|
|
130
|
-
"ui.textField.copyToClipboard": string;
|
|
131
|
-
"ui.textField.copyLink": string;
|
|
132
|
-
"ui.textField.copied": string;
|
|
133
|
-
"ui.imagePreview.alt": string;
|
|
134
|
-
"ui.scrollView.ariaLabel": string;
|
|
135
|
-
"ui.tool.read": string;
|
|
136
|
-
"ui.tool.loaded": string;
|
|
137
|
-
"ui.tool.list": string;
|
|
138
|
-
"ui.tool.glob": string;
|
|
139
|
-
"ui.tool.grep": string;
|
|
140
|
-
"ui.tool.task": string;
|
|
141
|
-
"ui.tool.webfetch": string;
|
|
142
|
-
"ui.tool.websearch": string;
|
|
143
|
-
"ui.tool.websearch.provider": string;
|
|
144
|
-
"ui.tool.shell": string;
|
|
145
|
-
"ui.tool.execute": string;
|
|
146
|
-
"ui.tool.patch": string;
|
|
147
|
-
"ui.tool.questions": string;
|
|
148
|
-
"ui.tool.questions.numbered": string;
|
|
149
|
-
"ui.tool.agent": string;
|
|
150
|
-
"ui.tool.agent.default": string;
|
|
151
|
-
"ui.tool.skill": string;
|
|
152
|
-
"ui.basicTool.called": string;
|
|
153
|
-
"ui.toolErrorCard.failed": string;
|
|
154
|
-
"ui.toolErrorCard.copyError": string;
|
|
155
|
-
"ui.common.file.one": string;
|
|
156
|
-
"ui.common.file.other": string;
|
|
157
|
-
"ui.common.question.one": string;
|
|
158
|
-
"ui.common.question.other": string;
|
|
159
|
-
"ui.common.add": string;
|
|
160
|
-
"ui.common.clear": string;
|
|
161
|
-
"ui.common.file": string;
|
|
162
|
-
"ui.common.back": string;
|
|
163
|
-
"ui.common.cancel": string;
|
|
164
|
-
"ui.common.confirm": string;
|
|
165
|
-
"ui.common.dismiss": string;
|
|
166
|
-
"ui.common.close": string;
|
|
167
|
-
"ui.common.next": string;
|
|
168
|
-
"ui.common.submit": string;
|
|
169
|
-
"ui.common.showMore": string;
|
|
170
|
-
"ui.permission.deny": string;
|
|
171
|
-
"ui.permission.allowAlways": string;
|
|
172
|
-
"ui.permission.allowOnce": string;
|
|
173
|
-
"ui.message.expand": string;
|
|
174
|
-
"ui.message.collapse": string;
|
|
175
|
-
"ui.message.copy": string;
|
|
176
|
-
"ui.message.copyMessage": string;
|
|
177
|
-
"ui.message.forkMessage": string;
|
|
178
|
-
"ui.message.revertMessage": string;
|
|
179
|
-
"ui.message.copyResponse": string;
|
|
180
|
-
"ui.message.copied": string;
|
|
181
|
-
"ui.message.duration.seconds": string;
|
|
182
|
-
"ui.message.duration.minutesSeconds": string;
|
|
183
|
-
"ui.message.interrupted": string;
|
|
184
|
-
"ui.message.queued": string;
|
|
185
|
-
"ui.message.attachment.alt": string;
|
|
186
|
-
"ui.patch.action.deleted": string;
|
|
187
|
-
"ui.patch.action.created": string;
|
|
188
|
-
"ui.patch.action.moved": string;
|
|
189
|
-
"ui.patch.action.patched": string;
|
|
190
|
-
"ui.question.subtitle.answered": string;
|
|
191
|
-
"ui.question.answer.none": string;
|
|
192
|
-
"ui.question.review.notAnswered": string;
|
|
193
|
-
"ui.question.multiHint": string;
|
|
194
|
-
"ui.question.singleHint": string;
|
|
195
|
-
"ui.question.custom.placeholder": string;
|
|
196
|
-
};
|
|
197
|
-
export type Key = keyof typeof source;
|
|
198
|
-
export type PluralCategory = "zero" | "one" | "two" | "few" | "many" | "other";
|
|
199
|
-
export type PluralKey = {
|
|
200
|
-
[Entry in Key]: Entry extends `${infer Base}.other` ? (`${Base}.one` extends Key ? Base : never) : never;
|
|
201
|
-
}[Key];
|
|
202
|
-
export type PluralLookupKey = `${PluralKey}.${PluralCategory}`;
|
|
203
|
-
export type LocaleKey = Key | PluralLookupKey;
|
|
204
|
-
export declare const dict: typeof source & Record<string, string>;
|
|
205
|
-
export {};
|
|
1
|
+
export declare const dict: Record<string, string>;
|
package/dist/i18n/es.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/fr.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export declare const dict: {
|
|
|
140
140
|
"ui.tool.websearch.provider": string;
|
|
141
141
|
"ui.tool.shell": string;
|
|
142
142
|
"ui.tool.patch": string;
|
|
143
|
+
"ui.tool.todos": string;
|
|
144
|
+
"ui.tool.todos.read": string;
|
|
143
145
|
"ui.tool.questions": string;
|
|
144
146
|
"ui.tool.questions.numbered": string;
|
|
145
147
|
"ui.tool.agent": string;
|
package/dist/i18n/ja.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ 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;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/km.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/ko.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ export declare const dict: {
|
|
|
112
112
|
"ui.tool.websearch.provider": string;
|
|
113
113
|
"ui.tool.shell": string;
|
|
114
114
|
"ui.tool.patch": string;
|
|
115
|
+
"ui.tool.todos": string;
|
|
116
|
+
"ui.tool.todos.read": string;
|
|
115
117
|
"ui.tool.questions": string;
|
|
116
118
|
"ui.tool.questions.numbered": string;
|
|
117
119
|
"ui.tool.agent": string;
|
package/dist/i18n/lo.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/mk.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/mn.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/my.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/pl.d.ts
CHANGED
|
@@ -144,6 +144,8 @@ export declare const dict: {
|
|
|
144
144
|
"ui.tool.websearch.provider": string;
|
|
145
145
|
"ui.tool.shell": string;
|
|
146
146
|
"ui.tool.patch": string;
|
|
147
|
+
"ui.tool.todos": string;
|
|
148
|
+
"ui.tool.todos.read": string;
|
|
147
149
|
"ui.tool.questions": string;
|
|
148
150
|
"ui.tool.questions.numbered": string;
|
|
149
151
|
"ui.tool.agent": string;
|
package/dist/i18n/ru.d.ts
CHANGED
|
@@ -144,6 +144,8 @@ export declare const dict: {
|
|
|
144
144
|
"ui.tool.websearch.provider": string;
|
|
145
145
|
"ui.tool.shell": string;
|
|
146
146
|
"ui.tool.patch": string;
|
|
147
|
+
"ui.tool.todos": string;
|
|
148
|
+
"ui.tool.todos.read": string;
|
|
147
149
|
"ui.tool.questions": string;
|
|
148
150
|
"ui.tool.questions.numbered": string;
|
|
149
151
|
"ui.tool.agent": string;
|
package/dist/i18n/sr.d.ts
CHANGED
|
@@ -145,6 +145,8 @@ export declare const dict: {
|
|
|
145
145
|
"ui.tool.websearch.provider": string;
|
|
146
146
|
"ui.tool.shell": string;
|
|
147
147
|
"ui.tool.patch": string;
|
|
148
|
+
"ui.tool.todos": string;
|
|
149
|
+
"ui.tool.todos.read": string;
|
|
148
150
|
"ui.tool.questions": string;
|
|
149
151
|
"ui.tool.questions.numbered": string;
|
|
150
152
|
"ui.tool.agent": string;
|
package/dist/i18n/tg.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ 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;
|
|
144
146
|
"ui.tool.questions": string;
|
|
145
147
|
"ui.tool.questions.numbered": string;
|
|
146
148
|
"ui.tool.agent": string;
|
package/dist/i18n/th.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ 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;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/tr.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ 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;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ 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;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
package/dist/i18n/zht.d.ts
CHANGED
|
@@ -136,6 +136,8 @@ 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;
|
|
139
141
|
"ui.tool.questions": string;
|
|
140
142
|
"ui.tool.questions.numbered": string;
|
|
141
143
|
"ui.tool.agent": string;
|
|
@@ -16,10 +16,6 @@ declare const icons: {
|
|
|
16
16
|
viewBox: string;
|
|
17
17
|
body: string;
|
|
18
18
|
};
|
|
19
|
-
"branch-out": {
|
|
20
|
-
viewBox: string;
|
|
21
|
-
body: string;
|
|
22
|
-
};
|
|
23
19
|
"grid-plus": {
|
|
24
20
|
viewBox: string;
|
|
25
21
|
body: string;
|
|
@@ -124,14 +120,6 @@ declare const icons: {
|
|
|
124
120
|
viewBox: string;
|
|
125
121
|
body: string;
|
|
126
122
|
};
|
|
127
|
-
"window-analytics": {
|
|
128
|
-
viewBox: string;
|
|
129
|
-
body: string;
|
|
130
|
-
};
|
|
131
|
-
trash: {
|
|
132
|
-
viewBox: string;
|
|
133
|
-
body: string;
|
|
134
|
-
};
|
|
135
123
|
"outline-sliders": {
|
|
136
124
|
viewBox: string;
|
|
137
125
|
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-202608181420",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -124,6 +124,8 @@
|
|
|
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",
|
|
127
129
|
"@solid-primitives/event-listener": "2.4.5",
|
|
128
130
|
"@solid-primitives/media": "2.3.3",
|
|
129
131
|
"@solid-primitives/resize-observer": "2.1.3",
|
|
@@ -131,12 +133,14 @@
|
|
|
131
133
|
"diff": "8.0.2",
|
|
132
134
|
"dompurify": "3.3.1",
|
|
133
135
|
"fuzzysort": "3.1.0",
|
|
134
|
-
"katex": "0.16.
|
|
136
|
+
"katex": "0.16.27",
|
|
135
137
|
"luxon": "3.6.1",
|
|
136
138
|
"marked": "18.0.7",
|
|
137
139
|
"marked-shiki": "1.2.1",
|
|
138
140
|
"morphdom": "2.7.8",
|
|
139
141
|
"motion": "12.34.5",
|
|
142
|
+
"motion-dom": "12.34.3",
|
|
143
|
+
"motion-utils": "12.29.2",
|
|
140
144
|
"remeda": "2.26.0",
|
|
141
145
|
"remend": "1.3.0",
|
|
142
146
|
"shiki": "4.2.0",
|
|
@@ -104,6 +104,30 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
body:not([data-new-layout]) [data-component="accordion"] {
|
|
108
|
+
[data-slot="accordion-item"] [data-slot="accordion-header"] [data-slot="accordion-trigger"] {
|
|
109
|
+
background-color: var(--background-stronger);
|
|
110
|
+
border-width: 1px;
|
|
111
|
+
border-color: var(--border-weak-base);
|
|
112
|
+
color: var(--text-strong);
|
|
113
|
+
|
|
114
|
+
&:hover:not([data-disabled]) {
|
|
115
|
+
background-color: var(--surface-base-hover);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active:not([data-disabled]) {
|
|
119
|
+
background-color: var(--surface-base-active);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[data-slot="accordion-item"][data-expanded] [data-slot="accordion-content"] {
|
|
124
|
+
border-width: 1px;
|
|
125
|
+
border-color: var(--border-weak-base);
|
|
126
|
+
border-top: 0;
|
|
127
|
+
background-color: var(--background-stronger);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
107
131
|
@keyframes slideDown {
|
|
108
132
|
from {
|
|
109
133
|
height: 0;
|