@cleocode/core 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/internal.js
CHANGED
|
@@ -112628,12 +112628,8 @@ function createAttachmentStore() {
|
|
|
112628
112628
|
await db.update(attachments).set({ refCount: sql14`ref_count + 1` }).where(eq13(attachments.id, attachmentId)).run();
|
|
112629
112629
|
nativeDb.prepare("COMMIT").run();
|
|
112630
112630
|
if (wasNew) {
|
|
112631
|
-
|
|
112632
|
-
|
|
112633
|
-
await writeFile13(filePath, buf);
|
|
112634
|
-
} catch (err2) {
|
|
112635
|
-
throw err2;
|
|
112636
|
-
}
|
|
112631
|
+
await mkdir18(join111(filePath, ".."), { recursive: true });
|
|
112632
|
+
await writeFile13(filePath, buf);
|
|
112637
112633
|
}
|
|
112638
112634
|
const finalRow = await db.select().from(attachments).where(eq13(attachments.id, attachmentId)).get();
|
|
112639
112635
|
return rowToMetadata(finalRow);
|
|
@@ -113562,7 +113558,7 @@ ${stderr}`.trim(), MAX_EVIDENCE_BYTES);
|
|
|
113562
113558
|
`${gate.tool} exited with ${exitCode}`
|
|
113563
113559
|
);
|
|
113564
113560
|
}
|
|
113565
|
-
if (toolDef.errorPattern
|
|
113561
|
+
if (toolDef.errorPattern?.test(combined)) {
|
|
113566
113562
|
return makeResult(
|
|
113567
113563
|
index2,
|
|
113568
113564
|
gate,
|