@vibes.diy/api-types 14.1.26 → 14.1.27

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/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from "./vibes-types.js";
28
28
  export * from "./screen-shotter.js";
29
29
  export * from "./screenshot-capture-token.js";
30
30
  export * from "./embed-param.js";
31
+ export * from "./iframe-src-params.js";
31
32
  export * from "./tracking-params.js";
32
33
  export * from "./vibes-diy-api.js";
33
34
  export * from "./invite.js";
package/index.js CHANGED
@@ -27,6 +27,7 @@ export * from "./vibes-types.js";
27
27
  export * from "./screen-shotter.js";
28
28
  export * from "./screenshot-capture-token.js";
29
29
  export * from "./embed-param.js";
30
+ export * from "./iframe-src-params.js";
30
31
  export * from "./tracking-params.js";
31
32
  export * from "./vibes-diy-api.js";
32
33
  export * from "./invite.js";
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../jsr/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBA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AAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AAQrC,MAAM,UAAU,eAAe,CAAC,MAAmB;IACjD,OAAO,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC;AACpC,CAAC;AACD,MAAM,UAAU,gBAAgB,CAAC,MAAmB;IAClD,OAAO,MAAM,CAAC,IAAI,KAAK,WAAW,CAAC;AACrC,CAAC;AAUD,MAAM,UAAU,qBAAqB,CAAC,MAAmB;IACvD,OAAO,MAAM,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAC1C,CAAC;AAqDD,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
package/invite.d.ts CHANGED
@@ -887,6 +887,96 @@ export declare const ActiveSeedControl: import("arktype/internal/variants/object
887
887
  export type ActiveSeedControl = typeof ActiveSeedControl.infer;
888
888
  export declare function isActiveSeedControl(obj: unknown): obj is ActiveSeedControl;
889
889
  export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
890
+ type: "active.style";
891
+ palette?: {
892
+ hues: [number, ({
893
+ mode: "derived";
894
+ } | {
895
+ mode: "pinned";
896
+ h: number;
897
+ } | undefined)?, ({
898
+ mode: "derived";
899
+ } | {
900
+ mode: "pinned";
901
+ h: number;
902
+ } | undefined)?];
903
+ character: {
904
+ chroma: number;
905
+ contrast: number;
906
+ neutralTint: number;
907
+ surfaceLift: number;
908
+ fillLevel: number;
909
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
910
+ };
911
+ } | undefined;
912
+ font?: string | undefined;
913
+ ornament?: {
914
+ pad: {
915
+ x: number;
916
+ y: number;
917
+ };
918
+ pins?: {
919
+ spacing?: string | undefined;
920
+ "font-size-base"?: string | undefined;
921
+ radius?: string | undefined;
922
+ "radius-sm"?: string | undefined;
923
+ "radius-lg"?: string | undefined;
924
+ "border-width"?: string | undefined;
925
+ shadow?: string | undefined;
926
+ "shadow-sm"?: string | undefined;
927
+ "shadow-lg"?: string | undefined;
928
+ "letter-spacing"?: string | undefined;
929
+ "letter-spacing-wide"?: string | undefined;
930
+ "font-weight"?: string | undefined;
931
+ "text-transform"?: string | undefined;
932
+ } | undefined;
933
+ } | undefined;
934
+ } | {
935
+ type: "draft.style";
936
+ palette?: {
937
+ hues: [number, ({
938
+ mode: "derived";
939
+ } | {
940
+ mode: "pinned";
941
+ h: number;
942
+ } | undefined)?, ({
943
+ mode: "derived";
944
+ } | {
945
+ mode: "pinned";
946
+ h: number;
947
+ } | undefined)?];
948
+ character: {
949
+ chroma: number;
950
+ contrast: number;
951
+ neutralTint: number;
952
+ surfaceLift: number;
953
+ fillLevel: number;
954
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
955
+ };
956
+ } | undefined;
957
+ font?: string | undefined;
958
+ ornament?: {
959
+ pad: {
960
+ x: number;
961
+ y: number;
962
+ };
963
+ pins?: {
964
+ spacing?: string | undefined;
965
+ "font-size-base"?: string | undefined;
966
+ radius?: string | undefined;
967
+ "radius-sm"?: string | undefined;
968
+ "radius-lg"?: string | undefined;
969
+ "border-width"?: string | undefined;
970
+ shadow?: string | undefined;
971
+ "shadow-sm"?: string | undefined;
972
+ "shadow-lg"?: string | undefined;
973
+ "letter-spacing"?: string | undefined;
974
+ "letter-spacing-wide"?: string | undefined;
975
+ "font-weight"?: string | undefined;
976
+ "text-transform"?: string | undefined;
977
+ } | undefined;
978
+ } | undefined;
979
+ } | {
890
980
  type: "app.public.access";
891
981
  enable: boolean;
892
982
  tick?: {
@@ -1181,96 +1271,6 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1181
1271
  type: "active.seed-control";
1182
1272
  dontRun?: boolean | undefined;
1183
1273
  suppressed?: string[] | undefined;
1184
- } | {
1185
- type: "active.style";
1186
- palette?: {
1187
- hues: [number, ({
1188
- mode: "derived";
1189
- } | {
1190
- mode: "pinned";
1191
- h: number;
1192
- } | undefined)?, ({
1193
- mode: "derived";
1194
- } | {
1195
- mode: "pinned";
1196
- h: number;
1197
- } | undefined)?];
1198
- character: {
1199
- chroma: number;
1200
- contrast: number;
1201
- neutralTint: number;
1202
- surfaceLift: number;
1203
- fillLevel: number;
1204
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1205
- };
1206
- } | undefined;
1207
- font?: string | undefined;
1208
- ornament?: {
1209
- pad: {
1210
- x: number;
1211
- y: number;
1212
- };
1213
- pins?: {
1214
- spacing?: string | undefined;
1215
- "font-size-base"?: string | undefined;
1216
- radius?: string | undefined;
1217
- "radius-sm"?: string | undefined;
1218
- "radius-lg"?: string | undefined;
1219
- "border-width"?: string | undefined;
1220
- shadow?: string | undefined;
1221
- "shadow-sm"?: string | undefined;
1222
- "shadow-lg"?: string | undefined;
1223
- "letter-spacing"?: string | undefined;
1224
- "letter-spacing-wide"?: string | undefined;
1225
- "font-weight"?: string | undefined;
1226
- "text-transform"?: string | undefined;
1227
- } | undefined;
1228
- } | undefined;
1229
- } | {
1230
- type: "draft.style";
1231
- palette?: {
1232
- hues: [number, ({
1233
- mode: "derived";
1234
- } | {
1235
- mode: "pinned";
1236
- h: number;
1237
- } | undefined)?, ({
1238
- mode: "derived";
1239
- } | {
1240
- mode: "pinned";
1241
- h: number;
1242
- } | undefined)?];
1243
- character: {
1244
- chroma: number;
1245
- contrast: number;
1246
- neutralTint: number;
1247
- surfaceLift: number;
1248
- fillLevel: number;
1249
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1250
- };
1251
- } | undefined;
1252
- font?: string | undefined;
1253
- ornament?: {
1254
- pad: {
1255
- x: number;
1256
- y: number;
1257
- };
1258
- pins?: {
1259
- spacing?: string | undefined;
1260
- "font-size-base"?: string | undefined;
1261
- radius?: string | undefined;
1262
- "radius-sm"?: string | undefined;
1263
- "radius-lg"?: string | undefined;
1264
- "border-width"?: string | undefined;
1265
- shadow?: string | undefined;
1266
- "shadow-sm"?: string | undefined;
1267
- "shadow-lg"?: string | undefined;
1268
- "letter-spacing"?: string | undefined;
1269
- "letter-spacing-wide"?: string | undefined;
1270
- "font-weight"?: string | undefined;
1271
- "text-transform"?: string | undefined;
1272
- } | undefined;
1273
- } | undefined;
1274
1274
  } | {
1275
1275
  type: "active.db-acl";
1276
1276
  dbName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.1.26",
3
+ "version": "14.1.27",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -17,9 +17,9 @@
17
17
  "dependencies": {
18
18
  "@adviser/cement": "~0.5.34",
19
19
  "@cloudflare/workers-types": "~5.20260906.1",
20
- "@vibes.diy/call-ai-v2": "14.1.26",
21
- "@vibes.diy/identity": "14.1.26",
22
- "@vibes.diy/vibe-types": "14.1.26",
20
+ "@vibes.diy/call-ai-v2": "14.1.27",
21
+ "@vibes.diy/identity": "14.1.27",
22
+ "@vibes.diy/vibe-types": "14.1.27",
23
23
  "arktype": "~2.2.3"
24
24
  },
25
25
  "repository": {
@@ -15,6 +15,7 @@ export declare const BOOT_ERROR_EVENT_TYPE = "vibe.evt.boot-error";
15
15
  export declare const BOOT_STATS_EVENT_TYPE = "vibe.evt.boot-stats";
16
16
  export declare const WEB_VITALS_EVENT_TYPE = "vibe.evt.web-vitals";
17
17
  export declare const CPU_BUSY_EVENT_TYPE = "vibe.evt.cpu-busy";
18
+ export declare const LOCAL_WRITES_EVENT_TYPE = "vibe.evt.local-writes";
18
19
  export declare const SCREENSHOT_MODE_PARAM = "screenshot";
19
20
  export declare function isScreenshotModeSearch(search: string): boolean;
20
21
  export declare const SCREENSHOT_CAPTURE_PARAM = "sc";
package/screen-shotter.js CHANGED
@@ -18,6 +18,7 @@ export const BOOT_ERROR_EVENT_TYPE = "vibe.evt.boot-error";
18
18
  export const BOOT_STATS_EVENT_TYPE = "vibe.evt.boot-stats";
19
19
  export const WEB_VITALS_EVENT_TYPE = "vibe.evt.web-vitals";
20
20
  export const CPU_BUSY_EVENT_TYPE = "vibe.evt.cpu-busy";
21
+ export const LOCAL_WRITES_EVENT_TYPE = "vibe.evt.local-writes";
21
22
  export const SCREENSHOT_MODE_PARAM = "screenshot";
22
23
  export function isScreenshotModeSearch(search) {
23
24
  return new URLSearchParams(search).has(SCREENSHOT_MODE_PARAM);
@@ -1 +1 @@
1
- {"version":3,"file":"screen-shotter.js","sourceRoot":"","sources":["../jsr/screen-shotter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAC3C,IAAI,CAAC;IACH,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,QAAQ;CACf,CAAC,CACH,CAAC;AAIF,MAAM,UAAU,iBAAiB,CAAC,GAAY;IAC5C,OAAO,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC;AASD,MAAM,CAAC,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AAYzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAC7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAAC;AAW/D,MAAM,CAAC,MAAM,wBAAwB,GAAG,wBAAwB,CAAC;AAajE,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAYzD,MAAM,CAAC,MA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