@alpic-ai/api 1.152.0 → 1.153.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.mts CHANGED
@@ -225,6 +225,17 @@ declare const contract: {
225
225
  v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
226
226
  environmentId: z.ZodString;
227
227
  token: z.ZodOptional<z.ZodString>;
228
+ settings: z.ZodOptional<z.ZodObject<{
229
+ installCommand: z.ZodOptional<z.ZodString>;
230
+ buildCommand: z.ZodOptional<z.ZodString>;
231
+ buildOutputDir: z.ZodOptional<z.ZodString>;
232
+ startCommand: z.ZodOptional<z.ZodString>;
233
+ transport: z.ZodEnum<{
234
+ stdio: "stdio";
235
+ sse: "sse";
236
+ streamablehttp: "streamablehttp";
237
+ }>;
238
+ }, z.core.$strip>>;
228
239
  }, z.core.$strip>, z.ZodObject<{
229
240
  id: z.ZodString;
230
241
  status: z.ZodEnum<{
package/dist/index.mjs CHANGED
@@ -1544,7 +1544,8 @@ const deployEnvironmentContractV1 = oc.route({
1544
1544
  BAD_REQUEST: {}
1545
1545
  }).input(z.object({
1546
1546
  environmentId: z.string().describe("The ID of the environment to deploy"),
1547
- token: z.string().describe("The token to identify the source archive").optional()
1547
+ token: z.string().describe("The token to identify the source archive").optional(),
1548
+ settings: buildSettingsSchema.extend({ transport: transportSchema }).optional().describe("Project settings detected by the client from the source. When provided, the server skips downloading and extracting the source archive to detect them.")
1548
1549
  })).output(deploymentSchema);
1549
1550
  const uploadDeploymentArtifactContractV1 = oc.route({
1550
1551
  path: "/v1/deployments/upload",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.152.0",
3
+ "version": "1.153.0",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",