@marlinjai/studio-mcp 0.7.0 → 0.8.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/README.md +9 -1
- package/dist/cli.js +701 -123
- package/dist/index.d.ts +384 -2
- package/dist/index.js +701 -123
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -867,6 +867,243 @@ interface ProjectionIssue {
|
|
|
867
867
|
message: string;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
+
declare const CompositionDocumentSchema: z.ZodObject<{
|
|
871
|
+
schema: z.ZodLiteral<1>;
|
|
872
|
+
kind: z.ZodEnum<{
|
|
873
|
+
carousel: "carousel";
|
|
874
|
+
reel: "reel";
|
|
875
|
+
}>;
|
|
876
|
+
aspect: z.ZodEnum<{
|
|
877
|
+
"4:5": "4:5";
|
|
878
|
+
"1:1": "1:1";
|
|
879
|
+
"9:16": "9:16";
|
|
880
|
+
}>;
|
|
881
|
+
label: z.ZodString;
|
|
882
|
+
brandSlug: z.ZodString;
|
|
883
|
+
kitVersionAtEdit: z.ZodNumber;
|
|
884
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
885
|
+
id: z.ZodString;
|
|
886
|
+
type: z.ZodLiteral<"slide">;
|
|
887
|
+
background: z.ZodObject<{
|
|
888
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
889
|
+
fit: z.ZodEnum<{
|
|
890
|
+
cover: "cover";
|
|
891
|
+
contain: "contain";
|
|
892
|
+
}>;
|
|
893
|
+
focal: z.ZodObject<{
|
|
894
|
+
x: z.ZodNumber;
|
|
895
|
+
y: z.ZodNumber;
|
|
896
|
+
}, z.core.$strict>;
|
|
897
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
898
|
+
}, z.core.$strict>;
|
|
899
|
+
overlays: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
900
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
901
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
902
|
+
id: z.ZodString;
|
|
903
|
+
type: z.ZodLiteral<"text">;
|
|
904
|
+
box: z.ZodObject<{
|
|
905
|
+
x: z.ZodNumber;
|
|
906
|
+
y: z.ZodNumber;
|
|
907
|
+
w: z.ZodNumber;
|
|
908
|
+
h: z.ZodNumber;
|
|
909
|
+
}, z.core.$strict>;
|
|
910
|
+
text: z.ZodString;
|
|
911
|
+
styleRole: z.ZodEnum<{
|
|
912
|
+
headline: "headline";
|
|
913
|
+
body: "body";
|
|
914
|
+
}>;
|
|
915
|
+
fontRole: z.ZodEnum<{
|
|
916
|
+
primary: "primary";
|
|
917
|
+
secondary: "secondary";
|
|
918
|
+
}>;
|
|
919
|
+
weight: z.ZodNumber;
|
|
920
|
+
italic: z.ZodBoolean;
|
|
921
|
+
colorRole: z.ZodString;
|
|
922
|
+
align: z.ZodEnum<{
|
|
923
|
+
left: "left";
|
|
924
|
+
center: "center";
|
|
925
|
+
right: "right";
|
|
926
|
+
}>;
|
|
927
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
928
|
+
colorRole: z.ZodString;
|
|
929
|
+
opacity: z.ZodNumber;
|
|
930
|
+
padding: z.ZodNumber;
|
|
931
|
+
}, z.core.$strict>>;
|
|
932
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
933
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
935
|
+
id: z.ZodString;
|
|
936
|
+
type: z.ZodLiteral<"logo">;
|
|
937
|
+
box: z.ZodObject<{
|
|
938
|
+
x: z.ZodNumber;
|
|
939
|
+
y: z.ZodNumber;
|
|
940
|
+
w: z.ZodNumber;
|
|
941
|
+
h: z.ZodNumber;
|
|
942
|
+
}, z.core.$strict>;
|
|
943
|
+
variant: z.ZodEnum<{
|
|
944
|
+
light: "light";
|
|
945
|
+
dark: "dark";
|
|
946
|
+
}>;
|
|
947
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
948
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
950
|
+
id: z.ZodString;
|
|
951
|
+
type: z.ZodLiteral<"shape">;
|
|
952
|
+
box: z.ZodObject<{
|
|
953
|
+
x: z.ZodNumber;
|
|
954
|
+
y: z.ZodNumber;
|
|
955
|
+
w: z.ZodNumber;
|
|
956
|
+
h: z.ZodNumber;
|
|
957
|
+
}, z.core.$strict>;
|
|
958
|
+
shape: z.ZodEnum<{
|
|
959
|
+
rect: "rect";
|
|
960
|
+
pill: "pill";
|
|
961
|
+
}>;
|
|
962
|
+
colorRole: z.ZodString;
|
|
963
|
+
opacity: z.ZodNumber;
|
|
964
|
+
}, z.core.$strict>], "type">>;
|
|
965
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
966
|
+
id: z.ZodString;
|
|
967
|
+
type: z.ZodLiteral<"clip">;
|
|
968
|
+
assetId: z.ZodString;
|
|
969
|
+
trimIn: z.ZodNumber;
|
|
970
|
+
trimOut: z.ZodNumber;
|
|
971
|
+
overlays: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
972
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
973
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
id: z.ZodString;
|
|
975
|
+
type: z.ZodLiteral<"text">;
|
|
976
|
+
box: z.ZodObject<{
|
|
977
|
+
x: z.ZodNumber;
|
|
978
|
+
y: z.ZodNumber;
|
|
979
|
+
w: z.ZodNumber;
|
|
980
|
+
h: z.ZodNumber;
|
|
981
|
+
}, z.core.$strict>;
|
|
982
|
+
text: z.ZodString;
|
|
983
|
+
styleRole: z.ZodEnum<{
|
|
984
|
+
headline: "headline";
|
|
985
|
+
body: "body";
|
|
986
|
+
}>;
|
|
987
|
+
fontRole: z.ZodEnum<{
|
|
988
|
+
primary: "primary";
|
|
989
|
+
secondary: "secondary";
|
|
990
|
+
}>;
|
|
991
|
+
weight: z.ZodNumber;
|
|
992
|
+
italic: z.ZodBoolean;
|
|
993
|
+
colorRole: z.ZodString;
|
|
994
|
+
align: z.ZodEnum<{
|
|
995
|
+
left: "left";
|
|
996
|
+
center: "center";
|
|
997
|
+
right: "right";
|
|
998
|
+
}>;
|
|
999
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
1000
|
+
colorRole: z.ZodString;
|
|
1001
|
+
opacity: z.ZodNumber;
|
|
1002
|
+
padding: z.ZodNumber;
|
|
1003
|
+
}, z.core.$strict>>;
|
|
1004
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1005
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1006
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1007
|
+
id: z.ZodString;
|
|
1008
|
+
type: z.ZodLiteral<"logo">;
|
|
1009
|
+
box: z.ZodObject<{
|
|
1010
|
+
x: z.ZodNumber;
|
|
1011
|
+
y: z.ZodNumber;
|
|
1012
|
+
w: z.ZodNumber;
|
|
1013
|
+
h: z.ZodNumber;
|
|
1014
|
+
}, z.core.$strict>;
|
|
1015
|
+
variant: z.ZodEnum<{
|
|
1016
|
+
light: "light";
|
|
1017
|
+
dark: "dark";
|
|
1018
|
+
}>;
|
|
1019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1020
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1022
|
+
id: z.ZodString;
|
|
1023
|
+
type: z.ZodLiteral<"shape">;
|
|
1024
|
+
box: z.ZodObject<{
|
|
1025
|
+
x: z.ZodNumber;
|
|
1026
|
+
y: z.ZodNumber;
|
|
1027
|
+
w: z.ZodNumber;
|
|
1028
|
+
h: z.ZodNumber;
|
|
1029
|
+
}, z.core.$strict>;
|
|
1030
|
+
shape: z.ZodEnum<{
|
|
1031
|
+
rect: "rect";
|
|
1032
|
+
pill: "pill";
|
|
1033
|
+
}>;
|
|
1034
|
+
colorRole: z.ZodString;
|
|
1035
|
+
opacity: z.ZodNumber;
|
|
1036
|
+
}, z.core.$strict>], "type">>;
|
|
1037
|
+
}, z.core.$strict>]>>;
|
|
1038
|
+
reelOverlays: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1039
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1040
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1041
|
+
id: z.ZodString;
|
|
1042
|
+
type: z.ZodLiteral<"text">;
|
|
1043
|
+
box: z.ZodObject<{
|
|
1044
|
+
x: z.ZodNumber;
|
|
1045
|
+
y: z.ZodNumber;
|
|
1046
|
+
w: z.ZodNumber;
|
|
1047
|
+
h: z.ZodNumber;
|
|
1048
|
+
}, z.core.$strict>;
|
|
1049
|
+
text: z.ZodString;
|
|
1050
|
+
styleRole: z.ZodEnum<{
|
|
1051
|
+
headline: "headline";
|
|
1052
|
+
body: "body";
|
|
1053
|
+
}>;
|
|
1054
|
+
fontRole: z.ZodEnum<{
|
|
1055
|
+
primary: "primary";
|
|
1056
|
+
secondary: "secondary";
|
|
1057
|
+
}>;
|
|
1058
|
+
weight: z.ZodNumber;
|
|
1059
|
+
italic: z.ZodBoolean;
|
|
1060
|
+
colorRole: z.ZodString;
|
|
1061
|
+
align: z.ZodEnum<{
|
|
1062
|
+
left: "left";
|
|
1063
|
+
center: "center";
|
|
1064
|
+
right: "right";
|
|
1065
|
+
}>;
|
|
1066
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
colorRole: z.ZodString;
|
|
1068
|
+
opacity: z.ZodNumber;
|
|
1069
|
+
padding: z.ZodNumber;
|
|
1070
|
+
}, z.core.$strict>>;
|
|
1071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1072
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1073
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1074
|
+
id: z.ZodString;
|
|
1075
|
+
type: z.ZodLiteral<"logo">;
|
|
1076
|
+
box: z.ZodObject<{
|
|
1077
|
+
x: z.ZodNumber;
|
|
1078
|
+
y: z.ZodNumber;
|
|
1079
|
+
w: z.ZodNumber;
|
|
1080
|
+
h: z.ZodNumber;
|
|
1081
|
+
}, z.core.$strict>;
|
|
1082
|
+
variant: z.ZodEnum<{
|
|
1083
|
+
light: "light";
|
|
1084
|
+
dark: "dark";
|
|
1085
|
+
}>;
|
|
1086
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1087
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1088
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
id: z.ZodString;
|
|
1090
|
+
type: z.ZodLiteral<"shape">;
|
|
1091
|
+
box: z.ZodObject<{
|
|
1092
|
+
x: z.ZodNumber;
|
|
1093
|
+
y: z.ZodNumber;
|
|
1094
|
+
w: z.ZodNumber;
|
|
1095
|
+
h: z.ZodNumber;
|
|
1096
|
+
}, z.core.$strict>;
|
|
1097
|
+
shape: z.ZodEnum<{
|
|
1098
|
+
rect: "rect";
|
|
1099
|
+
pill: "pill";
|
|
1100
|
+
}>;
|
|
1101
|
+
colorRole: z.ZodString;
|
|
1102
|
+
opacity: z.ZodNumber;
|
|
1103
|
+
}, z.core.$strict>], "type">>;
|
|
1104
|
+
}, z.core.$strict>;
|
|
1105
|
+
type CompositionDocument = z.infer<typeof CompositionDocumentSchema>;
|
|
1106
|
+
|
|
870
1107
|
/**
|
|
871
1108
|
* Server configuration, resolved from the environment once at startup.
|
|
872
1109
|
*
|
|
@@ -947,6 +1184,82 @@ interface CampaignContents {
|
|
|
947
1184
|
shotsRendering: number;
|
|
948
1185
|
}
|
|
949
1186
|
type JobStatus = 'queued' | 'running' | 'succeeded' | 'failed' | 'canceled' | (string & {});
|
|
1187
|
+
/** `GET /api/brands/[slug]/kit` (file URLs are Studio-relative and not used by the tools). */
|
|
1188
|
+
interface BrandKitResponse {
|
|
1189
|
+
version: number;
|
|
1190
|
+
colors: {
|
|
1191
|
+
id: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
hex: string;
|
|
1194
|
+
}[];
|
|
1195
|
+
typeRoles: {
|
|
1196
|
+
headline: {
|
|
1197
|
+
px: number;
|
|
1198
|
+
};
|
|
1199
|
+
body: {
|
|
1200
|
+
px: number;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
fonts: {
|
|
1204
|
+
role: 'primary' | 'secondary';
|
|
1205
|
+
family: string;
|
|
1206
|
+
source: string;
|
|
1207
|
+
files: {
|
|
1208
|
+
weight: number;
|
|
1209
|
+
style: 'normal' | 'italic';
|
|
1210
|
+
}[];
|
|
1211
|
+
}[];
|
|
1212
|
+
logos: {
|
|
1213
|
+
variant: 'light' | 'dark';
|
|
1214
|
+
width: number;
|
|
1215
|
+
height: number;
|
|
1216
|
+
}[];
|
|
1217
|
+
}
|
|
1218
|
+
interface CompositionSummary {
|
|
1219
|
+
id: string;
|
|
1220
|
+
projectId: string;
|
|
1221
|
+
kind: 'carousel' | 'reel';
|
|
1222
|
+
label: string;
|
|
1223
|
+
brandSlug: string;
|
|
1224
|
+
revision: number;
|
|
1225
|
+
updatedAt: string;
|
|
1226
|
+
}
|
|
1227
|
+
/** One asset of a project as `GET /api/v1/projects/[id]/assets` returns it (signed `url`). */
|
|
1228
|
+
interface ProjectAsset {
|
|
1229
|
+
id: string;
|
|
1230
|
+
projectId: string;
|
|
1231
|
+
subtype: string;
|
|
1232
|
+
url: string | null;
|
|
1233
|
+
thumbUrl?: string | null;
|
|
1234
|
+
mimeType: string | null;
|
|
1235
|
+
prompt: string | null;
|
|
1236
|
+
metadata: Record<string, unknown>;
|
|
1237
|
+
createdAt: string;
|
|
1238
|
+
}
|
|
1239
|
+
/** A Lumitra Social project as `GET /api/v1/social/projects` lists it. */
|
|
1240
|
+
interface SocialProjectSummary {
|
|
1241
|
+
id: string;
|
|
1242
|
+
slug: string;
|
|
1243
|
+
name: string;
|
|
1244
|
+
igHandle?: string | null;
|
|
1245
|
+
defaultLanguage?: string;
|
|
1246
|
+
}
|
|
1247
|
+
/** One send of a post to Lumitra Social. */
|
|
1248
|
+
interface SocialSendView {
|
|
1249
|
+
id: string;
|
|
1250
|
+
status: 'sending' | 'sent' | 'failed';
|
|
1251
|
+
format: string;
|
|
1252
|
+
projectSlug: string;
|
|
1253
|
+
scheduledAt: string | null;
|
|
1254
|
+
postId: string | null;
|
|
1255
|
+
plannerUrl: string;
|
|
1256
|
+
errorCode: string | null;
|
|
1257
|
+
errorMessage: string | null;
|
|
1258
|
+
createdAt: string;
|
|
1259
|
+
}
|
|
1260
|
+
interface CompositionRecord extends CompositionSummary {
|
|
1261
|
+
document: CompositionDocument;
|
|
1262
|
+
}
|
|
950
1263
|
interface JobResponse {
|
|
951
1264
|
job: {
|
|
952
1265
|
id: string;
|
|
@@ -1428,6 +1741,9 @@ declare class StudioClient {
|
|
|
1428
1741
|
budgetUsd?: number;
|
|
1429
1742
|
/** S6b: bypasses a per-key confirmation threshold for this one request. */
|
|
1430
1743
|
confirm?: boolean;
|
|
1744
|
+
/** Runs despite the continuity check of a clip with a start and an end
|
|
1745
|
+
* frame (400 `continuity_mismatch` / `continuity_unchecked` otherwise). */
|
|
1746
|
+
acknowledgeContinuity?: boolean;
|
|
1431
1747
|
}): Promise<RunStartResponse>;
|
|
1432
1748
|
getRun(runId: string): Promise<RunResponse>;
|
|
1433
1749
|
/** Submit a human decision on a parked judge node (P3 J2). Approving
|
|
@@ -1490,6 +1806,8 @@ declare class StudioClient {
|
|
|
1490
1806
|
* creates a character (422 `likeness_rights_confirmation_required`,
|
|
1491
1807
|
* before anything is spent); ignored by a recipe that creates none. */
|
|
1492
1808
|
likenessRightsConfirmed?: true;
|
|
1809
|
+
/** Runs despite the continuity check, as on runWorkflow. */
|
|
1810
|
+
acknowledgeContinuity?: boolean;
|
|
1493
1811
|
}): Promise<{
|
|
1494
1812
|
runId: string;
|
|
1495
1813
|
status: string;
|
|
@@ -1522,6 +1840,70 @@ declare class StudioClient {
|
|
|
1522
1840
|
acknowledgeLossy?: boolean;
|
|
1523
1841
|
projectId?: string;
|
|
1524
1842
|
}): Promise<WorkflowApplyResponse>;
|
|
1843
|
+
/** A brand's kit: colours, the two type sizes, fonts by role, logos by variant, version. */
|
|
1844
|
+
getBrandKit(brandSlug: string): Promise<{
|
|
1845
|
+
kit: BrandKitResponse;
|
|
1846
|
+
}>;
|
|
1847
|
+
listCompositions(opts?: {
|
|
1848
|
+
projectId?: string;
|
|
1849
|
+
}): Promise<{
|
|
1850
|
+
compositions: CompositionSummary[];
|
|
1851
|
+
}>;
|
|
1852
|
+
/** 201 created; 200 with `replayed: true` when a create with this idempotencyKey already made it. */
|
|
1853
|
+
createComposition(body: {
|
|
1854
|
+
kind: 'carousel' | 'reel';
|
|
1855
|
+
brandSlug: string;
|
|
1856
|
+
projectId?: string;
|
|
1857
|
+
aspect?: string;
|
|
1858
|
+
label?: string;
|
|
1859
|
+
ops?: unknown[];
|
|
1860
|
+
idempotencyKey?: string;
|
|
1861
|
+
}): Promise<{
|
|
1862
|
+
composition: CompositionRecord;
|
|
1863
|
+
replayed?: boolean;
|
|
1864
|
+
}>;
|
|
1865
|
+
/** A project's assets, newest first, optionally of one subtype (Image, Video, CarouselSlide, Reel, ...). */
|
|
1866
|
+
listProjectAssets(projectId: string, opts?: {
|
|
1867
|
+
subtype?: string;
|
|
1868
|
+
limit?: number;
|
|
1869
|
+
}): Promise<{
|
|
1870
|
+
assets: ProjectAsset[];
|
|
1871
|
+
}>;
|
|
1872
|
+
getComposition(compositionId: string): Promise<{
|
|
1873
|
+
composition: CompositionRecord;
|
|
1874
|
+
}>;
|
|
1875
|
+
/** 409 stale_revision (with the current composition) or idempotency_mismatch; 422 invalid_patch. */
|
|
1876
|
+
patchComposition(compositionId: string, patch: {
|
|
1877
|
+
baseRevision: number;
|
|
1878
|
+
ops: unknown[];
|
|
1879
|
+
idempotencyKey: string;
|
|
1880
|
+
}): Promise<{
|
|
1881
|
+
composition: CompositionRecord;
|
|
1882
|
+
applied: unknown[];
|
|
1883
|
+
inverse: unknown[];
|
|
1884
|
+
replayed: boolean;
|
|
1885
|
+
}>;
|
|
1886
|
+
/** The company's Lumitra Social projects (409 not_connected / link_broken until an owner connects it in Studio). */
|
|
1887
|
+
listSocialProjects(brandSlug?: string): Promise<{
|
|
1888
|
+
projects: SocialProjectSummary[];
|
|
1889
|
+
lastProjectSlug: string | null;
|
|
1890
|
+
}>;
|
|
1891
|
+
/** Send the rendered post to Lumitra Social; idempotent on `idempotencyKey`. */
|
|
1892
|
+
sendCompositionToSocial(compositionId: string, body: {
|
|
1893
|
+
projectSlug: string;
|
|
1894
|
+
caption?: string;
|
|
1895
|
+
hashtags?: string;
|
|
1896
|
+
scheduledAt?: string | null;
|
|
1897
|
+
idempotencyKey: string;
|
|
1898
|
+
}): Promise<{
|
|
1899
|
+
send: SocialSendView;
|
|
1900
|
+
replayed: boolean;
|
|
1901
|
+
}>;
|
|
1902
|
+
/** Start (or join) a render. 422 not_ready with `reasons`; 429 render_limit or render_busy (a reel of this company is rendering). */
|
|
1903
|
+
renderComposition(compositionId: string): Promise<{
|
|
1904
|
+
jobId: string;
|
|
1905
|
+
reused: boolean;
|
|
1906
|
+
}>;
|
|
1525
1907
|
/** Stateless dry-run of ops and run params against a document. No side effects. */
|
|
1526
1908
|
validateWorkflow(body: {
|
|
1527
1909
|
document: WorkflowDocument;
|
|
@@ -1656,7 +2038,7 @@ declare function registerTools(server: McpServer, base: ToolContext): void;
|
|
|
1656
2038
|
*/
|
|
1657
2039
|
|
|
1658
2040
|
declare const SERVER_NAME = "lumitra-studio";
|
|
1659
|
-
declare const SERVER_VERSION = "0.
|
|
2041
|
+
declare const SERVER_VERSION = "0.8.0";
|
|
1660
2042
|
interface CreateServerOptions {
|
|
1661
2043
|
config?: StudioConfig;
|
|
1662
2044
|
env?: NodeJS.ProcessEnv;
|
|
@@ -3016,4 +3398,4 @@ declare function parseArgs(argv: string[]): CliArgs;
|
|
|
3016
3398
|
declare function createHttpHandler(): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
|
|
3017
3399
|
declare function main(argv?: string[]): Promise<void>;
|
|
3018
3400
|
|
|
3019
|
-
export { type AllTenantsUsageResponse, type Binding, CHARACTER_SHEET_DEFINITION, CHARACTER_SHEET_NODES, type CampaignContents, type CampaignListing, type CandidatePlan, type CharacterReference, type CharacterSummary, type CharacterSwapInput, ConfigError, ContractError, type CreateServerOptions, DEFAULT_BASE_URL, DEFAULT_MOTION_PROMPT, DEFAULT_SWAP_EDIT_MODEL, DEFAULT_SWAP_PROMPT, DEFAULT_SWAP_VIDEO_MODEL, DEFAULT_TIMEOUT_MS, type DocumentSummary, type FetchLike, type GenerateImageResponse, type JobResponse, type JobStatus, type JudgeCandidate, MINT_REFERENCE_CATEGORIES, type NodeResultResponse, type NodeRun, type NodeStatus, type NodeSummary, type NodeTypesResponse, type PollOptions, PollTimeoutError, type ProjectContents, type ProjectSummary, type Projection, type RemovedNode, type RunResponse, type RunStartResponse, type RunStatus, SERVER_NAME, SERVER_VERSION, SUMMARY_TEXT_CHARS, SWAP_SCOPES, type SavedWorkflowListing, type SpendLedger, StudioApiError, StudioClient, type StudioClientOptions, type StudioConfig, type StudioMcp, type SummaryMeta, type SwapPromptOptions, type SwapScope, TOOLS, TOOL_NAMES, type TaskDescriptor, type TenantSpendSummary, type TenantUsageResponse, type ToolContext, type ToolDef, ToolInputError, type ToolResult, type TurnaroundView, type UploadFile, type UsageByModel, type UsageResponse, WORKFLOW_TOOLS, type WorkflowApplyResponse, type WorkflowCreateResponse, type WorkflowDefinition, type WorkflowDocumentResponse, type WorkflowNode, type WorkflowValidateResponse, affectedNodes, buildCharacterSheetParams, buildCharacterSwapDefinition, categoryForNode, characterSheetDefinition, composeSwapPrompt, createHttpHandler, createStudioMcpServer, extensionForMime, filenameFromUrl, invokeTool, main, mimeForFilename, parseArgs, parseDocument, parseOps, pollUntil, projectionOf, redactSecret, registerTools, resolveConfig, seedFacePrompt, studioWorkflowApply, studioWorkflowCreate, studioWorkflowDescribe, studioWorkflowGet, studioWorkflowScreenshot, studioWorkflowValidate, summarizeDocument, summarizeNode, touchedNodeIds, turnaroundViewPrompt, waitForJob, waitForRun };
|
|
3401
|
+
export { type AllTenantsUsageResponse, type Binding, type BrandKitResponse, CHARACTER_SHEET_DEFINITION, CHARACTER_SHEET_NODES, type CampaignContents, type CampaignListing, type CandidatePlan, type CharacterReference, type CharacterSummary, type CharacterSwapInput, type CompositionRecord, type CompositionSummary, ConfigError, ContractError, type CreateServerOptions, DEFAULT_BASE_URL, DEFAULT_MOTION_PROMPT, DEFAULT_SWAP_EDIT_MODEL, DEFAULT_SWAP_PROMPT, DEFAULT_SWAP_VIDEO_MODEL, DEFAULT_TIMEOUT_MS, type DocumentSummary, type FetchLike, type GenerateImageResponse, type JobResponse, type JobStatus, type JudgeCandidate, MINT_REFERENCE_CATEGORIES, type NodeResultResponse, type NodeRun, type NodeStatus, type NodeSummary, type NodeTypesResponse, type PollOptions, PollTimeoutError, type ProjectAsset, type ProjectContents, type ProjectSummary, type Projection, type RemovedNode, type RunResponse, type RunStartResponse, type RunStatus, SERVER_NAME, SERVER_VERSION, SUMMARY_TEXT_CHARS, SWAP_SCOPES, type SavedWorkflowListing, type SocialProjectSummary, type SocialSendView, type SpendLedger, StudioApiError, StudioClient, type StudioClientOptions, type StudioConfig, type StudioMcp, type SummaryMeta, type SwapPromptOptions, type SwapScope, TOOLS, TOOL_NAMES, type TaskDescriptor, type TenantSpendSummary, type TenantUsageResponse, type ToolContext, type ToolDef, ToolInputError, type ToolResult, type TurnaroundView, type UploadFile, type UsageByModel, type UsageResponse, WORKFLOW_TOOLS, type WorkflowApplyResponse, type WorkflowCreateResponse, type WorkflowDefinition, type WorkflowDocumentResponse, type WorkflowNode, type WorkflowValidateResponse, affectedNodes, buildCharacterSheetParams, buildCharacterSwapDefinition, categoryForNode, characterSheetDefinition, composeSwapPrompt, createHttpHandler, createStudioMcpServer, extensionForMime, filenameFromUrl, invokeTool, main, mimeForFilename, parseArgs, parseDocument, parseOps, pollUntil, projectionOf, redactSecret, registerTools, resolveConfig, seedFacePrompt, studioWorkflowApply, studioWorkflowCreate, studioWorkflowDescribe, studioWorkflowGet, studioWorkflowScreenshot, studioWorkflowValidate, summarizeDocument, summarizeNode, touchedNodeIds, turnaroundViewPrompt, waitForJob, waitForRun };
|