Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(ci): repair format gate and pin maintenance skill destinations

morluto603d04ee3ac6
diff --git a/src/apktool/ApktoolProvider.ts b/src/apktool/ApktoolProvider.ts
index 3bcb98510..d898b785a 100644
--- a/src/apktool/ApktoolProvider.ts
+++ b/src/apktool/ApktoolProvider.ts
@@ -157,7 +157,7 @@ const runApktool = async (
timeoutMs: limits.timeoutMs,
diagnosticBytes: limits.maxOutputBytes,
},
- (signal === undefined ? {} : { signal }),
+ signal === undefined ? {} : { signal },
);
return ok({ stdout: output.stdout.text, stderr: output.stderr.text });
} catch (cause) {
diff --git a/tests/process-global/updateMaintenance.test.ts b/tests/process-global/updateMaintenance.test.ts
index 760bd96aa..43e2927a3 100644
--- a/tests/process-global/updateMaintenance.test.ts
+++ b/tests/process-global/updateMaintenance.test.ts
@@ -148,6 +148,7 @@ describe("existing REA integration maintenance", () => {
).resolves.toEqual({
clients: ["codex", "vscode"],
skill: false,
+ skillDestinations: [],
});
});
@@ -157,6 +158,7 @@ describe("existing REA integration maintenance", () => {
).resolves.toEqual({
clients: [],
skill: false,
+ skillDestinations: [],
});
await writeSkill("---\nname: another-skill\n---\nUser-authored content\n");
await expect(
@@ -164,6 +166,7 @@ describe("existing REA integration maintenance", () => {
).resolves.toEqual({
clients: [],
skill: false,
+ skillDestinations: [],
});
});
@@ -177,6 +180,12 @@ describe("existing REA integration maintenance", () => {
).resolves.toEqual({
clients: [],
skill: true,
+ skillDestinations: [
+ {
+ client: "shared",
+ path: join(home, ".agents", "skills", PRODUCT_IDENTITY.skillName),
+ },
+ ],
});
expect(await readFile(path, "utf8")).toBe(original);
});
@@ -224,7 +233,7 @@ describe("existing REA integration maintenance", () => {
]);
expect(result).toEqual({
status: "planned",
- scope: { clients: ["codex"], skill: false },
+ scope: { clients: ["codex"], skill: false, skillDestinations: [] },
command: recorded[0]?.slice(0, -2),
plannedActions: [action],
});