@vibes.diy/api-types 14.3.331 → 14.3.332

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/agent-tools.d.ts CHANGED
@@ -63,6 +63,7 @@ export declare const agentBuildDispatched: import("arktype/internal/variants/obj
63
63
  chatId: string;
64
64
  ownerHandle: string;
65
65
  appSlug: string;
66
+ appUrl?: string | undefined;
66
67
  promptId?: string | undefined;
67
68
  handleId?: string | undefined;
68
69
  busy?: boolean | undefined;
package/agent-tools.js CHANGED
@@ -62,6 +62,7 @@ export const agentBuildDispatched = lazyType(() => type({
62
62
  chatId: "string",
63
63
  ownerHandle: "string",
64
64
  appSlug: "string",
65
+ "appUrl?": "string",
65
66
  "promptId?": "string",
66
67
  "handleId?": "string",
67
68
  "busy?": "boolean",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.3.331",
3
+ "version": "14.3.332",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -25,9 +25,9 @@
25
25
  "dependencies": {
26
26
  "@adviser/cement": "~0.5.37",
27
27
  "@cloudflare/workers-types": "~5.20261101.1",
28
- "@vibes.diy/call-ai-v2": "14.3.331",
29
- "@vibes.diy/identity": "14.3.331",
30
- "@vibes.diy/vibe-types": "14.3.331",
28
+ "@vibes.diy/call-ai-v2": "14.3.332",
29
+ "@vibes.diy/identity": "14.3.332",
30
+ "@vibes.diy/vibe-types": "14.3.332",
31
31
  "arktype": "~2.2.9"
32
32
  },
33
33
  "repository": {
package/settings.d.ts CHANGED
@@ -355,6 +355,15 @@ export declare const userSettingAppHistoryHidden: import("arktype/internal/varia
355
355
  }, {}>;
356
356
  export type UserSettingAppHistoryHidden = typeof userSettingAppHistoryHidden.infer;
357
357
  export declare function isUserSettingAppHistoryHidden(obj: unknown): obj is UserSettingAppHistoryHidden;
358
+ export declare const userSettingCreditMilestones: import("arktype/internal/variants/object.ts").ObjectType<{
359
+ type: "creditMilestones";
360
+ cycle: string;
361
+ thresholds: number[];
362
+ updatedAt: string;
363
+ claimId?: string | undefined;
364
+ }, {}>;
365
+ export type UserSettingCreditMilestones = typeof userSettingCreditMilestones.infer;
366
+ export declare function isUserSettingCreditMilestones(obj: unknown): obj is UserSettingCreditMilestones;
358
367
  export declare const userSettingItem: import("arktype/internal/variants/object.ts").ObjectType<{
359
368
  type: "sharing";
360
369
  grants: {
@@ -615,6 +624,12 @@ export declare const userSettingItem: import("arktype/internal/variants/object.t
615
624
  }[];
616
625
  clearedAt?: string | undefined;
617
626
  updatedAt: string;
627
+ } | {
628
+ type: "creditMilestones";
629
+ cycle: string;
630
+ thresholds: number[];
631
+ updatedAt: string;
632
+ claimId?: string | undefined;
618
633
  } | ((In: {
619
634
  type: "defaultUserSlug";
620
635
  userSlug: string;
@@ -889,6 +904,12 @@ export declare const reqEnsureUserSettings: import("arktype/internal/variants/ob
889
904
  }[];
890
905
  clearedAt?: string | undefined;
891
906
  updatedAt: string;
907
+ } | {
908
+ type: "creditMilestones";
909
+ cycle: string;
910
+ thresholds: number[];
911
+ updatedAt: string;
912
+ claimId?: string | undefined;
892
913
  } | ((In: {
893
914
  type: "defaultUserSlug";
894
915
  userSlug: string;
@@ -1161,6 +1182,12 @@ export declare const resEnsureUserSettings: import("arktype/internal/variants/ob
1161
1182
  }[];
1162
1183
  clearedAt?: string | undefined;
1163
1184
  updatedAt: string;
1185
+ } | {
1186
+ type: "creditMilestones";
1187
+ cycle: string;
1188
+ thresholds: number[];
1189
+ updatedAt: string;
1190
+ claimId?: string | undefined;
1164
1191
  } | ((In: {
1165
1192
  type: "defaultUserSlug";
1166
1193
  userSlug: string;
package/settings.js CHANGED
@@ -283,6 +283,16 @@ export const userSettingAppHistoryHidden = lazyType(() => type({
283
283
  export function isUserSettingAppHistoryHidden(obj) {
284
284
  return userSettingAppHistoryHidden.allows(obj);
285
285
  }
286
+ export const userSettingCreditMilestones = lazyType(() => type({
287
+ type: "'creditMilestones'",
288
+ cycle: "string",
289
+ thresholds: "number[]",
290
+ updatedAt: "string",
291
+ "claimId?": "string",
292
+ }));
293
+ export function isUserSettingCreditMilestones(obj) {
294
+ return userSettingCreditMilestones.allows(obj);
295
+ }
286
296
  export const userSettingItem = lazyType(() => userSettingShareing
287
297
  .or(userSettingModelDefaults)
288
298
  .or(userSettingDefaultHandle)
@@ -305,7 +315,8 @@ export const userSettingItem = lazyType(() => userSettingShareing
305
315
  .or(userSettingGroupChats)
306
316
  .or(userSettingGroupRoster)
307
317
  .or(userSettingTermsAck)
308
- .or(userSettingAppHistoryHidden));
318
+ .or(userSettingAppHistoryHidden)
319
+ .or(userSettingCreditMilestones));
309
320
  export const reqEnsureUserSettings = lazyType(() => type({
310
321
  type: "'vibes.diy.req-ensure-user-settings'",
311
322
  auth: dashAuthType,