@openspecui/core 4.0.2 → 4.1.0
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/{document-translation-BAhXJaIl.d.mts → document-translation-CIPGsZD8.d.mts} +100 -100
- package/dist/{document-translation-C3SE2CBJ.mjs → document-translation-D4YK18I3.mjs} +1 -1
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/hosted-app.d.mts +1 -1
- package/dist/hosted-app.mjs +1 -1
- package/dist/index.d.mts +226 -211
- package/dist/index.mjs +46 -20
- package/dist/{local-download-profiles-C6VVRttC.d.mts → local-download-profiles-B30HrSO2.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-BnoDddEA.d.mts → markdown-reading-CgXuXp6s.d.mts} +1 -1
- package/dist/{markdown-reading-4d3w3xgw.mjs → markdown-reading-DdcB7run.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-3ZJ6BBzT.mjs → notifications-AKAcmeKT.mjs} +2 -2
- package/dist/{notifications-DcBVI03P.d.mts → notifications-HYH-lklF.d.mts} +16 -16
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-DDKeedpf.d.mts → openspec-annotations-CeXd0JIZ.d.mts} +2 -2
- package/dist/{openspec-annotations-DZDb0Qox.mjs → openspec-annotations-D_6Pz7k4.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +8 -7
- package/dist/openspec-compat.mjs +23 -8
- package/dist/{openspec-projection-DJ_mSfmq.mjs → openspec-projection-B8s-KWQ7.mjs} +2 -2
- package/dist/{openspec-projection-i2pkZ4hQ.d.mts → openspec-projection-BphzrwYP.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-DNzyALN-.d.mts → opsx-entity-CFUCqev8.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +3 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-BZpl9jiW.d.mts → opsx-schema-detail-DXKXqMQa.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +4 -4
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/{opsx-types-Ccrsvb3l.d.mts → opsx-types-2rgsQHsB.d.mts} +20 -20
- package/dist/{schemas-C01jZKK1.d.mts → schemas-CNKCVc7m.d.mts} +18 -18
- package/dist/{sounds-BhmJDMmO.d.mts → sounds-J6z7o4mt.d.mts} +5 -5
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/store-types-BiE-Ey--.d.mts +1092 -0
- package/dist/store-types-Cu41QSww.mjs +109 -0
- package/dist/store-types.d.mts +2 -0
- package/dist/store-types.mjs +3 -0
- package/dist/{task-progress-C2YCGSyC.d.mts → task-progress-BHn4bCoD.d.mts} +2 -2
- package/dist/{task-progress-RLYFNkpL.mjs → task-progress-DhHYHnTv.mjs} +1 -1
- package/dist/task-progress.d.mts +3 -3
- package/dist/task-progress.mjs +2 -2
- package/dist/{terminal-audio-BDbVowLy.d.mts → terminal-audio-BeUXlQgj.d.mts} +2 -2
- package/dist/{terminal-audio-DhslppvD.mjs → terminal-audio-TBoU2jSK.mjs} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-Be3YlFOI.d.mts → terminal-invocation-ClVh0HeM.d.mts} +22 -22
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-CZeKoeLW.d.mts → translator-D6t_LEVN.d.mts} +77 -77
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +9 -3
- /package/dist/{hosted-app-DfEh4rR3.mjs → hosted-app-CzMRiEgY.mjs} +0 -0
- /package/dist/{hosted-app-BZvbSDOk.d.mts → hosted-app-DHs94gIR.d.mts} +0 -0
- /package/dist/{local-download-profiles-C8ZHpk2F.mjs → local-download-profiles-kpNEcdF_.mjs} +0 -0
- /package/dist/{markdown-facts-ByM-tdm5.mjs → markdown-facts-BBCTe_qq.mjs} +0 -0
- /package/dist/{markdown-facts-DQe77Xbc.d.mts → markdown-facts-Dk7FKaaT.d.mts} +0 -0
- /package/dist/{opsx-display-path-DGjayJTF.mjs → opsx-display-path-CUCOrHcM.mjs} +0 -0
- /package/dist/{opsx-display-path-dEtDIqJD.d.mts → opsx-display-path-cIMKa1aw.d.mts} +0 -0
- /package/dist/{opsx-entity-DrY7pgMe.mjs → opsx-entity-c7m5CbgU.mjs} +0 -0
- /package/dist/{opsx-schema-detail-B-4bLoZS.mjs → opsx-schema-detail-BH82X6aU.mjs} +0 -0
- /package/dist/{sounds-CuSsy7X-.mjs → sounds-CB3ubSnj.mjs} +0 -0
- /package/dist/{terminal-control-D5dCna6A.mjs → terminal-control-VpTuh17B.mjs} +0 -0
- /package/dist/{terminal-invocation-BSrS_0zu.mjs → terminal-invocation-C2MCNBhK.mjs} +0 -0
- /package/dist/{terminal-theme-TogWGicr.mjs → terminal-theme-cevliJw2.mjs} +0 -0
- /package/dist/{terminal-theme-DO6B6-o0.d.mts → terminal-theme-hvQjTsNh.d.mts} +0 -0
- /package/dist/{translation-language-pair-D2B_LoN1.mjs → translation-language-pair-DZ_WNp_M.mjs} +0 -0
- /package/dist/{translation-language-pair-C1tou_ks.d.mts → translation-language-pair-DmaOfHqD.d.mts} +0 -0
- /package/dist/{translator-bwybQ07U.mjs → translator-DbUT1Ayn.mjs} +0 -0
|
@@ -9,31 +9,31 @@ declare const TranslationEngineProjectSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
9
9
|
model: z.ZodOptional<z.ZodString>;
|
|
10
10
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
model?: string | undefined;
|
|
13
12
|
selectedGroupId?: string | undefined;
|
|
14
|
-
}, {
|
|
15
13
|
model?: string | undefined;
|
|
14
|
+
}, {
|
|
16
15
|
selectedGroupId?: string | undefined;
|
|
16
|
+
model?: string | undefined;
|
|
17
17
|
}>>;
|
|
18
18
|
localCt2: z.ZodDefault<z.ZodObject<{
|
|
19
19
|
model: z.ZodOptional<z.ZodString>;
|
|
20
20
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
model?: string | undefined;
|
|
23
22
|
selectedGroupId?: string | undefined;
|
|
24
|
-
}, {
|
|
25
23
|
model?: string | undefined;
|
|
24
|
+
}, {
|
|
26
25
|
selectedGroupId?: string | undefined;
|
|
26
|
+
model?: string | undefined;
|
|
27
27
|
}>>;
|
|
28
28
|
localLlama: z.ZodDefault<z.ZodObject<{
|
|
29
29
|
model: z.ZodOptional<z.ZodString>;
|
|
30
30
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
model?: string | undefined;
|
|
33
32
|
selectedGroupId?: string | undefined;
|
|
34
|
-
}, {
|
|
35
33
|
model?: string | undefined;
|
|
34
|
+
}, {
|
|
36
35
|
selectedGroupId?: string | undefined;
|
|
36
|
+
model?: string | undefined;
|
|
37
37
|
}>>;
|
|
38
38
|
openai: z.ZodDefault<z.ZodObject<{
|
|
39
39
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -44,34 +44,34 @@ declare const TranslationEngineProjectSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
44
44
|
}>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
local: {
|
|
47
|
-
model?: string | undefined;
|
|
48
47
|
selectedGroupId?: string | undefined;
|
|
48
|
+
model?: string | undefined;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
openai: {
|
|
51
51
|
model?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
localCt2: {
|
|
52
54
|
selectedGroupId?: string | undefined;
|
|
55
|
+
model?: string | undefined;
|
|
53
56
|
};
|
|
54
57
|
localLlama: {
|
|
55
|
-
model?: string | undefined;
|
|
56
58
|
selectedGroupId?: string | undefined;
|
|
57
|
-
};
|
|
58
|
-
openai: {
|
|
59
59
|
model?: string | undefined;
|
|
60
60
|
};
|
|
61
61
|
}, {
|
|
62
62
|
local?: {
|
|
63
|
-
model?: string | undefined;
|
|
64
63
|
selectedGroupId?: string | undefined;
|
|
64
|
+
model?: string | undefined;
|
|
65
65
|
} | undefined;
|
|
66
|
-
|
|
66
|
+
openai?: {
|
|
67
67
|
model?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
localCt2?: {
|
|
68
70
|
selectedGroupId?: string | undefined;
|
|
71
|
+
model?: string | undefined;
|
|
69
72
|
} | undefined;
|
|
70
73
|
localLlama?: {
|
|
71
|
-
model?: string | undefined;
|
|
72
74
|
selectedGroupId?: string | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
openai?: {
|
|
75
75
|
model?: string | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
}>>;
|
|
@@ -80,31 +80,31 @@ declare const TranslationEngineProjectSettingsUpdateSchema: z.ZodObject<{
|
|
|
80
80
|
model: z.ZodOptional<z.ZodString>;
|
|
81
81
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
model?: string | undefined;
|
|
84
83
|
selectedGroupId?: string | null | undefined;
|
|
85
|
-
}, {
|
|
86
84
|
model?: string | undefined;
|
|
85
|
+
}, {
|
|
87
86
|
selectedGroupId?: string | null | undefined;
|
|
87
|
+
model?: string | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
localCt2: z.ZodOptional<z.ZodObject<{
|
|
90
90
|
model: z.ZodOptional<z.ZodString>;
|
|
91
91
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
model?: string | undefined;
|
|
94
93
|
selectedGroupId?: string | null | undefined;
|
|
95
|
-
}, {
|
|
96
94
|
model?: string | undefined;
|
|
95
|
+
}, {
|
|
97
96
|
selectedGroupId?: string | null | undefined;
|
|
97
|
+
model?: string | undefined;
|
|
98
98
|
}>>;
|
|
99
99
|
localLlama: z.ZodOptional<z.ZodObject<{
|
|
100
100
|
model: z.ZodOptional<z.ZodString>;
|
|
101
101
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
model?: string | undefined;
|
|
104
103
|
selectedGroupId?: string | null | undefined;
|
|
105
|
-
}, {
|
|
106
104
|
model?: string | undefined;
|
|
105
|
+
}, {
|
|
107
106
|
selectedGroupId?: string | null | undefined;
|
|
107
|
+
model?: string | undefined;
|
|
108
108
|
}>>;
|
|
109
109
|
openai: z.ZodOptional<z.ZodObject<{
|
|
110
110
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -115,34 +115,34 @@ declare const TranslationEngineProjectSettingsUpdateSchema: z.ZodObject<{
|
|
|
115
115
|
}>>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
local?: {
|
|
118
|
-
model?: string | undefined;
|
|
119
118
|
selectedGroupId?: string | null | undefined;
|
|
119
|
+
model?: string | undefined;
|
|
120
120
|
} | undefined;
|
|
121
|
-
|
|
121
|
+
openai?: {
|
|
122
122
|
model?: string | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
localCt2?: {
|
|
123
125
|
selectedGroupId?: string | null | undefined;
|
|
126
|
+
model?: string | undefined;
|
|
124
127
|
} | undefined;
|
|
125
128
|
localLlama?: {
|
|
126
|
-
model?: string | undefined;
|
|
127
129
|
selectedGroupId?: string | null | undefined;
|
|
128
|
-
} | undefined;
|
|
129
|
-
openai?: {
|
|
130
130
|
model?: string | undefined;
|
|
131
131
|
} | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
local?: {
|
|
134
|
-
model?: string | undefined;
|
|
135
134
|
selectedGroupId?: string | null | undefined;
|
|
135
|
+
model?: string | undefined;
|
|
136
136
|
} | undefined;
|
|
137
|
-
|
|
137
|
+
openai?: {
|
|
138
138
|
model?: string | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
localCt2?: {
|
|
139
141
|
selectedGroupId?: string | null | undefined;
|
|
142
|
+
model?: string | undefined;
|
|
140
143
|
} | undefined;
|
|
141
144
|
localLlama?: {
|
|
142
|
-
model?: string | undefined;
|
|
143
145
|
selectedGroupId?: string | null | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
openai?: {
|
|
146
146
|
model?: string | undefined;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}>;
|
|
@@ -157,31 +157,31 @@ declare const DocumentTranslationConfigSchema: z.ZodObject<{
|
|
|
157
157
|
model: z.ZodOptional<z.ZodString>;
|
|
158
158
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
model?: string | undefined;
|
|
161
160
|
selectedGroupId?: string | undefined;
|
|
162
|
-
}, {
|
|
163
161
|
model?: string | undefined;
|
|
162
|
+
}, {
|
|
164
163
|
selectedGroupId?: string | undefined;
|
|
164
|
+
model?: string | undefined;
|
|
165
165
|
}>>;
|
|
166
166
|
localCt2: z.ZodDefault<z.ZodObject<{
|
|
167
167
|
model: z.ZodOptional<z.ZodString>;
|
|
168
168
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
model?: string | undefined;
|
|
171
170
|
selectedGroupId?: string | undefined;
|
|
172
|
-
}, {
|
|
173
171
|
model?: string | undefined;
|
|
172
|
+
}, {
|
|
174
173
|
selectedGroupId?: string | undefined;
|
|
174
|
+
model?: string | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
localLlama: z.ZodDefault<z.ZodObject<{
|
|
177
177
|
model: z.ZodOptional<z.ZodString>;
|
|
178
178
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
model?: string | undefined;
|
|
181
180
|
selectedGroupId?: string | undefined;
|
|
182
|
-
}, {
|
|
183
181
|
model?: string | undefined;
|
|
182
|
+
}, {
|
|
184
183
|
selectedGroupId?: string | undefined;
|
|
184
|
+
model?: string | undefined;
|
|
185
185
|
}>>;
|
|
186
186
|
openai: z.ZodDefault<z.ZodObject<{
|
|
187
187
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -192,80 +192,80 @@ declare const DocumentTranslationConfigSchema: z.ZodObject<{
|
|
|
192
192
|
}>>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
194
|
local: {
|
|
195
|
-
model?: string | undefined;
|
|
196
195
|
selectedGroupId?: string | undefined;
|
|
196
|
+
model?: string | undefined;
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
openai: {
|
|
199
199
|
model?: string | undefined;
|
|
200
|
+
};
|
|
201
|
+
localCt2: {
|
|
200
202
|
selectedGroupId?: string | undefined;
|
|
203
|
+
model?: string | undefined;
|
|
201
204
|
};
|
|
202
205
|
localLlama: {
|
|
203
|
-
model?: string | undefined;
|
|
204
206
|
selectedGroupId?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
openai: {
|
|
207
207
|
model?: string | undefined;
|
|
208
208
|
};
|
|
209
209
|
}, {
|
|
210
210
|
local?: {
|
|
211
|
-
model?: string | undefined;
|
|
212
211
|
selectedGroupId?: string | undefined;
|
|
212
|
+
model?: string | undefined;
|
|
213
213
|
} | undefined;
|
|
214
|
-
|
|
214
|
+
openai?: {
|
|
215
215
|
model?: string | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
localCt2?: {
|
|
216
218
|
selectedGroupId?: string | undefined;
|
|
219
|
+
model?: string | undefined;
|
|
217
220
|
} | undefined;
|
|
218
221
|
localLlama?: {
|
|
219
|
-
model?: string | undefined;
|
|
220
222
|
selectedGroupId?: string | undefined;
|
|
221
|
-
} | undefined;
|
|
222
|
-
openai?: {
|
|
223
223
|
model?: string | undefined;
|
|
224
224
|
} | undefined;
|
|
225
225
|
}>>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
|
|
227
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
228
228
|
targetLanguage: string;
|
|
229
|
+
enabled: boolean;
|
|
229
230
|
displayMode: "direct" | "bilingual";
|
|
230
231
|
cacheEnabled: boolean;
|
|
231
|
-
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
232
232
|
engines: {
|
|
233
233
|
local: {
|
|
234
|
-
model?: string | undefined;
|
|
235
234
|
selectedGroupId?: string | undefined;
|
|
235
|
+
model?: string | undefined;
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
openai: {
|
|
238
238
|
model?: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
localCt2: {
|
|
239
241
|
selectedGroupId?: string | undefined;
|
|
242
|
+
model?: string | undefined;
|
|
240
243
|
};
|
|
241
244
|
localLlama: {
|
|
242
|
-
model?: string | undefined;
|
|
243
245
|
selectedGroupId?: string | undefined;
|
|
244
|
-
};
|
|
245
|
-
openai: {
|
|
246
246
|
model?: string | undefined;
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
}, {
|
|
250
|
-
|
|
250
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
251
251
|
targetLanguage?: string | undefined;
|
|
252
|
+
enabled?: boolean | undefined;
|
|
252
253
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
253
254
|
cacheEnabled?: boolean | undefined;
|
|
254
|
-
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
255
255
|
engines?: {
|
|
256
256
|
local?: {
|
|
257
|
-
model?: string | undefined;
|
|
258
257
|
selectedGroupId?: string | undefined;
|
|
258
|
+
model?: string | undefined;
|
|
259
259
|
} | undefined;
|
|
260
|
-
|
|
260
|
+
openai?: {
|
|
261
261
|
model?: string | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
localCt2?: {
|
|
262
264
|
selectedGroupId?: string | undefined;
|
|
265
|
+
model?: string | undefined;
|
|
263
266
|
} | undefined;
|
|
264
267
|
localLlama?: {
|
|
265
|
-
model?: string | undefined;
|
|
266
268
|
selectedGroupId?: string | undefined;
|
|
267
|
-
} | undefined;
|
|
268
|
-
openai?: {
|
|
269
269
|
model?: string | undefined;
|
|
270
270
|
} | undefined;
|
|
271
271
|
} | undefined;
|
|
@@ -281,31 +281,31 @@ declare const DocumentTranslationConfigUpdateSchema: z.ZodObject<{
|
|
|
281
281
|
model: z.ZodOptional<z.ZodString>;
|
|
282
282
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
|
-
model?: string | undefined;
|
|
285
284
|
selectedGroupId?: string | null | undefined;
|
|
286
|
-
}, {
|
|
287
285
|
model?: string | undefined;
|
|
286
|
+
}, {
|
|
288
287
|
selectedGroupId?: string | null | undefined;
|
|
288
|
+
model?: string | undefined;
|
|
289
289
|
}>>;
|
|
290
290
|
localCt2: z.ZodOptional<z.ZodObject<{
|
|
291
291
|
model: z.ZodOptional<z.ZodString>;
|
|
292
292
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
model?: string | undefined;
|
|
295
294
|
selectedGroupId?: string | null | undefined;
|
|
296
|
-
}, {
|
|
297
295
|
model?: string | undefined;
|
|
296
|
+
}, {
|
|
298
297
|
selectedGroupId?: string | null | undefined;
|
|
298
|
+
model?: string | undefined;
|
|
299
299
|
}>>;
|
|
300
300
|
localLlama: z.ZodOptional<z.ZodObject<{
|
|
301
301
|
model: z.ZodOptional<z.ZodString>;
|
|
302
302
|
selectedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
model?: string | undefined;
|
|
305
304
|
selectedGroupId?: string | null | undefined;
|
|
306
|
-
}, {
|
|
307
305
|
model?: string | undefined;
|
|
306
|
+
}, {
|
|
308
307
|
selectedGroupId?: string | null | undefined;
|
|
308
|
+
model?: string | undefined;
|
|
309
309
|
}>>;
|
|
310
310
|
openai: z.ZodOptional<z.ZodObject<{
|
|
311
311
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -316,80 +316,80 @@ declare const DocumentTranslationConfigUpdateSchema: z.ZodObject<{
|
|
|
316
316
|
}>>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
local?: {
|
|
319
|
-
model?: string | undefined;
|
|
320
319
|
selectedGroupId?: string | null | undefined;
|
|
320
|
+
model?: string | undefined;
|
|
321
321
|
} | undefined;
|
|
322
|
-
|
|
322
|
+
openai?: {
|
|
323
323
|
model?: string | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
localCt2?: {
|
|
324
326
|
selectedGroupId?: string | null | undefined;
|
|
327
|
+
model?: string | undefined;
|
|
325
328
|
} | undefined;
|
|
326
329
|
localLlama?: {
|
|
327
|
-
model?: string | undefined;
|
|
328
330
|
selectedGroupId?: string | null | undefined;
|
|
329
|
-
} | undefined;
|
|
330
|
-
openai?: {
|
|
331
331
|
model?: string | undefined;
|
|
332
332
|
} | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
local?: {
|
|
335
|
-
model?: string | undefined;
|
|
336
335
|
selectedGroupId?: string | null | undefined;
|
|
336
|
+
model?: string | undefined;
|
|
337
337
|
} | undefined;
|
|
338
|
-
|
|
338
|
+
openai?: {
|
|
339
339
|
model?: string | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
localCt2?: {
|
|
340
342
|
selectedGroupId?: string | null | undefined;
|
|
343
|
+
model?: string | undefined;
|
|
341
344
|
} | undefined;
|
|
342
345
|
localLlama?: {
|
|
343
|
-
model?: string | undefined;
|
|
344
346
|
selectedGroupId?: string | null | undefined;
|
|
345
|
-
} | undefined;
|
|
346
|
-
openai?: {
|
|
347
347
|
model?: string | undefined;
|
|
348
348
|
} | undefined;
|
|
349
349
|
}>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
|
|
351
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
352
352
|
targetLanguage?: string | undefined;
|
|
353
|
+
enabled?: boolean | undefined;
|
|
353
354
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
354
355
|
cacheEnabled?: boolean | undefined;
|
|
355
|
-
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
356
356
|
engines?: {
|
|
357
357
|
local?: {
|
|
358
|
-
model?: string | undefined;
|
|
359
358
|
selectedGroupId?: string | null | undefined;
|
|
359
|
+
model?: string | undefined;
|
|
360
360
|
} | undefined;
|
|
361
|
-
|
|
361
|
+
openai?: {
|
|
362
362
|
model?: string | undefined;
|
|
363
|
+
} | undefined;
|
|
364
|
+
localCt2?: {
|
|
363
365
|
selectedGroupId?: string | null | undefined;
|
|
366
|
+
model?: string | undefined;
|
|
364
367
|
} | undefined;
|
|
365
368
|
localLlama?: {
|
|
366
|
-
model?: string | undefined;
|
|
367
369
|
selectedGroupId?: string | null | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
openai?: {
|
|
370
370
|
model?: string | undefined;
|
|
371
371
|
} | undefined;
|
|
372
372
|
} | undefined;
|
|
373
373
|
}, {
|
|
374
|
-
|
|
374
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
375
375
|
targetLanguage?: string | undefined;
|
|
376
|
+
enabled?: boolean | undefined;
|
|
376
377
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
377
378
|
cacheEnabled?: boolean | undefined;
|
|
378
|
-
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
379
379
|
engines?: {
|
|
380
380
|
local?: {
|
|
381
|
-
model?: string | undefined;
|
|
382
381
|
selectedGroupId?: string | null | undefined;
|
|
382
|
+
model?: string | undefined;
|
|
383
383
|
} | undefined;
|
|
384
|
-
|
|
384
|
+
openai?: {
|
|
385
385
|
model?: string | undefined;
|
|
386
|
+
} | undefined;
|
|
387
|
+
localCt2?: {
|
|
386
388
|
selectedGroupId?: string | null | undefined;
|
|
389
|
+
model?: string | undefined;
|
|
387
390
|
} | undefined;
|
|
388
391
|
localLlama?: {
|
|
389
|
-
model?: string | undefined;
|
|
390
392
|
selectedGroupId?: string | null | undefined;
|
|
391
|
-
} | undefined;
|
|
392
|
-
openai?: {
|
|
393
393
|
model?: string | undefined;
|
|
394
394
|
} | undefined;
|
|
395
395
|
} | undefined;
|
|
@@ -449,13 +449,13 @@ declare const TranslationCacheEntrySchema: z.ZodObject<{
|
|
|
449
449
|
createdAt: z.ZodNumber;
|
|
450
450
|
lastAccessedAt: z.ZodNumber;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
453
|
+
sourceLanguage: string;
|
|
452
454
|
targetLanguage: string;
|
|
453
|
-
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
454
455
|
key: string;
|
|
455
456
|
keyHash: string;
|
|
456
457
|
sourceText: string;
|
|
457
458
|
translatedText: string;
|
|
458
|
-
sourceLanguage: string;
|
|
459
459
|
placeholderTopologyHash: string;
|
|
460
460
|
attributeTopologyHash: string;
|
|
461
461
|
displayPolicyVersion: number;
|
|
@@ -466,19 +466,19 @@ declare const TranslationCacheEntrySchema: z.ZodObject<{
|
|
|
466
466
|
targetNodesJson?: string | undefined;
|
|
467
467
|
engineVersion?: string | undefined;
|
|
468
468
|
}, {
|
|
469
|
+
sourceLanguage: string;
|
|
469
470
|
targetLanguage: string;
|
|
470
471
|
key: string;
|
|
471
472
|
keyHash: string;
|
|
472
473
|
sourceText: string;
|
|
473
474
|
translatedText: string;
|
|
474
|
-
sourceLanguage: string;
|
|
475
475
|
placeholderTopologyHash: string;
|
|
476
476
|
attributeTopologyHash: string;
|
|
477
477
|
displayPolicyVersion: number;
|
|
478
478
|
createdAt: number;
|
|
479
479
|
lastAccessedAt: number;
|
|
480
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
480
481
|
model?: string | undefined;
|
|
481
|
-
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
482
482
|
targetNodesJson?: string | undefined;
|
|
483
483
|
engineVersion?: string | undefined;
|
|
484
484
|
translatorContractVersion?: number | undefined;
|
|
@@ -502,13 +502,13 @@ declare const TranslationCacheWriteInputSchema: z.ZodObject<Omit<{
|
|
|
502
502
|
createdAt: z.ZodNumber;
|
|
503
503
|
lastAccessedAt: z.ZodNumber;
|
|
504
504
|
}, "createdAt" | "lastAccessedAt">, "strip", z.ZodTypeAny, {
|
|
505
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
506
|
+
sourceLanguage: string;
|
|
505
507
|
targetLanguage: string;
|
|
506
|
-
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
507
508
|
key: string;
|
|
508
509
|
keyHash: string;
|
|
509
510
|
sourceText: string;
|
|
510
511
|
translatedText: string;
|
|
511
|
-
sourceLanguage: string;
|
|
512
512
|
placeholderTopologyHash: string;
|
|
513
513
|
attributeTopologyHash: string;
|
|
514
514
|
displayPolicyVersion: number;
|
|
@@ -517,17 +517,17 @@ declare const TranslationCacheWriteInputSchema: z.ZodObject<Omit<{
|
|
|
517
517
|
targetNodesJson?: string | undefined;
|
|
518
518
|
engineVersion?: string | undefined;
|
|
519
519
|
}, {
|
|
520
|
+
sourceLanguage: string;
|
|
520
521
|
targetLanguage: string;
|
|
521
522
|
key: string;
|
|
522
523
|
keyHash: string;
|
|
523
524
|
sourceText: string;
|
|
524
525
|
translatedText: string;
|
|
525
|
-
sourceLanguage: string;
|
|
526
526
|
placeholderTopologyHash: string;
|
|
527
527
|
attributeTopologyHash: string;
|
|
528
528
|
displayPolicyVersion: number;
|
|
529
|
+
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
529
530
|
model?: string | undefined;
|
|
530
|
-
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
531
531
|
targetNodesJson?: string | undefined;
|
|
532
532
|
engineVersion?: string | undefined;
|
|
533
533
|
translatorContractVersion?: number | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as TranslationEngineIdSchema, i as DEFAULT_TRANSLATION_ENGINE_ID } from "./translator-
|
|
1
|
+
import { A as TranslationEngineIdSchema, i as DEFAULT_TRANSLATION_ENGINE_ID } from "./translator-DbUT1Ayn.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/document-translation.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TranslationCacheWriteInputSchema, D as TranslationEngineProjectSettingsUpdateSchema, E as TranslationEngineProjectSettingsUpdate, S as TranslationCacheWriteInput, T as TranslationEngineProjectSettingsSchema, _ as TranslationCacheSettings, a as DocumentTranslationConfigSchema, b as TranslationCacheStats, c as DocumentTranslationDisplayMode, d as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, f as TRANSLATION_CACHE_POLICY_VERSION, g as TranslationCacheReadInputSchema, h as TranslationCacheReadInput, i as DocumentTranslationConfigInput, l as DocumentTranslationDisplayModeSchema, m as TranslationCacheEntrySchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntry, r as DocumentTranslationConfig, s as DocumentTranslationConfigUpdateSchema, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheSettingsSchema, w as TranslationEngineProjectSettings, x as TranslationCacheStatsSchema, y as TranslationCacheSettingsUpdateSchema } from "./document-translation-
|
|
1
|
+
import { C as TranslationCacheWriteInputSchema, D as TranslationEngineProjectSettingsUpdateSchema, E as TranslationEngineProjectSettingsUpdate, S as TranslationCacheWriteInput, T as TranslationEngineProjectSettingsSchema, _ as TranslationCacheSettings, a as DocumentTranslationConfigSchema, b as TranslationCacheStats, c as DocumentTranslationDisplayMode, d as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, f as TRANSLATION_CACHE_POLICY_VERSION, g as TranslationCacheReadInputSchema, h as TranslationCacheReadInput, i as DocumentTranslationConfigInput, l as DocumentTranslationDisplayModeSchema, m as TranslationCacheEntrySchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as DocumentTranslationConfigUpdate, p as TranslationCacheEntry, r as DocumentTranslationConfig, s as DocumentTranslationConfigUpdateSchema, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, v as TranslationCacheSettingsSchema, w as TranslationEngineProjectSettings, x as TranslationCacheStatsSchema, y as TranslationCacheSettingsUpdateSchema } from "./document-translation-CIPGsZD8.mjs";
|
|
2
2
|
export { DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DOCUMENT_TRANSLATION_DISPLAY_MODES, DocumentTranslationConfig, DocumentTranslationConfigInput, DocumentTranslationConfigSchema, DocumentTranslationConfigUpdate, DocumentTranslationConfigUpdateSchema, DocumentTranslationDisplayMode, DocumentTranslationDisplayModeSchema, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, TRANSLATION_CACHE_POLICY_VERSION, TranslationCacheEntry, TranslationCacheEntrySchema, TranslationCacheReadInput, TranslationCacheReadInputSchema, TranslationCacheSettings, TranslationCacheSettingsSchema, TranslationCacheSettingsUpdateSchema, TranslationCacheStats, TranslationCacheStatsSchema, TranslationCacheWriteInput, TranslationCacheWriteInputSchema, TranslationEngineProjectSettings, TranslationEngineProjectSettingsSchema, TranslationEngineProjectSettingsUpdate, TranslationEngineProjectSettingsUpdateSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./translator-
|
|
2
|
-
import { a as DocumentTranslationDisplayModeSchema, c as TRANSLATION_CACHE_POLICY_VERSION, d as TranslationCacheSettingsSchema, f as TranslationCacheSettingsUpdateSchema, g as TranslationEngineProjectSettingsUpdateSchema, h as TranslationEngineProjectSettingsSchema, i as DocumentTranslationConfigUpdateSchema, l as TranslationCacheEntrySchema, m as TranslationCacheWriteInputSchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, p as TranslationCacheStatsSchema, r as DocumentTranslationConfigSchema, s as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as TranslationCacheReadInputSchema } from "./document-translation-
|
|
1
|
+
import "./translator-DbUT1Ayn.mjs";
|
|
2
|
+
import { a as DocumentTranslationDisplayModeSchema, c as TRANSLATION_CACHE_POLICY_VERSION, d as TranslationCacheSettingsSchema, f as TranslationCacheSettingsUpdateSchema, g as TranslationEngineProjectSettingsUpdateSchema, h as TranslationEngineProjectSettingsSchema, i as DocumentTranslationConfigUpdateSchema, l as TranslationCacheEntrySchema, m as TranslationCacheWriteInputSchema, n as DOCUMENT_TRANSLATION_DISPLAY_MODES, o as MAX_TRANSLATION_CACHE_ENTRY_LIMIT, p as TranslationCacheStatsSchema, r as DocumentTranslationConfigSchema, s as MIN_TRANSLATION_CACHE_ENTRY_LIMIT, t as DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, u as TranslationCacheReadInputSchema } from "./document-translation-D4YK18I3.mjs";
|
|
3
3
|
|
|
4
4
|
export { DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DOCUMENT_TRANSLATION_DISPLAY_MODES, DocumentTranslationConfigSchema, DocumentTranslationConfigUpdateSchema, DocumentTranslationDisplayModeSchema, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, TRANSLATION_CACHE_POLICY_VERSION, TranslationCacheEntrySchema, TranslationCacheReadInputSchema, TranslationCacheSettingsSchema, TranslationCacheSettingsUpdateSchema, TranslationCacheStatsSchema, TranslationCacheWriteInputSchema, TranslationEngineProjectSettingsSchema, TranslationEngineProjectSettingsUpdateSchema };
|
package/dist/hosted-app.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OPENSPECUI_RUNTIME_CAPABILITIES, c as buildEmbeddedUiLaunchUrl, d as isHostedBackendHealthResponse, f as isSupportedEmbeddedUiUrl, h as resolveHostedAppBaseUrl, i as OFFICIAL_APP_BASE_URL, l as buildHostedLaunchUrl, m as normalizeHostedAppBaseUrl, n as HOSTED_SHELL_PROTOCOL_VERSION, o as OpenSpecUIRuntimeCapability, p as normalizeEmbeddedUiUrl, r as HostedBackendHealthResponse, s as buildBackendHealthPayload, t as BackendHealthPayloadInput, u as isBackendHealthRuntimeMetadata } from "./hosted-app-
|
|
1
|
+
import { a as OPENSPECUI_RUNTIME_CAPABILITIES, c as buildEmbeddedUiLaunchUrl, d as isHostedBackendHealthResponse, f as isSupportedEmbeddedUiUrl, h as resolveHostedAppBaseUrl, i as OFFICIAL_APP_BASE_URL, l as buildHostedLaunchUrl, m as normalizeHostedAppBaseUrl, n as HOSTED_SHELL_PROTOCOL_VERSION, o as OpenSpecUIRuntimeCapability, p as normalizeEmbeddedUiUrl, r as HostedBackendHealthResponse, s as buildBackendHealthPayload, t as BackendHealthPayloadInput, u as isBackendHealthRuntimeMetadata } from "./hosted-app-DHs94gIR.mjs";
|
|
2
2
|
export { BackendHealthPayloadInput, HOSTED_SHELL_PROTOCOL_VERSION, HostedBackendHealthResponse, OFFICIAL_APP_BASE_URL, OPENSPECUI_RUNTIME_CAPABILITIES, OpenSpecUIRuntimeCapability, buildBackendHealthPayload, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, isBackendHealthRuntimeMetadata, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, resolveHostedAppBaseUrl };
|
package/dist/hosted-app.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as buildEmbeddedUiLaunchUrl, c as isHostedBackendHealthResponse, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as buildBackendHealthPayload, l as isSupportedEmbeddedUiUrl, n as OFFICIAL_APP_BASE_URL, o as buildHostedLaunchUrl, r as OPENSPECUI_RUNTIME_CAPABILITIES, s as isBackendHealthRuntimeMetadata, t as HOSTED_SHELL_PROTOCOL_VERSION, u as normalizeEmbeddedUiUrl } from "./hosted-app-
|
|
1
|
+
import { a as buildEmbeddedUiLaunchUrl, c as isHostedBackendHealthResponse, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as buildBackendHealthPayload, l as isSupportedEmbeddedUiUrl, n as OFFICIAL_APP_BASE_URL, o as buildHostedLaunchUrl, r as OPENSPECUI_RUNTIME_CAPABILITIES, s as isBackendHealthRuntimeMetadata, t as HOSTED_SHELL_PROTOCOL_VERSION, u as normalizeEmbeddedUiUrl } from "./hosted-app-CzMRiEgY.mjs";
|
|
2
2
|
|
|
3
3
|
export { HOSTED_SHELL_PROTOCOL_VERSION, OFFICIAL_APP_BASE_URL, OPENSPECUI_RUNTIME_CAPABILITIES, buildBackendHealthPayload, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, isBackendHealthRuntimeMetadata, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, resolveHostedAppBaseUrl };
|