@neriros/ralphy 3.8.13 → 3.10.1
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/mcp/index.js +23 -7
- package/dist/shell/index.js +42209 -34886
- package/package.json +3 -2
package/dist/mcp/index.js
CHANGED
|
@@ -6615,20 +6615,33 @@ import {
|
|
|
6615
6615
|
writeFileSync,
|
|
6616
6616
|
existsSync,
|
|
6617
6617
|
unlinkSync,
|
|
6618
|
+
renameSync,
|
|
6618
6619
|
mkdirSync,
|
|
6619
6620
|
readdirSync
|
|
6620
6621
|
} from "fs";
|
|
6621
6622
|
import { dirname } from "path";
|
|
6622
6623
|
|
|
6623
6624
|
class FileSystemProvider {
|
|
6625
|
+
writeSeq = 0;
|
|
6624
6626
|
read(path) {
|
|
6625
6627
|
if (!existsSync(path))
|
|
6626
6628
|
return null;
|
|
6627
6629
|
return readFileSync(path, "utf-8");
|
|
6628
6630
|
}
|
|
6629
6631
|
write(path, content) {
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
+
const dir = dirname(path);
|
|
6633
|
+
mkdirSync(dir, { recursive: true });
|
|
6634
|
+
const tmp = `${path}.tmp-${process.pid}-${this.writeSeq++}`;
|
|
6635
|
+
try {
|
|
6636
|
+
writeFileSync(tmp, content, "utf-8");
|
|
6637
|
+
renameSync(tmp, path);
|
|
6638
|
+
} catch (err) {
|
|
6639
|
+
try {
|
|
6640
|
+
if (existsSync(tmp))
|
|
6641
|
+
unlinkSync(tmp);
|
|
6642
|
+
} catch {}
|
|
6643
|
+
throw err;
|
|
6644
|
+
}
|
|
6632
6645
|
}
|
|
6633
6646
|
remove(path) {
|
|
6634
6647
|
if (!existsSync(path))
|
|
@@ -6657,8 +6670,8 @@ function getStorage() {
|
|
|
6657
6670
|
function runWithContext(ctx, fn) {
|
|
6658
6671
|
return contextStore.run(ctx, fn);
|
|
6659
6672
|
}
|
|
6660
|
-
function createDefaultContext() {
|
|
6661
|
-
return { storage: createFileSystemProvider() };
|
|
6673
|
+
function createDefaultContext(overrides = {}) {
|
|
6674
|
+
return { storage: createFileSystemProvider(), ...overrides };
|
|
6662
6675
|
}
|
|
6663
6676
|
|
|
6664
6677
|
// node_modules/.bun/zod@4.3.6/node_modules/zod/v3/helpers/util.js
|
|
@@ -24014,7 +24027,8 @@ var OWNERSHIP = {
|
|
|
24014
24027
|
confirmation: ["confirmation"],
|
|
24015
24028
|
"review-followup": ["review"],
|
|
24016
24029
|
"ci-fix": ["ci"],
|
|
24017
|
-
implement: ["pr"]
|
|
24030
|
+
implement: ["pr"],
|
|
24031
|
+
coordinator: ["flow"]
|
|
24018
24032
|
};
|
|
24019
24033
|
var ALL_OWNED_SLOTS = new Set(Object.values(OWNERSHIP).flatMap((slots) => [...slots]));
|
|
24020
24034
|
|
|
@@ -24098,12 +24112,14 @@ var StateSchema = exports_external.object({
|
|
|
24098
24112
|
designPdf: exports_external.object({
|
|
24099
24113
|
attachmentId: exports_external.string().nullable().default(null),
|
|
24100
24114
|
sha256: exports_external.string().nullable().default(null)
|
|
24101
|
-
}).default({ attachmentId: null, sha256: null })
|
|
24115
|
+
}).default({ attachmentId: null, sha256: null }),
|
|
24116
|
+
legacyProposalPurged: exports_external.boolean().default(false)
|
|
24102
24117
|
}).default({
|
|
24103
24118
|
proposal: { attachmentId: null, sha256: null },
|
|
24104
24119
|
design: { attachmentId: null, sha256: null },
|
|
24105
24120
|
proposalPdf: { attachmentId: null, sha256: null },
|
|
24106
|
-
designPdf: { attachmentId: null, sha256: null }
|
|
24121
|
+
designPdf: { attachmentId: null, sha256: null },
|
|
24122
|
+
legacyProposalPurged: false
|
|
24107
24123
|
}),
|
|
24108
24124
|
confirmation: exports_external.object({
|
|
24109
24125
|
askedAt: exports_external.string().nullable().default(null),
|