@openspecui/core 3.11.1 → 3.11.3
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-Dnl1lz2K.mjs → document-translation-BrlCvnLZ.mjs} +9 -1
- package/dist/{document-translation-AlZtjOt5.d.mts → document-translation-Cv6BIGL5.d.mts} +117 -23
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +215 -47
- package/dist/index.mjs +254 -6
- package/dist/{local-download-profiles-DISrU0mw.d.mts → local-download-profiles-GKs2OOqJ.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-gGjGaYsF.d.mts → notifications-CJQ_F_Un.d.mts} +9 -9
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-BojcJ9zl.d.mts → openspec-projection-BbuPTbvj.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BdyGTVs_.d.mts → opsx-entity-BO9G2SCW.d.mts} +7 -7
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cf8YIflR.d.mts → opsx-schema-detail-DTajJW4g.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DV6yABO9.d.mts → schemas-DQzd1hgp.d.mts} +30 -30
- package/dist/{sounds-C906qHTJ.d.mts → sounds-3yEx1YXT.d.mts} +5 -5
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-D6dE8O1_.d.mts → terminal-audio-UCLlM1qN.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-Cz0vfgkw.d.mts → terminal-invocation-DCPc8hmm.d.mts} +42 -42
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translation-language-pair-D6f5u70K.mjs → translation-language-pair-Cb4a0hG6.mjs} +2 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/translator-Car0_7uk.mjs +412 -0
- package/dist/{translator-tTXEGRdz.d.mts → translator-prn3W9lf.d.mts} +786 -111
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
- package/dist/translator-B0T5VL9k.mjs +0 -239
|
@@ -13,8 +13,8 @@ declare const PtySessionInfoSchema: z.ZodObject<{
|
|
|
13
13
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
14
14
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
id: string;
|
|
17
16
|
title: string;
|
|
17
|
+
id: string;
|
|
18
18
|
command: string;
|
|
19
19
|
args: string[];
|
|
20
20
|
platform: "windows" | "macos" | "common";
|
|
@@ -23,8 +23,8 @@ declare const PtySessionInfoSchema: z.ZodObject<{
|
|
|
23
23
|
closeTip?: string | undefined;
|
|
24
24
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
id: string;
|
|
27
26
|
title: string;
|
|
27
|
+
id: string;
|
|
28
28
|
command: string;
|
|
29
29
|
args: string[];
|
|
30
30
|
platform: "windows" | "macos" | "common";
|
|
@@ -315,8 +315,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
315
315
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
316
316
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
id: string;
|
|
319
318
|
title: string;
|
|
319
|
+
id: string;
|
|
320
320
|
command: string;
|
|
321
321
|
args: string[];
|
|
322
322
|
platform: "windows" | "macos" | "common";
|
|
@@ -325,8 +325,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
325
325
|
closeTip?: string | undefined;
|
|
326
326
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
id: string;
|
|
329
328
|
title: string;
|
|
329
|
+
id: string;
|
|
330
330
|
command: string;
|
|
331
331
|
args: string[];
|
|
332
332
|
platform: "windows" | "macos" | "common";
|
|
@@ -338,8 +338,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
type: "list";
|
|
340
340
|
sessions: {
|
|
341
|
-
id: string;
|
|
342
341
|
title: string;
|
|
342
|
+
id: string;
|
|
343
343
|
command: string;
|
|
344
344
|
args: string[];
|
|
345
345
|
platform: "windows" | "macos" | "common";
|
|
@@ -351,8 +351,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
|
|
|
351
351
|
}, {
|
|
352
352
|
type: "list";
|
|
353
353
|
sessions: {
|
|
354
|
-
id: string;
|
|
355
354
|
title: string;
|
|
355
|
+
id: string;
|
|
356
356
|
command: string;
|
|
357
357
|
args: string[];
|
|
358
358
|
platform: "windows" | "macos" | "common";
|
|
@@ -463,12 +463,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
463
463
|
value: number | null;
|
|
464
464
|
type: "progress";
|
|
465
465
|
sessionId: string;
|
|
466
|
-
state: "
|
|
466
|
+
state: "clear" | "set" | "warning" | "error" | "indeterminate";
|
|
467
467
|
}, {
|
|
468
468
|
value: number | null;
|
|
469
469
|
type: "progress";
|
|
470
470
|
sessionId: string;
|
|
471
|
-
state: "
|
|
471
|
+
state: "clear" | "set" | "warning" | "error" | "indeterminate";
|
|
472
472
|
}>, z.ZodObject<{
|
|
473
473
|
type: z.ZodLiteral<"prompt-state">;
|
|
474
474
|
sessionId: z.ZodString;
|
|
@@ -521,8 +521,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
521
521
|
closeTip: z.ZodOptional<z.ZodString>;
|
|
522
522
|
closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
id: string;
|
|
525
524
|
title: string;
|
|
525
|
+
id: string;
|
|
526
526
|
command: string;
|
|
527
527
|
args: string[];
|
|
528
528
|
platform: "windows" | "macos" | "common";
|
|
@@ -531,8 +531,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
531
531
|
closeTip?: string | undefined;
|
|
532
532
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
533
533
|
}, {
|
|
534
|
-
id: string;
|
|
535
534
|
title: string;
|
|
535
|
+
id: string;
|
|
536
536
|
command: string;
|
|
537
537
|
args: string[];
|
|
538
538
|
platform: "windows" | "macos" | "common";
|
|
@@ -544,8 +544,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
544
544
|
}, "strip", z.ZodTypeAny, {
|
|
545
545
|
type: "list";
|
|
546
546
|
sessions: {
|
|
547
|
-
id: string;
|
|
548
547
|
title: string;
|
|
548
|
+
id: string;
|
|
549
549
|
command: string;
|
|
550
550
|
args: string[];
|
|
551
551
|
platform: "windows" | "macos" | "common";
|
|
@@ -557,8 +557,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
557
557
|
}, {
|
|
558
558
|
type: "list";
|
|
559
559
|
sessions: {
|
|
560
|
-
id: string;
|
|
561
560
|
title: string;
|
|
561
|
+
id: string;
|
|
562
562
|
command: string;
|
|
563
563
|
args: string[];
|
|
564
564
|
platform: "windows" | "macos" | "common";
|
|
@@ -605,15 +605,15 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
|
|
|
605
605
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
606
606
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
|
-
id: string;
|
|
609
608
|
label: string;
|
|
610
609
|
source: "custom" | "builtin";
|
|
610
|
+
id: string;
|
|
611
611
|
command: string;
|
|
612
612
|
args: string[];
|
|
613
613
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
614
614
|
}, {
|
|
615
|
-
id: string;
|
|
616
615
|
label: string;
|
|
616
|
+
id: string;
|
|
617
617
|
command: string;
|
|
618
618
|
source?: "custom" | "builtin" | undefined;
|
|
619
619
|
args?: string[] | undefined;
|
|
@@ -633,22 +633,22 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
|
|
|
633
633
|
}, "strip", z.ZodTypeAny, {
|
|
634
634
|
options: string[];
|
|
635
635
|
type: "boolean" | "text" | "textarea" | "select";
|
|
636
|
+
label: string;
|
|
636
637
|
id: string;
|
|
637
638
|
required: boolean;
|
|
638
|
-
label: string;
|
|
639
639
|
advanced: boolean;
|
|
640
640
|
description?: string | undefined;
|
|
641
641
|
placeholder?: string | undefined;
|
|
642
642
|
defaultValue?: string | boolean | undefined;
|
|
643
643
|
}, {
|
|
644
644
|
type: "boolean" | "text" | "textarea" | "select";
|
|
645
|
-
id: string;
|
|
646
645
|
label: string;
|
|
646
|
+
id: string;
|
|
647
647
|
options?: string[] | undefined;
|
|
648
|
-
required?: boolean | undefined;
|
|
649
648
|
description?: string | undefined;
|
|
650
649
|
placeholder?: string | undefined;
|
|
651
650
|
defaultValue?: string | boolean | undefined;
|
|
651
|
+
required?: boolean | undefined;
|
|
652
652
|
advanced?: boolean | undefined;
|
|
653
653
|
}>;
|
|
654
654
|
type TerminalCommandField = z.infer<typeof TerminalCommandFieldSchema>;
|
|
@@ -1000,22 +1000,22 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1000
1000
|
}, "strip", z.ZodTypeAny, {
|
|
1001
1001
|
options: string[];
|
|
1002
1002
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1003
|
+
label: string;
|
|
1003
1004
|
id: string;
|
|
1004
1005
|
required: boolean;
|
|
1005
|
-
label: string;
|
|
1006
1006
|
advanced: boolean;
|
|
1007
1007
|
description?: string | undefined;
|
|
1008
1008
|
placeholder?: string | undefined;
|
|
1009
1009
|
defaultValue?: string | boolean | undefined;
|
|
1010
1010
|
}, {
|
|
1011
1011
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1012
|
-
id: string;
|
|
1013
1012
|
label: string;
|
|
1013
|
+
id: string;
|
|
1014
1014
|
options?: string[] | undefined;
|
|
1015
|
-
required?: boolean | undefined;
|
|
1016
1015
|
description?: string | undefined;
|
|
1017
1016
|
placeholder?: string | undefined;
|
|
1018
1017
|
defaultValue?: string | boolean | undefined;
|
|
1018
|
+
required?: boolean | undefined;
|
|
1019
1019
|
advanced?: boolean | undefined;
|
|
1020
1020
|
}>, "many">>;
|
|
1021
1021
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
@@ -1172,9 +1172,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1172
1172
|
shellProfileId: z.ZodOptional<z.ZodString>;
|
|
1173
1173
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
id: string;
|
|
1176
1175
|
label: string;
|
|
1177
1176
|
source: "custom" | "builtin";
|
|
1177
|
+
id: string;
|
|
1178
1178
|
command: string;
|
|
1179
1179
|
args: ({
|
|
1180
1180
|
value: string;
|
|
@@ -1192,9 +1192,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1192
1192
|
fields: {
|
|
1193
1193
|
options: string[];
|
|
1194
1194
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1195
|
+
label: string;
|
|
1195
1196
|
id: string;
|
|
1196
1197
|
required: boolean;
|
|
1197
|
-
label: string;
|
|
1198
1198
|
advanced: boolean;
|
|
1199
1199
|
description?: string | undefined;
|
|
1200
1200
|
placeholder?: string | undefined;
|
|
@@ -1236,8 +1236,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1236
1236
|
} | undefined;
|
|
1237
1237
|
shellProfileId?: string | undefined;
|
|
1238
1238
|
}, {
|
|
1239
|
-
id: string;
|
|
1240
1239
|
label: string;
|
|
1240
|
+
id: string;
|
|
1241
1241
|
command: string;
|
|
1242
1242
|
source?: "custom" | "builtin" | undefined;
|
|
1243
1243
|
args?: ({
|
|
@@ -1256,13 +1256,13 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
|
|
|
1256
1256
|
description?: string | undefined;
|
|
1257
1257
|
fields?: {
|
|
1258
1258
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1259
|
-
id: string;
|
|
1260
1259
|
label: string;
|
|
1260
|
+
id: string;
|
|
1261
1261
|
options?: string[] | undefined;
|
|
1262
|
-
required?: boolean | undefined;
|
|
1263
1262
|
description?: string | undefined;
|
|
1264
1263
|
placeholder?: string | undefined;
|
|
1265
1264
|
defaultValue?: string | boolean | undefined;
|
|
1265
|
+
required?: boolean | undefined;
|
|
1266
1266
|
advanced?: boolean | undefined;
|
|
1267
1267
|
}[] | undefined;
|
|
1268
1268
|
parameters?: {
|
|
@@ -1311,15 +1311,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1311
1311
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1312
1312
|
quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
|
|
1313
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
id: string;
|
|
1315
1314
|
label: string;
|
|
1316
1315
|
source: "custom" | "builtin";
|
|
1316
|
+
id: string;
|
|
1317
1317
|
command: string;
|
|
1318
1318
|
args: string[];
|
|
1319
1319
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1320
1320
|
}, {
|
|
1321
|
-
id: string;
|
|
1322
1321
|
label: string;
|
|
1322
|
+
id: string;
|
|
1323
1323
|
command: string;
|
|
1324
1324
|
source?: "custom" | "builtin" | undefined;
|
|
1325
1325
|
args?: string[] | undefined;
|
|
@@ -1380,22 +1380,22 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1380
1380
|
}, "strip", z.ZodTypeAny, {
|
|
1381
1381
|
options: string[];
|
|
1382
1382
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1383
|
+
label: string;
|
|
1383
1384
|
id: string;
|
|
1384
1385
|
required: boolean;
|
|
1385
|
-
label: string;
|
|
1386
1386
|
advanced: boolean;
|
|
1387
1387
|
description?: string | undefined;
|
|
1388
1388
|
placeholder?: string | undefined;
|
|
1389
1389
|
defaultValue?: string | boolean | undefined;
|
|
1390
1390
|
}, {
|
|
1391
1391
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1392
|
-
id: string;
|
|
1393
1392
|
label: string;
|
|
1393
|
+
id: string;
|
|
1394
1394
|
options?: string[] | undefined;
|
|
1395
|
-
required?: boolean | undefined;
|
|
1396
1395
|
description?: string | undefined;
|
|
1397
1396
|
placeholder?: string | undefined;
|
|
1398
1397
|
defaultValue?: string | boolean | undefined;
|
|
1398
|
+
required?: boolean | undefined;
|
|
1399
1399
|
advanced?: boolean | undefined;
|
|
1400
1400
|
}>, "many">>;
|
|
1401
1401
|
parameters: z.ZodOptional<z.ZodObject<{
|
|
@@ -1552,9 +1552,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1552
1552
|
shellProfileId: z.ZodOptional<z.ZodString>;
|
|
1553
1553
|
source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
|
|
1554
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1555
|
-
id: string;
|
|
1556
1555
|
label: string;
|
|
1557
1556
|
source: "custom" | "builtin";
|
|
1557
|
+
id: string;
|
|
1558
1558
|
command: string;
|
|
1559
1559
|
args: ({
|
|
1560
1560
|
value: string;
|
|
@@ -1572,9 +1572,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1572
1572
|
fields: {
|
|
1573
1573
|
options: string[];
|
|
1574
1574
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1575
|
+
label: string;
|
|
1575
1576
|
id: string;
|
|
1576
1577
|
required: boolean;
|
|
1577
|
-
label: string;
|
|
1578
1578
|
advanced: boolean;
|
|
1579
1579
|
description?: string | undefined;
|
|
1580
1580
|
placeholder?: string | undefined;
|
|
@@ -1616,8 +1616,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1616
1616
|
} | undefined;
|
|
1617
1617
|
shellProfileId?: string | undefined;
|
|
1618
1618
|
}, {
|
|
1619
|
-
id: string;
|
|
1620
1619
|
label: string;
|
|
1620
|
+
id: string;
|
|
1621
1621
|
command: string;
|
|
1622
1622
|
source?: "custom" | "builtin" | undefined;
|
|
1623
1623
|
args?: ({
|
|
@@ -1636,13 +1636,13 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1636
1636
|
description?: string | undefined;
|
|
1637
1637
|
fields?: {
|
|
1638
1638
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1639
|
-
id: string;
|
|
1640
1639
|
label: string;
|
|
1640
|
+
id: string;
|
|
1641
1641
|
options?: string[] | undefined;
|
|
1642
|
-
required?: boolean | undefined;
|
|
1643
1642
|
description?: string | undefined;
|
|
1644
1643
|
placeholder?: string | undefined;
|
|
1645
1644
|
defaultValue?: string | boolean | undefined;
|
|
1645
|
+
required?: boolean | undefined;
|
|
1646
1646
|
advanced?: boolean | undefined;
|
|
1647
1647
|
}[] | undefined;
|
|
1648
1648
|
parameters?: {
|
|
@@ -1682,17 +1682,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1682
1682
|
}>, "many">>;
|
|
1683
1683
|
}, "strip", z.ZodTypeAny, {
|
|
1684
1684
|
customShellProfiles: {
|
|
1685
|
-
id: string;
|
|
1686
1685
|
label: string;
|
|
1687
1686
|
source: "custom" | "builtin";
|
|
1687
|
+
id: string;
|
|
1688
1688
|
command: string;
|
|
1689
1689
|
args: string[];
|
|
1690
1690
|
quoteStyle: "posix" | "cmd" | "powershell";
|
|
1691
1691
|
}[];
|
|
1692
1692
|
customSpawnCommands: {
|
|
1693
|
-
id: string;
|
|
1694
1693
|
label: string;
|
|
1695
1694
|
source: "custom" | "builtin";
|
|
1695
|
+
id: string;
|
|
1696
1696
|
command: string;
|
|
1697
1697
|
args: ({
|
|
1698
1698
|
value: string;
|
|
@@ -1710,9 +1710,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1710
1710
|
fields: {
|
|
1711
1711
|
options: string[];
|
|
1712
1712
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1713
|
+
label: string;
|
|
1713
1714
|
id: string;
|
|
1714
1715
|
required: boolean;
|
|
1715
|
-
label: string;
|
|
1716
1716
|
advanced: boolean;
|
|
1717
1717
|
description?: string | undefined;
|
|
1718
1718
|
placeholder?: string | undefined;
|
|
@@ -1758,16 +1758,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1758
1758
|
}, {
|
|
1759
1759
|
defaultShellProfileId?: string | undefined;
|
|
1760
1760
|
customShellProfiles?: {
|
|
1761
|
-
id: string;
|
|
1762
1761
|
label: string;
|
|
1762
|
+
id: string;
|
|
1763
1763
|
command: string;
|
|
1764
1764
|
source?: "custom" | "builtin" | undefined;
|
|
1765
1765
|
args?: string[] | undefined;
|
|
1766
1766
|
quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
|
|
1767
1767
|
}[] | undefined;
|
|
1768
1768
|
customSpawnCommands?: {
|
|
1769
|
-
id: string;
|
|
1770
1769
|
label: string;
|
|
1770
|
+
id: string;
|
|
1771
1771
|
command: string;
|
|
1772
1772
|
source?: "custom" | "builtin" | undefined;
|
|
1773
1773
|
args?: ({
|
|
@@ -1786,13 +1786,13 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
|
|
|
1786
1786
|
description?: string | undefined;
|
|
1787
1787
|
fields?: {
|
|
1788
1788
|
type: "boolean" | "text" | "textarea" | "select";
|
|
1789
|
-
id: string;
|
|
1790
1789
|
label: string;
|
|
1790
|
+
id: string;
|
|
1791
1791
|
options?: string[] | undefined;
|
|
1792
|
-
required?: boolean | undefined;
|
|
1793
1792
|
description?: string | undefined;
|
|
1794
1793
|
placeholder?: string | undefined;
|
|
1795
1794
|
defaultValue?: string | boolean | undefined;
|
|
1795
|
+
required?: boolean | undefined;
|
|
1796
1796
|
advanced?: boolean | undefined;
|
|
1797
1797
|
}[] | undefined;
|
|
1798
1798
|
parameters?: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-
|
|
1
|
+
import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-DCPc8hmm.mjs";
|
|
2
2
|
export { BUILTIN_TERMINAL_SPAWN_COMMANDS, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TerminalCommandArgument, TerminalCommandBuilder, TerminalCommandBuilderPart, TerminalCommandField, TerminalCommandFieldSchema, TerminalCommandFieldValue, TerminalCommandFieldValues, TerminalCommandJsonSchema, TerminalCommandJsonSchemaProperty, TerminalCommandParameters, TerminalCommandRenderResult, TerminalInvocationSettings, TerminalInvocationSettingsSchema, TerminalShellDefaults, TerminalShellEnv, TerminalShellProfile, TerminalShellProfileSchema, TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, TerminalSpawnCommand, TerminalSpawnCommandSchema, fieldsToTerminalCommandParameters, getTerminalCommandDefaultValues, getTerminalCommandParameters, quoteTerminalShellArg, renderTerminalCommandArgs, renderTerminalSpawnCommand, renderTerminalSpawnCommandLine, resolveTerminalShellDefaults };
|
package/dist/{translation-language-pair-D6f5u70K.mjs → translation-language-pair-Cb4a0hG6.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
//#region src/translation-language-pair.ts
|
|
2
2
|
const OPUS_MT_DIRECTION_PATTERN = /^opus-mt-([a-z]{2,3})-([a-z]{2,3})$/i;
|
|
3
|
+
const OPUS_MT_CT2_SUFFIX_PATTERN = /-(?:ct2|ctranslate2)(?:-[a-z0-9]+)*$/i;
|
|
3
4
|
function inferLocalDirectionalModelLanguagePair(model) {
|
|
4
|
-
const modelName = model?.trim().split("/").pop();
|
|
5
|
+
const modelName = model?.trim().split("/").pop()?.replace(OPUS_MT_CT2_SUFFIX_PATTERN, "");
|
|
5
6
|
if (!modelName) return null;
|
|
6
7
|
const match = OPUS_MT_DIRECTION_PATTERN.exec(modelName);
|
|
7
8
|
if (!match) return null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as inferLocalDirectionalModelLanguagePair, t as checkLocalDirectionalModelLanguagePair } from "./translation-language-pair-
|
|
1
|
+
import { n as inferLocalDirectionalModelLanguagePair, t as checkLocalDirectionalModelLanguagePair } from "./translation-language-pair-Cb4a0hG6.mjs";
|
|
2
2
|
|
|
3
3
|
export { checkLocalDirectionalModelLanguagePair, inferLocalDirectionalModelLanguagePair };
|