vibes-diy 14.3.416 → 14.3.418
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/cmds/run/run-bundle.js +19 -1
- package/package.json +8 -8
|
@@ -98839,6 +98839,12 @@ async function startingPhotoRef(mctx, args, withSender) {
|
|
|
98839
98839
|
);
|
|
98840
98840
|
}
|
|
98841
98841
|
__name(startingPhotoRef, "startingPhotoRef");
|
|
98842
|
+
function paintFailedText(target2) {
|
|
98843
|
+
if (target2 === void 0) return "The picture didn't come out this time. Try once more, or say so plainly.";
|
|
98844
|
+
const keys = `dbName "${target2.dbName}", docId "${target2.docId}"${target2.photoKey === void 0 ? "" : `, photoKey "${target2.photoKey}"`}`;
|
|
98845
|
+
return `The picture didn't come out this time. Try once more with the same call into the same record, \`vibe\` with ${keys}, so it still lands in the app; or say so plainly.`;
|
|
98846
|
+
}
|
|
98847
|
+
__name(paintFailedText, "paintFailedText");
|
|
98842
98848
|
var NO_PHOTO_YET = `They most likely haven't picked one yet, even if their words say it's attached: ask for it as the fun next step ("Send me your selfie and I'll suit you up") or offer three words about them instead, and never say it didn't come through, failed or needs sending again.`;
|
|
98843
98849
|
function senderKey(from) {
|
|
98844
98850
|
return (from ?? "").trim().replace(/^@/, "").toLowerCase();
|
|
@@ -99342,7 +99348,19 @@ async function makePicture(vctx, mctx, args) {
|
|
|
99342
99348
|
if (rPaint.isErr()) {
|
|
99343
99349
|
const cause = paintFailureClass(rPaint.Err().message);
|
|
99344
99350
|
vctx.logger.Warn().Str("chatId", mctx.chatId).Str("model", model).Str("cause", cause).Msg("make_picture: paint failed");
|
|
99345
|
-
return {
|
|
99351
|
+
return {
|
|
99352
|
+
...refusal(
|
|
99353
|
+
"failed",
|
|
99354
|
+
paintFailedText(
|
|
99355
|
+
vibe2 === void 0 ? void 0 : {
|
|
99356
|
+
dbName: vibe2.dbName,
|
|
99357
|
+
docId: vibe2.docId,
|
|
99358
|
+
...args.vibe?.photoKey === void 0 ? {} : { photoKey: args.vibe.photoKey }
|
|
99359
|
+
}
|
|
99360
|
+
)
|
|
99361
|
+
),
|
|
99362
|
+
cause
|
|
99363
|
+
};
|
|
99346
99364
|
}
|
|
99347
99365
|
const painted2 = rPaint.Ok();
|
|
99348
99366
|
mark("paint");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibes-diy",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.418",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"description": "Command-line tool for vibes.diy — vibes give agents superpowers: generate, edit, pull, push, and publish AI-built apps. Login is free and easy.",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@neondatabase/serverless": "~1.2.1",
|
|
42
42
|
"@noble/hashes": "~2.4.0",
|
|
43
43
|
"@shadcn/lint": "~0.2.3",
|
|
44
|
-
"@vibes.diy/api-impl": "14.3.
|
|
45
|
-
"@vibes.diy/api-types": "14.3.
|
|
46
|
-
"@vibes.diy/call-ai-v2": "14.3.
|
|
47
|
-
"@vibes.diy/cmd-harness": "14.3.
|
|
48
|
-
"@vibes.diy/cmd-tools": "14.3.
|
|
49
|
-
"@vibes.diy/identity": "14.3.
|
|
50
|
-
"@vibes.diy/prompts": "14.3.
|
|
44
|
+
"@vibes.diy/api-impl": "14.3.418",
|
|
45
|
+
"@vibes.diy/api-types": "14.3.418",
|
|
46
|
+
"@vibes.diy/call-ai-v2": "14.3.418",
|
|
47
|
+
"@vibes.diy/cmd-harness": "14.3.418",
|
|
48
|
+
"@vibes.diy/cmd-tools": "14.3.418",
|
|
49
|
+
"@vibes.diy/identity": "14.3.418",
|
|
50
|
+
"@vibes.diy/prompts": "14.3.418",
|
|
51
51
|
"acorn": "~8.19.0",
|
|
52
52
|
"acorn-jsx": "~5.3.2",
|
|
53
53
|
"arktype": "~2.2.9",
|