@alpic-ai/api 1.113.2 → 1.115.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
@@ -856,6 +856,8 @@ declare const contract: {
856
856
  durationMs: z.ZodNumber;
857
857
  results: z.ZodArray<z.ZodObject<{
858
858
  checkId: z.ZodString;
859
+ checkName: z.ZodString;
860
+ description: z.ZodString;
859
861
  status: z.ZodEnum<{
860
862
  pending: "pending";
861
863
  pass: "pass";
@@ -997,6 +999,8 @@ declare const checkDetailSchema: z.ZodObject<{
997
999
  type CheckDetail = z.infer<typeof checkDetailSchema>;
998
1000
  declare const checkResultSchema: z.ZodObject<{
999
1001
  checkId: z.ZodString;
1002
+ checkName: z.ZodString;
1003
+ description: z.ZodString;
1000
1004
  status: z.ZodEnum<{
1001
1005
  pending: "pending";
1002
1006
  pass: "pass";
@@ -1044,6 +1048,8 @@ declare const auditReportSchema: z.ZodObject<{
1044
1048
  durationMs: z.ZodNumber;
1045
1049
  results: z.ZodArray<z.ZodObject<{
1046
1050
  checkId: z.ZodString;
1051
+ checkName: z.ZodString;
1052
+ description: z.ZodString;
1047
1053
  status: z.ZodEnum<{
1048
1054
  pending: "pending";
1049
1055
  pass: "pass";
package/dist/index.mjs CHANGED
@@ -35,7 +35,8 @@ const RESERVED_KEYS = [
35
35
  "BUILD_ARG_BUILD_OUTPUT_DIR",
36
36
  "BUILD_ARG_START_COMMAND",
37
37
  "ALPIC_HOST",
38
- "ALPIC_CUSTOM_DOMAINS"
38
+ "ALPIC_CUSTOM_DOMAINS",
39
+ "ALPIC_PROMPT_META_KEY"
39
40
  ];
40
41
  const environmentVariableSchema = z.object({
41
42
  key: z.string().min(2, "Key must be at least 2 characters").regex(/^[a-zA-Z]([a-zA-Z0-9_])+$/, "Key must start with a letter and contain only letters, numbers, and underscores").refine((key) => !RESERVED_KEYS.includes(key), "This key is reserved and cannot be used as an environment variable key"),
@@ -90,6 +91,8 @@ const checkDetailSchema = z.object({
90
91
  });
91
92
  const checkResultSchema = z.object({
92
93
  checkId: z.string(),
94
+ checkName: z.string(),
95
+ description: z.string(),
93
96
  status: z.enum([
94
97
  "pass",
95
98
  "fail",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.113.2",
3
+ "version": "1.115.0",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -25,8 +25,8 @@
25
25
  "@total-typescript/tsconfig": "^1.0.4",
26
26
  "@types/ms": "^2.1.0",
27
27
  "shx": "^0.4.0",
28
- "tsdown": "^0.21.7",
29
- "typescript": "^6.0.2",
28
+ "tsdown": "^0.21.9",
29
+ "typescript": "^6.0.3",
30
30
  "vitest": "^4.1.4"
31
31
  },
32
32
  "scripts": {