Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ config.toml
.env
.ipynb_checkpoints
.idea
@space-operator/contracts/node_modules
@space-operator/client-next/node_modules
node_modules
@space-operator/client/node_modules
@space-operator/contracts/node_modules
@space-operator/flow-lib/node_modules
crates/cmds-deno/node_modules
node_modules
.claude/settings.local.json
local-config.jsonc
.gitignore
.claude/settings.json
.claude/settings.local.json
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,670 changes: 1,582 additions & 88 deletions bun.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"required": true,
"passthrough": false,
"tooltip": "64-byte Solana keypair (secret key || public key)"
"tooltip": "Local Solana keypair with secret key bytes. Flow adapter wallets are not supported by the Privacy Cash SDK."
},
{
"name": "rpc_url",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"required": true,
"passthrough": false,
"tooltip": "64-byte Solana keypair (secret key || public key)"
"tooltip": "Local Solana keypair with secret key bytes. Flow adapter wallets are not supported by the Privacy Cash SDK."
},
{
"name": "rpc_url",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"required": true,
"passthrough": false,
"tooltip": "64-byte Solana keypair (secret key || public key)"
"tooltip": "Local Solana keypair with secret key bytes. Flow adapter wallets are not supported by the Privacy Cash SDK."
},
{
"name": "rpc_url",
Expand All @@ -39,11 +39,12 @@
{
"name": "recipient",
"type_bounds": [
"pubkey",
"string"
],
"required": true,
"passthrough": false,
"tooltip": "Recipient address (Base58 public key)"
"tooltip": "Recipient wallet address"
}
],
"outputs": [
Expand Down
80 changes: 80 additions & 0 deletions crates/cmds-bun/node-definitions/relay/email_relay_receive.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"$schema": "https://schema.spaceoperator.com/node-v2.schema.json",
"version": "0.1",
"name": "resend_receive_email",
"prefix": "resend",
"description": "Parse an inbound email from a Resend or SendGrid webhook. Extracts sender, recipient, subject, and body. Strips quoted reply content automatically.",
"type": "bun",
"author_handle": "spo",
"source_code": "crates/cmds-bun/src/relay/email_relay_receive.ts",
"ports": {
"inputs": [
{
"name": "webhook_payload",
"type_bounds": ["free"],
"required": true,
"passthrough": false,
"tooltip": "Parsed webhook payload from Resend or SendGrid inbound parse"
}
],
"outputs": [
{
"name": "from",
"type": "string",
"tooltip": "Sender email address"
},
{
"name": "to",
"type": "string",
"tooltip": "Recipient email address"
},
{
"name": "subject",
"type": "string",
"tooltip": "Email subject line"
},
{
"name": "body",
"type": "string",
"tooltip": "Cleaned message body (quoted reply content stripped)"
},
{
"name": "raw_body",
"type": "string",
"tooltip": "Full original plain text body"
},
{
"name": "html_body",
"type": "string",
"tooltip": "HTML body if present"
},
{
"name": "headers",
"type": "object",
"tooltip": "Email headers"
},
{
"name": "received_at",
"type": "string",
"tooltip": "ISO timestamp when parsed"
}
]
},
"config_schema": {},
"config": {},
"classification": {
"vendor": "Resend",
"program": "resend",
"category": "notification",
"icon_url": null,
"tags": ["email", "resend", "webhook", "inbound", "receive"]
},
"external_version": {
"program_id": "resend_webhook",
"sdk_crate": null,
"sdk_version": null,
"api_base_url": null,
"api_version": null,
"source_repo": null
}
}
106 changes: 106 additions & 0 deletions crates/cmds-bun/node-definitions/relay/email_relay_send.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"$schema": "https://schema.spaceoperator.com/node-v2.schema.json",
"version": "0.1",
"name": "resend_send_email",
"prefix": "resend",
"description": "Send an email via the Resend API. Supports text, HTML, reply-to, CC, and BCC. Use with upstream nodes to build relay addresses for privacy patterns.",
"type": "bun",
"author_handle": "spo",
"source_code": "crates/cmds-bun/src/relay/email_relay_send.ts",
"ports": {
"inputs": [
{
"name": "api_key",
"type_bounds": ["string"],
"required": true,
"passthrough": false,
"tooltip": "Resend API key"
},
{
"name": "from",
"type_bounds": ["string"],
"required": true,
"passthrough": false,
"tooltip": "Sender email address (e.g. 'Name <noreply@example.com>')"
},
{
"name": "to",
"type_bounds": ["string"],
"required": true,
"passthrough": false,
"tooltip": "Recipient email address"
},
{
"name": "subject",
"type_bounds": ["string"],
"required": true,
"passthrough": false,
"tooltip": "Email subject line"
},
{
"name": "text",
"type_bounds": ["string"],
"required": false,
"passthrough": false,
"tooltip": "Plain text body (provide text and/or html)"
},
{
"name": "html",
"type_bounds": ["string"],
"required": false,
"passthrough": false,
"tooltip": "HTML body (provide text and/or html)"
},
{
"name": "reply_to",
"type_bounds": ["string"],
"required": false,
"passthrough": false,
"tooltip": "Reply-to address (useful for relay patterns)"
},
{
"name": "cc",
"type_bounds": ["string"],
"required": false,
"passthrough": false,
"tooltip": "CC recipient(s) — comma-separated or single address"
},
{
"name": "bcc",
"type_bounds": ["string"],
"required": false,
"passthrough": false,
"tooltip": "BCC recipient(s) — comma-separated or single address"
}
],
"outputs": [
{
"name": "message_id",
"type": "string",
"tooltip": "Resend message ID"
},
{
"name": "status",
"type": "string",
"tooltip": "Send status"
}
]
},
"config_schema": {},
"config": {},
"classification": {
"vendor": "Resend",
"program": "resend",
"category": "notification",
"icon_url": null,
"tags": ["email", "resend", "notification", "send"]
},
"external_version": {
"program_id": "resend_api",
"sdk_crate": null,
"sdk_version": null,
"api_base_url": "https://api.resend.com",
"api_version": null,
"source_repo": "https://github.com/resend/resend-node"
}
}
80 changes: 80 additions & 0 deletions crates/cmds-bun/node-definitions/relay/sms_relay_receive.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"$schema": "https://schema.spaceoperator.com/node-v2.schema.json",
"version": "0.1",
"name": "twilio_receive_sms",
"prefix": "twilio",
"description": "Parse an inbound SMS/MMS from a Twilio webhook. Extracts sender, recipient, body, media URLs, and geo-location data. Wire outputs to Deno/Rhai for relay routing.",
"type": "bun",
"author_handle": "spo",
"source_code": "crates/cmds-bun/src/relay/sms_relay_receive.ts",
"ports": {
"inputs": [
{
"name": "webhook_payload",
"type_bounds": ["free"],
"required": true,
"passthrough": false,
"tooltip": "Parsed webhook payload from Twilio"
}
],
"outputs": [
{
"name": "from",
"type": "string",
"tooltip": "Sender phone number"
},
{
"name": "to",
"type": "string",
"tooltip": "Twilio number that received the message"
},
{
"name": "body",
"type": "string",
"tooltip": "SMS/MMS message body"
},
{
"name": "message_sid",
"type": "string",
"tooltip": "Twilio Message SID"
},
{
"name": "num_media",
"type": "number",
"tooltip": "Number of media attachments"
},
{
"name": "media_urls",
"type": "json",
"tooltip": "Array of media attachment URLs (MMS)"
},
{
"name": "from_location",
"type": "string",
"tooltip": "Sender's location (City, State, Country)"
},
{
"name": "received_at",
"type": "string",
"tooltip": "ISO timestamp when parsed"
}
]
},
"config_schema": {},
"config": {},
"classification": {
"vendor": "Twilio",
"program": "twilio",
"category": "notification",
"icon_url": null,
"tags": ["sms", "twilio", "webhook", "inbound", "receive", "mms"]
},
"external_version": {
"program_id": "twilio_webhook",
"sdk_crate": null,
"sdk_version": null,
"api_base_url": null,
"api_version": null,
"source_repo": null
}
}
Loading
Loading