@cleocode/cleo 2026.4.73 → 2026.4.74
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/dist/cli/index.js +3 -7
- package/dist/cli/index.js.map +2 -2
- package/package.json +8 -8
package/dist/cli/index.js
CHANGED
|
@@ -92549,12 +92549,8 @@ function createAttachmentStore() {
|
|
|
92549
92549
|
await db.update(attachments).set({ refCount: sql14`ref_count + 1` }).where(eq14(attachments.id, attachmentId)).run();
|
|
92550
92550
|
nativeDb.prepare("COMMIT").run();
|
|
92551
92551
|
if (wasNew) {
|
|
92552
|
-
|
|
92553
|
-
|
|
92554
|
-
await writeFile13(filePath, buf);
|
|
92555
|
-
} catch (err2) {
|
|
92556
|
-
throw err2;
|
|
92557
|
-
}
|
|
92552
|
+
await mkdir18(join112(filePath, ".."), { recursive: true });
|
|
92553
|
+
await writeFile13(filePath, buf);
|
|
92558
92554
|
}
|
|
92559
92555
|
const finalRow = await db.select().from(attachments).where(eq14(attachments.id, attachmentId)).get();
|
|
92560
92556
|
return rowToMetadata(finalRow);
|
|
@@ -107357,7 +107353,7 @@ ${stderr2}`.trim(), MAX_EVIDENCE_BYTES);
|
|
|
107357
107353
|
`${gate.tool} exited with ${exitCode}`
|
|
107358
107354
|
);
|
|
107359
107355
|
}
|
|
107360
|
-
if (toolDef.errorPattern
|
|
107356
|
+
if (toolDef.errorPattern?.test(combined)) {
|
|
107361
107357
|
return makeResult(
|
|
107362
107358
|
index2,
|
|
107363
107359
|
gate,
|