@omercnet/paseo-omp 0.4.0-next.119.1 → 0.4.0-next.120.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.
@@ -0,0 +1,284 @@
1
+ import type { PluginSurfaceProps } from "@getpaseo/plugin/client";
2
+ import { useMemo } from "react";
3
+ import type { TextStyle, ViewStyle } from "react-native";
4
+
5
+ export interface OmpConfigStyles {
6
+ root: ViewStyle;
7
+ pageTitle: TextStyle;
8
+ topTabs: ViewStyle;
9
+ topTab: ViewStyle;
10
+ topTabActive: ViewStyle;
11
+ topTabLabel: TextStyle;
12
+ topTabLabelActive: TextStyle;
13
+ workspace: ViewStyle;
14
+ categoryRail: ViewStyle;
15
+ categoryList: ViewStyle;
16
+ categoryButton: ViewStyle;
17
+ categoryButtonActive: ViewStyle;
18
+ categoryLabel: TextStyle;
19
+ categoryLabelActive: TextStyle;
20
+ categoryContent: ViewStyle;
21
+ search: TextStyle;
22
+ sectionHeader: ViewStyle;
23
+ sectionHeaderRow: ViewStyle;
24
+ sectionTitle: TextStyle;
25
+ source: TextStyle;
26
+ muted: TextStyle;
27
+ error: TextStyle;
28
+ refresh: ViewStyle;
29
+ docsActions: ViewStyle;
30
+ docLink: ViewStyle;
31
+ docLinkPressed: ViewStyle;
32
+ docLinkText: TextStyle;
33
+ refreshLabel: TextStyle;
34
+ helpActions: ViewStyle;
35
+ helpReport: ViewStyle;
36
+ helpReportText: TextStyle;
37
+ helpLinkText: TextStyle;
38
+ card: ViewStyle;
39
+ cardHeader: ViewStyle;
40
+ cardTitle: TextStyle;
41
+ row: ViewStyle;
42
+ rowLabel: TextStyle;
43
+ rowValue: TextStyle;
44
+ setting: ViewStyle;
45
+ settingHeader: ViewStyle;
46
+ settingPath: TextStyle;
47
+ settingDescription: TextStyle;
48
+ settingValue: TextStyle;
49
+ collectionSummary: TextStyle;
50
+ chipList: ViewStyle;
51
+ chip: ViewStyle;
52
+ chipText: TextStyle;
53
+ recordList: ViewStyle;
54
+ recordRow: ViewStyle;
55
+ recordKey: TextStyle;
56
+ recordValue: TextStyle;
57
+ editorActions: ViewStyle;
58
+ editorAction: ViewStyle;
59
+ editorActionPrimary: ViewStyle;
60
+ editorActionText: TextStyle;
61
+ editorActionTextPrimary: TextStyle;
62
+ scalarInput: TextStyle;
63
+ resetAction: TextStyle;
64
+ }
65
+
66
+ export function useConfigStyles(
67
+ theme: PluginSurfaceProps["theme"],
68
+ compact: boolean,
69
+ ): OmpConfigStyles {
70
+ return useMemo(
71
+ () => ({
72
+ root: {
73
+ flex: 1,
74
+ gap: compact ? 10 : 14,
75
+ padding: compact ? 16 : 24,
76
+ backgroundColor: theme.colors.surface0,
77
+ },
78
+ pageTitle: {
79
+ color: theme.colors.foreground,
80
+ fontSize: compact ? 22 : 26,
81
+ fontWeight: "700",
82
+ },
83
+ topTabs: {
84
+ flexWrap: "wrap",
85
+ flexDirection: "row",
86
+ alignSelf: "flex-start",
87
+ gap: 4,
88
+ padding: 4,
89
+ borderWidth: 1,
90
+ borderColor: theme.colors.border,
91
+ borderRadius: 10,
92
+ backgroundColor: theme.colors.surface1,
93
+ },
94
+ topTab: {
95
+ paddingHorizontal: compact ? 10 : 14,
96
+ paddingVertical: 8,
97
+ borderRadius: 7,
98
+ },
99
+ topTabActive: { backgroundColor: theme.colors.accent },
100
+ topTabLabel: { color: theme.colors.foregroundMuted, fontSize: 13, fontWeight: "600" },
101
+ topTabLabelActive: { color: theme.colors.accentForeground },
102
+ workspace: {
103
+ flexDirection: compact ? "column" : "row",
104
+ alignItems: compact ? "stretch" : "flex-start",
105
+ gap: compact ? 10 : 18,
106
+ },
107
+ categoryRail: {
108
+ width: compact ? "100%" : 220,
109
+ gap: 10,
110
+ padding: 10,
111
+ borderWidth: 1,
112
+ borderColor: theme.colors.border,
113
+ borderRadius: 10,
114
+ backgroundColor: theme.colors.surface1,
115
+ },
116
+ categoryList: { gap: 4 },
117
+ categoryButton: { paddingHorizontal: 10, paddingVertical: 9, borderRadius: 7 },
118
+ categoryButtonActive: { backgroundColor: theme.colors.surface2 },
119
+ categoryLabel: { color: theme.colors.foregroundMuted, fontSize: 13, fontWeight: "500" },
120
+ categoryLabelActive: { color: theme.colors.foreground, fontWeight: "700" },
121
+ categoryContent: { flex: compact ? undefined : 1, minWidth: 0, gap: 10 },
122
+ search: {
123
+ color: theme.colors.foreground,
124
+ borderWidth: 1,
125
+ borderColor: theme.colors.border,
126
+ borderRadius: 8,
127
+ backgroundColor: theme.colors.surface0,
128
+ paddingHorizontal: 10,
129
+ paddingVertical: 8,
130
+ fontSize: 13,
131
+ },
132
+ sectionHeader: { gap: 4, marginTop: compact ? 2 : 4 },
133
+ sectionHeaderRow: { flexDirection: "row", alignItems: "center", flexWrap: "wrap", gap: 10 },
134
+ sectionTitle: {
135
+ color: theme.colors.foreground,
136
+ fontSize: compact ? 16 : 18,
137
+ fontWeight: "600",
138
+ },
139
+ source: { color: theme.colors.foregroundMuted, fontSize: 12 },
140
+ muted: { color: theme.colors.foregroundMuted, fontSize: 13 },
141
+ error: { color: theme.colors.statusDanger, fontSize: 13 },
142
+ docsActions: { flexDirection: "row", alignItems: "center", flexWrap: "wrap", gap: 6 },
143
+ docLink: {
144
+ paddingHorizontal: 8,
145
+ paddingVertical: 5,
146
+ borderWidth: 1,
147
+ borderColor: theme.colors.border,
148
+ borderRadius: 7,
149
+ backgroundColor: theme.colors.surface1,
150
+ },
151
+ docLinkPressed: { opacity: 0.72 },
152
+ docLinkText: { color: theme.colors.accent, fontSize: 12, fontWeight: "600" },
153
+ refresh: {
154
+ flexDirection: "row",
155
+ alignItems: "center",
156
+ gap: 6,
157
+ paddingHorizontal: 10,
158
+ paddingVertical: 6,
159
+ borderWidth: 1,
160
+ borderColor: theme.colors.border,
161
+ borderRadius: 8,
162
+ backgroundColor: theme.colors.surface1,
163
+ },
164
+ refreshLabel: { color: theme.colors.foreground, fontSize: 13 },
165
+ helpActions: {
166
+ flexDirection: "row",
167
+ alignItems: "center",
168
+ flexWrap: "wrap",
169
+ gap: 8,
170
+ },
171
+ helpReport: {
172
+ maxWidth: "100%",
173
+ padding: compact ? 10 : 12,
174
+ borderWidth: 1,
175
+ borderColor: theme.colors.border,
176
+ borderRadius: 10,
177
+ backgroundColor: theme.colors.surface1,
178
+ },
179
+ helpReportText: {
180
+ color: theme.colors.foreground,
181
+ fontSize: compact ? 11 : 12,
182
+ lineHeight: compact ? 16 : 18,
183
+ },
184
+ helpLinkText: { color: theme.colors.accent, fontSize: 13, fontWeight: "600" },
185
+ cardHeader: {
186
+ flexDirection: "row",
187
+ alignItems: "center",
188
+ justifyContent: "space-between",
189
+ flexWrap: "wrap",
190
+ gap: 8,
191
+ },
192
+ card: {
193
+ gap: 8,
194
+ padding: compact ? 10 : 12,
195
+ borderWidth: 1,
196
+ borderColor: theme.colors.border,
197
+ borderRadius: 10,
198
+ backgroundColor: theme.colors.surface1,
199
+ },
200
+ cardTitle: { color: theme.colors.foreground, fontSize: 14, fontWeight: "600" },
201
+ row: { flexDirection: "row", gap: 8, flexWrap: "wrap" },
202
+ rowLabel: { color: theme.colors.foregroundMuted, fontSize: 13 },
203
+ rowValue: { color: theme.colors.foreground, fontSize: 13, flexShrink: 1 },
204
+ setting: {
205
+ gap: 5,
206
+ paddingVertical: 10,
207
+ borderTopWidth: 1,
208
+ borderTopColor: theme.colors.border,
209
+ },
210
+ settingHeader: {
211
+ flexDirection: "row",
212
+ alignItems: "baseline",
213
+ justifyContent: "space-between",
214
+ gap: 12,
215
+ },
216
+ settingPath: { color: theme.colors.foregroundMuted, fontSize: 11, flexShrink: 1 },
217
+ settingDescription: { color: theme.colors.foregroundMuted, fontSize: 12, lineHeight: 17 },
218
+ settingValue: { color: theme.colors.foreground, fontSize: 13, fontWeight: "600" },
219
+ collectionSummary: { color: theme.colors.foregroundMuted, fontSize: 12 },
220
+ chipList: { flexDirection: "row", flexWrap: "wrap", gap: 6 },
221
+ chip: {
222
+ paddingHorizontal: 8,
223
+ paddingVertical: 5,
224
+ borderWidth: 1,
225
+ borderColor: theme.colors.border,
226
+ borderRadius: 999,
227
+ backgroundColor: theme.colors.surface2,
228
+ },
229
+ chipText: { color: theme.colors.foreground, fontSize: 12 },
230
+ recordList: { gap: 6 },
231
+ recordRow: {
232
+ flexDirection: compact ? "column" : "row",
233
+ alignItems: compact ? "flex-start" : "baseline",
234
+ gap: compact ? 2 : 12,
235
+ paddingVertical: 5,
236
+ },
237
+ recordKey: {
238
+ width: compact ? undefined : 150,
239
+ color: theme.colors.foregroundMuted,
240
+ fontSize: 12,
241
+ fontWeight: "600",
242
+ },
243
+ recordValue: { flex: 1, color: theme.colors.foreground, fontSize: 12 },
244
+ editorActions: {
245
+ flexDirection: "row",
246
+ alignItems: "center",
247
+ justifyContent: "flex-end",
248
+ gap: 8,
249
+ padding: 10,
250
+ borderWidth: 1,
251
+ borderColor: theme.colors.border,
252
+ borderRadius: 10,
253
+ backgroundColor: theme.colors.surface1,
254
+ },
255
+ editorAction: {
256
+ paddingHorizontal: 12,
257
+ paddingVertical: 8,
258
+ borderWidth: 1,
259
+ borderColor: theme.colors.border,
260
+ borderRadius: 8,
261
+ },
262
+ editorActionPrimary: {
263
+ backgroundColor: theme.colors.accent,
264
+ borderColor: theme.colors.accent,
265
+ },
266
+ editorActionText: { color: theme.colors.foreground, fontSize: 13, fontWeight: "600" },
267
+ editorActionTextPrimary: { color: theme.colors.accentForeground },
268
+ scalarInput: {
269
+ minWidth: 180,
270
+ maxWidth: 420,
271
+ color: theme.colors.foreground,
272
+ borderWidth: 1,
273
+ borderColor: theme.colors.border,
274
+ borderRadius: 7,
275
+ backgroundColor: theme.colors.surface0,
276
+ paddingHorizontal: 9,
277
+ paddingVertical: 6,
278
+ fontSize: 13,
279
+ },
280
+ resetAction: { color: theme.colors.accent, fontSize: 12, fontWeight: "600" },
281
+ }),
282
+ [compact, theme],
283
+ );
284
+ }
@@ -10,7 +10,6 @@ import { ExternalLink } from "@getpaseo/plugin/client/ui";
10
10
  import { useIsMutating, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
11
11
  import type { ReactNode } from "react";
12
12
  import { useCallback, useMemo, useState } from "react";
13
- import type { TextStyle, ViewStyle } from "react-native";
14
13
  import { Pressable, ScrollView, Switch, Text, View } from "react-native";
15
14
  import type { ComposerPillSettings } from "../shared/composer-pill-settings";
16
15
  import { listOmpConfig, type OmpConfig } from "../shared/omp-config";
@@ -31,6 +30,7 @@ import { getOmpProviderHealth, type OmpProviderHealth } from "../shared/provider
31
30
  import { getOmpSupportReport, OMP_SUPPORT_ISSUE_URL } from "../shared/support-diagnostics";
32
31
  import { ComposerPillSettingsSection } from "./composer-pill-settings";
33
32
  import { openOmpExternalUrl } from "./external-url";
33
+ import { type OmpConfigStyles, useConfigStyles } from "./omp-config-styles";
34
34
  import { type OmpConfigSurfaceView as SurfaceView, surfaceViewsForScope } from "./omp-config-views";
35
35
  import {
36
36
  documentationForSettingCategory,
@@ -74,284 +74,6 @@ const CONFIG_POLL_MS = 30_000;
74
74
  const HEALTH_QUERY_KEY = ["paseo-omp", "provider-health"] as const;
75
75
  const PROVIDERS_QUERY_KEY = ["paseo-omp", "provider-snapshot"] as const;
76
76
 
77
- export interface OmpConfigStyles {
78
- root: ViewStyle;
79
- pageTitle: TextStyle;
80
- topTabs: ViewStyle;
81
- topTab: ViewStyle;
82
- topTabActive: ViewStyle;
83
- topTabLabel: TextStyle;
84
- topTabLabelActive: TextStyle;
85
- workspace: ViewStyle;
86
- categoryRail: ViewStyle;
87
- categoryList: ViewStyle;
88
- categoryButton: ViewStyle;
89
- categoryButtonActive: ViewStyle;
90
- categoryLabel: TextStyle;
91
- categoryLabelActive: TextStyle;
92
- categoryContent: ViewStyle;
93
- search: TextStyle;
94
- sectionHeader: ViewStyle;
95
- sectionHeaderRow: ViewStyle;
96
- sectionTitle: TextStyle;
97
- source: TextStyle;
98
- muted: TextStyle;
99
- error: TextStyle;
100
- refresh: ViewStyle;
101
- docsActions: ViewStyle;
102
- docLink: ViewStyle;
103
- docLinkPressed: ViewStyle;
104
- docLinkText: TextStyle;
105
- refreshLabel: TextStyle;
106
- helpActions: ViewStyle;
107
- helpReport: ViewStyle;
108
- helpReportText: TextStyle;
109
- helpLinkText: TextStyle;
110
- card: ViewStyle;
111
- cardHeader: ViewStyle;
112
- cardTitle: TextStyle;
113
- row: ViewStyle;
114
- rowLabel: TextStyle;
115
- rowValue: TextStyle;
116
- setting: ViewStyle;
117
- settingHeader: ViewStyle;
118
- settingPath: TextStyle;
119
- settingDescription: TextStyle;
120
- settingValue: TextStyle;
121
- collectionSummary: TextStyle;
122
- chipList: ViewStyle;
123
- chip: ViewStyle;
124
- chipText: TextStyle;
125
- recordList: ViewStyle;
126
- recordRow: ViewStyle;
127
- recordKey: TextStyle;
128
- recordValue: TextStyle;
129
- editorActions: ViewStyle;
130
- editorAction: ViewStyle;
131
- editorActionPrimary: ViewStyle;
132
- editorActionText: TextStyle;
133
- editorActionTextPrimary: TextStyle;
134
- scalarInput: TextStyle;
135
- resetAction: TextStyle;
136
- }
137
-
138
- function useConfigStyles(theme: PluginSurfaceProps["theme"], compact: boolean): OmpConfigStyles {
139
- return useMemo(
140
- () => ({
141
- root: {
142
- flex: 1,
143
- gap: compact ? 10 : 14,
144
- padding: compact ? 16 : 24,
145
- backgroundColor: theme.colors.surface0,
146
- },
147
- pageTitle: {
148
- color: theme.colors.foreground,
149
- fontSize: compact ? 22 : 26,
150
- fontWeight: "700",
151
- },
152
- topTabs: {
153
- flexWrap: "wrap",
154
- flexDirection: "row",
155
- alignSelf: "flex-start",
156
- gap: 4,
157
- padding: 4,
158
- borderWidth: 1,
159
- borderColor: theme.colors.border,
160
- borderRadius: 10,
161
- backgroundColor: theme.colors.surface1,
162
- },
163
- topTab: {
164
- paddingHorizontal: compact ? 10 : 14,
165
- paddingVertical: 8,
166
- borderRadius: 7,
167
- },
168
- topTabActive: { backgroundColor: theme.colors.accent },
169
- topTabLabel: { color: theme.colors.foregroundMuted, fontSize: 13, fontWeight: "600" },
170
- topTabLabelActive: { color: theme.colors.accentForeground },
171
- workspace: {
172
- flexDirection: compact ? "column" : "row",
173
- alignItems: compact ? "stretch" : "flex-start",
174
- gap: compact ? 10 : 18,
175
- },
176
- categoryRail: {
177
- width: compact ? "100%" : 220,
178
- gap: 10,
179
- padding: 10,
180
- borderWidth: 1,
181
- borderColor: theme.colors.border,
182
- borderRadius: 10,
183
- backgroundColor: theme.colors.surface1,
184
- },
185
- categoryList: { gap: 4 },
186
- categoryButton: { paddingHorizontal: 10, paddingVertical: 9, borderRadius: 7 },
187
- categoryButtonActive: { backgroundColor: theme.colors.surface2 },
188
- categoryLabel: { color: theme.colors.foregroundMuted, fontSize: 13, fontWeight: "500" },
189
- categoryLabelActive: { color: theme.colors.foreground, fontWeight: "700" },
190
- categoryContent: { flex: compact ? undefined : 1, minWidth: 0, gap: 10 },
191
- search: {
192
- color: theme.colors.foreground,
193
- borderWidth: 1,
194
- borderColor: theme.colors.border,
195
- borderRadius: 8,
196
- backgroundColor: theme.colors.surface0,
197
- paddingHorizontal: 10,
198
- paddingVertical: 8,
199
- fontSize: 13,
200
- },
201
- sectionHeader: { gap: 4, marginTop: compact ? 2 : 4 },
202
- sectionHeaderRow: { flexDirection: "row", alignItems: "center", flexWrap: "wrap", gap: 10 },
203
- sectionTitle: {
204
- color: theme.colors.foreground,
205
- fontSize: compact ? 16 : 18,
206
- fontWeight: "600",
207
- },
208
- source: { color: theme.colors.foregroundMuted, fontSize: 12 },
209
- muted: { color: theme.colors.foregroundMuted, fontSize: 13 },
210
- error: { color: theme.colors.statusDanger, fontSize: 13 },
211
- docsActions: { flexDirection: "row", alignItems: "center", flexWrap: "wrap", gap: 6 },
212
- docLink: {
213
- paddingHorizontal: 8,
214
- paddingVertical: 5,
215
- borderWidth: 1,
216
- borderColor: theme.colors.border,
217
- borderRadius: 7,
218
- backgroundColor: theme.colors.surface1,
219
- },
220
- docLinkPressed: { opacity: 0.72 },
221
- docLinkText: { color: theme.colors.accent, fontSize: 12, fontWeight: "600" },
222
- refresh: {
223
- flexDirection: "row",
224
- alignItems: "center",
225
- gap: 6,
226
- paddingHorizontal: 10,
227
- paddingVertical: 6,
228
- borderWidth: 1,
229
- borderColor: theme.colors.border,
230
- borderRadius: 8,
231
- backgroundColor: theme.colors.surface1,
232
- },
233
- refreshLabel: { color: theme.colors.foreground, fontSize: 13 },
234
- helpActions: {
235
- flexDirection: "row",
236
- alignItems: "center",
237
- flexWrap: "wrap",
238
- gap: 8,
239
- },
240
- helpReport: {
241
- maxWidth: "100%",
242
- padding: compact ? 10 : 12,
243
- borderWidth: 1,
244
- borderColor: theme.colors.border,
245
- borderRadius: 10,
246
- backgroundColor: theme.colors.surface1,
247
- },
248
- helpReportText: {
249
- color: theme.colors.foreground,
250
- fontSize: compact ? 11 : 12,
251
- lineHeight: compact ? 16 : 18,
252
- },
253
- helpLinkText: { color: theme.colors.accent, fontSize: 13, fontWeight: "600" },
254
- cardHeader: {
255
- flexDirection: "row",
256
- alignItems: "center",
257
- justifyContent: "space-between",
258
- flexWrap: "wrap",
259
- gap: 8,
260
- },
261
- card: {
262
- gap: 8,
263
- padding: compact ? 10 : 12,
264
- borderWidth: 1,
265
- borderColor: theme.colors.border,
266
- borderRadius: 10,
267
- backgroundColor: theme.colors.surface1,
268
- },
269
- cardTitle: { color: theme.colors.foreground, fontSize: 14, fontWeight: "600" },
270
- row: { flexDirection: "row", gap: 8, flexWrap: "wrap" },
271
- rowLabel: { color: theme.colors.foregroundMuted, fontSize: 13 },
272
- rowValue: { color: theme.colors.foreground, fontSize: 13, flexShrink: 1 },
273
- setting: {
274
- gap: 5,
275
- paddingVertical: 10,
276
- borderTopWidth: 1,
277
- borderTopColor: theme.colors.border,
278
- },
279
- settingHeader: {
280
- flexDirection: "row",
281
- alignItems: "baseline",
282
- justifyContent: "space-between",
283
- gap: 12,
284
- },
285
- settingPath: { color: theme.colors.foregroundMuted, fontSize: 11, flexShrink: 1 },
286
- settingDescription: { color: theme.colors.foregroundMuted, fontSize: 12, lineHeight: 17 },
287
- settingValue: { color: theme.colors.foreground, fontSize: 13, fontWeight: "600" },
288
- collectionSummary: { color: theme.colors.foregroundMuted, fontSize: 12 },
289
- chipList: { flexDirection: "row", flexWrap: "wrap", gap: 6 },
290
- chip: {
291
- paddingHorizontal: 8,
292
- paddingVertical: 5,
293
- borderWidth: 1,
294
- borderColor: theme.colors.border,
295
- borderRadius: 999,
296
- backgroundColor: theme.colors.surface2,
297
- },
298
- chipText: { color: theme.colors.foreground, fontSize: 12 },
299
- recordList: { gap: 6 },
300
- recordRow: {
301
- flexDirection: compact ? "column" : "row",
302
- alignItems: compact ? "flex-start" : "baseline",
303
- gap: compact ? 2 : 12,
304
- paddingVertical: 5,
305
- },
306
- recordKey: {
307
- width: compact ? undefined : 150,
308
- color: theme.colors.foregroundMuted,
309
- fontSize: 12,
310
- fontWeight: "600",
311
- },
312
- recordValue: { flex: 1, color: theme.colors.foreground, fontSize: 12 },
313
- editorActions: {
314
- flexDirection: "row",
315
- alignItems: "center",
316
- justifyContent: "flex-end",
317
- gap: 8,
318
- padding: 10,
319
- borderWidth: 1,
320
- borderColor: theme.colors.border,
321
- borderRadius: 10,
322
- backgroundColor: theme.colors.surface1,
323
- },
324
- editorAction: {
325
- paddingHorizontal: 12,
326
- paddingVertical: 8,
327
- borderWidth: 1,
328
- borderColor: theme.colors.border,
329
- borderRadius: 8,
330
- },
331
- editorActionPrimary: {
332
- backgroundColor: theme.colors.accent,
333
- borderColor: theme.colors.accent,
334
- },
335
- editorActionText: { color: theme.colors.foreground, fontSize: 13, fontWeight: "600" },
336
- editorActionTextPrimary: { color: theme.colors.accentForeground },
337
- scalarInput: {
338
- minWidth: 180,
339
- maxWidth: 420,
340
- color: theme.colors.foreground,
341
- borderWidth: 1,
342
- borderColor: theme.colors.border,
343
- borderRadius: 7,
344
- backgroundColor: theme.colors.surface0,
345
- paddingHorizontal: 9,
346
- paddingVertical: 6,
347
- fontSize: 13,
348
- },
349
- resetAction: { color: theme.colors.accent, fontSize: 12, fontWeight: "600" },
350
- }),
351
- [compact, theme],
352
- );
353
- }
354
-
355
77
  function KeyValueRow({
356
78
  styles,
357
79
  label,
@@ -8,7 +8,7 @@ import {
8
8
  type OmpSetting,
9
9
  parseOmpStructuredSettingValue,
10
10
  } from "../shared/omp-settings";
11
- import type { OmpConfigStyles } from "./omp-config-surface";
11
+ import type { OmpConfigStyles } from "./omp-config-styles";
12
12
  import { OmpModelPicker } from "./omp-model-picker";
13
13
  import {
14
14
  aliasChoices,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-omp",
3
- "version": "0.4.0-next.119.1",
3
+ "version": "0.4.0-next.120.1",
4
4
  "type": "module",
5
5
  "description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
6
6
  "license": "MIT",
@@ -1,2 +1,2 @@
1
1
  /** Release Please keeps this bundle-safe constant aligned with package.json. */
2
- export const PASEO_OMP_PACKAGE_VERSION = "0.4.0-next.119.1"; // x-release-please-version
2
+ export const PASEO_OMP_PACKAGE_VERSION = "0.4.0-next.120.1"; // x-release-please-version
@@ -1,5 +1,5 @@
1
1
  import type { ProviderSessionConfig } from "@getpaseo/plugin/server/provider";
2
- import type { OmpStartOptions } from "./omp-rpc";
2
+ import type { OmpStartOptions } from "./omp-rpc-environment";
3
3
 
4
4
  type ProviderCatalogOptionsCompat = {
5
5
  scope: "global" | "workspace";
@@ -7,7 +7,7 @@ import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/
7
7
  import { deserializeMessage, serializeMessage } from "@modelcontextprotocol/sdk/shared/stdio.js";
8
8
  import type { FetchLike, Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
9
9
  import type { JSONRPCMessage } from "@modelcontextprotocol/sdk/types.js";
10
- import { terminateSpawnedProcessTree } from "./omp-rpc";
10
+ import { terminateSpawnedProcessTree } from "./omp-rpc-process";
11
11
  import { OmpCleanupFailure } from "./security";
12
12
 
13
13
  const MAX_MCP_TRANSPORT_FRAME_BYTES = 1024 * 1024;