oc-plugin-smoke-test 0.0.1
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/README.md +3 -0
- package/bun.lock +432 -0
- package/index.tsx +812 -0
- package/package.json +22 -0
- package/smoke-theme.json +223 -0
- package/tsconfig.json +23 -0
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oc-plugin-smoke-test",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./index.tsx"
|
|
7
|
+
},
|
|
8
|
+
"peerDependencies": {
|
|
9
|
+
"@opencode-ai/plugin": "0.0.0-snapshot-tui-plugins-202603190008",
|
|
10
|
+
"@opentui/core": "0.0.0-20260318-39211c40",
|
|
11
|
+
"@opentui/solid": "0.0.0-20260318-39211c40",
|
|
12
|
+
"solid-js": "^1.9.11"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@opencode-ai/plugin": "1.2.24",
|
|
16
|
+
"@opentui/core": "0.0.0-20260318-39211c40",
|
|
17
|
+
"@opentui/solid": "0.0.0-20260318-39211c40",
|
|
18
|
+
"solid-js": "1.9.11",
|
|
19
|
+
"@types/bun": "latest",
|
|
20
|
+
"typescript": "^5"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/smoke-theme.json
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"nord0": "#2E3440",
|
|
5
|
+
"nord1": "#3B4252",
|
|
6
|
+
"nord2": "#434C5E",
|
|
7
|
+
"nord3": "#4C566A",
|
|
8
|
+
"nord4": "#D8DEE9",
|
|
9
|
+
"nord5": "#E5E9F0",
|
|
10
|
+
"nord6": "#ECEFF4",
|
|
11
|
+
"nord7": "#8FBCBB",
|
|
12
|
+
"nord8": "#88C0D0",
|
|
13
|
+
"nord9": "#81A1C1",
|
|
14
|
+
"nord10": "#5E81AC",
|
|
15
|
+
"nord11": "#BF616A",
|
|
16
|
+
"nord12": "#D08770",
|
|
17
|
+
"nord13": "#EBCB8B",
|
|
18
|
+
"nord14": "#A3BE8C",
|
|
19
|
+
"nord15": "#B48EAD"
|
|
20
|
+
},
|
|
21
|
+
"theme": {
|
|
22
|
+
"primary": {
|
|
23
|
+
"dark": "nord8",
|
|
24
|
+
"light": "nord10"
|
|
25
|
+
},
|
|
26
|
+
"secondary": {
|
|
27
|
+
"dark": "nord9",
|
|
28
|
+
"light": "nord9"
|
|
29
|
+
},
|
|
30
|
+
"accent": {
|
|
31
|
+
"dark": "nord7",
|
|
32
|
+
"light": "nord7"
|
|
33
|
+
},
|
|
34
|
+
"error": {
|
|
35
|
+
"dark": "nord11",
|
|
36
|
+
"light": "nord11"
|
|
37
|
+
},
|
|
38
|
+
"warning": {
|
|
39
|
+
"dark": "nord12",
|
|
40
|
+
"light": "nord12"
|
|
41
|
+
},
|
|
42
|
+
"success": {
|
|
43
|
+
"dark": "nord14",
|
|
44
|
+
"light": "nord14"
|
|
45
|
+
},
|
|
46
|
+
"info": {
|
|
47
|
+
"dark": "nord8",
|
|
48
|
+
"light": "nord10"
|
|
49
|
+
},
|
|
50
|
+
"text": {
|
|
51
|
+
"dark": "nord6",
|
|
52
|
+
"light": "nord0"
|
|
53
|
+
},
|
|
54
|
+
"textMuted": {
|
|
55
|
+
"dark": "#8B95A7",
|
|
56
|
+
"light": "nord1"
|
|
57
|
+
},
|
|
58
|
+
"background": {
|
|
59
|
+
"dark": "nord0",
|
|
60
|
+
"light": "nord6"
|
|
61
|
+
},
|
|
62
|
+
"backgroundPanel": {
|
|
63
|
+
"dark": "nord1",
|
|
64
|
+
"light": "nord5"
|
|
65
|
+
},
|
|
66
|
+
"backgroundElement": {
|
|
67
|
+
"dark": "nord2",
|
|
68
|
+
"light": "nord4"
|
|
69
|
+
},
|
|
70
|
+
"border": {
|
|
71
|
+
"dark": "nord2",
|
|
72
|
+
"light": "nord3"
|
|
73
|
+
},
|
|
74
|
+
"borderActive": {
|
|
75
|
+
"dark": "nord3",
|
|
76
|
+
"light": "nord2"
|
|
77
|
+
},
|
|
78
|
+
"borderSubtle": {
|
|
79
|
+
"dark": "nord2",
|
|
80
|
+
"light": "nord3"
|
|
81
|
+
},
|
|
82
|
+
"diffAdded": {
|
|
83
|
+
"dark": "nord14",
|
|
84
|
+
"light": "nord14"
|
|
85
|
+
},
|
|
86
|
+
"diffRemoved": {
|
|
87
|
+
"dark": "nord11",
|
|
88
|
+
"light": "nord11"
|
|
89
|
+
},
|
|
90
|
+
"diffContext": {
|
|
91
|
+
"dark": "#8B95A7",
|
|
92
|
+
"light": "nord3"
|
|
93
|
+
},
|
|
94
|
+
"diffHunkHeader": {
|
|
95
|
+
"dark": "#8B95A7",
|
|
96
|
+
"light": "nord3"
|
|
97
|
+
},
|
|
98
|
+
"diffHighlightAdded": {
|
|
99
|
+
"dark": "nord14",
|
|
100
|
+
"light": "nord14"
|
|
101
|
+
},
|
|
102
|
+
"diffHighlightRemoved": {
|
|
103
|
+
"dark": "nord11",
|
|
104
|
+
"light": "nord11"
|
|
105
|
+
},
|
|
106
|
+
"diffAddedBg": {
|
|
107
|
+
"dark": "#36413C",
|
|
108
|
+
"light": "#E6EBE7"
|
|
109
|
+
},
|
|
110
|
+
"diffRemovedBg": {
|
|
111
|
+
"dark": "#43393D",
|
|
112
|
+
"light": "#ECE6E8"
|
|
113
|
+
},
|
|
114
|
+
"diffContextBg": {
|
|
115
|
+
"dark": "nord1",
|
|
116
|
+
"light": "nord5"
|
|
117
|
+
},
|
|
118
|
+
"diffLineNumber": {
|
|
119
|
+
"dark": "nord2",
|
|
120
|
+
"light": "nord4"
|
|
121
|
+
},
|
|
122
|
+
"diffAddedLineNumberBg": {
|
|
123
|
+
"dark": "#303A35",
|
|
124
|
+
"light": "#DDE4DF"
|
|
125
|
+
},
|
|
126
|
+
"diffRemovedLineNumberBg": {
|
|
127
|
+
"dark": "#3C3336",
|
|
128
|
+
"light": "#E4DDE0"
|
|
129
|
+
},
|
|
130
|
+
"markdownText": {
|
|
131
|
+
"dark": "nord4",
|
|
132
|
+
"light": "nord0"
|
|
133
|
+
},
|
|
134
|
+
"markdownHeading": {
|
|
135
|
+
"dark": "nord8",
|
|
136
|
+
"light": "nord10"
|
|
137
|
+
},
|
|
138
|
+
"markdownLink": {
|
|
139
|
+
"dark": "nord9",
|
|
140
|
+
"light": "nord9"
|
|
141
|
+
},
|
|
142
|
+
"markdownLinkText": {
|
|
143
|
+
"dark": "nord7",
|
|
144
|
+
"light": "nord7"
|
|
145
|
+
},
|
|
146
|
+
"markdownCode": {
|
|
147
|
+
"dark": "nord14",
|
|
148
|
+
"light": "nord14"
|
|
149
|
+
},
|
|
150
|
+
"markdownBlockQuote": {
|
|
151
|
+
"dark": "#8B95A7",
|
|
152
|
+
"light": "nord3"
|
|
153
|
+
},
|
|
154
|
+
"markdownEmph": {
|
|
155
|
+
"dark": "nord12",
|
|
156
|
+
"light": "nord12"
|
|
157
|
+
},
|
|
158
|
+
"markdownStrong": {
|
|
159
|
+
"dark": "nord13",
|
|
160
|
+
"light": "nord13"
|
|
161
|
+
},
|
|
162
|
+
"markdownHorizontalRule": {
|
|
163
|
+
"dark": "#8B95A7",
|
|
164
|
+
"light": "nord3"
|
|
165
|
+
},
|
|
166
|
+
"markdownListItem": {
|
|
167
|
+
"dark": "nord8",
|
|
168
|
+
"light": "nord10"
|
|
169
|
+
},
|
|
170
|
+
"markdownListEnumeration": {
|
|
171
|
+
"dark": "nord7",
|
|
172
|
+
"light": "nord7"
|
|
173
|
+
},
|
|
174
|
+
"markdownImage": {
|
|
175
|
+
"dark": "nord9",
|
|
176
|
+
"light": "nord9"
|
|
177
|
+
},
|
|
178
|
+
"markdownImageText": {
|
|
179
|
+
"dark": "nord7",
|
|
180
|
+
"light": "nord7"
|
|
181
|
+
},
|
|
182
|
+
"markdownCodeBlock": {
|
|
183
|
+
"dark": "nord4",
|
|
184
|
+
"light": "nord0"
|
|
185
|
+
},
|
|
186
|
+
"syntaxComment": {
|
|
187
|
+
"dark": "#8B95A7",
|
|
188
|
+
"light": "nord3"
|
|
189
|
+
},
|
|
190
|
+
"syntaxKeyword": {
|
|
191
|
+
"dark": "nord9",
|
|
192
|
+
"light": "nord9"
|
|
193
|
+
},
|
|
194
|
+
"syntaxFunction": {
|
|
195
|
+
"dark": "nord8",
|
|
196
|
+
"light": "nord8"
|
|
197
|
+
},
|
|
198
|
+
"syntaxVariable": {
|
|
199
|
+
"dark": "nord7",
|
|
200
|
+
"light": "nord7"
|
|
201
|
+
},
|
|
202
|
+
"syntaxString": {
|
|
203
|
+
"dark": "nord14",
|
|
204
|
+
"light": "nord14"
|
|
205
|
+
},
|
|
206
|
+
"syntaxNumber": {
|
|
207
|
+
"dark": "nord15",
|
|
208
|
+
"light": "nord15"
|
|
209
|
+
},
|
|
210
|
+
"syntaxType": {
|
|
211
|
+
"dark": "nord7",
|
|
212
|
+
"light": "nord7"
|
|
213
|
+
},
|
|
214
|
+
"syntaxOperator": {
|
|
215
|
+
"dark": "nord9",
|
|
216
|
+
"light": "nord9"
|
|
217
|
+
},
|
|
218
|
+
"syntaxPunctuation": {
|
|
219
|
+
"dark": "nord4",
|
|
220
|
+
"light": "nord0"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["ESNext"],
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "Preserve",
|
|
6
|
+
"moduleDetection": "force",
|
|
7
|
+
"jsx": "preserve",
|
|
8
|
+
"jsxImportSource": "@opentui/solid",
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"allowImportingTsExtensions": true,
|
|
12
|
+
"verbatimModuleSyntax": true,
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"strict": true,
|
|
15
|
+
"skipLibCheck": true,
|
|
16
|
+
"noFallthroughCasesInSwitch": true,
|
|
17
|
+
"noUncheckedIndexedAccess": true,
|
|
18
|
+
"noImplicitOverride": true,
|
|
19
|
+
"noUnusedLocals": false,
|
|
20
|
+
"noUnusedParameters": false,
|
|
21
|
+
"noPropertyAccessFromIndexSignature": false
|
|
22
|
+
}
|
|
23
|
+
}
|