@alpic-ai/api 1.127.0 → 1.127.1

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
@@ -927,7 +927,7 @@ declare const contract: {
927
927
  type RouterInput = InferContractRouterInputs<typeof contract>;
928
928
  type RouterOutput = InferContractRouterOutputs<typeof contract>;
929
929
  //#endregion
930
- //#region ../domains/src/beacon/schemas.d.ts
930
+ //#region ../domains/src/platforms/schemas.d.ts
931
931
  declare const platformSchema: z.ZodEnum<{
932
932
  chatgpt: "chatgpt";
933
933
  claudeai: "claudeai";
package/dist/index.mjs CHANGED
@@ -1,18 +1,17 @@
1
1
  import { z } from "zod";
2
2
  import { oc } from "@orpc/contract";
3
3
  import ms from "ms";
4
- //#region ../domains/dist/index.mjs
4
+ const platformSchema = z.enum(["chatgpt", "claudeai"]);
5
+ const PLATFORM_LABELS = {
6
+ chatgpt: "ChatGPT",
7
+ claudeai: "Claude.ai"
8
+ };
5
9
  const auditStatusSchema = z.enum([
6
10
  "pending",
7
11
  "partial",
8
12
  "completed",
9
13
  "failed"
10
14
  ]);
11
- const platformSchema = z.enum(["chatgpt", "claudeai"]);
12
- const PLATFORM_LABELS = {
13
- chatgpt: "ChatGPT",
14
- claudeai: "Claude.ai"
15
- };
16
15
  const checkSeveritySchema = z.enum([
17
16
  "error",
18
17
  "warning",
@@ -108,7 +107,7 @@ const RESERVED_KEYS = [
108
107
  "BUILD_ARG_START_COMMAND",
109
108
  "ALPIC_HOST",
110
109
  "ALPIC_CUSTOM_DOMAINS",
111
- "ALPIC_PROMPT_META_KEY"
110
+ "ALPIC_INTENT_META_KEY"
112
111
  ];
113
112
  const environmentVariableSchema = z.object({
114
113
  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"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.127.0",
3
+ "version": "1.127.1",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",