@alpic-ai/api 0.0.0-staging.g28e1d21 → 0.0.0-staging.g2e51604

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.mts CHANGED
@@ -935,7 +935,22 @@ declare const platformSchema: z.ZodEnum<{
935
935
  type Platform = z.infer<typeof platformSchema>;
936
936
  declare const PLATFORM_LABELS: Record<Platform, string>;
937
937
  //#endregion
938
+ //#region ../domains/src/projects/schemas.d.ts
939
+ declare const runtimeSchema: z.ZodEnum<{
940
+ "python3.13": "python3.13";
941
+ "python3.14": "python3.14";
942
+ node22: "node22";
943
+ node24: "node24";
944
+ }>;
945
+ declare const transportSchema: z.ZodEnum<{
946
+ stdio: "stdio";
947
+ sse: "sse";
948
+ streamablehttp: "streamablehttp";
949
+ }>;
950
+ //#endregion
938
951
  //#region src/schemas.d.ts
952
+ type Runtime = z.infer<typeof runtimeSchema>;
953
+ type Transport = z.infer<typeof transportSchema>;
939
954
  declare const environmentVariableSchema: z.ZodObject<{
940
955
  key: z.ZodString;
941
956
  value: z.ZodString;
@@ -957,19 +972,6 @@ declare const buildSettingsSchema: z.ZodObject<{
957
972
  buildOutputDir: z.ZodOptional<z.ZodString>;
958
973
  startCommand: z.ZodOptional<z.ZodString>;
959
974
  }, z.core.$strip>;
960
- declare const runtimeSchema: z.ZodEnum<{
961
- "python3.13": "python3.13";
962
- "python3.14": "python3.14";
963
- node22: "node22";
964
- node24: "node24";
965
- }>;
966
- type Runtime = z.infer<typeof runtimeSchema>;
967
- declare const transportSchema: z.ZodEnum<{
968
- stdio: "stdio";
969
- sse: "sse";
970
- streamablehttp: "streamablehttp";
971
- }>;
972
- type Transport = z.infer<typeof transportSchema>;
973
975
  declare const playgroundHeaderSchema: z.ZodObject<{
974
976
  name: z.ZodString;
975
977
  description: z.ZodString;
package/dist/index.mjs CHANGED
@@ -100,6 +100,23 @@ z.object({
100
100
  createdAt: z.coerce.date(),
101
101
  updatedAt: z.coerce.date()
102
102
  });
103
+ z.enum([
104
+ "INFO",
105
+ "WARNING",
106
+ "DEBUG",
107
+ "ERROR"
108
+ ]);
109
+ const runtimeSchema = z.enum([
110
+ "python3.13",
111
+ "python3.14",
112
+ "node22",
113
+ "node24"
114
+ ]);
115
+ const transportSchema = z.enum([
116
+ "stdio",
117
+ "sse",
118
+ "streamablehttp"
119
+ ]);
103
120
  const toolDefinitionSchema = z.object({
104
121
  name: z.string(),
105
122
  title: z.string().optional().describe("Human-friendly name for the tool, used in the UI. If not provided, `name` will be used."),
@@ -464,17 +481,6 @@ const buildSettingsSchema = z.object({
464
481
  buildOutputDir: z.string().optional(),
465
482
  startCommand: z.string().optional()
466
483
  });
467
- const runtimeSchema = z.enum([
468
- "python3.13",
469
- "python3.14",
470
- "node22",
471
- "node24"
472
- ]);
473
- const transportSchema = z.enum([
474
- "stdio",
475
- "sse",
476
- "streamablehttp"
477
- ]);
478
484
  const playgroundHeaderSchema = z.object({
479
485
  name: z.string().min(1).max(100),
480
486
  description: z.string().max(200),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "0.0.0-staging.g28e1d21",
3
+ "version": "0.0.0-staging.g2e51604",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",