refactor: rename the project to JerapahFlow (jerapah-flow)

Update package names, env vars, cookie, and default ntfy topics while keeping SCRUNNER_* fallbacks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-15 21:21:24 +07:00
co-authored by Cursor
parent 97bb8d7429
commit 4a78f66e2d
20 changed files with 53 additions and 42 deletions
+6 -5
View File
@@ -83,7 +83,7 @@ async function ntfy(ctx) {
}
const headers = ntfyHeaders(ctx);
const ntfyUrl = ctx.config?.url || "https://ntfy.sh/scrunner";
const ntfyUrl = ctx.config?.url || "https://ntfy.sh/jerapah-flow";
if (hasFile) {
const filename = ctx.data?.filename || "attachment";
@@ -114,7 +114,7 @@ async function ntfy(ctx) {
log.info("ntfy sending message to %s", ntfyUrl);
log.info("ntfy messsage: %s", truncatedMessage);
await $axios.post(ntfyUrl, ctx.data?.message || "Hello from scrunner", {
await $axios.post(ntfyUrl, ctx.data?.message || "Hello from jerapah-flow", {
headers,
});
}
@@ -132,10 +132,11 @@ async function ntfy(ctx) {
ntfy.meta = {
description: "Send a message or file to an ntfy topic",
previewConfigKey: "url",
tags: ["channel"],
config: {
url: {
type: "string",
default: "https://ntfy.sh/scrunner",
default: "https://ntfy.sh/jerapah-flow",
description: "ntfy topic URL",
},
fingerprint: {
@@ -166,8 +167,8 @@ ntfy.meta = {
sent: { type: "string", description: "Replaces the workflow context with { sent: \"true\" }" },
},
example: {
data: { title: "Hello", message: "Hello from scrunner" },
config: { url: "https://ntfy.sh/scrunner", fingerprint: true },
data: { title: "Hello", message: "Hello from jerapah-flow" },
config: { url: "https://ntfy.sh/jerapah-flow", fingerprint: true },
},
};
+2 -1
View File
@@ -231,6 +231,7 @@ async function sendEmail(ctx) {
sendEmail.meta = {
description: "Send an email via SMTP (nodemailer); plain text, HTML, or both",
previewConfigKey: "from",
tags: ["channel"],
config: {
service: {
type: "string",
@@ -427,7 +428,7 @@ sendEmail.meta = {
to: ["recipient@example.com", "other@example.com"],
cc: "manager@example.com",
bcc: "audit@example.com",
subject: "Hello from scrunner",
subject: "Hello from JerapahFlow",
text: "This is a plain-text test message.",
},
config: {