@vibes.diy/api-types 14.1.24 → 14.1.26
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/app.d.ts +8 -0
- package/cf-env.d.ts +4 -0
- package/chat.d.ts +40 -0
- package/embed-param.d.ts +4 -0
- package/embed-param.js +5 -0
- package/embed-param.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/invite-flow.d.ts +152 -152
- package/package.json +4 -4
- package/prompt.d.ts +19 -0
- package/prompt.js +17 -0
- package/prompt.js.map +1 -1
- package/retention-steps.d.ts +2 -0
- package/retention-steps.js +22 -14
- package/retention-steps.js.map +1 -1
- package/vibes-diy-serv-ctx.d.ts +1 -3
- package/vibes-diy-serv-ctx.js +1 -3
- package/vibes-diy-serv-ctx.js.map +1 -1
package/app.d.ts
CHANGED
|
@@ -1089,6 +1089,14 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
|
|
|
1089
1089
|
name: string;
|
|
1090
1090
|
path?: string | undefined;
|
|
1091
1091
|
}[];
|
|
1092
|
+
} | {
|
|
1093
|
+
streamId: string;
|
|
1094
|
+
chatId: string;
|
|
1095
|
+
seq: number;
|
|
1096
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1097
|
+
type: "prompt.notice";
|
|
1098
|
+
kind: "edits-incomplete";
|
|
1099
|
+
path?: string | undefined;
|
|
1092
1100
|
} | {
|
|
1093
1101
|
type: "prompt.research";
|
|
1094
1102
|
version: 1;
|
package/cf-env.d.ts
CHANGED
|
@@ -72,6 +72,10 @@ export interface CFEnv {
|
|
|
72
72
|
VIBES_THREADS_APP_CLIENT_SECRET?: string;
|
|
73
73
|
VIBES_INSTAGRAM_APP_CLIENT_ID?: string;
|
|
74
74
|
VIBES_INSTAGRAM_APP_CLIENT_SECRET?: string;
|
|
75
|
+
VIBES_TIKTOK_APP_CLIENT_ID?: string;
|
|
76
|
+
VIBES_TIKTOK_APP_CLIENT_SECRET?: string;
|
|
77
|
+
VIBES_LINKEDIN_APP_CLIENT_ID?: string;
|
|
78
|
+
VIBES_LINKEDIN_APP_CLIENT_SECRET?: string;
|
|
75
79
|
APNS_TEAM_ID?: string;
|
|
76
80
|
APNS_KEY_ID?: string;
|
|
77
81
|
APNS_PRIVATE_KEY?: string;
|
package/chat.d.ts
CHANGED
|
@@ -1900,6 +1900,14 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1900
1900
|
name: string;
|
|
1901
1901
|
path?: string | undefined;
|
|
1902
1902
|
}[];
|
|
1903
|
+
} | {
|
|
1904
|
+
streamId: string;
|
|
1905
|
+
chatId: string;
|
|
1906
|
+
seq: number;
|
|
1907
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1908
|
+
type: "prompt.notice";
|
|
1909
|
+
kind: "edits-incomplete";
|
|
1910
|
+
path?: string | undefined;
|
|
1903
1911
|
} | {
|
|
1904
1912
|
type: "prompt.research";
|
|
1905
1913
|
version: 1;
|
|
@@ -2502,6 +2510,14 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2502
2510
|
name: string;
|
|
2503
2511
|
path?: string | undefined;
|
|
2504
2512
|
}[];
|
|
2513
|
+
} | {
|
|
2514
|
+
streamId: string;
|
|
2515
|
+
chatId: string;
|
|
2516
|
+
seq: number;
|
|
2517
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2518
|
+
type: "prompt.notice";
|
|
2519
|
+
kind: "edits-incomplete";
|
|
2520
|
+
path?: string | undefined;
|
|
2505
2521
|
} | {
|
|
2506
2522
|
type: "prompt.research";
|
|
2507
2523
|
version: 1;
|
|
@@ -3116,6 +3132,14 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3116
3132
|
name: string;
|
|
3117
3133
|
path?: string | undefined;
|
|
3118
3134
|
}[];
|
|
3135
|
+
} | {
|
|
3136
|
+
streamId: string;
|
|
3137
|
+
chatId: string;
|
|
3138
|
+
seq: number;
|
|
3139
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3140
|
+
type: "prompt.notice";
|
|
3141
|
+
kind: "edits-incomplete";
|
|
3142
|
+
path?: string | undefined;
|
|
3119
3143
|
} | {
|
|
3120
3144
|
type: "prompt.research";
|
|
3121
3145
|
version: 1;
|
|
@@ -3720,6 +3744,14 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3720
3744
|
name: string;
|
|
3721
3745
|
path?: string | undefined;
|
|
3722
3746
|
}[];
|
|
3747
|
+
} | {
|
|
3748
|
+
streamId: string;
|
|
3749
|
+
chatId: string;
|
|
3750
|
+
seq: number;
|
|
3751
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3752
|
+
type: "prompt.notice";
|
|
3753
|
+
kind: "edits-incomplete";
|
|
3754
|
+
path?: string | undefined;
|
|
3723
3755
|
} | {
|
|
3724
3756
|
type: "prompt.research";
|
|
3725
3757
|
version: 1;
|
|
@@ -4330,6 +4362,14 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4330
4362
|
name: string;
|
|
4331
4363
|
path?: string | undefined;
|
|
4332
4364
|
}[];
|
|
4365
|
+
} | {
|
|
4366
|
+
streamId: string;
|
|
4367
|
+
chatId: string;
|
|
4368
|
+
seq: number;
|
|
4369
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4370
|
+
type: "prompt.notice";
|
|
4371
|
+
kind: "edits-incomplete";
|
|
4372
|
+
path?: string | undefined;
|
|
4333
4373
|
} | {
|
|
4334
4374
|
type: "prompt.research";
|
|
4335
4375
|
version: 1;
|
package/embed-param.d.ts
ADDED
package/embed-param.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed-param.js","sourceRoot":"","sources":["../jsr/embed-param.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAK7C,MAAM,UAAU,qBAAqB,CAAC,GAA4C;IAChF,OAAO,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAK,GAAG,CAAC;AACxD,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./audience-arms-msg.js";
|
|
|
27
27
|
export * from "./vibes-types.js";
|
|
28
28
|
export * from "./screen-shotter.js";
|
|
29
29
|
export * from "./screenshot-capture-token.js";
|
|
30
|
+
export * from "./embed-param.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
CHANGED
|
@@ -26,6 +26,7 @@ export * from "./audience-arms-msg.js";
|
|
|
26
26
|
export * from "./vibes-types.js";
|
|
27
27
|
export * from "./screen-shotter.js";
|
|
28
28
|
export * from "./screenshot-capture-token.js";
|
|
29
|
+
export * from "./embed-param.js";
|
|
29
30
|
export * from "./tracking-params.js";
|
|
30
31
|
export * from "./vibes-diy-api.js";
|
|
31
32
|
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,kBAA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C,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,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-flow.d.ts
CHANGED
|
@@ -8,53 +8,6 @@ export declare const KeyGrantKey: import("arktype/internal/variants/object.ts").
|
|
|
8
8
|
export type KeyGrantKey = typeof KeyGrantKey.infer;
|
|
9
9
|
export declare const ResKeyGrantItem: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
10
10
|
entry: {
|
|
11
|
-
type: "app.acl.active.request";
|
|
12
|
-
role: "viewer";
|
|
13
|
-
state: "pending";
|
|
14
|
-
request: {
|
|
15
|
-
key: string;
|
|
16
|
-
provider: "clerk" | "github" | "google";
|
|
17
|
-
msg?: string | undefined;
|
|
18
|
-
userId: string;
|
|
19
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
20
|
-
};
|
|
21
|
-
} | {
|
|
22
|
-
type: "app.acl.active.request";
|
|
23
|
-
role: "editor" | "submitter" | "viewer";
|
|
24
|
-
state: "approved";
|
|
25
|
-
request: {
|
|
26
|
-
key: string;
|
|
27
|
-
provider: "clerk" | "github" | "google";
|
|
28
|
-
msg?: string | undefined;
|
|
29
|
-
userId: string;
|
|
30
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
31
|
-
};
|
|
32
|
-
tick: {
|
|
33
|
-
count: number;
|
|
34
|
-
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
35
|
-
};
|
|
36
|
-
grant: {
|
|
37
|
-
ownerId: string;
|
|
38
|
-
key?: string | undefined;
|
|
39
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
|
-
type: "app.acl.active.request";
|
|
43
|
-
role: "editor" | "submitter" | "viewer";
|
|
44
|
-
state: "rejected";
|
|
45
|
-
request: {
|
|
46
|
-
key: string;
|
|
47
|
-
provider: "clerk" | "github" | "google";
|
|
48
|
-
msg?: string | undefined;
|
|
49
|
-
userId: string;
|
|
50
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
51
|
-
};
|
|
52
|
-
grant: {
|
|
53
|
-
ownerId: string;
|
|
54
|
-
key?: string | undefined;
|
|
55
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
56
|
-
};
|
|
57
|
-
} | {
|
|
58
11
|
type: "app.acl.active.invite";
|
|
59
12
|
role: "editor";
|
|
60
13
|
state: "pending";
|
|
@@ -140,6 +93,53 @@ export declare const ResKeyGrantItem: import("arktype/internal/variants/object.t
|
|
|
140
93
|
count: number;
|
|
141
94
|
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
142
95
|
};
|
|
96
|
+
} | {
|
|
97
|
+
type: "app.acl.active.request";
|
|
98
|
+
role: "viewer";
|
|
99
|
+
state: "pending";
|
|
100
|
+
request: {
|
|
101
|
+
key: string;
|
|
102
|
+
provider: "clerk" | "github" | "google";
|
|
103
|
+
msg?: string | undefined;
|
|
104
|
+
userId: string;
|
|
105
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
106
|
+
};
|
|
107
|
+
} | {
|
|
108
|
+
type: "app.acl.active.request";
|
|
109
|
+
role: "editor" | "submitter" | "viewer";
|
|
110
|
+
state: "approved";
|
|
111
|
+
request: {
|
|
112
|
+
key: string;
|
|
113
|
+
provider: "clerk" | "github" | "google";
|
|
114
|
+
msg?: string | undefined;
|
|
115
|
+
userId: string;
|
|
116
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
117
|
+
};
|
|
118
|
+
tick: {
|
|
119
|
+
count: number;
|
|
120
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
121
|
+
};
|
|
122
|
+
grant: {
|
|
123
|
+
ownerId: string;
|
|
124
|
+
key?: string | undefined;
|
|
125
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
126
|
+
};
|
|
127
|
+
} | {
|
|
128
|
+
type: "app.acl.active.request";
|
|
129
|
+
role: "editor" | "submitter" | "viewer";
|
|
130
|
+
state: "rejected";
|
|
131
|
+
request: {
|
|
132
|
+
key: string;
|
|
133
|
+
provider: "clerk" | "github" | "google";
|
|
134
|
+
msg?: string | undefined;
|
|
135
|
+
userId: string;
|
|
136
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
137
|
+
};
|
|
138
|
+
grant: {
|
|
139
|
+
ownerId: string;
|
|
140
|
+
key?: string | undefined;
|
|
141
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
142
|
+
};
|
|
143
143
|
};
|
|
144
144
|
grantUserId?: string | undefined;
|
|
145
145
|
grantType: "invite" | "request";
|
|
@@ -168,53 +168,6 @@ export declare const ResListKeyGrants: import("arktype/internal/variants/object.
|
|
|
168
168
|
items: {
|
|
169
169
|
key: string;
|
|
170
170
|
entry: {
|
|
171
|
-
type: "app.acl.active.request";
|
|
172
|
-
role: "viewer";
|
|
173
|
-
state: "pending";
|
|
174
|
-
request: {
|
|
175
|
-
key: string;
|
|
176
|
-
provider: "clerk" | "github" | "google";
|
|
177
|
-
msg?: string | undefined;
|
|
178
|
-
userId: string;
|
|
179
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
180
|
-
};
|
|
181
|
-
} | {
|
|
182
|
-
type: "app.acl.active.request";
|
|
183
|
-
role: "editor" | "submitter" | "viewer";
|
|
184
|
-
state: "approved";
|
|
185
|
-
request: {
|
|
186
|
-
key: string;
|
|
187
|
-
provider: "clerk" | "github" | "google";
|
|
188
|
-
msg?: string | undefined;
|
|
189
|
-
userId: string;
|
|
190
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
191
|
-
};
|
|
192
|
-
tick: {
|
|
193
|
-
count: number;
|
|
194
|
-
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
195
|
-
};
|
|
196
|
-
grant: {
|
|
197
|
-
ownerId: string;
|
|
198
|
-
key?: string | undefined;
|
|
199
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
200
|
-
};
|
|
201
|
-
} | {
|
|
202
|
-
type: "app.acl.active.request";
|
|
203
|
-
role: "editor" | "submitter" | "viewer";
|
|
204
|
-
state: "rejected";
|
|
205
|
-
request: {
|
|
206
|
-
key: string;
|
|
207
|
-
provider: "clerk" | "github" | "google";
|
|
208
|
-
msg?: string | undefined;
|
|
209
|
-
userId: string;
|
|
210
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
211
|
-
};
|
|
212
|
-
grant: {
|
|
213
|
-
ownerId: string;
|
|
214
|
-
key?: string | undefined;
|
|
215
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
216
|
-
};
|
|
217
|
-
} | {
|
|
218
171
|
type: "app.acl.active.invite";
|
|
219
172
|
role: "editor";
|
|
220
173
|
state: "pending";
|
|
@@ -300,6 +253,53 @@ export declare const ResListKeyGrants: import("arktype/internal/variants/object.
|
|
|
300
253
|
count: number;
|
|
301
254
|
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
302
255
|
};
|
|
256
|
+
} | {
|
|
257
|
+
type: "app.acl.active.request";
|
|
258
|
+
role: "viewer";
|
|
259
|
+
state: "pending";
|
|
260
|
+
request: {
|
|
261
|
+
key: string;
|
|
262
|
+
provider: "clerk" | "github" | "google";
|
|
263
|
+
msg?: string | undefined;
|
|
264
|
+
userId: string;
|
|
265
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
266
|
+
};
|
|
267
|
+
} | {
|
|
268
|
+
type: "app.acl.active.request";
|
|
269
|
+
role: "editor" | "submitter" | "viewer";
|
|
270
|
+
state: "approved";
|
|
271
|
+
request: {
|
|
272
|
+
key: string;
|
|
273
|
+
provider: "clerk" | "github" | "google";
|
|
274
|
+
msg?: string | undefined;
|
|
275
|
+
userId: string;
|
|
276
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
277
|
+
};
|
|
278
|
+
tick: {
|
|
279
|
+
count: number;
|
|
280
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
281
|
+
};
|
|
282
|
+
grant: {
|
|
283
|
+
ownerId: string;
|
|
284
|
+
key?: string | undefined;
|
|
285
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
286
|
+
};
|
|
287
|
+
} | {
|
|
288
|
+
type: "app.acl.active.request";
|
|
289
|
+
role: "editor" | "submitter" | "viewer";
|
|
290
|
+
state: "rejected";
|
|
291
|
+
request: {
|
|
292
|
+
key: string;
|
|
293
|
+
provider: "clerk" | "github" | "google";
|
|
294
|
+
msg?: string | undefined;
|
|
295
|
+
userId: string;
|
|
296
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
297
|
+
};
|
|
298
|
+
grant: {
|
|
299
|
+
ownerId: string;
|
|
300
|
+
key?: string | undefined;
|
|
301
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
302
|
+
};
|
|
303
303
|
};
|
|
304
304
|
grantUserId?: string | undefined;
|
|
305
305
|
updated: string;
|
|
@@ -321,53 +321,6 @@ export declare const ReqUpsertKeyGrant: import("arktype/internal/variants/object
|
|
|
321
321
|
appSlug: string;
|
|
322
322
|
ownerHandle: string;
|
|
323
323
|
entry: {
|
|
324
|
-
type: "app.acl.active.request";
|
|
325
|
-
role: "viewer";
|
|
326
|
-
state: "pending";
|
|
327
|
-
request: {
|
|
328
|
-
key: string;
|
|
329
|
-
provider: "clerk" | "github" | "google";
|
|
330
|
-
msg?: string | undefined;
|
|
331
|
-
userId: string;
|
|
332
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
333
|
-
};
|
|
334
|
-
} | {
|
|
335
|
-
type: "app.acl.active.request";
|
|
336
|
-
role: "editor" | "submitter" | "viewer";
|
|
337
|
-
state: "approved";
|
|
338
|
-
request: {
|
|
339
|
-
key: string;
|
|
340
|
-
provider: "clerk" | "github" | "google";
|
|
341
|
-
msg?: string | undefined;
|
|
342
|
-
userId: string;
|
|
343
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
344
|
-
};
|
|
345
|
-
tick: {
|
|
346
|
-
count: number;
|
|
347
|
-
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
348
|
-
};
|
|
349
|
-
grant: {
|
|
350
|
-
ownerId: string;
|
|
351
|
-
key?: string | undefined;
|
|
352
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
353
|
-
};
|
|
354
|
-
} | {
|
|
355
|
-
type: "app.acl.active.request";
|
|
356
|
-
role: "editor" | "submitter" | "viewer";
|
|
357
|
-
state: "rejected";
|
|
358
|
-
request: {
|
|
359
|
-
key: string;
|
|
360
|
-
provider: "clerk" | "github" | "google";
|
|
361
|
-
msg?: string | undefined;
|
|
362
|
-
userId: string;
|
|
363
|
-
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
364
|
-
};
|
|
365
|
-
grant: {
|
|
366
|
-
ownerId: string;
|
|
367
|
-
key?: string | undefined;
|
|
368
|
-
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
369
|
-
};
|
|
370
|
-
} | {
|
|
371
324
|
type: "app.acl.active.invite";
|
|
372
325
|
role: "editor";
|
|
373
326
|
state: "pending";
|
|
@@ -453,16 +406,7 @@ export declare const ReqUpsertKeyGrant: import("arktype/internal/variants/object
|
|
|
453
406
|
count: number;
|
|
454
407
|
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
455
408
|
};
|
|
456
|
-
}
|
|
457
|
-
}, {}>;
|
|
458
|
-
export type ReqUpsertKeyGrant = typeof ReqUpsertKeyGrant.infer;
|
|
459
|
-
export declare function isReqUpsertKeyGrant(obj: unknown): obj is ReqUpsertKeyGrant;
|
|
460
|
-
export declare const ResUpsertKeyGrant: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
461
|
-
appSlug: string;
|
|
462
|
-
ownerHandle: string;
|
|
463
|
-
grantType: "invite" | "request";
|
|
464
|
-
key: string;
|
|
465
|
-
entry: {
|
|
409
|
+
} | {
|
|
466
410
|
type: "app.acl.active.request";
|
|
467
411
|
role: "viewer";
|
|
468
412
|
state: "pending";
|
|
@@ -509,7 +453,16 @@ export declare const ResUpsertKeyGrant: import("arktype/internal/variants/object
|
|
|
509
453
|
key?: string | undefined;
|
|
510
454
|
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
511
455
|
};
|
|
512
|
-
}
|
|
456
|
+
};
|
|
457
|
+
}, {}>;
|
|
458
|
+
export type ReqUpsertKeyGrant = typeof ReqUpsertKeyGrant.infer;
|
|
459
|
+
export declare function isReqUpsertKeyGrant(obj: unknown): obj is ReqUpsertKeyGrant;
|
|
460
|
+
export declare const ResUpsertKeyGrant: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
461
|
+
appSlug: string;
|
|
462
|
+
ownerHandle: string;
|
|
463
|
+
grantType: "invite" | "request";
|
|
464
|
+
key: string;
|
|
465
|
+
entry: {
|
|
513
466
|
type: "app.acl.active.invite";
|
|
514
467
|
role: "editor";
|
|
515
468
|
state: "pending";
|
|
@@ -595,6 +548,53 @@ export declare const ResUpsertKeyGrant: import("arktype/internal/variants/object
|
|
|
595
548
|
count: number;
|
|
596
549
|
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
597
550
|
};
|
|
551
|
+
} | {
|
|
552
|
+
type: "app.acl.active.request";
|
|
553
|
+
role: "viewer";
|
|
554
|
+
state: "pending";
|
|
555
|
+
request: {
|
|
556
|
+
key: string;
|
|
557
|
+
provider: "clerk" | "github" | "google";
|
|
558
|
+
msg?: string | undefined;
|
|
559
|
+
userId: string;
|
|
560
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
561
|
+
};
|
|
562
|
+
} | {
|
|
563
|
+
type: "app.acl.active.request";
|
|
564
|
+
role: "editor" | "submitter" | "viewer";
|
|
565
|
+
state: "approved";
|
|
566
|
+
request: {
|
|
567
|
+
key: string;
|
|
568
|
+
provider: "clerk" | "github" | "google";
|
|
569
|
+
msg?: string | undefined;
|
|
570
|
+
userId: string;
|
|
571
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
572
|
+
};
|
|
573
|
+
tick: {
|
|
574
|
+
count: number;
|
|
575
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
576
|
+
};
|
|
577
|
+
grant: {
|
|
578
|
+
ownerId: string;
|
|
579
|
+
key?: string | undefined;
|
|
580
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
581
|
+
};
|
|
582
|
+
} | {
|
|
583
|
+
type: "app.acl.active.request";
|
|
584
|
+
role: "editor" | "submitter" | "viewer";
|
|
585
|
+
state: "rejected";
|
|
586
|
+
request: {
|
|
587
|
+
key: string;
|
|
588
|
+
provider: "clerk" | "github" | "google";
|
|
589
|
+
msg?: string | undefined;
|
|
590
|
+
userId: string;
|
|
591
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
592
|
+
};
|
|
593
|
+
grant: {
|
|
594
|
+
ownerId: string;
|
|
595
|
+
key?: string | undefined;
|
|
596
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
597
|
+
};
|
|
598
598
|
};
|
|
599
599
|
grantUserId?: string | undefined;
|
|
600
600
|
updated: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-types",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.26",
|
|
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.
|
|
21
|
-
"@vibes.diy/identity": "14.1.
|
|
22
|
-
"@vibes.diy/vibe-types": "14.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",
|
|
23
23
|
"arktype": "~2.2.3"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
package/prompt.d.ts
CHANGED
|
@@ -421,6 +421,17 @@ export declare const PromptStatus: import("arktype/internal/variants/object.ts")
|
|
|
421
421
|
export type PromptStatus = typeof PromptStatus.infer;
|
|
422
422
|
export type PromptStatusTool = typeof PromptStatusTool.infer;
|
|
423
423
|
export declare function isPromptStatus(msg: unknown): msg is PromptStatus;
|
|
424
|
+
export declare const PromptNotice: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
425
|
+
streamId: string;
|
|
426
|
+
chatId: string;
|
|
427
|
+
seq: number;
|
|
428
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
429
|
+
type: "prompt.notice";
|
|
430
|
+
kind: "edits-incomplete";
|
|
431
|
+
path?: string | undefined;
|
|
432
|
+
}, {}>;
|
|
433
|
+
export type PromptNotice = typeof PromptNotice.infer;
|
|
434
|
+
export declare function isPromptNotice(msg: unknown): msg is PromptNotice;
|
|
424
435
|
export declare const PromptMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
425
436
|
streamId: string;
|
|
426
437
|
chatId: string;
|
|
@@ -775,6 +786,14 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
775
786
|
name: string;
|
|
776
787
|
path?: string | undefined;
|
|
777
788
|
}[];
|
|
789
|
+
} | {
|
|
790
|
+
streamId: string;
|
|
791
|
+
chatId: string;
|
|
792
|
+
seq: number;
|
|
793
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
794
|
+
type: "prompt.notice";
|
|
795
|
+
kind: "edits-incomplete";
|
|
796
|
+
path?: string | undefined;
|
|
778
797
|
} | {
|
|
779
798
|
type: "prompt.research";
|
|
780
799
|
version: 1;
|
package/prompt.js
CHANGED
|
@@ -153,6 +153,22 @@ export const PromptStatus = lazyType(() => type({
|
|
|
153
153
|
export function isPromptStatus(msg) {
|
|
154
154
|
return !(PromptStatus(msg) instanceof type.errors);
|
|
155
155
|
}
|
|
156
|
+
const NOTICE_MAX_PATH_CHARS = 512;
|
|
157
|
+
export const PromptNotice = lazyType(() => type({
|
|
158
|
+
type: "'prompt.notice'",
|
|
159
|
+
kind: "'edits-incomplete'",
|
|
160
|
+
"path?": "string",
|
|
161
|
+
})
|
|
162
|
+
.and(PromptBase)
|
|
163
|
+
.narrow((value, ctx) => {
|
|
164
|
+
if (value.path !== undefined && (value.path.length === 0 || value.path.length > NOTICE_MAX_PATH_CHARS)) {
|
|
165
|
+
return ctx.mustBe("a bounded notice path");
|
|
166
|
+
}
|
|
167
|
+
return true;
|
|
168
|
+
}));
|
|
169
|
+
export function isPromptNotice(msg) {
|
|
170
|
+
return !(PromptNotice(msg) instanceof type.errors);
|
|
171
|
+
}
|
|
156
172
|
export const PromptMsgs = lazyType(() => PromptBlockBegin.or(PromptBlockEnd)
|
|
157
173
|
.or(PromptReq)
|
|
158
174
|
.or(PromptError)
|
|
@@ -165,6 +181,7 @@ export const PromptMsgs = lazyType(() => PromptBlockBegin.or(PromptBlockEnd)
|
|
|
165
181
|
.or(PromptRestyle)
|
|
166
182
|
.or(PromptAgentEvidence)
|
|
167
183
|
.or(PromptStatus)
|
|
184
|
+
.or(PromptNotice)
|
|
168
185
|
.or(PromptResearch));
|
|
169
186
|
export const isPromptMsg = (msg) => !(PromptMsgs(msg) instanceof type.errors);
|
|
170
187
|
export function isPromptBlockBegin(msg) {
|
package/prompt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../jsr/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE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AAC;KACf,EAAE,CAAC,QAAQ,CAAC;KACZ,EAAE,CAAC,mBAAmB,CAAC;KACvB,EAAE,CAAC,mBAAmB,CAAC;KACvB,EAAE,CAAC,SAAS,CAAC;KACb,EAAE,CAAC,iBAAiB,CAAC;KACrB,EAAE,CAAC,kBAAkB,CAAC;KACtB,EAAE,CAAC,aAAa,CAAC;KACjB,EAAE,CAAC,mBAAmB,CAAC;KACvB,EAAE,CAAC,YAAY,CAAC;KAChB,EAAE,CAAC,YAAY,CAAC;KAChB,EAAE,CAAC,cAAc,CAAC,CACtB,CAAC;AAIF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAY,EAAqB,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AAE1G,MAAM,UAAU,kBAAkB,CAAC,GAAY;IAC7C,OAAO,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,MAAM,UAAU,gBAAgB,CAAC,GAAY,EAAE,QAAiB;IAC9D,IAAI,cAAc,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAC7D,OAAO,CAAC,QAAQ,IAAK,GAAsB,CAAC,QAAQ,KAAK,QAAQ,CAAC;AACpE,CAAC"}
|
package/retention-steps.d.ts
CHANGED
package/retention-steps.js
CHANGED
|
@@ -2,37 +2,45 @@ export const RETENTION_DRIP_STEPS = [
|
|
|
2
2
|
{
|
|
3
3
|
id: "day3-first-app",
|
|
4
4
|
afterDays: 3,
|
|
5
|
-
|
|
5
|
+
audience: "has-not-built",
|
|
6
|
+
subject: "So… what are you going to make?",
|
|
6
7
|
body: [
|
|
7
8
|
"Hi,",
|
|
8
9
|
"",
|
|
9
|
-
"You signed up
|
|
10
|
+
"You signed up with Vibes DIY a few days ago, but you haven’t made anything yet!",
|
|
10
11
|
"",
|
|
11
|
-
"
|
|
12
|
+
"Try this:",
|
|
12
13
|
"",
|
|
13
|
-
"
|
|
14
|
+
"“Make me a simple app for planning our weekend in Seattle.”",
|
|
14
15
|
"",
|
|
15
|
-
"
|
|
16
|
+
"Or:",
|
|
16
17
|
"",
|
|
17
|
-
"
|
|
18
|
+
"“Make a way for my roommates to vote on what we’re having for dinner.”",
|
|
19
|
+
"",
|
|
20
|
+
"Or something completely ridiculous.",
|
|
21
|
+
"",
|
|
22
|
+
"Just type it in and see what happens.",
|
|
23
|
+
"",
|
|
24
|
+
"https://vibes.diy/",
|
|
25
|
+
"",
|
|
26
|
+
"If you get stuck, or something feels weird, hit reply and I’ll help get you unstuck.",
|
|
18
27
|
].join("\n"),
|
|
19
28
|
},
|
|
20
29
|
{
|
|
21
30
|
id: "day10-share-it",
|
|
22
31
|
afterDays: 10,
|
|
23
|
-
|
|
32
|
+
audience: "has-built",
|
|
33
|
+
subject: "You can send it to people.",
|
|
24
34
|
body: [
|
|
25
|
-
"
|
|
26
|
-
"",
|
|
27
|
-
"Every app you build on Vibes DIY has a link, and the moment you send that link to someone, the app is shared. You both see the same thing, live, as it changes.",
|
|
35
|
+
"Now that you’ve made something, send it to someone!",
|
|
28
36
|
"",
|
|
29
|
-
"
|
|
37
|
+
"Not a screenshot, not a demo… the actual thing.",
|
|
30
38
|
"",
|
|
31
|
-
"
|
|
39
|
+
"It’s a surprisingly fun way to make something useful. Or useless… Those are good too.",
|
|
32
40
|
"",
|
|
33
|
-
"https://vibes.diy",
|
|
41
|
+
"https://vibes.diy/",
|
|
34
42
|
"",
|
|
35
|
-
"
|
|
43
|
+
"If you make something interesting, I want to see it! Send it to me here, or join the community on Discord: https://discord.gg/vnpWycj4Ta",
|
|
36
44
|
].join("\n"),
|
|
37
45
|
},
|
|
38
46
|
];
|
package/retention-steps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retention-steps.js","sourceRoot":"","sources":["../jsr/retention-steps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"retention-steps.js","sourceRoot":"","sources":["../jsr/retention-steps.ts"],"names":[],"mappings":"AAiDA,MAAM,CAAC,MAAM,oBAAoB,GAA6B;IAC5D;QACE,EAAE,EAAE,gBAAgB;QACpB,SAAS,EAAE,CAAC;QAEZ,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,iCAAiC;QAC1C,IAAI,EAAE;YACJ,KAAK;YACL,EAAE;YACF,iFAAiF;YACjF,EAAE;YACF,WAAW;YACX,EAAE;YACF,6DAA6D;YAC7D,EAAE;YACF,KAAK;YACL,EAAE;YACF,wEAAwE;YACxE,EAAE;YACF,qCAAqC;YACrC,EAAE;YACF,uCAAuC;YACvC,EAAE;YACF,oBAAoB;YACpB,EAAE;YACF,sFAAsF;SACvF,CAAC,IAAI,CAAC,IAAI,CAAC;KACb;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,SAAS,EAAE,EAAE;QAEb,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,4BAA4B;QACrC,IAAI,EAAE;YACJ,qDAAqD;YACrD,EAAE;YACF,iDAAiD;YACjD,EAAE;YACF,uFAAuF;YACvF,EAAE;YACF,oBAAoB;YACpB,EAAE;YACF,0IAA0I;SAC3I,CAAC,IAAI,CAAC,IAAI,CAAC;KACb;CACF,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,EAAU;IAC1C,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACvD,CAAC"}
|
package/vibes-diy-serv-ctx.d.ts
CHANGED
|
@@ -33,9 +33,6 @@ export declare const vibeImportMap: import("arktype/internal/variants/object.ts"
|
|
|
33
33
|
}, {}>;
|
|
34
34
|
export type VibeImportMap = typeof vibeImportMap.infer;
|
|
35
35
|
export declare const vibesDiyServCtx: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
36
|
-
wrapper: {
|
|
37
|
-
state: "active" | "waiting";
|
|
38
|
-
};
|
|
39
36
|
usrEnv: Record<string, string>;
|
|
40
37
|
svcEnv: {
|
|
41
38
|
CLERK_PUBLISHABLE_KEY: string;
|
|
@@ -73,6 +70,7 @@ export declare const vibesDiyServCtx: import("arktype/internal/variants/object.t
|
|
|
73
70
|
ssrHtml?: string | undefined;
|
|
74
71
|
ssrTailwindCss?: string | undefined;
|
|
75
72
|
ssrThemeCss?: string | undefined;
|
|
73
|
+
embedded?: boolean | undefined;
|
|
76
74
|
ssrStyleCss?: string | undefined;
|
|
77
75
|
ssrStyleFontUrl?: string | undefined;
|
|
78
76
|
topLevelRedirect?: string | undefined;
|
package/vibes-diy-serv-ctx.js
CHANGED
|
@@ -33,9 +33,6 @@ export const vibeImportMap = lazyType(() => type({
|
|
|
33
33
|
imports: type("Record<string, string>"),
|
|
34
34
|
}));
|
|
35
35
|
export const vibesDiyServCtx = lazyType(() => type({
|
|
36
|
-
wrapper: {
|
|
37
|
-
state: "'active'|'waiting'",
|
|
38
|
-
},
|
|
39
36
|
usrEnv: vibeUserEnv,
|
|
40
37
|
svcEnv: vibesSvcEnv,
|
|
41
38
|
importMap: vibeImportMap,
|
|
@@ -45,6 +42,7 @@ export const vibesDiyServCtx = lazyType(() => type({
|
|
|
45
42
|
"ssrHtml?": "string",
|
|
46
43
|
"ssrTailwindCss?": "string",
|
|
47
44
|
"ssrThemeCss?": "string",
|
|
45
|
+
"embedded?": "boolean",
|
|
48
46
|
"ssrStyleCss?": "string",
|
|
49
47
|
"ssrStyleFontUrl?": "string",
|
|
50
48
|
"topLevelRedirect?": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibes-diy-serv-ctx.js","sourceRoot":"","sources":["../jsr/vibes-diy-serv-ctx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,E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