vibes-diy 14.1.50 → 14.1.52
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/cli/cmd-evento.d.ts +234 -203
- package/cli/cmd-evento.js +2 -1
- package/cli/cmd-evento.js.map +1 -1
- package/cli/cmds/app/index.d.ts +71 -0
- package/cli/cmds/app/index.js +4 -1
- package/cli/cmds/app/index.js.map +1 -1
- package/cli/cmds/app/look-cmd.d.ts +116 -0
- package/cli/cmds/app/look-cmd.js +313 -0
- package/cli/cmds/app/look-cmd.js.map +1 -0
- package/cli/cmds/app/look-cmd.test.d.ts +1 -0
- package/cli/cmds/app/look-cmd.test.js +250 -0
- package/cli/cmds/app/look-cmd.test.js.map +1 -0
- package/cli/cmds/chat-event-feed.d.ts +10 -0
- package/cli/cmds/chat-event-feed.js +58 -0
- package/cli/cmds/chat-event-feed.js.map +1 -0
- package/cli/cmds/chat-event-feed.test.d.ts +1 -0
- package/cli/cmds/chat-event-feed.test.js +37 -0
- package/cli/cmds/chat-event-feed.test.js.map +1 -0
- package/cli/cmds/confirm-release.d.ts +22 -0
- package/cli/cmds/confirm-release.js +47 -0
- package/cli/cmds/confirm-release.js.map +1 -0
- package/cli/cmds/confirm-release.test.d.ts +1 -0
- package/cli/cmds/confirm-release.test.js +55 -0
- package/cli/cmds/confirm-release.test.js.map +1 -0
- package/cli/cmds/edit-cmd.d.ts +2 -1
- package/cli/cmds/edit-cmd.js +12 -10
- package/cli/cmds/edit-cmd.js.map +1 -1
- package/cli/cmds/follow-chat-build.d.ts +22 -9
- package/cli/cmds/follow-chat-build.js +136 -92
- package/cli/cmds/follow-chat-build.js.map +1 -1
- package/cli/cmds/follow-chat-build.test.js +256 -75
- package/cli/cmds/follow-chat-build.test.js.map +1 -1
- package/cli/cmds/generate-cmd.d.ts +10 -0
- package/cli/cmds/generate-cmd.js +35 -5
- package/cli/cmds/generate-cmd.js.map +1 -1
- package/cli/cmds/generate-cmd.test.js +46 -50
- package/cli/cmds/generate-cmd.test.js.map +1 -1
- package/cli/cmds/generate-core.d.ts +7 -1
- package/cli/cmds/generate-core.js +250 -129
- package/cli/cmds/generate-core.js.map +1 -1
- package/cli/cmds/generate-core.test.js +330 -27
- package/cli/cmds/generate-core.test.js.map +1 -1
- package/cli/cmds/resolve-section-stream.d.ts +2 -1
- package/cli/cmds/resolve-section-stream.js.map +1 -1
- package/cli/main.js +13 -1
- package/cli/main.js.map +1 -1
- package/package.json +8 -8
package/cli/cmd-evento.d.ts
CHANGED
|
@@ -2,42 +2,33 @@ import { isCmdProgress, sendMsg, sendProgress, type CmdProgress, type CmdTSMsg,
|
|
|
2
2
|
export type { CmdTSMsg, WrapCmdTSMsg, CmdProgress };
|
|
3
3
|
export { isCmdProgress, sendMsg, sendProgress };
|
|
4
4
|
export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
5
|
-
type: "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
published: boolean;
|
|
16
|
-
settingsOnly: boolean;
|
|
17
|
-
apiUrl: string;
|
|
5
|
+
type: "core-cli.device-id-register";
|
|
6
|
+
commonName: string;
|
|
7
|
+
organization: string;
|
|
8
|
+
locality: string;
|
|
9
|
+
state: string;
|
|
10
|
+
country: string;
|
|
11
|
+
caUrl: string;
|
|
12
|
+
port: string;
|
|
13
|
+
timeout: string;
|
|
14
|
+
forceRenew: boolean;
|
|
18
15
|
}, {
|
|
19
|
-
type: "
|
|
20
|
-
|
|
21
|
-
appSlug: string;
|
|
22
|
-
url: string;
|
|
23
|
-
carried?: string[] | undefined;
|
|
24
|
-
skippedPresent?: string[] | undefined;
|
|
25
|
-
chatId?: string | undefined;
|
|
16
|
+
type: "core-cli.res-device-id-register";
|
|
17
|
+
output: string;
|
|
26
18
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
27
|
-
type: "vibes-diy.cli.
|
|
28
|
-
file: string;
|
|
29
|
-
appSlug: string;
|
|
30
|
-
ownerHandle: string;
|
|
31
|
-
apiUrl: string;
|
|
32
|
-
mimeType: string;
|
|
33
|
-
verifyFetch: boolean;
|
|
19
|
+
type: "vibes-diy.cli.variety";
|
|
34
20
|
}, {
|
|
35
|
-
type: "vibes-diy.cli.res-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
21
|
+
type: "vibes-diy.cli.res-variety-list";
|
|
22
|
+
grammar: string;
|
|
23
|
+
flourishCount: number;
|
|
24
|
+
archetypes: {
|
|
25
|
+
id: string;
|
|
26
|
+
guidance: string;
|
|
27
|
+
}[];
|
|
28
|
+
flourishes: {
|
|
29
|
+
id: string;
|
|
30
|
+
guidance: string;
|
|
31
|
+
}[];
|
|
41
32
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
42
33
|
type: "vibes-diy.cli.db.del";
|
|
43
34
|
apiUrl: string;
|
|
@@ -52,32 +43,151 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
52
43
|
id: string;
|
|
53
44
|
ok: true;
|
|
54
45
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
55
|
-
type: "vibes-diy.cli.
|
|
46
|
+
type: "vibes-diy.cli.edit";
|
|
56
47
|
appSlug: string;
|
|
48
|
+
prompt: string;
|
|
57
49
|
ownerHandle: string;
|
|
50
|
+
instantJoin?: boolean | undefined;
|
|
51
|
+
verbose: boolean;
|
|
52
|
+
dir: string;
|
|
58
53
|
apiUrl: string;
|
|
54
|
+
dryRun: boolean;
|
|
55
|
+
transcript: boolean;
|
|
56
|
+
directBuild?: boolean | undefined;
|
|
57
|
+
focusPath?: string | undefined;
|
|
58
|
+
model?: string | undefined;
|
|
59
|
+
apiKey?: string | undefined;
|
|
59
60
|
}, {
|
|
60
|
-
type: "vibes-diy.cli.res-
|
|
61
|
+
type: "vibes-diy.cli.res-edit";
|
|
62
|
+
appSlug: string;
|
|
63
|
+
ownerHandle: string;
|
|
64
|
+
url: string;
|
|
65
|
+
directory: string;
|
|
66
|
+
restyled?: boolean | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
appSlug: string;
|
|
69
|
+
ownerHandle: string;
|
|
70
|
+
mode: "dev" | "production";
|
|
71
|
+
fsId: string;
|
|
72
|
+
type: "vibes.diy.res-ensure-app-slug";
|
|
73
|
+
env: Record<string, string>;
|
|
74
|
+
fileSystem: {
|
|
75
|
+
fileName: string;
|
|
76
|
+
mimeType: string;
|
|
77
|
+
assetId: string;
|
|
78
|
+
assetURI: string;
|
|
79
|
+
transform?: {
|
|
80
|
+
type: "jsx-to-js";
|
|
81
|
+
transformedAssetId: string;
|
|
82
|
+
} | {
|
|
83
|
+
type: "imports";
|
|
84
|
+
importMapAssetId: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: "import-map";
|
|
87
|
+
fromAssetIds: string[];
|
|
88
|
+
} | {
|
|
89
|
+
type: "transformed";
|
|
90
|
+
action: "jsx-to-js";
|
|
91
|
+
transformedAssetId: string;
|
|
92
|
+
} | {
|
|
93
|
+
type: "tailwind-css";
|
|
94
|
+
} | undefined;
|
|
95
|
+
entryPoint?: boolean | undefined;
|
|
96
|
+
size: number;
|
|
97
|
+
kind?: "asset" | undefined;
|
|
98
|
+
}[];
|
|
99
|
+
} | {
|
|
100
|
+
type: "vibes.diy.res-error";
|
|
101
|
+
error: {
|
|
102
|
+
message: string;
|
|
103
|
+
code: "require-login";
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
type: "vibes.diy.res-error";
|
|
107
|
+
error: {
|
|
108
|
+
message: string;
|
|
109
|
+
code: "user-slug-invalid";
|
|
110
|
+
};
|
|
111
|
+
} | {
|
|
112
|
+
type: "vibes.diy.res-error";
|
|
113
|
+
error: {
|
|
114
|
+
message: string;
|
|
115
|
+
code: "app-slug-invalid";
|
|
116
|
+
};
|
|
117
|
+
} | {
|
|
118
|
+
type: "vibes.diy.res-error";
|
|
119
|
+
error: {
|
|
120
|
+
message: string;
|
|
121
|
+
code: "max-app-slugs-reached";
|
|
122
|
+
};
|
|
123
|
+
} | {
|
|
124
|
+
type: "vibes.diy.res-error";
|
|
125
|
+
error: {
|
|
126
|
+
message: string;
|
|
127
|
+
code: "handle-required";
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
type: "vibes.diy.res-error";
|
|
131
|
+
error: {
|
|
132
|
+
message: string;
|
|
133
|
+
code: "from-not-owned";
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
type: "vibes.diy.res-error";
|
|
137
|
+
error: {
|
|
138
|
+
message: string;
|
|
139
|
+
code: "from-carry-failed";
|
|
140
|
+
};
|
|
141
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
142
|
+
type: "vibes-diy.cli.assets-ls";
|
|
143
|
+
appSlug: string;
|
|
144
|
+
ownerHandle: string;
|
|
145
|
+
apiUrl: string;
|
|
146
|
+
published: boolean;
|
|
147
|
+
}, {
|
|
148
|
+
type: "vibes-diy.cli.res-assets-ls";
|
|
61
149
|
appSlug: string;
|
|
62
150
|
ownerHandle: string;
|
|
151
|
+
fsId: string;
|
|
63
152
|
items: {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
153
|
+
path: string;
|
|
154
|
+
mime: string;
|
|
155
|
+
size: number;
|
|
156
|
+
cid: string;
|
|
157
|
+
safety: "error" | "high" | "low" | "pending" | "unknown";
|
|
69
158
|
}[];
|
|
70
159
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
71
|
-
type: "vibes-diy.cli.app-
|
|
160
|
+
type: "vibes-diy.cli.app-logs";
|
|
72
161
|
appSlug: string;
|
|
73
162
|
ownerHandle: string;
|
|
74
163
|
apiUrl: string;
|
|
164
|
+
since: string;
|
|
165
|
+
level: string;
|
|
166
|
+
limit: number;
|
|
167
|
+
tail: boolean;
|
|
75
168
|
}, {
|
|
76
|
-
type: "vibes-diy.cli.res-app-
|
|
169
|
+
type: "vibes-diy.cli.res-app-logs";
|
|
77
170
|
appSlug: string;
|
|
78
171
|
ownerHandle: string;
|
|
79
|
-
|
|
80
|
-
|
|
172
|
+
events: {
|
|
173
|
+
id: string;
|
|
174
|
+
ts: string;
|
|
175
|
+
lane: string;
|
|
176
|
+
level: string;
|
|
177
|
+
trigger: string;
|
|
178
|
+
fsId: string;
|
|
179
|
+
body: string;
|
|
180
|
+
sessionId: string | null;
|
|
181
|
+
viewerHandle: string | null;
|
|
182
|
+
}[];
|
|
183
|
+
priorFsId: string | null;
|
|
184
|
+
nextCursor: string | null;
|
|
185
|
+
tail: boolean;
|
|
186
|
+
latestTs?: string | null | undefined;
|
|
187
|
+
since: string;
|
|
188
|
+
level: string;
|
|
189
|
+
sinceTs?: string | undefined;
|
|
190
|
+
firstPage: boolean;
|
|
81
191
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
82
192
|
type: "vibes-diy.cli.app-status";
|
|
83
193
|
appSlug: string;
|
|
@@ -112,37 +222,16 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
112
222
|
intervalMs: number | null;
|
|
113
223
|
nextAlarmAt: string | null;
|
|
114
224
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
115
|
-
type: "vibes-diy.cli.app-
|
|
225
|
+
type: "vibes-diy.cli.app-schedule-off";
|
|
116
226
|
appSlug: string;
|
|
117
227
|
ownerHandle: string;
|
|
118
228
|
apiUrl: string;
|
|
119
|
-
since: string;
|
|
120
|
-
level: string;
|
|
121
|
-
limit: number;
|
|
122
|
-
tail: boolean;
|
|
123
229
|
}, {
|
|
124
|
-
type: "vibes-diy.cli.res-app-
|
|
230
|
+
type: "vibes-diy.cli.res-app-schedule-off";
|
|
125
231
|
appSlug: string;
|
|
126
232
|
ownerHandle: string;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
ts: string;
|
|
130
|
-
lane: string;
|
|
131
|
-
level: string;
|
|
132
|
-
trigger: string;
|
|
133
|
-
fsId: string;
|
|
134
|
-
body: string;
|
|
135
|
-
sessionId: string | null;
|
|
136
|
-
viewerHandle: string | null;
|
|
137
|
-
}[];
|
|
138
|
-
priorFsId: string | null;
|
|
139
|
-
nextCursor: string | null;
|
|
140
|
-
tail: boolean;
|
|
141
|
-
latestTs?: string | null | undefined;
|
|
142
|
-
since: string;
|
|
143
|
-
level: string;
|
|
144
|
-
sinceTs?: string | undefined;
|
|
145
|
-
firstPage: boolean;
|
|
233
|
+
state: "dead" | "healthy" | "overdue" | "running" | "unscheduled";
|
|
234
|
+
intervalMs: number | null;
|
|
146
235
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
147
236
|
type: "vibes-diy.cli.app-chips";
|
|
148
237
|
appSlug: string;
|
|
@@ -172,6 +261,33 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
172
261
|
enqueued: boolean;
|
|
173
262
|
error?: string | undefined;
|
|
174
263
|
}[];
|
|
264
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
265
|
+
type: "vibes-diy.cli.app-look";
|
|
266
|
+
op: "get" | "set";
|
|
267
|
+
appSlug: string;
|
|
268
|
+
ownerHandle: string;
|
|
269
|
+
apiUrl: string;
|
|
270
|
+
theme: string;
|
|
271
|
+
variety: string;
|
|
272
|
+
relayout: boolean;
|
|
273
|
+
}, {
|
|
274
|
+
type: "vibes-diy.cli.res-app-look";
|
|
275
|
+
op: "get" | "set";
|
|
276
|
+
ownerHandle: string;
|
|
277
|
+
appSlug: string;
|
|
278
|
+
url: string;
|
|
279
|
+
theme: string;
|
|
280
|
+
style: string;
|
|
281
|
+
variety?: {
|
|
282
|
+
archetype: string;
|
|
283
|
+
flourishes: string[];
|
|
284
|
+
} | undefined;
|
|
285
|
+
provenance: "changed" | "drawn" | "none" | "pinned";
|
|
286
|
+
varietyChangedAt?: string | undefined;
|
|
287
|
+
wroteTheme: boolean;
|
|
288
|
+
wroteVariety: boolean;
|
|
289
|
+
clearedVariety: boolean;
|
|
290
|
+
relayout: boolean;
|
|
175
291
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
176
292
|
type: "vibes-diy.cli.developer";
|
|
177
293
|
apiUrl: string;
|
|
@@ -316,9 +432,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
316
432
|
email: string;
|
|
317
433
|
updatedAt: string;
|
|
318
434
|
verified?: boolean | undefined;
|
|
319
|
-
} | {
|
|
320
|
-
type: "onboarding";
|
|
321
|
-
completedAt: string;
|
|
322
435
|
} | {
|
|
323
436
|
type: "geoCountry";
|
|
324
437
|
country: string;
|
|
@@ -329,6 +442,9 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
329
442
|
[x: string]: string;
|
|
330
443
|
};
|
|
331
444
|
updatedAt: string;
|
|
445
|
+
} | {
|
|
446
|
+
type: "onboarding";
|
|
447
|
+
completedAt: string;
|
|
332
448
|
} | {
|
|
333
449
|
type: "kyc";
|
|
334
450
|
cardAt?: string | undefined;
|
|
@@ -363,19 +479,10 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
363
479
|
slug: string;
|
|
364
480
|
content: string;
|
|
365
481
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
366
|
-
type: "vibes-diy.cli.
|
|
482
|
+
type: "vibes-diy.cli.system";
|
|
367
483
|
}, {
|
|
368
|
-
type: "vibes-diy.cli.res-
|
|
369
|
-
|
|
370
|
-
flourishCount: number;
|
|
371
|
-
archetypes: {
|
|
372
|
-
id: string;
|
|
373
|
-
guidance: string;
|
|
374
|
-
}[];
|
|
375
|
-
flourishes: {
|
|
376
|
-
id: string;
|
|
377
|
-
guidance: string;
|
|
378
|
-
}[];
|
|
484
|
+
type: "vibes-diy.cli.res-system";
|
|
485
|
+
systemPrompt: string;
|
|
379
486
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
380
487
|
type: "vibes-diy.cli.push";
|
|
381
488
|
mode: string;
|
|
@@ -466,6 +573,23 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
466
573
|
message: string;
|
|
467
574
|
code: "from-carry-failed";
|
|
468
575
|
};
|
|
576
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
577
|
+
type: "vibes-diy.cli.remix";
|
|
578
|
+
srcUserSlug: string;
|
|
579
|
+
srcAppSlug: string;
|
|
580
|
+
dstOwnerHandle?: string | undefined;
|
|
581
|
+
dstAppSlug?: string | undefined;
|
|
582
|
+
published: boolean;
|
|
583
|
+
settingsOnly: boolean;
|
|
584
|
+
apiUrl: string;
|
|
585
|
+
}, {
|
|
586
|
+
type: "vibes-diy.cli.res-remix";
|
|
587
|
+
ownerHandle: string;
|
|
588
|
+
appSlug: string;
|
|
589
|
+
url: string;
|
|
590
|
+
carried?: string[] | undefined;
|
|
591
|
+
skippedPresent?: string[] | undefined;
|
|
592
|
+
chatId?: string | undefined;
|
|
469
593
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
470
594
|
type: "vibes-diy.cli.claim-handle";
|
|
471
595
|
apiUrl: string;
|
|
@@ -476,6 +600,21 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
476
600
|
ownerHandle?: string | undefined;
|
|
477
601
|
defaultHandleSet?: boolean | undefined;
|
|
478
602
|
suggestions: string[];
|
|
603
|
+
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
604
|
+
type: "vibes-diy.cli.put-asset";
|
|
605
|
+
file: string;
|
|
606
|
+
appSlug: string;
|
|
607
|
+
ownerHandle: string;
|
|
608
|
+
apiUrl: string;
|
|
609
|
+
mimeType: string;
|
|
610
|
+
verifyFetch: boolean;
|
|
611
|
+
}, {
|
|
612
|
+
type: "vibes-diy.cli.res-put-asset";
|
|
613
|
+
cid: string;
|
|
614
|
+
getURL: string;
|
|
615
|
+
size: number;
|
|
616
|
+
uploadId: string;
|
|
617
|
+
verified?: boolean | undefined;
|
|
479
618
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
480
619
|
type: "vibes-diy.cli.generate";
|
|
481
620
|
prompt: string;
|
|
@@ -489,6 +628,8 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
489
628
|
model?: string | undefined;
|
|
490
629
|
apiKey?: string | undefined;
|
|
491
630
|
variety?: string | undefined;
|
|
631
|
+
record?: string | undefined;
|
|
632
|
+
style?: string | undefined;
|
|
492
633
|
}, {
|
|
493
634
|
appSlug: string;
|
|
494
635
|
ownerHandle: string;
|
|
@@ -569,6 +710,8 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
569
710
|
ownerHandle: string;
|
|
570
711
|
url: string;
|
|
571
712
|
directory: string;
|
|
713
|
+
release?: "not-visible" | "published" | "version-locked" | undefined;
|
|
714
|
+
turns?: number | undefined;
|
|
572
715
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
573
716
|
type: "vibes-diy.cli.app-chats";
|
|
574
717
|
appSlug: string;
|
|
@@ -623,102 +766,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
623
766
|
} | {
|
|
624
767
|
type: "vibes-diy.cli.res-codegen-log-response";
|
|
625
768
|
output: string;
|
|
626
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
627
|
-
type: "vibes-diy.cli.edit";
|
|
628
|
-
appSlug: string;
|
|
629
|
-
prompt: string;
|
|
630
|
-
ownerHandle: string;
|
|
631
|
-
instantJoin?: boolean | undefined;
|
|
632
|
-
verbose: boolean;
|
|
633
|
-
dir: string;
|
|
634
|
-
apiUrl: string;
|
|
635
|
-
dryRun: boolean;
|
|
636
|
-
transcript: boolean;
|
|
637
|
-
directBuild?: boolean | undefined;
|
|
638
|
-
focusPath?: string | undefined;
|
|
639
|
-
model?: string | undefined;
|
|
640
|
-
apiKey?: string | undefined;
|
|
641
|
-
}, {
|
|
642
|
-
appSlug: string;
|
|
643
|
-
ownerHandle: string;
|
|
644
|
-
mode: "dev" | "production";
|
|
645
|
-
fsId: string;
|
|
646
|
-
type: "vibes.diy.res-ensure-app-slug";
|
|
647
|
-
env: Record<string, string>;
|
|
648
|
-
fileSystem: {
|
|
649
|
-
fileName: string;
|
|
650
|
-
mimeType: string;
|
|
651
|
-
assetId: string;
|
|
652
|
-
assetURI: string;
|
|
653
|
-
transform?: {
|
|
654
|
-
type: "jsx-to-js";
|
|
655
|
-
transformedAssetId: string;
|
|
656
|
-
} | {
|
|
657
|
-
type: "imports";
|
|
658
|
-
importMapAssetId: string;
|
|
659
|
-
} | {
|
|
660
|
-
type: "import-map";
|
|
661
|
-
fromAssetIds: string[];
|
|
662
|
-
} | {
|
|
663
|
-
type: "transformed";
|
|
664
|
-
action: "jsx-to-js";
|
|
665
|
-
transformedAssetId: string;
|
|
666
|
-
} | {
|
|
667
|
-
type: "tailwind-css";
|
|
668
|
-
} | undefined;
|
|
669
|
-
entryPoint?: boolean | undefined;
|
|
670
|
-
size: number;
|
|
671
|
-
kind?: "asset" | undefined;
|
|
672
|
-
}[];
|
|
673
|
-
} | {
|
|
674
|
-
type: "vibes.diy.res-error";
|
|
675
|
-
error: {
|
|
676
|
-
message: string;
|
|
677
|
-
code: "require-login";
|
|
678
|
-
};
|
|
679
|
-
} | {
|
|
680
|
-
type: "vibes.diy.res-error";
|
|
681
|
-
error: {
|
|
682
|
-
message: string;
|
|
683
|
-
code: "user-slug-invalid";
|
|
684
|
-
};
|
|
685
|
-
} | {
|
|
686
|
-
type: "vibes.diy.res-error";
|
|
687
|
-
error: {
|
|
688
|
-
message: string;
|
|
689
|
-
code: "app-slug-invalid";
|
|
690
|
-
};
|
|
691
|
-
} | {
|
|
692
|
-
type: "vibes.diy.res-error";
|
|
693
|
-
error: {
|
|
694
|
-
message: string;
|
|
695
|
-
code: "max-app-slugs-reached";
|
|
696
|
-
};
|
|
697
|
-
} | {
|
|
698
|
-
type: "vibes.diy.res-error";
|
|
699
|
-
error: {
|
|
700
|
-
message: string;
|
|
701
|
-
code: "handle-required";
|
|
702
|
-
};
|
|
703
|
-
} | {
|
|
704
|
-
type: "vibes.diy.res-error";
|
|
705
|
-
error: {
|
|
706
|
-
message: string;
|
|
707
|
-
code: "from-not-owned";
|
|
708
|
-
};
|
|
709
|
-
} | {
|
|
710
|
-
type: "vibes.diy.res-error";
|
|
711
|
-
error: {
|
|
712
|
-
message: string;
|
|
713
|
-
code: "from-carry-failed";
|
|
714
|
-
};
|
|
715
|
-
} | {
|
|
716
|
-
type: "vibes-diy.cli.res-edit";
|
|
717
|
-
appSlug: string;
|
|
718
|
-
ownerHandle: string;
|
|
719
|
-
url: string;
|
|
720
|
-
directory: string;
|
|
721
|
-
restyled?: boolean | undefined;
|
|
722
769
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
723
770
|
type: "vibes-diy.cli.list";
|
|
724
771
|
apiUrl: string;
|
|
@@ -757,22 +804,20 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
757
804
|
size: number;
|
|
758
805
|
}[];
|
|
759
806
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
760
|
-
type: "vibes-diy.cli.
|
|
807
|
+
type: "vibes-diy.cli.versions";
|
|
761
808
|
appSlug: string;
|
|
762
809
|
ownerHandle: string;
|
|
763
810
|
apiUrl: string;
|
|
764
|
-
published: boolean;
|
|
765
811
|
}, {
|
|
766
|
-
type: "vibes-diy.cli.res-
|
|
812
|
+
type: "vibes-diy.cli.res-versions";
|
|
767
813
|
appSlug: string;
|
|
768
814
|
ownerHandle: string;
|
|
769
|
-
fsId: string;
|
|
770
815
|
items: {
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
816
|
+
fsId: string;
|
|
817
|
+
mode: "dev" | "production";
|
|
818
|
+
releaseSeq: number;
|
|
819
|
+
created: string;
|
|
820
|
+
published: boolean;
|
|
776
821
|
}[];
|
|
777
822
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
778
823
|
type: "vibes-diy.cli.set-unpublish";
|
|
@@ -851,20 +896,6 @@ export declare function cliEventoHandlers(): (import("@adviser/cement").EventoHa
|
|
|
851
896
|
type: "vibes-diy.cli.res-retention-reset";
|
|
852
897
|
userId: string;
|
|
853
898
|
cleared: string[];
|
|
854
|
-
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
855
|
-
type: "core-cli.device-id-register";
|
|
856
|
-
commonName: string;
|
|
857
|
-
organization: string;
|
|
858
|
-
locality: string;
|
|
859
|
-
state: string;
|
|
860
|
-
country: string;
|
|
861
|
-
caUrl: string;
|
|
862
|
-
port: string;
|
|
863
|
-
timeout: string;
|
|
864
|
-
forceRenew: boolean;
|
|
865
|
-
}, {
|
|
866
|
-
type: "core-cli.res-device-id-register";
|
|
867
|
-
output: string;
|
|
868
899
|
}> | import("@adviser/cement").EventoHandler<WrapCmdTSMsg<unknown>, {
|
|
869
900
|
type: "vibes-diy.cli.db.list";
|
|
870
901
|
apiUrl: string;
|
package/cli/cmd-evento.js
CHANGED
|
@@ -16,7 +16,7 @@ import { listEvento } from "./cmds/list-cmd.js";
|
|
|
16
16
|
import { pullEvento } from "./cmds/pull-cmd.js";
|
|
17
17
|
import { versionsEvento } from "./cmds/versions-cmd.js";
|
|
18
18
|
import { assetsLsEvento } from "./cmds/assets-cmd.js";
|
|
19
|
-
import { appStatusEvento, appRearmEvento, appScheduleOffEvento, appLogsEvento, appChipsEvento, appScreenshotEvento, } from "./cmds/app/index.js";
|
|
19
|
+
import { appStatusEvento, appRearmEvento, appScheduleOffEvento, appLogsEvento, appChipsEvento, appScreenshotEvento, appLookEvento, } from "./cmds/app/index.js";
|
|
20
20
|
import { setUnpublishEvento, publishEvento } from "./cmds/unpublish-cmd.js";
|
|
21
21
|
import { secretsEvento } from "./cmds/secrets/secrets-cmd.js";
|
|
22
22
|
import { recommendEvento } from "./cmds/recommend/recommend-cmd.js";
|
|
@@ -50,6 +50,7 @@ export function cliEventoHandlers() {
|
|
|
50
50
|
appScheduleOffEvento,
|
|
51
51
|
appLogsEvento,
|
|
52
52
|
appChipsEvento,
|
|
53
|
+
appLookEvento,
|
|
53
54
|
setUnpublishEvento,
|
|
54
55
|
publishEvento,
|
|
55
56
|
secretsEvento,
|
package/cli/cmd-evento.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-evento.js","sourceRoot":"","sources":["../../jsr/cli/cmd-evento.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EA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ACd,mBAAmB;QACnB,oBAAoB;QACpB,aAAa;QACb,cAAc;QACd,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,aAAa;QACb,eAAe;QACf,eAAe;QACf,sBAAsB;QACtB,oBAAoB;QACpB,sBAAsB;QACtB,YAAY;QACZ,WAAW;QACX,WAAW;QACX,WAAW;QACX,aAAa;QACb,iBAAiB;KAClB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,OAAO,eAAe,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAC9C,CAAC"}
|
package/cli/cmds/app/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { appRearmEvento, isResAppRearmCli, renderAppRearmLines, type ResAppRearm
|
|
|
4
4
|
export { appScheduleOffEvento, isResAppScheduleOffCli, renderAppScheduleOffLines, type ResAppScheduleOffCli, } from "./schedule-cmd.js";
|
|
5
5
|
export { appLogsEvento, isResAppLogsCli, renderAppLogLines, parseSince, type ResAppLogsCli } from "./logs-cmd.js";
|
|
6
6
|
export { appChipsEvento, isResAppChipsCli, renderAppChipsLines, type ResAppChipsCli } from "./chips-cmd.js";
|
|
7
|
+
export { appLookEvento, isResAppLookCli, renderAppLookLines, appLookFromSettings, summarizeStyle, RELAYOUT_INSTRUCTION, type ResAppLookCli, } from "./look-cmd.js";
|
|
7
8
|
export { appScreenshotEvento, isResAppScreenshotCli, renderAppScreenshotLines, type ResAppScreenshotCli, } from "./screenshot-cmd.js";
|
|
8
9
|
export declare function appSubcommands(ctx: CliCtx): Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
9
10
|
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
@@ -33,6 +34,32 @@ export declare function appSubcommands(ctx: CliCtx): Partial<import("cmd-ts/dist
|
|
|
33
34
|
limit: number;
|
|
34
35
|
tail: boolean;
|
|
35
36
|
};
|
|
37
|
+
} | {
|
|
38
|
+
command: "look";
|
|
39
|
+
args: {
|
|
40
|
+
command: "get";
|
|
41
|
+
args: {
|
|
42
|
+
apiUrl: string;
|
|
43
|
+
json: boolean;
|
|
44
|
+
text: boolean;
|
|
45
|
+
appSlug: string | undefined;
|
|
46
|
+
vibe: string;
|
|
47
|
+
handle: string;
|
|
48
|
+
};
|
|
49
|
+
} | {
|
|
50
|
+
command: "set";
|
|
51
|
+
args: {
|
|
52
|
+
apiUrl: string;
|
|
53
|
+
json: boolean;
|
|
54
|
+
text: boolean;
|
|
55
|
+
appSlug: string | undefined;
|
|
56
|
+
vibe: string;
|
|
57
|
+
handle: string;
|
|
58
|
+
theme: string;
|
|
59
|
+
variety: string;
|
|
60
|
+
relayout: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
36
63
|
} | {
|
|
37
64
|
command: "rearm";
|
|
38
65
|
args: {
|
|
@@ -105,6 +132,32 @@ export declare function appSubcommands(ctx: CliCtx): Partial<import("cmd-ts/dist
|
|
|
105
132
|
limit: number;
|
|
106
133
|
tail: boolean;
|
|
107
134
|
};
|
|
135
|
+
} | {
|
|
136
|
+
command: "look";
|
|
137
|
+
args: {
|
|
138
|
+
command: "get";
|
|
139
|
+
args: {
|
|
140
|
+
apiUrl: string;
|
|
141
|
+
json: boolean;
|
|
142
|
+
text: boolean;
|
|
143
|
+
appSlug: string | undefined;
|
|
144
|
+
vibe: string;
|
|
145
|
+
handle: string;
|
|
146
|
+
};
|
|
147
|
+
} | {
|
|
148
|
+
command: "set";
|
|
149
|
+
args: {
|
|
150
|
+
apiUrl: string;
|
|
151
|
+
json: boolean;
|
|
152
|
+
text: boolean;
|
|
153
|
+
appSlug: string | undefined;
|
|
154
|
+
vibe: string;
|
|
155
|
+
handle: string;
|
|
156
|
+
theme: string;
|
|
157
|
+
variety: string;
|
|
158
|
+
relayout: boolean;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
108
161
|
} | {
|
|
109
162
|
command: "rearm";
|
|
110
163
|
args: {
|
|
@@ -155,6 +208,15 @@ export declare function appSubcommands(ctx: CliCtx): Partial<import("cmd-ts/dist
|
|
|
155
208
|
} | {
|
|
156
209
|
command: "logs";
|
|
157
210
|
value: never;
|
|
211
|
+
} | {
|
|
212
|
+
command: "look";
|
|
213
|
+
value: {
|
|
214
|
+
command: "get";
|
|
215
|
+
value: never;
|
|
216
|
+
} | {
|
|
217
|
+
command: "set";
|
|
218
|
+
value: never;
|
|
219
|
+
};
|
|
158
220
|
} | {
|
|
159
221
|
command: "rearm";
|
|
160
222
|
value: never;
|
|
@@ -177,6 +239,15 @@ export declare function appSubcommands(ctx: CliCtx): Partial<import("cmd-ts/dist
|
|
|
177
239
|
} | {
|
|
178
240
|
command: "logs";
|
|
179
241
|
value: never;
|
|
242
|
+
} | {
|
|
243
|
+
command: "look";
|
|
244
|
+
value: {
|
|
245
|
+
command: "get";
|
|
246
|
+
value: never;
|
|
247
|
+
} | {
|
|
248
|
+
command: "set";
|
|
249
|
+
value: never;
|
|
250
|
+
};
|
|
180
251
|
} | {
|
|
181
252
|
command: "rearm";
|
|
182
253
|
value: never;
|