@openspecui/core 4.1.0 → 5.0.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-CIPGsZD8.d.mts → document-translation-7R8cf8_B.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/index.d.mts +198 -198
- package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-caa4PECd.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-HYH-lklF.d.mts → notifications-DZeOl4HV.d.mts} +28 -28
- package/dist/notifications.d.mts +2 -2
- package/dist/openspec-compat.d.mts +7 -7
- package/dist/openspec-compat.mjs +11 -10
- package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-B0ch1rZw.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-DZyl-uhQ.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +3 -3
- package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-CS0tWa9v.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +4 -4
- package/dist/{opsx-types-2rgsQHsB.d.mts → opsx-types-Dnb06uff.d.mts} +12 -12
- package/dist/{schemas-CNKCVc7m.d.mts → schemas-D01aQnV4.d.mts} +28 -28
- package/dist/{sounds-J6z7o4mt.d.mts → sounds-kgDn4x8v.d.mts} +9 -9
- package/dist/sounds.d.mts +1 -1
- package/dist/{task-progress-BHn4bCoD.d.mts → task-progress-C1TGMbIR.d.mts} +2 -2
- package/dist/task-progress.d.mts +3 -3
- package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-CsuGTNV-.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BlFwKpIc.d.mts} +75 -75
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-D6t_LEVN.d.mts → translator-BErXgQxx.d.mts} +205 -205
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
selectedGroupId?: string | undefined;
|
|
13
12
|
model?: string | undefined;
|
|
14
|
-
}, {
|
|
15
13
|
selectedGroupId?: string | undefined;
|
|
14
|
+
}, {
|
|
16
15
|
model?: string | undefined;
|
|
16
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
23
22
|
model?: string | undefined;
|
|
24
|
-
}, {
|
|
25
23
|
selectedGroupId?: string | undefined;
|
|
24
|
+
}, {
|
|
26
25
|
model?: string | undefined;
|
|
26
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
33
32
|
model?: string | undefined;
|
|
34
|
-
}, {
|
|
35
33
|
selectedGroupId?: string | undefined;
|
|
34
|
+
}, {
|
|
36
35
|
model?: string | undefined;
|
|
36
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
48
|
-
model?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
openai: {
|
|
51
47
|
model?: string | undefined;
|
|
48
|
+
selectedGroupId?: string | undefined;
|
|
52
49
|
};
|
|
53
50
|
localCt2: {
|
|
54
|
-
selectedGroupId?: string | undefined;
|
|
55
51
|
model?: string | undefined;
|
|
52
|
+
selectedGroupId?: string | undefined;
|
|
56
53
|
};
|
|
57
54
|
localLlama: {
|
|
55
|
+
model?: string | undefined;
|
|
58
56
|
selectedGroupId?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
openai: {
|
|
59
59
|
model?: string | undefined;
|
|
60
60
|
};
|
|
61
61
|
}, {
|
|
62
62
|
local?: {
|
|
63
|
-
selectedGroupId?: string | undefined;
|
|
64
|
-
model?: string | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
openai?: {
|
|
67
63
|
model?: string | undefined;
|
|
64
|
+
selectedGroupId?: string | undefined;
|
|
68
65
|
} | undefined;
|
|
69
66
|
localCt2?: {
|
|
70
|
-
selectedGroupId?: string | undefined;
|
|
71
67
|
model?: string | undefined;
|
|
68
|
+
selectedGroupId?: string | undefined;
|
|
72
69
|
} | undefined;
|
|
73
70
|
localLlama?: {
|
|
71
|
+
model?: string | undefined;
|
|
74
72
|
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
|
-
selectedGroupId?: string | null | undefined;
|
|
84
83
|
model?: string | undefined;
|
|
85
|
-
}, {
|
|
86
84
|
selectedGroupId?: string | null | undefined;
|
|
85
|
+
}, {
|
|
87
86
|
model?: string | undefined;
|
|
87
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
94
93
|
model?: string | undefined;
|
|
95
|
-
}, {
|
|
96
94
|
selectedGroupId?: string | null | undefined;
|
|
95
|
+
}, {
|
|
97
96
|
model?: string | undefined;
|
|
97
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
104
103
|
model?: string | undefined;
|
|
105
|
-
}, {
|
|
106
104
|
selectedGroupId?: string | null | undefined;
|
|
105
|
+
}, {
|
|
107
106
|
model?: string | undefined;
|
|
107
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
119
|
-
model?: string | undefined;
|
|
120
|
-
} | undefined;
|
|
121
|
-
openai?: {
|
|
122
118
|
model?: string | undefined;
|
|
119
|
+
selectedGroupId?: string | null | undefined;
|
|
123
120
|
} | undefined;
|
|
124
121
|
localCt2?: {
|
|
125
|
-
selectedGroupId?: string | null | undefined;
|
|
126
122
|
model?: string | undefined;
|
|
123
|
+
selectedGroupId?: string | null | undefined;
|
|
127
124
|
} | undefined;
|
|
128
125
|
localLlama?: {
|
|
126
|
+
model?: string | undefined;
|
|
129
127
|
selectedGroupId?: string | null | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
openai?: {
|
|
130
130
|
model?: string | undefined;
|
|
131
131
|
} | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
local?: {
|
|
134
|
-
selectedGroupId?: string | null | undefined;
|
|
135
|
-
model?: string | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
openai?: {
|
|
138
134
|
model?: string | undefined;
|
|
135
|
+
selectedGroupId?: string | null | undefined;
|
|
139
136
|
} | undefined;
|
|
140
137
|
localCt2?: {
|
|
141
|
-
selectedGroupId?: string | null | undefined;
|
|
142
138
|
model?: string | undefined;
|
|
139
|
+
selectedGroupId?: string | null | undefined;
|
|
143
140
|
} | undefined;
|
|
144
141
|
localLlama?: {
|
|
142
|
+
model?: string | undefined;
|
|
145
143
|
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
|
-
selectedGroupId?: string | undefined;
|
|
161
160
|
model?: string | undefined;
|
|
162
|
-
}, {
|
|
163
161
|
selectedGroupId?: string | undefined;
|
|
162
|
+
}, {
|
|
164
163
|
model?: string | undefined;
|
|
164
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
171
170
|
model?: string | undefined;
|
|
172
|
-
}, {
|
|
173
171
|
selectedGroupId?: string | undefined;
|
|
172
|
+
}, {
|
|
174
173
|
model?: string | undefined;
|
|
174
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
181
180
|
model?: string | undefined;
|
|
182
|
-
}, {
|
|
183
181
|
selectedGroupId?: string | undefined;
|
|
182
|
+
}, {
|
|
184
183
|
model?: string | undefined;
|
|
184
|
+
selectedGroupId?: 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
|
-
selectedGroupId?: string | undefined;
|
|
196
|
-
model?: string | undefined;
|
|
197
|
-
};
|
|
198
|
-
openai: {
|
|
199
195
|
model?: string | undefined;
|
|
196
|
+
selectedGroupId?: string | undefined;
|
|
200
197
|
};
|
|
201
198
|
localCt2: {
|
|
202
|
-
selectedGroupId?: string | undefined;
|
|
203
199
|
model?: string | undefined;
|
|
200
|
+
selectedGroupId?: string | undefined;
|
|
204
201
|
};
|
|
205
202
|
localLlama: {
|
|
203
|
+
model?: string | undefined;
|
|
206
204
|
selectedGroupId?: string | undefined;
|
|
205
|
+
};
|
|
206
|
+
openai: {
|
|
207
207
|
model?: string | undefined;
|
|
208
208
|
};
|
|
209
209
|
}, {
|
|
210
210
|
local?: {
|
|
211
|
-
selectedGroupId?: string | undefined;
|
|
212
|
-
model?: string | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
openai?: {
|
|
215
211
|
model?: string | undefined;
|
|
212
|
+
selectedGroupId?: string | undefined;
|
|
216
213
|
} | undefined;
|
|
217
214
|
localCt2?: {
|
|
218
|
-
selectedGroupId?: string | undefined;
|
|
219
215
|
model?: string | undefined;
|
|
216
|
+
selectedGroupId?: string | undefined;
|
|
220
217
|
} | undefined;
|
|
221
218
|
localLlama?: {
|
|
219
|
+
model?: string | undefined;
|
|
222
220
|
selectedGroupId?: string | undefined;
|
|
221
|
+
} | undefined;
|
|
222
|
+
openai?: {
|
|
223
223
|
model?: string | undefined;
|
|
224
224
|
} | undefined;
|
|
225
225
|
}>>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
228
|
-
targetLanguage: string;
|
|
229
227
|
enabled: boolean;
|
|
228
|
+
targetLanguage: string;
|
|
230
229
|
displayMode: "direct" | "bilingual";
|
|
231
230
|
cacheEnabled: boolean;
|
|
231
|
+
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
232
232
|
engines: {
|
|
233
233
|
local: {
|
|
234
|
-
selectedGroupId?: string | undefined;
|
|
235
|
-
model?: string | undefined;
|
|
236
|
-
};
|
|
237
|
-
openai: {
|
|
238
234
|
model?: string | undefined;
|
|
235
|
+
selectedGroupId?: string | undefined;
|
|
239
236
|
};
|
|
240
237
|
localCt2: {
|
|
241
|
-
selectedGroupId?: string | undefined;
|
|
242
238
|
model?: string | undefined;
|
|
239
|
+
selectedGroupId?: string | undefined;
|
|
243
240
|
};
|
|
244
241
|
localLlama: {
|
|
242
|
+
model?: string | undefined;
|
|
245
243
|
selectedGroupId?: string | undefined;
|
|
244
|
+
};
|
|
245
|
+
openai: {
|
|
246
246
|
model?: string | undefined;
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
}, {
|
|
250
|
-
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
251
|
-
targetLanguage?: string | undefined;
|
|
252
250
|
enabled?: boolean | undefined;
|
|
251
|
+
targetLanguage?: string | undefined;
|
|
253
252
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
254
253
|
cacheEnabled?: boolean | undefined;
|
|
254
|
+
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
255
255
|
engines?: {
|
|
256
256
|
local?: {
|
|
257
|
-
selectedGroupId?: string | undefined;
|
|
258
|
-
model?: string | undefined;
|
|
259
|
-
} | undefined;
|
|
260
|
-
openai?: {
|
|
261
257
|
model?: string | undefined;
|
|
258
|
+
selectedGroupId?: string | undefined;
|
|
262
259
|
} | undefined;
|
|
263
260
|
localCt2?: {
|
|
264
|
-
selectedGroupId?: string | undefined;
|
|
265
261
|
model?: string | undefined;
|
|
262
|
+
selectedGroupId?: string | undefined;
|
|
266
263
|
} | undefined;
|
|
267
264
|
localLlama?: {
|
|
265
|
+
model?: string | undefined;
|
|
268
266
|
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
|
-
selectedGroupId?: string | null | undefined;
|
|
285
284
|
model?: string | undefined;
|
|
286
|
-
}, {
|
|
287
285
|
selectedGroupId?: string | null | undefined;
|
|
286
|
+
}, {
|
|
288
287
|
model?: string | undefined;
|
|
288
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
295
294
|
model?: string | undefined;
|
|
296
|
-
}, {
|
|
297
295
|
selectedGroupId?: string | null | undefined;
|
|
296
|
+
}, {
|
|
298
297
|
model?: string | undefined;
|
|
298
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
305
304
|
model?: string | undefined;
|
|
306
|
-
}, {
|
|
307
305
|
selectedGroupId?: string | null | undefined;
|
|
306
|
+
}, {
|
|
308
307
|
model?: string | undefined;
|
|
308
|
+
selectedGroupId?: string | null | 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
|
-
selectedGroupId?: string | null | undefined;
|
|
320
|
-
model?: string | undefined;
|
|
321
|
-
} | undefined;
|
|
322
|
-
openai?: {
|
|
323
319
|
model?: string | undefined;
|
|
320
|
+
selectedGroupId?: string | null | undefined;
|
|
324
321
|
} | undefined;
|
|
325
322
|
localCt2?: {
|
|
326
|
-
selectedGroupId?: string | null | undefined;
|
|
327
323
|
model?: string | undefined;
|
|
324
|
+
selectedGroupId?: string | null | undefined;
|
|
328
325
|
} | undefined;
|
|
329
326
|
localLlama?: {
|
|
327
|
+
model?: string | undefined;
|
|
330
328
|
selectedGroupId?: string | null | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
openai?: {
|
|
331
331
|
model?: string | undefined;
|
|
332
332
|
} | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
local?: {
|
|
335
|
-
selectedGroupId?: string | null | undefined;
|
|
336
|
-
model?: string | undefined;
|
|
337
|
-
} | undefined;
|
|
338
|
-
openai?: {
|
|
339
335
|
model?: string | undefined;
|
|
336
|
+
selectedGroupId?: string | null | undefined;
|
|
340
337
|
} | undefined;
|
|
341
338
|
localCt2?: {
|
|
342
|
-
selectedGroupId?: string | null | undefined;
|
|
343
339
|
model?: string | undefined;
|
|
340
|
+
selectedGroupId?: string | null | undefined;
|
|
344
341
|
} | undefined;
|
|
345
342
|
localLlama?: {
|
|
343
|
+
model?: string | undefined;
|
|
346
344
|
selectedGroupId?: string | null | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
openai?: {
|
|
347
347
|
model?: string | undefined;
|
|
348
348
|
} | undefined;
|
|
349
349
|
}>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
352
|
-
targetLanguage?: string | undefined;
|
|
353
351
|
enabled?: boolean | undefined;
|
|
352
|
+
targetLanguage?: string | undefined;
|
|
354
353
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
355
354
|
cacheEnabled?: boolean | undefined;
|
|
355
|
+
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
356
356
|
engines?: {
|
|
357
357
|
local?: {
|
|
358
|
-
selectedGroupId?: string | null | undefined;
|
|
359
|
-
model?: string | undefined;
|
|
360
|
-
} | undefined;
|
|
361
|
-
openai?: {
|
|
362
358
|
model?: string | undefined;
|
|
359
|
+
selectedGroupId?: string | null | undefined;
|
|
363
360
|
} | undefined;
|
|
364
361
|
localCt2?: {
|
|
365
|
-
selectedGroupId?: string | null | undefined;
|
|
366
362
|
model?: string | undefined;
|
|
363
|
+
selectedGroupId?: string | null | undefined;
|
|
367
364
|
} | undefined;
|
|
368
365
|
localLlama?: {
|
|
366
|
+
model?: string | undefined;
|
|
369
367
|
selectedGroupId?: string | null | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
openai?: {
|
|
370
370
|
model?: string | undefined;
|
|
371
371
|
} | undefined;
|
|
372
372
|
} | undefined;
|
|
373
373
|
}, {
|
|
374
|
-
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
375
|
-
targetLanguage?: string | undefined;
|
|
376
374
|
enabled?: boolean | undefined;
|
|
375
|
+
targetLanguage?: string | undefined;
|
|
377
376
|
displayMode?: "direct" | "bilingual" | undefined;
|
|
378
377
|
cacheEnabled?: boolean | undefined;
|
|
378
|
+
engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
|
|
379
379
|
engines?: {
|
|
380
380
|
local?: {
|
|
381
|
-
selectedGroupId?: string | null | undefined;
|
|
382
|
-
model?: string | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
openai?: {
|
|
385
381
|
model?: string | undefined;
|
|
382
|
+
selectedGroupId?: string | null | undefined;
|
|
386
383
|
} | undefined;
|
|
387
384
|
localCt2?: {
|
|
388
|
-
selectedGroupId?: string | null | undefined;
|
|
389
385
|
model?: string | undefined;
|
|
386
|
+
selectedGroupId?: string | null | undefined;
|
|
390
387
|
} | undefined;
|
|
391
388
|
localLlama?: {
|
|
389
|
+
model?: string | undefined;
|
|
392
390
|
selectedGroupId?: string | null | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
openai?: {
|
|
393
393
|
model?: string | undefined;
|
|
394
394
|
} | undefined;
|
|
395
395
|
} | undefined;
|
|
@@ -449,36 +449,36 @@ declare const TranslationCacheEntrySchema: z.ZodObject<{
|
|
|
449
449
|
createdAt: z.ZodNumber;
|
|
450
450
|
lastAccessedAt: z.ZodNumber;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
|
|
453
|
-
sourceLanguage: string;
|
|
452
|
+
createdAt: number;
|
|
454
453
|
targetLanguage: string;
|
|
454
|
+
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
455
455
|
key: string;
|
|
456
456
|
keyHash: string;
|
|
457
457
|
sourceText: string;
|
|
458
458
|
translatedText: string;
|
|
459
|
+
sourceLanguage: string;
|
|
459
460
|
placeholderTopologyHash: string;
|
|
460
461
|
attributeTopologyHash: string;
|
|
461
462
|
displayPolicyVersion: number;
|
|
462
463
|
translatorContractVersion: number;
|
|
463
|
-
createdAt: number;
|
|
464
464
|
lastAccessedAt: number;
|
|
465
465
|
model?: string | undefined;
|
|
466
466
|
targetNodesJson?: string | undefined;
|
|
467
467
|
engineVersion?: string | undefined;
|
|
468
468
|
}, {
|
|
469
|
-
|
|
469
|
+
createdAt: number;
|
|
470
470
|
targetLanguage: string;
|
|
471
471
|
key: string;
|
|
472
472
|
keyHash: string;
|
|
473
473
|
sourceText: string;
|
|
474
474
|
translatedText: string;
|
|
475
|
+
sourceLanguage: string;
|
|
475
476
|
placeholderTopologyHash: string;
|
|
476
477
|
attributeTopologyHash: string;
|
|
477
478
|
displayPolicyVersion: number;
|
|
478
|
-
createdAt: number;
|
|
479
479
|
lastAccessedAt: number;
|
|
480
|
-
engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
|
|
481
480
|
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;
|
|
507
505
|
targetLanguage: string;
|
|
506
|
+
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
508
507
|
key: string;
|
|
509
508
|
keyHash: string;
|
|
510
509
|
sourceText: string;
|
|
511
510
|
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;
|
|
521
520
|
targetLanguage: string;
|
|
522
521
|
key: string;
|
|
523
522
|
keyHash: string;
|
|
524
523
|
sourceText: string;
|
|
525
524
|
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;
|
|
530
529
|
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,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-7R8cf8_B.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 };
|