@marlinjai/studio-mcp 0.5.0 → 0.6.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/index.d.ts CHANGED
@@ -86,8 +86,8 @@ declare const DocNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
86
86
  video: "video";
87
87
  audio: "audio";
88
88
  text: "text";
89
- mesh3d: "mesh3d";
90
89
  json: "json";
90
+ mesh3d: "mesh3d";
91
91
  }>;
92
92
  required: z.ZodDefault<z.ZodBoolean>;
93
93
  cardinality: z.ZodOptional<z.ZodEnum<{
@@ -175,8 +175,8 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
175
175
  video: "video";
176
176
  audio: "audio";
177
177
  text: "text";
178
- mesh3d: "mesh3d";
179
178
  json: "json";
179
+ mesh3d: "mesh3d";
180
180
  }>;
181
181
  required: z.ZodDefault<z.ZodBoolean>;
182
182
  cardinality: z.ZodOptional<z.ZodEnum<{
@@ -196,9 +196,9 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
196
196
  video: "video";
197
197
  audio: "audio";
198
198
  text: "text";
199
+ json: "json";
199
200
  mask: "mask";
200
201
  mesh3d: "mesh3d";
201
- json: "json";
202
202
  }>;
203
203
  }, z.core.$strip>>;
204
204
  layout: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -232,6 +232,7 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
232
232
  }, z.core.$strip>>;
233
233
  }, z.core.$strip>;
234
234
  type WorkflowDocument = z.infer<typeof WorkflowDocumentSchema>;
235
+
235
236
  declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
236
237
  type: z.ZodLiteral<"addNode">;
237
238
  node: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1087,23 +1088,28 @@ interface TenantUsageResponse {
1087
1088
  month: string;
1088
1089
  plan: string;
1089
1090
  /** `null` = no monthly cap: an operator-set unlimited plan, or a company on
1090
- * prepaid credits, whose balance is the cap (see `credits`). */
1091
+ * prepaid credits, whose balance is the cap (see `credits`). Always null on
1092
+ * credits since 2026-10-11. */
1091
1093
  capUsd: number | null;
1092
- /** A company on prepaid credits: its balance, its daily limit (null: none)
1093
- * and what left the balance today, all in US dollars of credit. Null for a
1094
- * company not on credits; absent from a Studio older than 2026-10-10. */
1094
+ /** A company on prepaid credits: its balance, its daily limit (null: none),
1095
+ * what left the balance today, and whether the Lumitra operator set a
1096
+ * monthly limit on top (`operatorMonthlyLimit`, absent from a Studio older
1097
+ * than 2026-10-11; its amount is not reported). Null for a company not on
1098
+ * credits; absent from a Studio older than 2026-10-10. */
1095
1099
  credits?: {
1096
1100
  balanceUsd: number;
1097
1101
  dailyLimitUsd: number | null;
1098
1102
  usedTodayUsd: number;
1099
1103
  dailyResetsAt: string;
1104
+ operatorMonthlyLimit?: boolean;
1100
1105
  } | null;
1101
1106
  /** `default`: no plan of its own, the default cap applies. `row`: an
1102
1107
  * operator-set plan. Absent from a Studio older than 2026-09-23. */
1103
1108
  capSource?: 'row' | 'default';
1104
1109
  rpm: number | null;
1105
- /** Realized + in-flight estimated: the same total the quota guard checks
1106
- * against and a 402 body's `usedUsd` reports. */
1110
+ /** Realized + in-flight estimated, in what the company paid: for a company
1111
+ * on prepaid credits what left and will leave its balance for the month's
1112
+ * jobs, otherwise the total the quota guard checks its cap against. */
1107
1113
  usedUsd: number;
1108
1114
  realizedUsd: number;
1109
1115
  inFlightEstimatedUsd: number;
@@ -1545,7 +1551,7 @@ declare function registerTools(server: McpServer, ctx: ToolContext): void;
1545
1551
  */
1546
1552
 
1547
1553
  declare const SERVER_NAME = "lumitra-studio";
1548
- declare const SERVER_VERSION = "0.5.0";
1554
+ declare const SERVER_VERSION = "0.6.0";
1549
1555
  interface CreateServerOptions {
1550
1556
  config?: StudioConfig;
1551
1557
  env?: NodeJS.ProcessEnv;
@@ -2265,8 +2271,8 @@ declare const studioWorkflowValidate: ToolDef<{
2265
2271
  video: "video";
2266
2272
  audio: "audio";
2267
2273
  text: "text";
2268
- mesh3d: "mesh3d";
2269
2274
  json: "json";
2275
+ mesh3d: "mesh3d";
2270
2276
  }>;
2271
2277
  required: z.ZodDefault<z.ZodBoolean>;
2272
2278
  cardinality: z.ZodOptional<z.ZodEnum<{
@@ -2286,9 +2292,9 @@ declare const studioWorkflowValidate: ToolDef<{
2286
2292
  video: "video";
2287
2293
  audio: "audio";
2288
2294
  text: "text";
2295
+ json: "json";
2289
2296
  mask: "mask";
2290
2297
  mesh3d: "mesh3d";
2291
- json: "json";
2292
2298
  }>;
2293
2299
  }, z.core.$strip>>;
2294
2300
  layout: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{