Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Postiz in Apps: a Social category, so bots can draft, schedule and publish social posts (#3785)

Milind Soni097e8f5276b3
diff --git a/apps/docs/content/docs/security/analytics.mdx b/apps/docs/content/docs/security/analytics.mdx
index 1c29ef726c..a986824f27 100644
--- a/apps/docs/content/docs/security/analytics.mdx
+++ b/apps/docs/content/docs/security/analytics.mdx
@@ -60,7 +60,7 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
-| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg` |
+| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `meta`, `muse_code`, `deepseek`, `copilot` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
diff --git a/docs/analytics.md b/docs/analytics.md
index 5dddc638cb..3c47c8df18 100644
--- a/docs/analytics.md
+++ b/docs/analytics.md
@@ -56,7 +56,7 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
-| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg` |
+| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `meta`, `muse_code`, `deepseek`, `copilot` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
diff --git a/docs/pr-screenshots/postiz/1-social-category.png b/docs/pr-screenshots/postiz/1-social-category.png
new file mode 100644
index 0000000000..8d6edc2571
Binary files /dev/null and b/docs/pr-screenshots/postiz/1-social-category.png differ
diff --git a/docs/pr-screenshots/postiz/2-sign-in-waiting.png b/docs/pr-screenshots/postiz/2-sign-in-waiting.png
new file mode 100644
index 0000000000..eb46b76dd0
Binary files /dev/null and b/docs/pr-screenshots/postiz/2-sign-in-waiting.png differ
diff --git a/docs/pr-screenshots/postiz/3-connected-sign-in.png b/docs/pr-screenshots/postiz/3-connected-sign-in.png
new file mode 100644
index 0000000000..c5f670f9dd
Binary files /dev/null and b/docs/pr-screenshots/postiz/3-connected-sign-in.png differ
diff --git a/docs/pr-screenshots/postiz/4-key-refused.png b/docs/pr-screenshots/postiz/4-key-refused.png
new file mode 100644
index 0000000000..92609b847c
Binary files /dev/null and b/docs/pr-screenshots/postiz/4-key-refused.png differ
diff --git a/docs/pr-screenshots/postiz/5-key-form.png b/docs/pr-screenshots/postiz/5-key-form.png
new file mode 100644
index 0000000000..81db3fb005
Binary files /dev/null and b/docs/pr-screenshots/postiz/5-key-form.png differ
diff --git a/docs/pr-screenshots/postiz/6-connected-key.png b/docs/pr-screenshots/postiz/6-connected-key.png
new file mode 100644
index 0000000000..2c1bc5cdeb
Binary files /dev/null and b/docs/pr-screenshots/postiz/6-connected-key.png differ
diff --git a/docs/pr-screenshots/postiz/7-all-apps-connected.png b/docs/pr-screenshots/postiz/7-all-apps-connected.png
new file mode 100644
index 0000000000..22de556edc
Binary files /dev/null and b/docs/pr-screenshots/postiz/7-all-apps-connected.png differ
diff --git a/docs/verification/README.md b/docs/verification/README.md
index 2892dd3f5d..b257e44f65 100644
--- a/docs/verification/README.md
+++ b/docs/verification/README.md
@@ -129,6 +129,12 @@ The [Whop fixture](whop.md) checks its one-click setup, cancellation, denied
consent, discovery failures, reconnect and disconnect using that same registry
and a synthetic provider, without accessing a real Whop account.
+The [Postiz fixture](postiz.md) checks the Apps page's Postiz card in the Social
+category: Postiz Cloud's sign-in and an API key for a person's own Postiz, the
+bot's turn getting the `postiz` tools with the token kept out of every answer,
+transcript and log, plain refusals, revocation and disconnect, against loopback
+stand-ins for Postiz.
+
The [X card fixture](x-connector.md) checks the Apps page's X card: a plan's
included calls with the month's use, the person's own treg key (saved, tested,
removed, used first) and a used-up month, against loopback stand-ins for treg
diff --git a/docs/verification/postiz.md b/docs/verification/postiz.md
new file mode 100644
index 0000000000..f5d70dd75f
--- /dev/null
+++ b/docs/verification/postiz.md
@@ -0,0 +1,71 @@
+# Postiz connection
+
+The Postiz card in Apps (the Social category) connects the social media
+scheduler [Postiz](https://postiz.com) as one MCP server named `postiz`, so the
+MCP gate, each bot's server selection and a Team Cloud's scopes treat it like
+any other server. OpenMausBot only calls Postiz's public
+MCP and OAuth endpoints; Postiz is AGPL-3.0 and none of its code is copied.
+
+- **Sign in with Postiz** (the default) uses Postiz Cloud's
+ `/mcp-oauth-dynamic` endpoint with dynamic client registration and PKCE,
+ through the existing MCP sign-in (`server/mcp-oauth.ts`): the loopback
+ callback on the desktop, the Cloud's own https address on a Cloud.
+- **Use an API key instead** sends the organisation key as a bearer token to
+ `<address>/mcp`, Postiz Cloud unless the person enters their own Postiz
+ server. The key is checked (MCP `initialize` and `tools/list`) before it is
+ saved, saved like other app keys (the desktop's encrypted store, the server's
+ config on a Cloud), and sent only to the entry at the address it was saved
+ for (`server/postiz/connection.ts`).
+
+## Isolated checks
+
+```sh
+pnpm exec vitest run server/postiz.e2e.test.ts server/postiz/service.test.ts server/postiz/connection.test.ts src/components/PostizCard.test.ts src/components/PluginsPanel.navigation.test.ts src/lib/app-catalog.test.ts src/lib/ready-bots.test.ts
+```
+
+`server/postiz.e2e.test.ts` runs a disposable fake-engine server beside two
+stand-in Postiz backends (`server/testing/fake-postiz.ts`, Postiz Cloud and a
+person's own Postiz) and proves, for both ways of connecting:
+
+- the sign-in registers a client, follows Postiz's consent back to the loopback
+ listener and stores a token; the key path refuses a wrong key, an http or
+ credential-bearing address, an unreachable server and a server that is not
+ Postiz, each in plain words, and saves nothing then;
+- the bot's next turn mounts `postiz` (without Claude Code's `alwaysLoad`, so it
+ loads on demand), and a scripted `schedulePostTool` call reaches the stand-in
+ with the right bearer;
+- the token or key appears in no API answer, transcript, prompt, server log or
+ data file except the one that stores it (`mcp-oauth.json`, or `config.json`
+ off the desktop);
+- a revoked token shows Reconnect and a revoked key shows as refused after
+ `POST /api/postiz/check`;
+- Disconnect, or removing the key, takes `postiz` out of the next turn.
+
+## Screenshots
+
+```sh
+OMB_VERIFY_PLAYWRIGHT=/path/to/playwright/index.mjs OMB_VERIFY_BROWSER_CHROME=/path/to/chrome node --experimental-strip-types scripts/verify-postiz.ts
+```
+
+This drives the real Apps modal in headless Chromium against the same stand-ins:
+the Social category, the sign-in waiting and connected states, a refused key,
+the key form and the key connection. Screenshots default to
+`/tmp/omb-postiz-evidence`; override with `OMB_UI_EVIDENCE_DIR`.
+
+## Live acceptance (a Postiz account owner)
+
+None of the above reaches Postiz. With a real account:
+
+1. Apps → Social → Postiz → Connect on the desktop. Postiz's consent page opens
+ at platform.postiz.com; approve it and check the card says it is connected.
+2. Ask a bot to list your Postiz channels, then to draft a post. Check it shows
+ in Postiz's calendar as a draft, and that the bot asked first if its approval
+ level asks.
+3. On a Cloud, connect the same way. If Postiz refuses to register the Cloud's
+ https address, the card falls back to pasting the redirect address; note
+ which happened.
+4. Disconnect the app in Postiz; Apps → Postiz should then offer Reconnect.
+5. Use an API key instead (Postiz → Settings → Public API), with and without
+ your own server's address; a wrong key must be refused in plain words.
+6. On a Team Cloud, connect with Only for me, then have a teammate connect their
+ own Postiz from their team page.
diff --git a/electron/credential-patch.mjs b/electron/credential-patch.mjs
index 116ea6b1f3..22a7a76d5a 100644
--- a/electron/credential-patch.mjs
+++ b/electron/credential-patch.mjs
@@ -13,6 +13,7 @@ export const CREDENTIAL_PATCH = {
customImageApiKey: (value) => ({ imageGen: { customApiKey: value } }),
openaiLiveKey: (value) => ({ live: { key: value } }),
tregApiKey: (value) => ({ treg: { key: value } }),
+ postizApiKey: (value) => ({ postiz: { key: value } }),
};
/** Electron 43's ipcMain.handle sends a thrown error to the page as its toString(), so a key the provider refused travels as its name. */
diff --git a/electron/diagnostics.mjs b/electron/diagnostics.mjs
index c2ebe2585f..57d510572a 100644
--- a/electron/diagnostics.mjs
+++ b/electron/diagnostics.mjs
@@ -29,6 +29,7 @@ export const CREDENTIAL_ENV_NAMES = [
"OMB_CUSTOM_IMAGE_KEY",
"OMB_OPENAI_LIVE_KEY",
"OMB_TREG_KEY",
+ "OMB_POSTIZ_API_KEY",
"COMPOSIO_API_KEY",
"OMB_COMPOSIO_BROKER_TOKEN",
"OMB_CLOUD_BOAT_TOKEN",
diff --git a/electron/workspace-credentials.mjs b/electron/workspace-credentials.mjs
index 5b2e1cac0e..0f749ac518 100644
--- a/electron/workspace-credentials.mjs
+++ b/electron/workspace-credentials.mjs
@@ -10,6 +10,7 @@ export const WORKSPACE_CREDENTIALS = [
{ section: "imageGen", field: "customApiKey", name: "customImageApiKey", env: "OMB_CUSTOM_IMAGE_KEY" },
{ section: "live", field: "key", name: "openaiLiveKey", env: "OMB_OPENAI_LIVE_KEY" },
{ section: "treg", field: "key", name: "tregApiKey", env: "OMB_TREG_KEY" },
+ { section: "postiz", field: "key", name: "postizApiKey", env: "OMB_POSTIZ_API_KEY" },
{ section: "opencodeGo", field: "apiKey", name: "opencodeGoApiKey", env: "OPENCODE_API_KEY" },
];
diff --git a/scripts/control-omb.ts b/scripts/control-omb.ts
index b3f6833fc1..770bcc0274 100644
--- a/scripts/control-omb.ts
+++ b/scripts/control-omb.ts
@@ -177,6 +177,9 @@ export function verificationServerEnvironment(parentEnv: NodeJS.ProcessEnv, data
childEnv.OMB_OPENAI_LIVE_URL = liveUrl;
if (parentEnv.OMB_OPENAI_LIVE_KEY) childEnv.OMB_OPENAI_LIVE_KEY = parentEnv.OMB_OPENAI_LIVE_KEY;
}
+ // A loopback stand-in for Postiz Cloud only (server/testing/fake-postiz.ts): no test signs in to the real one.
+ const postizUrl = parentEnv.OMB_POSTIZ_CLOUD_URL?.trim() ?? "";
+ if (/^http:\/\/127\.0\.0\.1:\d{1,5}$/.test(postizUrl)) childEnv.OMB_POSTIZ_CLOUD_URL = postizUrl;
// A loopback connected-apps service only (server/testing/broker-fake.ts): its token never reaches the real one.
const brokerUrl = parentEnv.OMB_COMPOSIO_BROKER_URL?.trim() ?? "";
if (/^http:\/\/127\.0\.0\.1:\d{1,5}$/.test(brokerUrl) && parentEnv.OMB_COMPOSIO_BROKER_TOKEN) {
diff --git a/scripts/testing/key-readback.e2e.test.ts b/scripts/testing/key-readback.e2e.test.ts
index e2ba9f678f..f42a5e527d 100644
--- a/scripts/testing/key-readback.e2e.test.ts
+++ b/scripts/testing/key-readback.e2e.test.ts
@@ -1,6 +1,6 @@
// Every credential on the keys page, saved through a real server the way its row saves it, read back from GET
// /api/config and shown masked. The services that check a key before it is kept (Boat, Composio, ElevenLabs, Fish Audio
-// and the decision models) answer from one loopback stand-in, so nothing leaves this machine.
+// the decision models and Postiz) answer from one loopback stand-in, so nothing leaves this machine.
import { spawn, type ChildProcess } from "node:child_process";
import { randomBytes } from "node:crypto";
import { closeSync, openSync, readFileSync, writeFileSync } from "node:fs";
@@ -48,9 +48,18 @@ async function call(method: string, path: string, body?: unknown) {
beforeAll(async () => {
stub = createServer(async (req, res) => {
const url = req.url ?? "";
- req.resume();
+ let raw = "";
+ req.setEncoding("utf8");
+ for await (const chunk of req) raw += chunk;
stubCalls.push(`${req.method} ${url.split("?")[0]}`);
const reply = (status: number, body: unknown) => { res.writeHead(status, { "content-type": "application/json" }); res.end(JSON.stringify(body)); };
+ if (url === "/postiz/mcp") {
+ const frame = JSON.parse(raw || "{}") as { id?: number; method?: string };
+ if (frame.id === undefined) { res.writeHead(202).end(); return; }
+ const result = frame.method === "initialize" ? { protocolVersion: "2025-06-18", capabilities: { tools: {} }, serverInfo: { name: "Postiz MCP", version: "1" } }
+ : { tools: [{ name: "integrationList", inputSchema: { type: "object" } }] };
+ return reply(200, { jsonrpc: "2.0", id: frame.id, result });
+ }
if (url.startsWith("/sandboxes")) return reply(200, { ok: true, sandboxes: [], pageInfo: { nextCursor: null } });
if (url.startsWith("/composio/tool_router/session")) {
return reply(201, { session_id: "trs_readback", mcp: { type: "http", url: "https://app.composio.dev/tool_router/v3/trs_readback/mcp" }, config: { user_id: "openmausbot_readback" } });
@@ -70,7 +79,7 @@ beforeAll(async () => {
const env = {
...verificationServerEnvironment({}, fixture.info.dataDir, Number(new URL(fixture.info.url).port)),
OMB_BOAT_API: origin, OMB_COMPOSIO_API: `${origin}/composio`, OMB_COMPOSIO_TOOLKITS_API: `${origin}/composio`,
- OMB_ELEVENLABS_API: `${origin}/eleven`, OMB_FISH_AUDIO_API: `${origin}/fish`,
+ OMB_ELEVENLABS_API: `${origin}/eleven`, OMB_FISH_AUDIO_API: `${origin}/fish`, OMB_POSTIZ_CLOUD_URL: `${origin}/postiz`,
};
const log = openSync(fixture.info.logPath, "a", 0o600);
server = spawn(process.execPath, verificationServerArgs(env), { cwd: fileURLToPath(ROOT), env, stdio: ["ignore", log, log] });
@@ -95,7 +104,7 @@ it("saves every kind of credential, reads it back and shows it masked to its las
setLocale("en");
expect(saveds.map((entry) => entry.id)).toEqual([
"openai", "anthropic", "xai", "openrouter", "mistral", "cerebras", "groq", "meta", "deepseek", "opencodeGo", "openaiCompat",
- "liveKey", "elevenlabs", "fishAudio", "box", "composio", "treg", "jev", "openrouterHelper", "workersAi", "imageOpenai", "imageCustom",
+ "liveKey", "elevenlabs", "fishAudio", "box", "composio", "treg", "postiz", "jev", "openrouterHelper", "workersAi", "imageOpenai", "imageCustom",
]);
for (const storage of ["", "?secretStorage=external"]) {
for (const entry of saveds) {
@@ -120,6 +129,6 @@ it("saves every kind of credential, reads it back and shows it masked to its las
}
}
expect(stubCalls).toEqual(expect.arrayContaining([
- "GET /sandboxes", "POST /composio/tool_router/session", "GET /eleven/voices", "GET /fish/model", "POST /jev/v1/systemone", "POST /alpha/decisions",
+ "GET /sandboxes", "POST /composio/tool_router/session", "GET /eleven/voices", "GET /fish/model", "POST /jev/v1/systemone", "POST /alpha/decisions", "POST /postiz/mcp",
]));
}, hostTimeout(180_000));
diff --git a/scripts/verify-postiz.ts b/scripts/verify-postiz.ts
new file mode 100644
index 0000000000..9020062a29
--- /dev/null
+++ b/scripts/verify-postiz.ts
@@ -0,0 +1,115 @@
+// Real registry, OAuth, MCP and renderer against two stand-in Postiz backends; no real Postiz account, page or post.
+import assert from "node:assert/strict";
+import { mkdirSync } from "node:fs";
+import { join } from "node:path";
+import { launchVerificationServer } from "./control-omb.ts";
+import { fixtureApi, mountPreview, type MountedPreview } from "./testing/preview-fixture.ts";
+import { FAKE_POSTIZ_KEY, startFakePostiz } from "../server/testing/fake-postiz.ts";
+
+const cloud = await startFakePostiz();
+const own = await startFakePostiz();
+const fixture = await launchVerificationServer({ ...process.env, OMB_POSTIZ_CLOUD_URL: cloud.url });
+let ui: MountedPreview | undefined;
+let browser: { close(): Promise<void> } | undefined;
+try {
+ const api = fixtureApi(fixture.info.url);
+ const pairing = await api("POST", "/api/auth/pairing", { scopes: ["admin", "client"] });
+ let authorizationUrl = "";
+ const cards = [
+ ["gmail", "Gmail", "Communication"], ["slack", "Slack", "Communication"], ["notion", "Notion", "Productivity"],
+ ["googlecalendar", "Google Calendar", "Productivity"], ["twitter", "X (Twitter)", "Social"], ["reddit", "Reddit", "Social"],
+ ].map(([slug, label, category]) => ({ slug, label, blurb: "Connect your account", logo: null, domain: null, categories: [category] }));
+ ui = await mountPreview(fixture, {
+ entry: "/scripts/testing/whop-preview.tsx", route: "/__postiz.html", title: "Isolated Postiz integration",
+ extraRoutes: [
+ { path: "/api/connectors/catalog", handler: (_req, res) => {
+ res.writeHead(200, { "content-type": "application/json" }).end(JSON.stringify({ configured: true, mode: "self-hosted", source: "curated", cards }));
+ } },
+ { path: /^\/api\/connectors(?:\/connected)?$/, handler: (_req, res) => {
+ res.writeHead(200, { "content-type": "application/json" }).end(JSON.stringify({ services: {} }));
+ } },
+ // The stand-in signs in over loopback http, which the card never opens: the page is shown Postiz Cloud's https
+ // consent address, and this fixture visits the stand-in's own on the person's behalf.
+ { path: "/api/mcp/servers/postiz/sign-in", method: "POST", handler: async (req, res) => {
+ const response = await fetch(`${fixture.info.url}/api/mcp/servers/postiz/sign-in`, { method: "POST", headers: { "content-type": "application/json", cookie: req.headers.cookie ?? "" } });
+ const body = await response.json();
+ if (response.ok && body.auth?.authorizationUrl) {
+ authorizationUrl = body.auth.authorizationUrl;
+ body.auth.authorizationUrl = `https://platform.postiz.com/oauth/authorize${new URL(authorizationUrl).search}`;
+ }
+ res.writeHead(response.status, { "content-type": "application/json" }).end(JSON.stringify(body));
+ } },
+ ],
+ });
+ const { chromium } = await import(process.env.OMB_VERIFY_PLAYWRIGHT || "playwright");
+ browser = await chromium.launch({ headless: true, executablePath: process.env.OMB_VERIFY_BROWSER_CHROME || undefined, args: ["--use-mock-keychain"] });
+ const context = await (browser as any).newContext({ viewport: { width: 1100, height: 900 } });
+ const page = await context.newPage();
+ const errors: string[] = [];
+ page.on("pageerror", (error: Error) => errors.push(error.message));
+ page.on("dialog", (dialog: { accept(): Promise<void> }) => void dialog.accept());
+ // The sign-in tab opens as a stand-in, so nothing here reaches the real Postiz site.
+ await page.addInitScript(() => { window.open = () => ({ closed: false, opener: null, location: { replace() {} }, close() {} }) as unknown as Window; });
+ await page.goto(ui.previewUrl);
+ assert.equal(await page.evaluate(async (code: string) => (await fetch("/api/auth/pair", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ code, cookie: true, label: "Postiz fixture" }) })).status, pairing.code), 200);
+ await page.reload();
+ const output = process.env.OMB_UI_EVIDENCE_DIR || "/tmp/omb-postiz-evidence";
+ mkdirSync(output, { recursive: true });
+ // Pills and buttons fade between colours: a shot waits for them to settle.
+ const shot = async (name: string) => { await page.waitForTimeout(400); await page.screenshot({ path: join(output, `${name}.png`) }); };
+ const card = page.locator('[data-app-tile="postiz"]');
+ const servers = async () => (await api("GET", "/api/mcp/servers")).servers;
+
+ await card.getByRole("button", { name: "Connect Postiz", exact: true }).waitFor();
+ await page.locator('[data-apps-category="Social"]').click();
+ await card.waitFor();
+ assert.deepEqual(await page.locator("[data-apps-grid] h3").allInnerTexts(), ["Social"]);
+ await shot("1-social-category");
+
+ // Sign in with Postiz (the default).
+ await card.getByRole("button", { name: "Connect Postiz", exact: true }).click();
+ await card.getByText("Finish signing in to Postiz in your browser.", { exact: true }).waitFor();
+ await shot("2-sign-in-waiting");
+ const back = (await fetch(authorizationUrl, { redirect: "manual" })).headers.get("location")!;
+ assert.match(await (await fetch(back)).text(), /Signed in/u);
+ await card.getByText(`Connected to ${new URL(cloud.url).host}`, { exact: true }).waitFor();
+ await shot("3-connected-sign-in");
+ const signedIn = (await servers()).find((server: { name: string }) => server.name === "postiz");
+ assert.equal(signedIn.auth, "signed-in");
+ assert.equal(signedIn.enabled, true);
+ const token = cloud.issued.at(-1)!;
+ assert.equal((await page.content()).includes(token), false, "The page never holds the token");
+ assert.equal(cloud.calls.length, 0, "Connecting runs no Postiz tool");
+
+ await card.getByRole("button", { name: "Postiz options", exact: true }).click();
+ await page.locator('[role="menuitem"][data-menu-key="disconnect"]').click();
+ await card.getByRole("button", { name: "Connect Postiz", exact: true }).waitFor();
+ assert.equal((await servers()).length, 0);
+
+ // An API key instead, for a person's own Postiz.
+ await card.getByRole("button", { name: "Use an API key instead", exact: true }).click();
+ await card.getByRole("textbox", { name: "Postiz server address (optional)", exact: true }).fill(own.url);
+ await card.getByLabel("Postiz API key", { exact: true }).fill("not-the-key");
+ await card.locator('form[data-postiz-key-form] button[type="submit"]').click();
+ await card.getByRole("alert").getByText("Postiz didn’t accept this API key. Copy it again from Postiz → Settings → Public API.", { exact: true }).waitFor();
+ await shot("4-key-refused");
+ assert.equal((await servers()).length, 0, "A refused key saves nothing");
+ await card.getByLabel("Postiz API key", { exact: true }).fill(FAKE_POSTIZ_KEY);
+ await shot("5-key-form");
+ await card.locator('form[data-postiz-key-form] button[type="submit"]').click();
+ await card.getByText(`Connected to ${new URL(own.url).host} with an API key`, { exact: true }).waitFor();
+ await shot("6-connected-key");
+ await page.locator('[data-apps-filter="all"]').click();
+ await card.scrollIntoViewIfNeeded();
+ await shot("7-all-apps-connected");
+ assert.equal((await page.content()).includes(FAKE_POSTIZ_KEY), false, "The page never holds the key");
+ assert.equal((await servers()).find((server: { name: string }) => server.name === "postiz").url, `${own.url}/mcp`);
+
+ await page.setViewportSize({ width: 390, height: 844 });
+ await card.scrollIntoViewIfNeeded();
+ assert.equal(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth), true);
+ assert.deepEqual(errors, []);
+ console.log(JSON.stringify({ passed: true, ...fixture.info, evidence: output, livePostizAccountTested: false }));
+} finally {
+ await browser?.close(); await ui?.close(); await fixture.close(); await cloud.close(); await own.close();
+}
diff --git a/server/config.ts b/server/config.ts
index 596e8bac37..660aba6e5d 100644
--- a/server/config.ts
+++ b/server/config.ts
@@ -20,7 +20,7 @@ import { PROVIDER_ICON_PRESETS, providerIconError } from "../shared/provider-ico
import { helperStoredShape, type HelperConfig } from "./side-jobs.ts";
import { loopGuardConfigSchema, type LoopGuardConfig } from "./host/loop-guard.ts";
import { migrateLegacyFeatureFlags } from "./legacy-feature-flags.ts";
-import { isRemoteMcpServer, mcpServerServes, parseStoredMcpServer } from "./mcp-registry.ts";
+import { isRemoteMcpServer, mcpServerServes, parseStoredMcpServer } from "./mcp-registry.ts"; import { postizKeyHeaders } from "./postiz/connection.ts";
import { parseJson, schemaIssue, type JsonObject, type JsonValue } from "./schema.ts";
import { deciderConfigSchema, type DeciderConfig } from "./decider/config.ts";
import { browserEngineConfigSchema, isValidCdpTarget, type BrowserEngineConfig } from "./browser/config.ts";
@@ -339,7 +339,7 @@ const appConfigSchema = z.object({
phone: z.enum(["ios", "android"]).optional(),
}).optional(),
mistral: z.object({ key: optionalText }).optional(),
- cerebras: z.object({ key: optionalText }).optional(), treg: z.object({ key: optionalText }).optional(),
+ cerebras: z.object({ key: optionalText }).optional(), treg: z.object({ key: optionalText }).optional(), postiz: z.object({ key: optionalText, url: optionalText }).optional(),
groq: z.object({ key: optionalText, url: optionalText }).optional(),
meta: z.object({ key: optionalText, url: optionalText }).optional(),
deepseek: z.object({ key: optionalText }).optional(),
@@ -488,7 +488,7 @@ export interface AppConfig extends HelperConfig {
language?: string;
xai?: { key?: string; url?: string };
mistral?: { key?: string };
- cerebras?: { key?: string }; treg?: { key?: string };
+ cerebras?: { key?: string }; treg?: { key?: string }; /** Postiz: an organisation API key and the server it belongs to (blank: Postiz Cloud). */ postiz?: { key?: string; url?: string };
groq?: { key?: string; url?: string };
meta?: { key?: string; url?: string };
/** DeepSeek API key for the DeepSeek Harness engine (`dsh`). */
@@ -786,7 +786,7 @@ export function loadConfig(): AppConfig {
if (process.env.MISTRAL_API_KEY !== undefined) cfg.mistral.key = process.env.MISTRAL_API_KEY;
cfg.cerebras = { ...cfg.cerebras };
if (process.env.CEREBRAS_API_KEY !== undefined) cfg.cerebras.key = process.env.CEREBRAS_API_KEY;
- if (process.env.OMB_TREG_KEY !== undefined) cfg.treg = { ...cfg.treg, key: process.env.OMB_TREG_KEY };
+ if (process.env.OMB_TREG_KEY !== undefined) cfg.treg = { ...cfg.treg, key: process.env.OMB_TREG_KEY }; if (process.env.OMB_POSTIZ_API_KEY !== undefined) cfg.postiz = { ...cfg.postiz, key: process.env.OMB_POSTIZ_API_KEY };
cfg.groq = { ...cfg.groq };
if (process.env.OMB_GROQ_API_KEY !== undefined) cfg.groq.key = process.env.OMB_GROQ_API_KEY;
cfg.meta = { ...cfg.meta };
@@ -858,7 +858,7 @@ export function syncCredentialEnv(patch: Partial<Omit<AppConfig, "threads" | "ne
const secrets: Array<[value: string | undefined, name: string]> = [
[patch.xai?.key, "XAI_API_KEY"],
[patch.mistral?.key, "MISTRAL_API_KEY"],
- [patch.cerebras?.key, "CEREBRAS_API_KEY"], [patch.treg?.key, "OMB_TREG_KEY"],
+ [patch.cerebras?.key, "CEREBRAS_API_KEY"], [patch.treg?.key, "OMB_TREG_KEY"], [patch.postiz?.key, "OMB_POSTIZ_API_KEY"],
[patch.groq?.key, "OMB_GROQ_API_KEY"],
[patch.meta?.key, "OMB_META_API_KEY"],
[patch.deepseek?.key, "OMB_DEEPSEEK_API_KEY"],
@@ -971,7 +971,7 @@ export function saveConfig(
const before = configSaveListeners.size ? structuredClone(disk) : disk;
const storedProfiles = storedBrowserProfilesSchema.safeParse(disk.browserProfiles);
if (storedProfiles.success) disk.browserProfiles = storedProfiles.data;
- for (const key of ["xai", "anthropic", "mistral", "cerebras", "treg", "groq", "meta", "deepseek", "openai", "openrouter", "openaiCompat", "composio", "box", "opencodeGo", "tts", "decider", "imageGen", "live", "profile", "rooms", "mcp", "threads", "context", "memory", "localVm", "features", "budgets", "billing", "decisions", "loopGuard", "onboarding", "browserEngine", "newBots", "safetyFloor"] as const) {
+ for (const key of ["xai", "anthropic", "mistral", "cerebras", "treg", "postiz", "groq", "meta", "deepseek", "openai", "openrouter", "openaiCompat", "composio", "box", "opencodeGo", "tts", "decider", "imageGen", "live", "profile", "rooms", "mcp", "threads", "context", "memory", "localVm", "features", "budgets", "billing", "decisions", "loopGuard", "onboarding", "browserEngine", "newBots", "safetyFloor"] as const) {
const section = checkedPatch[key];
if (!section) continue;
const current = jsonObjectSchema.safeParse(disk[key]);
@@ -1294,7 +1294,7 @@ export function customMcpServers(cfg: AppConfig, only?: string[], botId?: string
}
if (!parsed.server.enabled || parsed.server.runsOn || !mcpServerServes(parsed.server, botId)) continue; // another computer's or bot's own
out[name] = isRemoteMcpServer(parsed.server)
- ? { type: parsed.server.type, url: parsed.server.url, headers: parsed.server.headers }
+ ? { type: parsed.server.type, url: parsed.server.url, headers: { ...parsed.server.headers, ...postizKeyHeaders(cfg.postiz, name, parsed.server) } }
: { command: parsed.server.command, args: parsed.server.args, env: parsed.server.env };
}
return out;
diff --git a/server/credential-env.ts b/server/credential-env.ts
index 37ba191eb7..243a2665c4 100644
--- a/server/credential-env.ts
+++ b/server/credential-env.ts
@@ -26,7 +26,7 @@ export const WORKSPACE_CREDENTIAL_ENV = [
"OMB_WORKERS_AI_TOKEN",
"OMB_OPENAI_IMAGE_KEY",
"OMB_CUSTOM_IMAGE_KEY",
- "OMB_OPENAI_LIVE_KEY", "OMB_TREG_KEY",
+ "OMB_OPENAI_LIVE_KEY", "OMB_TREG_KEY", "OMB_POSTIZ_API_KEY",
"COMPOSIO_API_KEY",
"OMB_COMPOSIO_BROKER_TOKEN",
"OMB_CLOUD_BOAT_TOKEN",
diff --git a/server/drivers/claude.test.ts b/server/drivers/claude.test.ts
index 9149763400..a167987012 100644
--- a/server/drivers/claude.test.ts
+++ b/server/drivers/claude.test.ts
@@ -1738,7 +1738,10 @@ describe("ClaudeDriver turns (fake CLI)", () => {
agents: stdio("agents"), browser: stdio("browser"), composio: stdio("composio"), composioOwn: stdio("own-apps"),
localComputer: stdio("computer"), phone: stdio("phone"), data: stdio("data"), highlevel: stdio("highlevel"),
device: stdio("device"), dweb: { url: "http://127.0.0.1:1" },
- custom: { shop: { command: "npx", args: ["shop"], env: {} }, docs: { type: "http" as const, url: "https://docs.example.test/mcp", headers: {} } },
+ custom: {
+ shop: { command: "npx", args: ["shop"], env: {} }, docs: { type: "http" as const, url: "https://docs.example.test/mcp", headers: {} },
+ postiz: { type: "http" as const, url: "https://api.postiz.com/mcp-oauth-dynamic", headers: { Authorization: "Bearer pos_fixture" } },
+ },
};
const mounted = async (threadId: string, preloadBrowserTools: boolean) => {
const { turnId } = await instance.adapter.sendTurn({ threadId, text: "hi", cwd: scratch, preloadBrowserTools, integrations });
@@ -1755,7 +1758,7 @@ describe("ClaudeDriver turns (fake CLI)", () => {
const browsing = await mounted("t-tool-search", true);
expect(browsing.toolSearch).toBe("true");
expect(browsing.alwaysLoaded).toEqual(["agents", "browser", "ogb"]);
- expect(browsing.onDemand).toEqual(["composio", "computer", "data", "device", "docs", "dweb", "highlevel", "own_apps", "phone", "shop"]);
+ expect(browsing.onDemand).toEqual(["composio", "computer", "data", "device", "docs", "dweb", "highlevel", "own_apps", "phone", "postiz", "shop"]);
const other = await mounted("t-tool-search-no-browse", false);
expect(other.alwaysLoaded).toEqual(["agents", "ogb"]);
expect(other.onDemand).toContain("browser");
diff --git a/server/index.ts b/server/index.ts
index 38833480ab..9bfd314b6c 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -94,7 +94,7 @@ import { DATA_INTERNAL_MCP_PATH, dataRpc } from "./data/rpc.ts";
import { createHighLevelHost } from "./highlevel/host.ts";
import { HIGHLEVEL_INTERNAL_MCP_PATH } from "./highlevel/rpc.ts";
import { createHighLevelService } from "./highlevel/service.ts";
-import { createHighLevelRoutes } from "./routes/highlevel.ts";
+import { createHighLevelRoutes } from "./routes/highlevel.ts"; import { createPostizRoutes } from "./routes/postiz.ts"; import { createPostiz } from "./postiz/service.ts";
import { createPhones } from "./host/phones.ts";
import { NOT_THE_OWNER } from "./phones/owner.ts";
import { PHONE_INTERNAL_MCP_PATH } from "./phones/rpc.ts";
@@ -11952,7 +11952,7 @@ function configStatus() {
cerebras: keyStatus(cfg.cerebras?.key),
groq: keyStatus(cfg.groq?.key),
meta: keyStatus(cfg.meta?.key), deepseek: keyStatus(cfg.deepseek?.key),
- xResearch: xResearchStatus(), treg: keyStatus(cfg.treg?.key),
+ xResearch: xResearchStatus(), treg: keyStatus(cfg.treg?.key), postiz: { ...keyStatus(cfg.postiz?.key), ...(cfg.postiz?.url ? { url: cfg.postiz.url } : {}) },
anthropic: { ...keyStatus(cfg.anthropic?.key), everyClaudeBot: cfg.anthropic?.everyClaudeBot !== false },
openai: keyStatus(cfg.openai?.key),
openrouter: keyStatus(cfg.openrouter?.key),
@@ -12583,7 +12583,7 @@ ROUTES.push(createAntigravityAccountRoutes({
return work().finally(() => { providerConfigBusy = false; });
},
}));
-ROUTES.push(createConfigRoutes({
+const postiz = createPostiz({ cfg: () => cfg, mcpOAuth, persistMcpServers, mcpConfigBusy: { get: () => mcpConfigBusy, set: (busy) => { mcpConfigBusy = busy; } }, mcpPolicyRefusal, appCatalog: chatAppsMcp, team: teamConnections, loopback: !CLOUD_HOME && !HOSTED_WORKSPACE }); ROUTES.push(createPostizRoutes({ postiz }), createConfigRoutes({
store, cfg, registry, sessions, browserCleanup, browserLive, browserRuntime, usedBrowserSessions, decider,
sharedComputers, sharedComputerControl, closeBrowser, browserEngineSwitched,
hostedModels: Boolean(hostedModels),
@@ -12596,7 +12596,7 @@ ROUTES.push(createConfigRoutes({
checkedModelSelection, policyModelRefusal, browserSessionSpec, configStatus,
configForAccess: (status, auth) => configForAccess(status as ReturnType<typeof configStatus>, auth.scopes.includes("admin"), auth.kind === "session" ? auth.session : null),
...(CLOUD_TEAM ? { ownProfile: (auth: RequestAuth, profile: { name?: string; avatarUrl?: string; aboutMe?: string }) => auth.kind === "session" ? (teamHost.saveMemberProfile(auth.session, profile), true) : false } : {}),
- resyncOpenCodeProviderKeys, revokeEngineCapabilities, reloadProviders, broadcast, drainQueuedSends,
+ resyncOpenCodeProviderKeys, revokeEngineCapabilities, reloadProviders, broadcast, drainQueuedSends, postiz,
}));
ROUTES.push(createInstanceRoutes({
store, cfg, registry, sessions, providerAuthSessions,
diff --git a/server/postiz.e2e.test.ts b/server/postiz.e2e.test.ts
new file mode 100644
index 0000000000..c7b2d6fca7
--- /dev/null
+++ b/server/postiz.e2e.test.ts
@@ -0,0 +1,179 @@
+// A real server with two stand-in Postiz backends (Postiz Cloud, and a person's own Postiz) and the fake Claude engine:
+// both ways of connecting end to end, the bot's turn gets the postiz tools and calls one, the token and the key reach
+// Postiz and nothing else (no answer, transcript, prompt, log or data file), a refused key or address is said plainly,
+// a revoked credential shows as such, and disconnecting takes the tools away.
+import { existsSync, mkdtempSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join, relative } from "node:path";
+import { afterAll, beforeAll, expect, it } from "vitest";
+
+import { launchVerificationServer, runControlOmb, type VerificationServer } from "../scripts/control-omb.ts";
+import { FAKE_POSTIZ_KEY, startFakePostiz, type FakePostiz } from "./testing/fake-postiz.ts";
+
+type Dump = { prompt?: string; systemPrompt: string | null; mcpConfig: { mcpServers: Record<string, { url?: string; alwaysLoad?: boolean }> } };
+
+let cloud: FakePostiz;
+let own: FakePostiz;
+let fixture: VerificationServer;
+let scratch: string;
+const answers: string[] = [];
+
+const api = async (method: string, path: string, body?: unknown) => {
+ const response = await fetch(fixture.info.url + path, {
+ method, headers: { "content-type": "application/json" }, redirect: "manual",
+ ...(body === undefined ? {} : { body: JSON.stringify(body) }), signal: AbortSignal.timeout(40_000),
+ });
+ const text = await response.text();
+ answers.push(text);
+ return { status: response.status, body: text ? JSON.parse(text) : null };
+};
+const control = (args: string[]) => runControlOmb([...args, "--url", fixture.info.url]);
+const toolCalls = () => join(scratch, "tool-calls.json");
+const newBot = async (name: string): Promise<{ id: string; threadId: string }> => {
+ const created = await api("POST", "/api/bots", { name });
+ expect(created.status).toBe(201);
+ return created.body.bot;
+};
+
+/** One turn of the bot with these scripted tool calls, and what the engine was given for it. */
+async function turn(botId: string, calls: unknown[]): Promise<Dump> {
+ writeFileSync(toolCalls(), JSON.stringify(calls));
+ rmSync(fixture.fixtureDumpPath, { force: true });
+ await control(["send", "--bot", botId, "--text", "Draft a post about our launch."]);
+ await expect.poll(() => existsSync(fixture.fixtureDumpPath), { timeout: 20_000 }).toBe(true);
+ const dump = JSON.parse(readFileSync(fixture.fixtureDumpPath, "utf8")) as Dump;
+ expect(await control(["wait", "--bot", botId, "--timeout", "40"])).toMatchObject({ status: "settled" });
+ return dump;
+}
+
+/** Files under the data folder that hold this text, the fake engine's own capture of its launch files aside. */
+function filesHolding(secret: string): string[] {
+ const found: string[] = [];
+ const walk = (dir: string) => {
+ for (const name of readdirSync(dir)) {
+ const path = join(dir, name);
+ const stat = statSync(path);
+ if (stat.isDirectory()) walk(path);
+ else if (stat.isFile() && stat.size < 20_000_000 && path !== fixture.fixtureDumpPath && readFileSync(path).includes(secret)) found.push(relative(fixture.info.dataDir, path));
+ }
+ };
+ walk(fixture.info.dataDir);
+ return found.sort();
+}
+
+const draft = { socialPost: [{ integrationId: "int_linkedin", date: "2026-11-02T09:00:00.000Z", type: "draft", shortLink: false, isPremium: false, settings: [],
+ postsAndComments: [{ content: "<p>We launched.</p>" }] }] };
+
+beforeAll(async () => {
+ cloud = await startFakePostiz();
+ own = await startFakePostiz();
+ scratch = mkdtempSync(join(tmpdir(), "omb-postiz-e2e-"));
+ writeFileSync(join(scratch, "tool-calls.json"), "[]");
+ fixture = await launchVerificationServer({ ...process.env, OMB_POSTIZ_CLOUD_URL: cloud.url, FAKE_CLAUDE_TOOL_CALLS_FILE: join(scratch, "tool-calls.json") });
+}, 60_000);
+
+afterAll(async () => {
+ await fixture?.close();
+ await cloud?.close();
+ await own?.close();
+ rmSync(scratch, { recursive: true, force: true });
+});
+
+it("signs in with Postiz Cloud, gives the bot the postiz tools behind a hidden token, and Disconnect takes them away", async () => {
+ expect((await api("GET", "/api/postiz")).body).toMatchObject({ state: "not-connected", how: null, host: new URL(cloud.url).host, selfHosted: false, keySaved: false, team: false });
+ expect((await api("POST", "/api/postiz/sign-in")).body).toMatchObject({ state: "not-connected", how: "sign-in" });
+ const signInUrl = `${cloud.url}/mcp-oauth-dynamic`;
+ expect((await api("GET", "/api/mcp/servers")).body.servers).toEqual([expect.objectContaining({ name: "postiz", url: signInUrl, enabled: false, headerKeys: [] })]);
+
+ const started = (await api("POST", "/api/mcp/servers/postiz/sign-in")).body.auth;
+ expect(started).toMatchObject({ phase: "waiting", flowId: expect.any(String) });
+ const authorize = new URL(started.authorizationUrl);
+ expect(authorize.origin + authorize.pathname).toBe(`${cloud.url}/oauth/authorize`);
+ expect(cloud.counts.register).toBe(1);
+ // The person approves on Postiz's page; Postiz sends the browser back to this computer's sign-in listener.
+ const back = (await fetch(authorize, { redirect: "manual" })).headers.get("location")!;
+ expect(new URL(back).hostname).toBe("127.0.0.1");
+ expect(await (await fetch(back)).text()).toContain("Signed in");
+ await expect.poll(async () => (await api("GET", `/api/mcp/servers/postiz/sign-in/${started.flowId}`)).body.auth?.phase).toBe("succeeded");
+ const tested = (await api("POST", "/api/mcp/servers/postiz/test")).body;
+ expect(tested).toMatchObject({ ok: true });
+ expect(tested.tools.map((tool: { name: string }) => tool.name)).toEqual(["integrationList", "integrationSchema", "schedulePostTool", "postsListTool"]);
+ expect((await api("PATCH", "/api/mcp/servers/postiz", { enabled: true })).status).toBe(200);
+ expect((await api("GET", "/api/postiz")).body).toMatchObject({ state: "connected", how: "sign-in" });
+ const token = cloud.issued[0]!;
+ expect(token).toMatch(/^pos_/u);
+
+ const bot = await newBot("Buzz");
+ const mounted = await turn(bot.id, [{ server: "postiz", name: "schedulePostTool", input: draft }]);
+ expect(mounted.mcpConfig.mcpServers.postiz).toMatchObject({ url: signInUrl });
+ // A third-party server: Claude Code loads its tools on demand through tool search.
+ expect(mounted.mcpConfig.mcpServers.postiz?.alwaysLoad).toBeUndefined();
+ expect(cloud.calls).toEqual([{ name: "schedulePostTool", arguments: draft, authorization: `Bearer ${token}` }]);
+ const messages = JSON.stringify((await api("GET", `/api/threads/${bot.threadId}/messages?limit=50`)).body);
+ expect(messages).toContain("post_1");
+ expect(messages).not.toContain(token);
+ expect(`${mounted.prompt ?? ""}${mounted.systemPrompt ?? ""}`).not.toContain(token);
+ expect(filesHolding(token)).toEqual(["mcp-oauth.json"]);
+
+ // Postiz revokes the app: the next check says to sign in again.
+ cloud.revoke(token);
+ expect((await api("POST", "/api/postiz/check")).body).toMatchObject({ state: "needs-sign-in", how: "sign-in" });
+
+ expect((await api("DELETE", "/api/postiz")).body).toMatchObject({ state: "not-connected", how: null });
+ expect((await api("GET", "/api/mcp/servers")).body.servers).toEqual([]);
+ const after = await turn(bot.id, []);
+ expect(Object.keys(after.mcpConfig.mcpServers)).not.toContain("postiz");
+ expect(filesHolding(token)).toEqual([]);
+ expect(readFileSync(fixture.info.logPath, "utf8")).not.toContain(token);
+ for (const answer of answers) expect(answer).not.toContain(token);
+}, 120_000);
+
+it("connects a person's own Postiz with an API key, refuses a wrong key or address plainly, and never shows the key", async () => {
+ expect((await api("DELETE", "/api/postiz")).status).toBe(200);
+ answers.length = 0;
+ const check = async (body: unknown) => (await api("POST", "/api/postiz/key-check", body));
+ expect(await check({ key: "not-the-key", address: own.url })).toMatchObject({ status: 400, body: { ok: false, code: "key_rejected", error: expect.stringContaining("didn't accept this API key") } });
+ expect(await check({ key: FAKE_POSTIZ_KEY, address: "http://postiz.example.com" })).toMatchObject({ status: 400, body: { code: "address" } });
+ expect(await check({ key: FAKE_POSTIZ_KEY, address: "https://mcp.postiz.com/mcp/abc123" })).toMatchObject({ status: 400, body: { code: "address", error: expect.stringContaining("has a key in it") } });
+ expect(await check({ key: FAKE_POSTIZ_KEY, address: "http://127.0.0.1:9" })).toMatchObject({ status: 400, body: { code: "unreachable" } });
+ expect(await check({ key: FAKE_POSTIZ_KEY, address: `${own.url}/nothing-here` })).toMatchObject({ status: 400, body: { code: "not_postiz" } });
+ expect(await check({ key: FAKE_POSTIZ_KEY, address: own.url })).toMatchObject({ status: 200, body: { ok: true, tools: 4 } });
+ expect(own.calls).toEqual([]);
+
+ // The save checks the key again at its address; a refused one is never stored.
+ expect(await api("PUT", "/api/config", { postiz: { url: own.url, key: "not-the-key" } })).toMatchObject({ status: 400, body: { code: "key_rejected" } });
+ expect(await api("PUT", "/api/config", { postiz: { url: "https://user:[email protected]" } })).toMatchObject({ status: 400, body: { code: "address" } });
+ expect((await api("GET", "/api/config")).body.postiz).toEqual({ configured: false });
+ expect((await api("GET", "/api/mcp/servers")).body.servers).toEqual([]);
+
+ const saved = await api("PUT", "/api/config", { postiz: { url: `${own.url}/`, key: FAKE_POSTIZ_KEY } });
+ expect(saved.status).toBe(200);
+ expect(saved.body.postiz).toEqual({ configured: true, last4: FAKE_POSTIZ_KEY.slice(-4), url: own.url });
+ expect((await api("GET", "/api/mcp/servers")).body.servers).toEqual([expect.objectContaining({ name: "postiz", url: `${own.url}/mcp`, enabled: true, headerKeys: [] })]);
+ expect((await api("GET", "/api/postiz")).body).toMatchObject({ state: "connected", how: "key", host: new URL(own.url).host, selfHosted: true, keySaved: true });
+ expect((await api("POST", "/api/mcp/servers/postiz/test")).body).toMatchObject({ ok: true });
+
+ const bot = await newBot("Buzz with a key");
+ const mounted = await turn(bot.id, [{ server: "postiz", name: "schedulePostTool", input: draft }]);
+ expect(mounted.mcpConfig.mcpServers.postiz).toMatchObject({ url: `${own.url}/mcp` });
+ expect(own.calls).toEqual([{ name: "schedulePostTool", arguments: draft, authorization: `Bearer ${FAKE_POSTIZ_KEY}` }]);
+ expect(cloud.calls.length).toBe(1);
+ const messages = JSON.stringify((await api("GET", `/api/threads/${bot.threadId}/messages?limit=50`)).body);
+ expect(messages).toContain("post_1");
+ expect(messages).not.toContain(FAKE_POSTIZ_KEY);
+ expect(`${mounted.prompt ?? ""}${mounted.systemPrompt ?? ""}`).not.toContain(FAKE_POSTIZ_KEY);
+ // Off the desktop the key is the server's own config; nothing else keeps it.
+ expect(filesHolding(FAKE_POSTIZ_KEY)).toEqual(["config.json"]);
+
+ own.revoke(FAKE_POSTIZ_KEY);
+ expect((await api("POST", "/api/postiz/check")).body).toMatchObject({ state: "key-refused", how: "key" });
+ own.grant(FAKE_POSTIZ_KEY);
+
+ expect((await api("PUT", "/api/config", { postiz: { key: "" } })).body.postiz).toMatchObject({ configured: false });
+ expect((await api("GET", "/api/mcp/servers")).body.servers).toEqual([]);
+ const after = await turn(bot.id, []);
+ expect(Object.keys(after.mcpConfig.mcpServers)).not.toContain("postiz");
+ expect(filesHolding(FAKE_POSTIZ_KEY)).toEqual([]);
+ expect(readFileSync(fixture.info.logPath, "utf8")).not.toContain(FAKE_POSTIZ_KEY);
+ for (const answer of answers) expect(answer).not.toContain(FAKE_POSTIZ_KEY);
+}, 120_000);
diff --git a/server/postiz/connection.test.ts b/server/postiz/connection.test.ts
new file mode 100644
index 0000000000..572926846d
--- /dev/null
+++ b/server/postiz/connection.test.ts
@@ -0,0 +1,69 @@
+import { describe, expect, it } from "vitest";
+
+import { POSTIZ_CLOUD } from "../../shared/postiz.ts";
+import { postizAddress, postizCloud, postizEntryMethod, postizKeyHeaders, postizKeyUrl, postizSignInUrl } from "./connection.ts";
+
+const desktop = { loopback: true }, cloud = { loopback: false };
+const entry = (url: string, headers: Record<string, string> = {}) => ({ type: "http" as const, url, headers, enabled: true });
+
+describe("postizAddress", () => {
+ it("is Postiz Cloud when left empty", () => {
+ expect(postizAddress("", desktop)).toEqual({ ok: true, address: POSTIZ_CLOUD });
+ expect(postizAddress(undefined, cloud)).toEqual({ ok: true, address: POSTIZ_CLOUD });
+ });
+
+ it("keeps a self-hosted server's path and drops a trailing slash or a pasted MCP endpoint", () => {
+ expect(postizAddress(" https://postiz.example.com/api/ ", cloud)).toEqual({ ok: true, address: "https://postiz.example.com/api" });
+ expect(postizAddress("https://postiz.example.com/api/mcp", cloud)).toEqual({ ok: true, address: "https://postiz.example.com/api" });
+ expect(postizAddress("https://api.postiz.com/mcp-oauth-dynamic", cloud)).toEqual({ ok: true, address: "https://api.postiz.com" });
+ expect(postizAddress("https://postiz.example.com:8443", cloud)).toEqual({ ok: true, address: "https://postiz.example.com:8443" });
+ });
+
+ it("takes plain http only for a Postiz on this computer, and never on a Cloud", () => {
+ expect(postizAddress("http://127.0.0.1:5000", desktop)).toEqual({ ok: true, address: "http://127.0.0.1:5000" });
+ expect(postizAddress("http://localhost:3000/api", desktop)).toEqual({ ok: true, address: "http://localhost:3000/api" });
+ expect(postizAddress("http://[::1]:5000", desktop)).toEqual({ ok: true, address: "http://[::1]:5000" });
+ expect(postizAddress("http://postiz.example.com", desktop)).toMatchObject({ ok: false, error: expect.stringContaining("https://") });
+ expect(postizAddress("http://127.0.0.1:5000", cloud)).toMatchObject({ ok: false, error: "Use your Postiz server's https:// address." });
+ });
+
+ it("refuses credentials, a key in the path, query strings and other schemes", () => {
+ expect(postizAddress("https://user:[email protected]", cloud)).toMatchObject({ ok: false, error: expect.stringContaining("password") });
+ expect(postizAddress("https://mcp.postiz.com/mcp/abc123", cloud)).toMatchObject({ ok: false, error: expect.stringContaining("has a key in it") });
+ expect(postizAddress("https://postiz.example.com/?key=abc", cloud)).toMatchObject({ ok: false });
+ expect(postizAddress("https://postiz.example.com/#x", cloud)).toMatchObject({ ok: false });
+ expect(postizAddress("ftp://postiz.example.com", cloud)).toMatchObject({ ok: false });
+ expect(postizAddress("postiz.example.com", cloud)).toMatchObject({ ok: false });
+ });
+});
+
+describe("postizCloud", () => {
+ it("is api.postiz.com unless a test server names a loopback or https stand-in", () => {
+ expect(postizCloud({})).toBe("https://api.postiz.com");
+ expect(postizCloud({ OMB_POSTIZ_CLOUD_URL: "http://127.0.0.1:4100" })).toBe("http://127.0.0.1:4100");
+ expect(postizCloud({ OMB_POSTIZ_CLOUD_URL: "http://evil.example" })).toBe("https://api.postiz.com");
+ expect(postizCloud({ OMB_POSTIZ_CLOUD_URL: "https://u:[email protected]" })).toBe("https://api.postiz.com");
+ });
+});
+
+describe("the postiz entry", () => {
+ it("knows the card's own entries and nothing else", () => {
+ expect(postizEntryMethod(entry(postizSignInUrl()), undefined)).toBe("sign-in");
+ expect(postizEntryMethod(entry("https://api.postiz.com/mcp"), undefined)).toBe("key");
+ expect(postizEntryMethod(entry("https://postiz.example.com/api/mcp"), { url: "https://postiz.example.com/api" })).toBe("key");
+ expect(postizEntryMethod(entry("https://old.example.com/mcp"), { url: "https://postiz.example.com/api" })).toBe("old-key");
+ expect(postizEntryMethod(entry("https://mcp.postiz.com/mcp/abc123"), undefined)).toBeNull();
+ expect(postizEntryMethod(entry("https://api.postiz.com/mcp", { Authorization: "Bearer mine" }), undefined)).toBeNull();
+ expect(postizEntryMethod({ ...entry(postizSignInUrl()), type: "sse" }, undefined)).toBeNull();
+ });
+
+ it("gets the saved key only at the address the key was saved for", () => {
+ const saved = { key: " pz-key ", url: "https://postiz.example.com/api" };
+ expect(postizKeyHeaders(saved, "postiz", { url: postizKeyUrl("https://postiz.example.com/api") })).toEqual({ Authorization: "Bearer pz-key" });
+ expect(postizKeyHeaders(saved, "postiz", { url: "https://elsewhere.example.com/api/mcp" })).toEqual({});
+ expect(postizKeyHeaders(saved, "postiz", { url: postizSignInUrl() })).toEqual({});
+ expect(postizKeyHeaders(saved, "other", { url: postizKeyUrl("https://postiz.example.com/api") })).toEqual({});
+ expect(postizKeyHeaders({ url: saved.url }, "postiz", { url: postizKeyUrl(saved.url) })).toEqual({});
+ expect(postizKeyHeaders({ key: "k" }, "postiz", { url: "https://api.postiz.com/mcp" })).toEqual({ Authorization: "Bearer k" });
+ });
+});
diff --git a/server/postiz/connection.ts b/server/postiz/connection.ts
new file mode 100644
index 0000000000..fd10177683
--- /dev/null
+++ b/server/postiz/connection.ts
@@ -0,0 +1,81 @@
+// The `postiz` MCP server entry the Apps card manages: Postiz Cloud's OAuth endpoint for a sign-in, or a Postiz server's
+// key endpoint for an organisation API key. A saved key is sent only to the entry at the address it was saved for.
+import { POSTIZ_CLOUD, POSTIZ_SERVER } from "../../shared/postiz.ts";
+import type { StoredRemoteMcpServer } from "../mcp-registry.ts";
+
+/** Postiz's MCP endpoint for clients that register themselves (RFC 7591) and sign in (Postiz 2.25: start.mcp.ts). */
+const SIGN_IN_PATH = "/mcp-oauth-dynamic";
+/** Postiz's MCP endpoint for an organisation API key sent as a bearer token. */
+const KEY_PATH = "/mcp";
+const LOOPBACK = new Set(["127.0.0.1", "localhost", "[::1]"]);
+
+export type PostizAddress = { ok: true; address: string } | { ok: false; error: string };
+
+/** https anywhere, plain http only to this computer (and never on a Cloud, whose own loopback is not the person's).
+ * A pasted MCP address is accepted for its server; one with the key in it is refused, so the key never sits in config. */
+export function postizAddress(input: string | null | undefined, options: { loopback: boolean }): PostizAddress {
+ const raw = (input ?? "").trim();
+ if (!raw) return { ok: true, address: postizCloud() };
+ let url: URL;
+ try {
+ url = new URL(raw);
+ } catch {
+ return { ok: false, error: "Enter your Postiz server's address, starting with https://." };
+ }
+ if (url.protocol !== "https:" && url.protocol !== "http:") return { ok: false, error: "Enter your Postiz server's address, starting with https://." };
+ if (url.username || url.password) return { ok: false, error: "Leave any user name or password out of the Postiz address." };
+ if (url.search || url.hash) return { ok: false, error: "Enter the Postiz address without anything after ? or #." };
+ if (url.protocol === "http:" && !(options.loopback && LOOPBACK.has(url.hostname))) {
+ return { ok: false, error: options.loopback
+ ? "Use an https:// address. Plain http:// works only for a Postiz server on this computer."
+ : "Use your Postiz server's https:// address." };
+ }
+ const path = url.pathname.replace(/\/+$/u, "");
+ if (/\/(?:mcp|sse)\/[^/]+$/u.test(path)) {
+ return { ok: false, error: "That address has a key in it. Enter the server address alone, and paste the key in its own box." };
+ }
+ return { ok: true, address: `${url.origin}${path.replace(/\/mcp(?:-oauth(?:-[a-z]+)?)?$/u, "")}` };
+}
+
+/** Postiz Cloud, or the stand-in a test server was started with (https, or http on this computer). */
+export function postizCloud(env: NodeJS.ProcessEnv = process.env): string {
+ const override = env.OMB_POSTIZ_CLOUD_URL?.trim();
+ if (!override) return POSTIZ_CLOUD;
+ try {
+ const url = new URL(override);
+ const allowed = url.protocol === "https:" || (url.protocol === "http:" && LOOPBACK.has(url.hostname));
+ return allowed && !url.username && !url.password && !url.search && !url.hash ? `${url.origin}${url.pathname.replace(/\/+$/u, "")}` : POSTIZ_CLOUD;
+ } catch {
+ return POSTIZ_CLOUD;
+ }
+}
+
+export const postizSignInUrl = () => `${postizCloud()}${SIGN_IN_PATH}`;
+export const postizKeyUrl = (address: string) => `${address}${KEY_PATH}`;
+
+/** The address a saved key belongs to. */
+export function savedPostizAddress(postiz: { url?: string } | undefined): string {
+ const saved = postizAddress(postiz?.url, { loopback: true });
+ return saved.ok ? saved.address : postizCloud();
+}
+
+/** How the card set the entry up: Postiz Cloud's sign-in, the key endpoint at the saved address, or a key endpoint at
+ * another address (the address changed and no key was saved for it yet). Null: a server named postiz it did not set up. */
+export function postizEntryMethod(server: StoredRemoteMcpServer, postiz: { url?: string } | undefined): "sign-in" | "key" | "old-key" | null {
+ if (server.type !== "http" || Object.values(server.headers).some((value) => value !== "") || server.oauth) return null;
+ if (server.url === postizSignInUrl()) return "sign-in";
+ if (server.url === postizKeyUrl(savedPostizAddress(postiz))) return "key";
+ try {
+ const url = new URL(server.url);
+ return url.pathname.endsWith(KEY_PATH) && !url.search && !url.hash && !url.username && !url.password ? "old-key" : null;
+ } catch {
+ return null;
+ }
+}
+
+/** The API key header for a turn's `postiz` server: only when it is the key endpoint the key was saved for. */
+export function postizKeyHeaders(postiz: { key?: string; url?: string } | undefined, name: string, server: { url?: string }): Record<string, string> {
+ const key = postiz?.key?.trim();
+ if (name !== POSTIZ_SERVER || !key || server.url !== postizKeyUrl(savedPostizAddress(postiz))) return {};
+ return { Authorization: `Bearer ${key}` };
+}
diff --git a/server/postiz/service.test.ts b/server/postiz/service.test.ts
new file mode 100644
index 0000000000..6cf4cef8a9
--- /dev/null
+++ b/server/postiz/service.test.ts
@@ -0,0 +1,194 @@
+import { mkdtempSync, rmSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";
+
+import type { AppConfig } from "../config.ts";
+import { customMcpServers } from "../config.ts";
+import { noteKeyAccepted } from "../key-rejections.ts";
+import { McpOAuthManager } from "../mcp-oauth.ts";
+import { FAKE_POSTIZ_KEY, startFakePostiz, type FakePostiz } from "../testing/fake-postiz.ts";
+import { createPostiz } from "./service.ts";
+
+let fake: FakePostiz;
+let dir: string;
+let cfg: Pick<AppConfig, "postiz" | "mcpServers">;
+let oauth: McpOAuthManager;
+let busy = false;
+let scope: "team" | "person" = "team";
+const forgotten: string[] = [];
+
+beforeAll(async () => {
+ fake = await startFakePostiz();
+ process.env.OMB_POSTIZ_CLOUD_URL = fake.url;
+});
+afterAll(async () => {
+ delete process.env.OMB_POSTIZ_CLOUD_URL;
+ await fake.close();
+});
+beforeEach(() => {
+ dir = mkdtempSync(join(tmpdir(), "omb-postiz-"));
+ cfg = { mcpServers: {} };
+ oauth = new McpOAuthManager({ file: join(dir, "mcp-oauth.json") });
+ busy = false;
+ scope = "team";
+ forgotten.length = 0;
+});
+afterEach(() => {
+ oauth.dispose();
+ rmSync(dir, { recursive: true, force: true });
+});
+
+const postiz = (loopback = true) => createPostiz({
+ cfg: () => cfg, mcpOAuth: oauth,
+ persistMcpServers: (next) => { cfg = { ...cfg, mcpServers: next }; },
+ mcpConfigBusy: { get: () => busy, set: (value) => { busy = value; } },
+ mcpPolicyRefusal: (_name, server) => (server as { url: string }).url.includes("blocked.example") ? "Your organization allows only approved MCP servers." : undefined,
+ team: { team: null, scopes: { scope: () => scope }, forgetServer: (name) => forgotten.push(name) },
+ loopback,
+});
+/** What config.ts would hold after the route saved this patch. */
+const save = async (service: ReturnType<typeof postiz>, patch: { key?: string; url?: string }) => {
+ const body = { postiz: { ...patch } };
+ const refusal = await service.configCheck(body);
+ if (refusal) return refusal;
+ cfg = { ...cfg, postiz: { ...cfg.postiz, ...body.postiz } };
+ service.configSaved(body);
+ return null;
+};
+
+describe("the API key", () => {
+ it("is checked with initialize and tools/list, nothing saved and no tool run", async () => {
+ const service = postiz();
+ expect(await service.checkKey(fake.url, FAKE_POSTIZ_KEY)).toEqual({ ok: true, tools: 4 });
+ expect(fake.calls).toEqual([]);
+ expect(cfg.mcpServers).toEqual({});
+ expect(fake.authorizations.at(-1)).toBe(`Bearer ${FAKE_POSTIZ_KEY}`);
+ });
+
+ it("says plainly what is wrong with a key or an address", async () => {
+ const service = postiz();
+ expect(await service.checkKey(fake.url, "not-the-key")).toMatchObject({ ok: false, status: 400, code: "key_rejected", error: expect.stringContaining("didn't accept this API key") });
+ expect(await service.checkKey("http://postiz.example.com", FAKE_POSTIZ_KEY)).toMatchObject({ ok: false, code: "address" });
+ expect(await service.checkKey("http://127.0.0.1:9", FAKE_POSTIZ_KEY)).toMatchObject({ ok: false, code: "unreachable", error: "Couldn't reach a Postiz server at 127.0.0.1:9. Check the address and try again." });
+ expect(await service.checkKey(`${fake.url}/not-postiz`, FAKE_POSTIZ_KEY)).toMatchObject({ ok: false, code: "not_postiz" });
+ expect(await service.checkKey("https://blocked.example", FAKE_POSTIZ_KEY)).toMatchObject({ ok: false, status: 403, code: "managed_policy" });
+ expect(await postiz(false).checkKey(fake.url, FAKE_POSTIZ_KEY)).toMatchObject({ ok: false, code: "address", error: "Use your Postiz server's https:// address." });
+ });
+
+ it("connects Postiz once saved, at that address only, and goes with the key or a changed address", async () => {
+ const service = postiz();
+ expect(await save(service, { url: fake.url, key: "wrong-key" })).toMatchObject({ code: "key_rejected" });
+ expect(cfg.mcpServers).toEqual({});
+ expect(await save(service, { url: `${fake.url}/`, key: FAKE_POSTIZ_KEY })).toBeNull();
+ // This test's stand-in is Postiz Cloud, which config keeps as no address at all.
+ expect(cfg.postiz?.url).toBe("");
+ expect(cfg.mcpServers).toEqual({ postiz: { type: "http", url: `${fake.url}/mcp`, headers: {}, enabled: true } });
+ expect(service.status()).toMatchObject({ state: "connected", how: "key", host: new URL(fake.url).host, selfHosted: false, keySaved: true });
+ // A turn's server carries the key; the stored entry never does.
+ expect(customMcpServers({ ...cfg } as AppConfig).postiz).toEqual({ type: "http", url: `${fake.url}/mcp`, headers: { Authorization: `Bearer ${FAKE_POSTIZ_KEY}` } });
+ expect(JSON.stringify(cfg.mcpServers)).not.toContain(FAKE_POSTIZ_KEY);
+
+ expect(await save(service, { url: "https://postiz.example.com/api" })).toBeNull();
+ expect(cfg.mcpServers).toEqual({});
+ expect(customMcpServers({ ...cfg, mcpServers: { postiz: { type: "http", url: `${fake.url}/mcp`, enabled: true } } } as AppConfig).postiz)
+ .toEqual({ type: "http", url: `${fake.url}/mcp`, headers: {} });
+
+ expect(await save(service, { url: fake.url, key: FAKE_POSTIZ_KEY })).toBeNull();
+ expect(cfg.mcpServers?.postiz).toBeDefined();
+ expect(await save(service, { key: "" })).toBeNull();
+ expect(cfg.mcpServers).toEqual({});
+ expect(service.status()).toMatchObject({ state: "not-connected", how: null, keySaved: false });
+ });
+
+ it("shows a revoked key as refused after the next check", async () => {
+ const service = postiz();
+ expect(await save(service, { url: fake.url, key: FAKE_POSTIZ_KEY })).toBeNull();
+ expect((await service.recheck()).tools).toBe(4);
+ fake.revoke(FAKE_POSTIZ_KEY);
+ try {
+ expect((await postiz().recheck()).state).toBe("key-refused");
+ // Checked at most every few minutes: the same instance does not ask Postiz again at once.
+ const asked = fake.authorizations.length;
+ expect((await service.recheck()).state).toBe("key-refused");
+ expect(fake.authorizations.length).toBe(asked);
+ } finally {
+ fake.grant(FAKE_POSTIZ_KEY);
+ noteKeyAccepted(`${fake.url}/mcp`, FAKE_POSTIZ_KEY);
+ }
+ });
+});
+
+describe("Postiz Cloud's sign-in", () => {
+ it("is set up off, signed in through the MCP sign-in, rechecked, and disconnected", async () => {
+ const service = postiz();
+ const prepared = service.prepareSignIn();
+ expect(prepared).toMatchObject({ ok: true, status: { state: "not-connected", how: "sign-in" } });
+ const url = `${fake.url}/mcp-oauth-dynamic`;
+ expect(cfg.mcpServers).toEqual({ postiz: { type: "http", url, headers: {}, enabled: false } });
+
+ const started = await oauth.start("postiz", url);
+ const authorize = new URL(started.authorizationUrl!);
+ expect(authorize.pathname).toBe("/oauth/authorize");
+ expect(authorize.searchParams.get("resource")).toBe(url);
+ expect(authorize.searchParams.get("code_challenge_method")).toBe("S256");
+ const redirect = (await fetch(authorize, { redirect: "manual" })).headers.get("location")!;
+ expect(await (await fetch(redirect)).text()).toContain("Signed in");
+ expect(oauth.authState("postiz", url)).toBe("signed-in");
+ expect(service.status().state).toBe("not-connected");
+ cfg = { ...cfg, mcpServers: { postiz: { ...(cfg.mcpServers!.postiz as object), enabled: true } } };
+ expect(service.status()).toMatchObject({ state: "connected", how: "sign-in" });
+ const token = fake.issued.at(-1)!;
+ expect(token).toMatch(/^pos_/u);
+ expect(JSON.stringify(service.status())).not.toContain(token);
+ // Postiz's tokens never expire and come with no refresh token: the same one is used every turn.
+ expect(await oauth.accessToken("postiz", url)).toBe(token);
+
+ expect((await service.recheck()).tools).toBe(4);
+ fake.revoke(token);
+ expect((await postiz().recheck()).state).toBe("needs-sign-in");
+
+ expect(await service.disconnect()).toMatchObject({ ok: true, status: { state: "not-connected" } });
+ expect(cfg.mcpServers).toEqual({});
+ expect(oauth.authState("postiz", url)).toBe("none");
+ expect(forgotten).toEqual(["postiz"]);
+ });
+
+ it("replaces a key connection, and never touches a server named postiz it did not set up", async () => {
+ const service = postiz();
+ expect(await save(service, { url: fake.url, key: FAKE_POSTIZ_KEY })).toBeNull();
+ expect(service.prepareSignIn()).toMatchObject({ ok: true });
+ expect(cfg.mcpServers?.postiz).toMatchObject({ url: `${fake.url}/mcp-oauth-dynamic`, enabled: false });
+
+ const mine = { type: "http", url: "https://mcp.postiz.com/mcp/abc123", headers: {}, enabled: true };
+ cfg = { ...cfg, mcpServers: { postiz: mine } };
+ expect(service.status().state).toBe("taken");
+ expect(service.prepareSignIn()).toMatchObject({ ok: false, status: 409, code: "taken" });
+ expect(await service.configCheck({ postiz: { key: FAKE_POSTIZ_KEY } })).toMatchObject({ status: 409, code: "taken" });
+ expect(await service.disconnect()).toMatchObject({ ok: false, code: "taken" });
+ expect(cfg.mcpServers).toEqual({ postiz: mine });
+ });
+
+ it("waits for an MCP server edit in flight before writing", async () => {
+ const service = postiz();
+ busy = true;
+ expect(service.prepareSignIn()).toMatchObject({ ok: false, status: 409, code: "busy" });
+ const body = { postiz: { key: FAKE_POSTIZ_KEY, url: fake.url } };
+ expect(await service.configCheck(body)).toBeNull();
+ cfg = { ...cfg, postiz: body.postiz };
+ service.configSaved(body);
+ expect(cfg.mcpServers).toEqual({});
+ busy = false;
+ await expect.poll(() => cfg.mcpServers?.postiz).toMatchObject({ url: `${fake.url}/mcp`, enabled: true });
+ });
+
+ it("is refused by the organization's policy", () => {
+ process.env.OMB_POSTIZ_CLOUD_URL = "https://blocked.example";
+ try {
+ expect(postiz().status()).toMatchObject({ state: "blocked", message: "Your organization allows only approved MCP servers." });
+ expect(postiz().prepareSignIn()).toMatchObject({ ok: false, status: 403, code: "managed_policy" });
+ } finally {
+ process.env.OMB_POSTIZ_CLOUD_URL = fake.url;
+ }
+ });
+});
diff --git a/server/postiz/service.ts b/server/postiz/service.ts
new file mode 100644
index 0000000000..a1cafbddc0
--- /dev/null
+++ b/server/postiz/service.ts
@@ -0,0 +1,222 @@
+// The Postiz connection as the Apps card and Settings → API keys see it. It is one `postiz` MCP server entry, so the
+// MCP gate, each bot's server selection and a Team Cloud's scopes treat it like any other.
+// Security: a key is checked before it is saved and only ever sent to the address it was saved for; no answer carries a
+// key or a token.
+import { POSTIZ_SERVER, type PostizStatus } from "../../shared/postiz.ts";
+import type { AppConfig } from "../config.ts";
+import { keyRejected, noteKeyAccepted, noteKeyRejected } from "../key-rejections.ts";
+import { withMcpSignIn, type McpOAuthManager } from "../mcp-oauth.ts";
+import { probeMcpServer, type McpProbeResult } from "../mcp-probe.ts";
+import { isRemoteMcpServer, parseStoredMcpServer, type StoredMcpServer, type StoredRemoteMcpServer } from "../mcp-registry.ts";
+import { postizAddress, postizCloud, postizEntryMethod, postizKeyUrl, postizSignInUrl, savedPostizAddress } from "./connection.ts";
+
+export type PostizProblem = "address" | "unreachable" | "key_rejected" | "not_postiz" | "taken" | "busy" | "managed_policy";
+export type PostizRefusal = { status: number; error: string; code: PostizProblem };
+export type PostizKeyCheck = { ok: true; tools: number } | ({ ok: false } & PostizRefusal);
+
+export interface PostizDeps {
+ cfg(): Pick<AppConfig, "postiz" | "mcpServers">;
+ mcpOAuth: McpOAuthManager;
+ persistMcpServers(next: Record<string, unknown>): void;
+ mcpConfigBusy: { get(): boolean; set(busy: boolean): void };
+ mcpPolicyRefusal(name: string, server: object): string | undefined;
+ appCatalog?: { serverChanged(name: string): void; forgetServer(name: string): void };
+ team: { team: unknown; scopes: { scope(kind: "mcp", id: string): "team" | "person" }; forgetServer(name: string): void };
+ /** Plain http to this computer's own Postiz: the desktop only, never a Cloud. */
+ loopback: boolean;
+ probe?: typeof probeMcpServer;
+ now?: () => number;
+}
+
+const KEY_CHECK_MS = 15_000;
+const RECHECK_MS = 5 * 60_000;
+const BUSY_RETRY_MS = 50;
+const BUSY_GIVE_UP_MS = 10_000;
+
+const hostOf = (address: string) => { try { return new URL(address).host; } catch { return address; } };
+
+/** What a check's failure means to the person, in words the card can say. */
+export function keyCheckRefusal(result: Extract<McpProbeResult, { ok: false }>, address: string): PostizRefusal {
+ const host = hostOf(address);
+ if (result.reason === "keys" || result.auth === "required") {
+ return { status: 400, code: "key_rejected", error: "Postiz didn't accept this API key. Copy it again from Postiz → Settings → Public API." };
+ }
+ if (result.reason === "unreachable" || result.reason === "timeout") {
+ return { status: 400, code: "unreachable", error: `Couldn't reach a Postiz server at ${host}. Check the address and try again.` };
+ }
+ return { status: 400, code: "not_postiz", error: `${host} didn't answer like Postiz. Check the address. Postiz Cloud's is https://api.postiz.com.` };
+}
+
+export function createPostiz(deps: PostizDeps) {
+ const probe = deps.probe ?? probeMcpServer;
+ const now = deps.now ?? Date.now;
+ let checkedAt = -Infinity;
+
+ const entry = (): StoredRemoteMcpServer | null | undefined => {
+ const raw = deps.cfg().mcpServers?.[POSTIZ_SERVER];
+ if (raw === undefined) return undefined;
+ const parsed = parseStoredMcpServer(POSTIZ_SERVER, raw);
+ return parsed.ok && isRemoteMcpServer(parsed.server) ? parsed.server as StoredRemoteMcpServer : null;
+ };
+ /** The entry's method, `taken` for a server named postiz this card did not set up, null for none. */
+ const method = (): "sign-in" | "key" | "old-key" | "taken" | null => {
+ const current = entry();
+ if (current === undefined) return null;
+ return current ? postizEntryMethod(current, deps.cfg().postiz) ?? "taken" : "taken";
+ };
+ const taken: PostizRefusal = { status: 409, code: "taken", error: "An MCP server named postiz is already set up in MCP servers. Remove it there to connect Postiz here." };
+
+ /** Writes the entry once no MCP server edit is in flight, so neither overwrites the other. */
+ const write = (next: StoredRemoteMcpServer | null, started = now()): void => {
+ if (deps.mcpConfigBusy.get()) {
+ if (now() - started < BUSY_GIVE_UP_MS) setTimeout(() => write(next, started), BUSY_RETRY_MS).unref?.();
+ return;
+ }
+ deps.mcpConfigBusy.set(true);
+ try {
+ const servers = { ...deps.cfg().mcpServers };
+ const before = entry();
+ if (next) servers[POSTIZ_SERVER] = next; else delete servers[POSTIZ_SERVER];
+ deps.persistMcpServers(servers);
+ // A sign-in belongs to one address.
+ if (!next || before?.url !== next.url) deps.mcpOAuth.forget(POSTIZ_SERVER);
+ deps.appCatalog?.forgetServer(POSTIZ_SERVER);
+ if (next) deps.appCatalog?.serverChanged(POSTIZ_SERVER);
+ checkedAt = -Infinity;
+ } finally {
+ deps.mcpConfigBusy.set(false);
+ }
+ };
+ const server = (url: string, enabled: boolean): StoredRemoteMcpServer => ({ type: "http", url, headers: {}, enabled });
+
+ const status = (): PostizStatus => {
+ const cfg = deps.cfg();
+ const address = savedPostizAddress(cfg.postiz);
+ const key = cfg.postiz?.key?.trim() ?? "";
+ const team = Boolean(deps.team.team);
+ const base = {
+ address, host: hostOf(address), selfHosted: address !== postizCloud(), keySaved: key !== "",
+ team, scope: team ? deps.team.scopes.scope("mcp", POSTIZ_SERVER) : "team" as const,
+ };
+ const how = method();
+ const refusal = deps.mcpPolicyRefusal(POSTIZ_SERVER, server(how === "key" ? postizKeyUrl(address) : postizSignInUrl(), false));
+ if (refusal) return { ...base, state: "blocked", how: null, message: refusal };
+ if (how === "taken") return { ...base, state: "taken", how: null };
+ const current = entry();
+ if (!current || (how !== "sign-in" && how !== "key")) return { ...base, state: "not-connected", how: null };
+ if (how === "sign-in") {
+ const auth = deps.mcpOAuth.authState(POSTIZ_SERVER, current.url);
+ if (auth === "needs-sign-in") return { ...base, state: "needs-sign-in", how };
+ return { ...base, state: auth === "signed-in" && current.enabled ? "connected" : "not-connected", how };
+ }
+ if (!key) return { ...base, state: "not-connected", how };
+ if (keyRejected(current.url, key)) return { ...base, state: "key-refused", how };
+ return { ...base, state: current.enabled ? "connected" : "not-connected", how };
+ };
+
+ /** Initialize and tools/list with this key: nothing is saved, no tool runs. */
+ const checkKey = async (rawAddress: string | undefined, key: string, signal?: AbortSignal): Promise<PostizKeyCheck> => {
+ const address = postizAddress(rawAddress, { loopback: deps.loopback });
+ if (!address.ok) return { ok: false, status: 400, code: "address", error: address.error };
+ const target = server(postizKeyUrl(address.address), true);
+ const refusal = deps.mcpPolicyRefusal(POSTIZ_SERVER, target);
+ if (refusal) return { ok: false, status: 403, code: "managed_policy", error: refusal };
+ const result = await probe({ ...target, headers: { Authorization: `Bearer ${key.trim()}` } }, KEY_CHECK_MS, signal);
+ if (result.ok) return { ok: true, tools: result.total ?? result.tools.length };
+ return { ok: false, ...keyCheckRefusal(result, address.address) };
+ };
+
+ return {
+ status,
+
+ /** Sets the `postiz` entry up for Postiz Cloud's sign-in, still off: the MCP sign-in routes run the sign-in, and the
+ * card turns it on once its tools load. */
+ prepareSignIn(): { ok: true; status: PostizStatus } | ({ ok: false } & PostizRefusal) {
+ if (deps.mcpConfigBusy.get()) return { ok: false, status: 409, code: "busy", error: "MCP servers are being updated. Try again in a moment." };
+ if (method() === "taken") return { ok: false, ...taken };
+ const url = postizSignInUrl();
+ const refusal = deps.mcpPolicyRefusal(POSTIZ_SERVER, server(url, false));
+ if (refusal) return { ok: false, status: 403, code: "managed_policy", error: refusal };
+ const current = entry();
+ if (!current || current.url !== url) write(server(url, false));
+ return { ok: true, status: status() };
+ },
+
+ checkKey,
+
+ /** Before a config save: the address must be one Postiz can be reached at, and a new key must work there. */
+ async configCheck(patch: { postiz?: { key?: string; url?: string } }): Promise<PostizRefusal | null> {
+ if (!patch.postiz) return null;
+ const cfg = deps.cfg();
+ if (patch.postiz.url !== undefined) {
+ const address = postizAddress(patch.postiz.url, { loopback: deps.loopback });
+ if (!address.ok) return { status: 400, code: "address", error: address.error };
+ patch.postiz.url = address.address === postizCloud() ? "" : address.address;
+ }
+ const key = patch.postiz.key?.trim();
+ if (!key) return null;
+ if (method() === "taken") return taken;
+ const address = patch.postiz.url !== undefined ? patch.postiz.url : cfg.postiz?.url;
+ const checked = await checkKey(address || undefined, key);
+ return checked.ok ? null : checked;
+ },
+
+ /** After a config save: a saved key connects Postiz with it; a removed key, or a key's address changed alone,
+ * removes the key's entry. */
+ configSaved(patch: { postiz?: { key?: string; url?: string } }): void {
+ if (!patch.postiz) return;
+ const cfg = deps.cfg();
+ const how = method();
+ if (how === "taken") return;
+ const keyUrl = postizKeyUrl(savedPostizAddress(cfg.postiz));
+ const key = cfg.postiz?.key?.trim();
+ const current = entry();
+ if (patch.postiz.key !== undefined && key) {
+ noteKeyAccepted(keyUrl, key);
+ if (!current || current.url !== keyUrl || !current.enabled) write(server(keyUrl, true));
+ return;
+ }
+ if (how === "old-key" || (how === "key" && patch.postiz.key !== undefined)) write(null);
+ },
+
+ /** Signs out and removes the entry, with every person's own sign-in and key for it. The key itself is removed by
+ * the save that stores it (the desktop's encrypted store, or this server's config). */
+ async disconnect(): Promise<{ ok: true; status: PostizStatus } | ({ ok: false } & PostizRefusal)> {
+ if (deps.mcpConfigBusy.get()) return { ok: false, status: 409, code: "busy", error: "MCP servers are being updated. Try again in a moment." };
+ const how = method();
+ if (how === "taken") return { ok: false, ...taken };
+ const current = entry();
+ if (current) {
+ await deps.mcpOAuth.signOut(POSTIZ_SERVER, current.url);
+ write(null);
+ deps.team.forgetServer(POSTIZ_SERVER);
+ }
+ return { ok: true, status: status() };
+ },
+
+ /** The saved connection checked again, at most every few minutes: a revoked sign-in asks for a new one, a revoked
+ * key shows as refused. */
+ async recheck(signal?: AbortSignal): Promise<PostizStatus> {
+ const how = method();
+ const current = entry();
+ const key = deps.cfg().postiz?.key?.trim();
+ if (!current || (how !== "sign-in" && how !== "key") || !current.enabled || now() - checkedAt < RECHECK_MS) return status();
+ let target: StoredMcpServer | undefined;
+ if (how === "sign-in" && deps.mcpOAuth.authState(POSTIZ_SERVER, current.url) === "signed-in") {
+ const signedIn = (await withMcpSignIn({ [POSTIZ_SERVER]: current }, deps.mcpOAuth))[POSTIZ_SERVER];
+ if (signedIn && "url" in signedIn) target = { ...current, headers: signedIn.headers };
+ } else if (how === "key" && key) {
+ target = { ...current, headers: { Authorization: `Bearer ${key}` } };
+ }
+ if (!target) return status();
+ checkedAt = now();
+ const result = await probe(target, KEY_CHECK_MS, signal);
+ if (!result.ok && how === "sign-in" && (result.auth === "required" || result.reason === "keys")) deps.mcpOAuth.markNeedsSignIn(POSTIZ_SERVER, current.url);
+ if (!result.ok && how === "key" && key && result.reason === "keys") noteKeyRejected(current.url, key);
+ if (result.ok && how === "key" && key) noteKeyAccepted(current.url, key);
+ return { ...status(), ...(result.ok ? { tools: result.total ?? result.tools.length } : {}) };
+ },
+ };
+}
+
+export type Postiz = ReturnType<typeof createPostiz>;
diff --git a/server/routes/config.ts b/server/routes/config.ts
index 524fc270e0..7c3a3531f0 100644
--- a/server/routes/config.ts
+++ b/server/routes/config.ts
@@ -40,6 +40,7 @@ import { parseSkillMd } from "../skills.ts";
import type { Store } from "../store.ts";
import * as tts from "../tts/index.ts";
import * as vps from "../vps-computer.ts";
+import type { Postiz } from "../postiz/service.ts";
import { PASS, type RouteHandler } from "./table.ts";
export interface BusyFlag {
@@ -97,6 +98,8 @@ export interface ConfigRouteDeps {
reloadProviders(before: Record<string, unknown>): Promise<void>;
broadcast(payload: Record<string, unknown>): void;
drainQueuedSends(): void;
+ /** Postiz: a key is checked at its address before it is saved, and the `postiz` server follows the saved key. */
+ postiz?: Pick<Postiz, "configCheck" | "configSaved">;
}
export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
@@ -106,7 +109,7 @@ export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
localVmIdleMs, localVmIdles, localVmActiveThreads, localVmLifecycleBusy, localVmImageBusy, localVmModeChangeBusy,
providerConfigBusy, computerProviderConfigTransitions, managedBoatOwners, providerOperationConflict,
perBotLocalVmCountForModeChange, checkedModelSelection, policyModelRefusal, browserSessionSpec, configStatus,
- configForAccess, resyncOpenCodeProviderKeys, revokeEngineCapabilities, reloadProviders, broadcast, drainQueuedSends, ownProfile,
+ configForAccess, resyncOpenCodeProviderKeys, revokeEngineCapabilities, reloadProviders, broadcast, drainQueuedSends, ownProfile, postiz,
} = deps;
return async ({ req, res, url, path, method, auth, json, readBody }) => {
// API keys are never echoed back: booleans only.
@@ -361,6 +364,8 @@ export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
patch.composio = { ...patch.composio, apiKey: "", sessionId: "" };
}
}
+ const postizRefusal = await postiz?.configCheck(patch);
+ if (postizRefusal) return json(res, postizRefusal.status, { error: postizRefusal.error, code: postizRefusal.code });
const newBoatToken = patch.box?.token;
if (newBoatToken?.trim()) {
const check = await boat.verifyToken(newBoatToken);
@@ -526,6 +531,7 @@ export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
if (persisted.imageGen?.customApiKey !== undefined) persisted.imageGen.customApiKey = "";
if (persisted.live?.key !== undefined) persisted.live.key = "";
if (persisted.treg?.key !== undefined) persisted.treg.key = "";
+ if (persisted.postiz?.key !== undefined) persisted.postiz.key = "";
saveConfig(persisted);
configWriteCommitted = true;
syncCredentialEnv(patch);
@@ -549,6 +555,7 @@ export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
throw error;
}
for (const key of resetKeys) if (key) forgetKey(key);
+ postiz?.configSaved(patch);
// A saved key reaches an engine through the environment its status read uses, often with no reload.
registry.forgetSnapshots();
if (patch.localVm?.idleTimeoutMinutes !== undefined) {
diff --git a/server/routes/mcp-servers.ts b/server/routes/mcp-servers.ts
index 6db342ce97..c9ff1a5178 100644
--- a/server/routes/mcp-servers.ts
+++ b/server/routes/mcp-servers.ts
@@ -7,6 +7,7 @@ import { McpOAuthError, McpSignInError, mcpCallbackOrigin, withMcpSignIn, type M
import { probeMcpServer } from "../mcp-probe.ts";
import { MAX_MCP_SERVERS, isRemoteMcpServer, mcpServerBody, parseMcpServerMutation, parseMcpServersImport, parseStoredMcpServer, type McpRunsOn, type StoredMcpServer } from "../mcp-registry.ts";
import { personKey } from "../person-key.ts";
+import { postizKeyHeaders } from "../postiz/connection.ts";
import { isLoopbackHost, isProxied, provesSameOrigin, requestOrigin } from "../request-auth.ts";
import type { SessionRegistry } from "../sessions.ts";
import type { BusyFlag } from "./config.ts";
@@ -14,7 +15,7 @@ import { PASS, type RouteHandler } from "./table.ts";
import { sessionMember } from "./team-phone.ts";
export interface McpServerRouteDeps {
- cfg: Pick<AppConfig, "mcpServers">;
+ cfg: Pick<AppConfig, "mcpServers" | "postiz">;
sessions: Pick<SessionRegistry, "isLive">;
mcpOAuth: McpOAuthManager;
teamConnections: Pick<TeamConnectionsHost, "personMcp" | "people">;
@@ -94,6 +95,8 @@ export function createMcpServerRoutes(deps: McpServerRouteDeps): RouteHandler {
oauth = deps.teamConnections.people.oauth(person);
const key = deps.teamConnections.people.key(person, name, target.url);
target = { ...target, headers: key ? { [key.header]: key.value } : {} };
+ } else if (!personal && isRemoteMcpServer(target)) {
+ target = { ...target, headers: { ...target.headers, ...postizKeyHeaders(cfg.postiz, name, target) } };
}
if (isRemoteMcpServer(target) && oauth.authState(name, target.url) === "signed-in") {
const signedIn = (await withMcpSignIn({ [name]: target }, oauth))[name];
diff --git a/server/routes/postiz.ts b/server/routes/postiz.ts
new file mode 100644
index 0000000000..4a10b1d17b
--- /dev/null
+++ b/server/routes/postiz.ts
@@ -0,0 +1,54 @@
+// The Apps card's Postiz routes, for the owner or an admin (request-auth.ts leaves every one off a client's list):
+// GET /api/postiz the connection: how it signs in and where, never a key or a token
+// POST /api/postiz/sign-in the `postiz` server set up for Postiz Cloud's sign-in; /api/mcp/servers/postiz/sign-in runs it
+// POST /api/postiz/key-check { key, address? } → { ok, tools } or a plain refusal; nothing is saved
+// POST /api/postiz/check the saved connection checked again (a revoked sign-in or key shows as such)
+// DELETE /api/postiz signed out and the server removed; the key goes with the save that stores it
+import type { Postiz } from "../postiz/service.ts";
+import { PASS, type RouteHandler } from "./table.ts";
+
+export interface PostizRouteDeps {
+ postiz: Postiz;
+}
+
+export function createPostizRoutes(deps: PostizRouteDeps): RouteHandler {
+ const { postiz } = deps;
+ return async ({ req, res, path, method, auth, json, readBody }) => {
+ if (path !== "/api/postiz" && !path.startsWith("/api/postiz/")) return PASS;
+ if (!auth.scopes.includes("admin")) return json(res, 403, { error: "Only the owner or an admin can manage the Postiz connection." });
+ res.setHeader("Cache-Control", "no-store");
+ if (path === "/api/postiz") {
+ if (method === "GET") return json(res, 200, postiz.status());
+ if (method !== "DELETE") return json(res, 405, { error: "method not allowed" });
+ const done = await postiz.disconnect();
+ return done.ok ? json(res, 200, done.status) : json(res, done.status, { error: done.error, code: done.code });
+ }
+ if (method !== "POST") return json(res, 405, { error: "method not allowed" });
+ if (path === "/api/postiz/sign-in") {
+ const prepared = postiz.prepareSignIn();
+ return prepared.ok ? json(res, 200, prepared.status) : json(res, prepared.status, { error: prepared.error, code: prepared.code });
+ }
+ if (path === "/api/postiz/check") {
+ const controller = new AbortController();
+ const hangUp = () => { if (!res.writableEnded) controller.abort(); };
+ res.once("close", hangUp);
+ try {
+ return json(res, 200, await postiz.recheck(controller.signal));
+ } finally {
+ res.off("close", hangUp);
+ }
+ }
+ if (path === "/api/postiz/key-check") {
+ if (!String(req.headers["content-type"] ?? "").toLowerCase().startsWith("application/json")) {
+ return json(res, 415, { error: "content-type must be application/json" });
+ }
+ const body = await readBody(req, 8_192);
+ const key = typeof body?.key === "string" ? body.key.trim() : "";
+ if (!key || key.length > 512 || /\s/u.test(key)) return json(res, 400, { error: "Paste the Postiz API key alone.", code: "key_rejected" });
+ if (body?.address !== undefined && typeof body.address !== "string") return json(res, 400, { error: "Send the Postiz address as text.", code: "address" });
+ const checked = await postiz.checkKey(body?.address, key);
+ return checked.ok ? json(res, 200, checked) : json(res, checked.status, { ok: false, error: checked.error, code: checked.code });
+ }
+ return json(res, 404, { error: "not found" });
+ };
+}
diff --git a/server/testing/fake-postiz.ts b/server/testing/fake-postiz.ts
new file mode 100644
index 0000000000..9811530f04
--- /dev/null
+++ b/server/testing/fake-postiz.ts
@@ -0,0 +1,169 @@
+// A stand-in for a Postiz backend, written from Postiz's published behaviour (its OAuth metadata at
+// api.postiz.com, checked 2026-10-29, and its MCP docs), never from its code: RFC 8414 path-based issuer metadata for
+// /mcp-oauth-dynamic, dynamic client registration for https or loopback redirects, an authorize that approves at once
+// (or denies), a PKCE-checked token endpoint that hands out never-expiring `pos_` tokens with no refresh token, and
+// streamable-HTTP MCP at /mcp-oauth-dynamic (sign-in tokens and API keys) and /mcp (a bearer key).
+import { createHash, randomBytes } from "node:crypto";
+import { createServer, type IncomingMessage, type ServerResponse } from "node:http";
+import type { AddressInfo } from "node:net";
+
+export const FAKE_POSTIZ_KEY = "fixture-postiz-org-key-0001";
+
+export interface FakePostizCall { name: string; arguments: Record<string, unknown>; authorization: string }
+
+export interface FakePostiz {
+ /** The backend address, as a person would enter it (no path). */
+ url: string;
+ /** Every Authorization header an MCP request carried. */
+ authorizations: string[];
+ /** Every tools/call, with the credential it came with. */
+ calls: FakePostizCall[];
+ /** `pos_` tokens issued by the token endpoint. */
+ issued: string[];
+ counts: { register: number; token: number; mcp: number };
+ options: { deny: boolean };
+ /** Revoke a token or key, as Postiz does when a person disconnects the app or regenerates the key. */
+ revoke(credential: string): void;
+ /** Accept a credential again. */
+ grant(credential: string): void;
+ close(): Promise<void>;
+}
+
+const TOOLS = [
+ { name: "integrationList", description: "List the connected social media channels.", inputSchema: { type: "object", properties: { group: { type: "string" } } } },
+ { name: "integrationSchema", description: "Posting rules and settings for one platform.", inputSchema: { type: "object", properties: { platform: { type: "string" } }, required: ["platform"] } },
+ { name: "schedulePostTool", description: "Schedule, draft, or immediately publish posts.", inputSchema: {
+ type: "object", required: ["socialPost"], properties: { socialPost: { type: "array", items: { type: "object", properties: {
+ integrationId: { type: "string" }, date: { type: "string" }, type: { type: "string", enum: ["draft", "schedule", "now"] },
+ shortLink: { type: "boolean" }, isPremium: { type: "boolean" }, settings: { type: "array" },
+ postsAndComments: { type: "array", items: { type: "object", properties: { content: { type: "string" } } } },
+ } } } },
+ } },
+ { name: "postsListTool", description: "List posts scheduled between two dates.", inputSchema: { type: "object", properties: { startDate: { type: "string" }, endDate: { type: "string" } } } },
+];
+
+function readBody(req: IncomingMessage): Promise<string> {
+ return new Promise((resolve) => {
+ let body = "";
+ req.setEncoding("utf8");
+ req.on("data", (chunk: string) => { body += chunk; });
+ req.on("end", () => resolve(body));
+ });
+}
+
+const json = (res: ServerResponse, status: number, body: unknown, headers: Record<string, string> = {}) =>
+ res.writeHead(status, { "content-type": "application/json", ...headers }).end(JSON.stringify(body));
+
+export async function startFakePostiz(): Promise<FakePostiz> {
+ let base = "";
+ const clients = new Map<string, string[]>();
+ const codes = new Map<string, { clientId: string; redirectUri: string; challenge: string }>();
+ const valid = new Set<string>([FAKE_POSTIZ_KEY]);
+ const fake: Omit<FakePostiz, "url" | "close"> = {
+ authorizations: [], calls: [], issued: [], counts: { register: 0, token: 0, mcp: 0 }, options: { deny: false },
+ revoke: (credential) => { valid.delete(credential); },
+ grant: (credential) => { valid.add(credential); },
+ };
+
+ const mcp = async (req: IncomingMessage, res: ServerResponse, path: "/mcp" | "/mcp-oauth-dynamic") => {
+ const authorization = req.headers.authorization ?? "";
+ fake.authorizations.push(authorization);
+ const token = authorization.replace(/^Bearer /u, "");
+ if (!valid.has(token)) {
+ // The OAuth path points a client at its sign-in; the key path only refuses (Postiz 2.25 does the same).
+ if (path === "/mcp-oauth-dynamic") {
+ return json(res, 401, { error: "invalid_token", error_description: "Invalid API Key or OAuth token" },
+ { "www-authenticate": `Bearer resource_metadata="${base}/.well-known/oauth-protected-resource/mcp-oauth-dynamic"` });
+ }
+ res.writeHead(401, { "content-type": "text/html; charset=utf-8" }).end(authorization ? "Invalid API Key or OAuth token" : "Missing Authorization header");
+ return;
+ }
+ fake.counts.mcp += 1;
+ const frame = JSON.parse(await readBody(req) || "{}") as { id?: unknown; method?: string; params?: { name?: string; arguments?: Record<string, unknown> } };
+ if (frame.id === undefined) { res.writeHead(202).end(); return; }
+ const answer = (result: unknown) => json(res, 200, { jsonrpc: "2.0", id: frame.id, result });
+ if (frame.method === "initialize") return answer({ protocolVersion: "2025-06-18", capabilities: { tools: {} }, serverInfo: { name: "Postiz MCP", version: "1.0.0" } });
+ if (frame.method === "tools/list") return answer({ tools: TOOLS });
+ if (frame.method === "tools/call") {
+ const name = frame.params?.name ?? "";
+ fake.calls.push({ name, arguments: frame.params?.arguments ?? {}, authorization });
+ if (name === "integrationList") return answer({ content: [{ type: "text", text: JSON.stringify([{ id: "int_linkedin", name: "Example Co", identifier: "linkedin" }]) }] });
+ if (name === "schedulePostTool") {
+ const posts = Array.isArray(frame.params?.arguments?.socialPost) ? frame.params!.arguments!.socialPost as Array<{ type?: string }> : [];
+ return answer({ content: [{ type: "text", text: JSON.stringify({ created: posts.map((post, index) => ({ postId: `post_${index + 1}`, type: post.type ?? "draft" })) }) }] });
+ }
+ return answer({ content: [{ type: "text", text: "[]" }] });
+ }
+ return json(res, 200, { jsonrpc: "2.0", id: frame.id, error: { code: -32601, message: "Method not found" } });
+ };
+
+ const server = createServer((req, res) => {
+ void (async () => {
+ const url = new URL(req.url ?? "/", base);
+ const issuer = `${base}/mcp-oauth-dynamic`;
+ if (req.method === "GET" && url.pathname === "/.well-known/oauth-protected-resource/mcp-oauth-dynamic") {
+ return json(res, 200, { resource: issuer, authorization_servers: [issuer], scopes_supported: ["mcp:read", "mcp:write"], bearer_methods_supported: ["header"] });
+ }
+ if (req.method === "GET" && url.pathname === "/.well-known/oauth-authorization-server/mcp-oauth-dynamic") {
+ return json(res, 200, {
+ issuer, authorization_endpoint: `${base}/oauth/authorize`, token_endpoint: `${base}/oauth/token`, registration_endpoint: `${base}/oauth/register`,
+ response_types_supported: ["code"], grant_types_supported: ["authorization_code"],
+ token_endpoint_auth_methods_supported: ["client_secret_basic", "client_secret_post", "none"],
+ code_challenge_methods_supported: ["S256"], scopes_supported: ["mcp:read", "mcp:write"],
+ });
+ }
+ if (req.method === "POST" && url.pathname === "/oauth/register") {
+ fake.counts.register += 1;
+ const body = JSON.parse(await readBody(req) || "{}") as { redirect_uris?: string[]; token_endpoint_auth_method?: string };
+ const uris = body.redirect_uris ?? [];
+ const allowed = uris.length > 0 && uris.every((uri) => {
+ try { const parsed = new URL(uri); return parsed.protocol === "https:" || (parsed.protocol === "http:" && ["127.0.0.1", "localhost", "[::1]"].includes(parsed.hostname)); } catch { return false; }
+ });
+ if (!allowed) return json(res, 400, { error: "invalid_redirect_uri" });
+ const clientId = `pcd_${randomBytes(8).toString("hex")}`;
+ clients.set(clientId, uris);
+ return json(res, 201, { client_id: clientId, redirect_uris: uris, grant_types: ["authorization_code"], token_endpoint_auth_method: "none" });
+ }
+ if (req.method === "GET" && url.pathname === "/oauth/authorize") {
+ const clientId = url.searchParams.get("client_id") ?? "";
+ const redirectUri = url.searchParams.get("redirect_uri") ?? "";
+ const challenge = url.searchParams.get("code_challenge") ?? "";
+ if (!clients.get(clientId)?.includes(redirectUri) || !challenge) return json(res, 400, { error: "invalid_request" });
+ const redirect = new URL(redirectUri);
+ const state = url.searchParams.get("state");
+ if (state) redirect.searchParams.set("state", state);
+ if (fake.options.deny) {
+ redirect.searchParams.set("error", "access_denied");
+ } else {
+ const code = `pcc_${randomBytes(8).toString("hex")}`;
+ codes.set(code, { clientId, redirectUri, challenge });
+ redirect.searchParams.set("code", code);
+ }
+ res.writeHead(302, { location: redirect.toString() }).end();
+ return;
+ }
+ if (req.method === "POST" && url.pathname === "/oauth/token") {
+ const form = new URLSearchParams(await readBody(req));
+ if (form.get("grant_type") !== "authorization_code") return json(res, 400, { error: "unsupported_grant_type" });
+ fake.counts.token += 1;
+ const code = codes.get(form.get("code") ?? "");
+ codes.delete(form.get("code") ?? "");
+ const verified = code && code.clientId === form.get("client_id") && code.redirectUri === form.get("redirect_uri")
+ && createHash("sha256").update(form.get("code_verifier") ?? "").digest("base64url") === code.challenge;
+ if (!verified) return json(res, 400, { error: "invalid_grant" });
+ const token = `pos_${randomBytes(20).toString("hex")}`;
+ valid.add(token);
+ fake.issued.push(token);
+ return json(res, 200, { id: "org_fixture", access_token: token, token_type: "bearer", scope: "mcp:read mcp:write" });
+ }
+ if (req.method === "POST" && (url.pathname === "/mcp" || url.pathname === "/mcp-oauth-dynamic")) return mcp(req, res, url.pathname);
+ json(res, 404, { message: `Cannot ${req.method} ${url.pathname}`, statusCode: 404 });
+ })();
+ });
+ await new Promise<void>((resolve) => server.listen(0, "127.0.0.1", resolve));
+ base = `http://127.0.0.1:${(server.address() as AddressInfo).port}`;
+ return Object.assign(fake, {
+ url: base,
+ close: () => new Promise<void>((resolve) => { server.closeAllConnections(); server.close(() => resolve()); }),
+ });
+}
diff --git a/shared/postiz.ts b/shared/postiz.ts
new file mode 100644
index 0000000000..77274db35d
--- /dev/null
+++ b/shared/postiz.ts
@@ -0,0 +1,40 @@
+// Postiz (postiz.com), the social media scheduler, through its own MCP server. OpenMausBot only calls Postiz's public
+// MCP and OAuth endpoints: Postiz is AGPL-3.0 and none of its code is copied here.
+
+/** The MCP server name bots see the Postiz tools under (`mcp__postiz__…` on Claude Code). */
+export const POSTIZ_SERVER = "postiz";
+
+/** Postiz Cloud's backend, as its published OAuth metadata names it (checked 2026-10-29). */
+export const POSTIZ_CLOUD = "https://api.postiz.com";
+
+/** Where a Postiz organisation API key comes from. */
+export const POSTIZ_KEY_PAGE = "https://platform.postiz.com/settings";
+
+/** GET /api/postiz. Never a key or a token. */
+export interface PostizStatus {
+ /** `taken`: an MCP server named postiz that this card did not set up; `blocked`: the organization's policy refuses it. */
+ state: "not-connected" | "connected" | "needs-sign-in" | "key-refused" | "taken" | "blocked";
+ /** How the connection signs in: Postiz Cloud's own sign-in, or an organisation API key. */
+ how: "sign-in" | "key" | null;
+ /** The Postiz server the key belongs to: Postiz Cloud unless the person entered their own. */
+ address: string;
+ /** Its host, as the card shows it. */
+ host: string;
+ selfHosted: boolean;
+ /** A key is saved (on this server, or in the desktop's encrypted store). */
+ keySaved: boolean;
+ /** A Team Cloud: `person` means each person connects their own Postiz. */
+ team: boolean;
+ scope: "team" | "person";
+ /** Tools the last check found. */
+ tools?: number;
+ /** Why the organization's policy refuses it, for `blocked`. */
+ message?: string;
+}
+
+export function isPostizStatus(value: unknown): value is PostizStatus {
+ if (!value || typeof value !== "object") return false;
+ const status = value as Partial<PostizStatus>;
+ return typeof status.state === "string" && typeof status.address === "string" && typeof status.host === "string"
+ && (status.how === null || status.how === "sign-in" || status.how === "key");
+}
diff --git a/src/components/McpServersPanel.tsx b/src/components/McpServersPanel.tsx
index 203cec7feb..b571f061d8 100644
--- a/src/components/McpServersPanel.tsx
+++ b/src/components/McpServersPanel.tsx
@@ -30,6 +30,7 @@ import type { McpMessage } from "./McpResultBudgetField";
import { McpServerEditor, type McpServerSubmission } from "./McpServerEditor";
import { isRemoteMcpListing, type McpServerListing } from "./mcp-draft";
import { WHOP_MCP_URL, isWhopServer, whopServerName } from "@/lib/whop-integration";
+import { POSTIZ_SERVER } from "../../shared/postiz";
import { openBotSettings } from "./bot-panel/panel-link";
export interface ProbeResult {
@@ -472,7 +473,7 @@ export function McpServersPanel({ embedded = false, whopCard = false, hideWhop =
</div>;
}
- const visibleServers = servers?.filter((server) => !hideWhop || !isRemoteMcpListing(server) || !isWhopServer(server));
+ const visibleServers = servers?.filter((server) => !hideWhop || !isRemoteMcpListing(server) || !(isWhopServer(server) || server.name === POSTIZ_SERVER));
return (
<section
diff --git a/src/components/PluginsPanel.navigation.test.ts b/src/components/PluginsPanel.navigation.test.ts
index e6556d8f4c..7d2aedcc39 100644
--- a/src/components/PluginsPanel.navigation.test.ts
+++ b/src/components/PluginsPanel.navigation.test.ts
@@ -55,6 +55,9 @@ vi.mock("./XCard", () => ({
X_CARD_SEARCH: "x twitter treg tweets posts",
XCard: () => createElement("div", { "data-x-card": true }, "X (Twitter)"),
}));
+vi.mock("./PostizCard", () => ({
+ PostizCard: () => createElement("div", { "data-postiz-card": true }, "Postiz"),
+}));
import { APPS_PREVIEW_COUNT, PluginsPanel, USED_BY_AVATAR_SIZE, botsUsingService } from "./PluginsPanel";
import { FACE_BOX } from "./cursor-face-data";
import { MASCOT_BODIES } from "../../shared/mascot-bodies";
@@ -65,6 +68,8 @@ const STATUS = 6;
const PHASE = 13;
const HIGHLEVEL_CONNECTED = 21;
const X_CONNECTED = 22;
+const CATEGORY = 20;
+const POSTIZ_CONNECTED = 23;
const MODE = 4;
const SEARCH = 15;
const TAB = 16;
@@ -147,6 +152,26 @@ describe("Apps pop-up", () => {
fixture.overrides.set(15, "zendesk");
expect(wrapper(render().nodes).props.className).toBe("hidden");
});
+ it("shows the Postiz card in the grid and under Social, with a Social pill, and counts it once connected", () => {
+ const wrapper = (tree: Node[]) => tree.find((node) => node.props["data-native-card"] === "postiz")!;
+ const { html, nodes: tree } = render();
+ expect(wrapper(tree).props.className).toBe("contents");
+ expect(tree.filter((node) => node.props["data-apps-category"]).map((node) => node.props["data-apps-category"])).toContain("Social");
+ expect(html).toContain("1 connected");
+ fixture.overrides.set(POSTIZ_CONNECTED, true);
+ expect(render().html).toContain("2 connected");
+ fixture.overrides.set(CATEGORY, "Social");
+ const social = render();
+ expect(wrapper(social.nodes).props.className).toBe("contents");
+ expect([...social.html.matchAll(/<h3 id="[^"]*"[^>]*>([^<]*)/g)].map((match) => match[1])).toEqual(["Social"]);
+ fixture.overrides.set(CATEGORY, "Productivity");
+ expect(wrapper(render().nodes).props.className).toBe("hidden");
+ fixture.overrides.set(CATEGORY, null);
+ fixture.overrides.set(SEARCH, "instagram");
+ expect(wrapper(render().nodes).props.className).toBe("contents");
+ fixture.overrides.set(SEARCH, "gmail");
+ expect(wrapper(render().nodes).props.className).toBe("hidden");
+ });
it("shows the X card in the grid for every install and counts it once bots have X", () => {
const wrapper = (tree: Node[]) => tree.find((node) => node.props["data-native-card"] === "x")!;
const { html, nodes: tree } = render();
@@ -487,8 +512,9 @@ describe("Apps pop-up", () => {
]);
const { html, nodes: tree } = render();
const headings = [...html.matchAll(/<h3 id="[^"]*"[^>]*>([^<]*)/g)].map((match) => match[1]);
- expect(headings).toEqual(["Connected", "Productivity", "Communication", "Analytics", "All apps"]);
- expect(tree.filter((node) => node.props["data-apps-category"]).map((node) => node.props["data-apps-category"])).toEqual(["Productivity", "Communication", "Analytics", "Design", "Files"]);
+ // Postiz's own card lives in Social, so Social counts it beside the catalog's one social app.
+ expect(headings).toEqual(["Connected", "Productivity", "Communication", "Social", "All apps"]);
+ expect(tree.filter((node) => node.props["data-apps-category"]).map((node) => node.props["data-apps-category"])).toEqual(["Productivity", "Communication", "Social", "Analytics", "Design"]);
expect(html).toContain('aria-label="More categories"');
// The dialog clips overflow, so the menu must portal out of it rather than open in place.
expect(tree.find((node) => node.props.ariaLabel === "More categories")!.props.placement).toBeUndefined();
diff --git a/src/components/PluginsPanel.tsx b/src/components/PluginsPanel.tsx
index 7ab5c5d88c..4fb726288e 100644
--- a/src/components/PluginsPanel.tsx
+++ b/src/components/PluginsPanel.tsx
@@ -29,6 +29,8 @@ import { SidebarPopoverMenu } from "./SidebarPopoverMenu";
import { appCategoryLabel, CATEGORY_SECTION_SIZE, catalogSections, connectorDescription, inCategory, rankCategories } from "@/lib/app-catalog";
import { McpServersPanel } from "./McpServersPanel";
import { HighLevelCard } from "./HighLevelCard";
+import { PostizCard } from "./PostizCard";
+import { POSTIZ_CATALOG_CARD, POSTIZ_SEARCH } from "@/lib/postiz";
import { X_CARD_SEARCH, XCard } from "./XCard";
import { mergeCompleteConnectorStatus, mergeCurrentConnectorStatus, onlyLatestConnectorResponses } from "@/lib/connector-status-merge";
import { openBotSettings } from "./bot-panel/panel-link";
@@ -181,12 +183,19 @@ export function PluginsPanel() {
// Appended after the older state so tests that seed state by call order keep their indices.
const [highLevelConnected, setHighLevelConnected] = useState<boolean | null>(null);
const [xConnected, setXConnected] = useState<boolean | null>(null);
+ const [postizConnected, setPostizConnected] = useState<boolean | null>(null);
const polls = useRef(new Map<string, () => void>());
const statusGenerations = useRef(new Map<string, number>());
const latestStatusRequests = useRef(new Map<string, number>());
const opening = useRef<ReturnType<typeof reserveConnectionPage> | null>(null);
+ /** A connection that finished or failed since a request no newer than this one no longer needs its sign-in page. */
+ const forgetSettledUrls = (services: Record<string, ConnectorStatus>, requestGenerations: ReadonlyMap<string, number>) => {
+ const settled = Object.entries(services).filter(([slug, state]) => (statusGenerations.current.get(slug) ?? 0) === (requestGenerations.get(slug) ?? 0)
+ && ((state.connected && !state.pending) || /^(expired|failed)$/i.test(state.status ?? ""))).map(([slug]) => slug);
+ if (settled.length) setPendingUrls((current) => settled.some((slug) => current[slug]) ? Object.fromEntries(Object.entries(current).filter(([slug]) => !settled.includes(slug))) : current);
+ };
const refreshStatus = useCallback((slugs: string[]): Promise<Record<string, ConnectorStatus>> => {
if (!slugs.length) return Promise.resolve({});
const requestGenerations = new Map(slugs.map((slug) => [slug, statusGenerations.current.get(slug) ?? 0]));
@@ -210,15 +219,7 @@ export function PluginsPanel() {
statusGenerations.current,
requestGenerations,
));
- for (const [slug, state] of Object.entries(services)) {
- const isCurrent = (statusGenerations.current.get(slug) ?? 0) === (requestGenerations.get(slug) ?? 0);
- if (isCurrent && ((state.connected && !state.pending) || /^(expired|failed)$/i.test(state.status ?? ""))) setPendingUrls((current) => {
- if (!current[slug]) return current;
- const next = { ...current };
- delete next[slug];
- return next;
- });
- }
+ forgetSettledUrls(services, requestGenerations);
return services;
})
.catch(() => ({}));
@@ -237,15 +238,7 @@ export function PluginsPanel() {
requestGenerations,
authoritative,
));
- for (const [slug, state] of Object.entries(services)) {
- const isCurrent = (statusGenerations.current.get(slug) ?? 0) === (requestGenerations.get(slug) ?? 0);
- if (isCurrent && ((state.connected && !state.pending) || /^(expired|failed)$/i.test(state.status ?? ""))) setPendingUrls((current) => {
- if (!current[slug]) return current;
- const next = { ...current };
- delete next[slug];
- return next;
- });
- }
+ forgetSettledUrls(services, requestGenerations);
return services;
})
.finally(() => setRefreshing(false));
@@ -441,11 +434,12 @@ export function PluginsPanel() {
const highLevelMatches = !search || `highlevel high level growably crm ${t("highlevel.description")}`.toLowerCase().includes(search.toLowerCase().trim());
const showHighLevel = highLevelMatches && (filter === "all" || (filter === "connected" && highLevelConnected !== false));
const showX = (!search || `${X_CARD_SEARCH} ${t("apps.x.description")}`.toLowerCase().includes(search.toLowerCase().trim())) && (filter === "all" || (filter === "connected" && xConnected !== false));
+ const showPostiz = (!search || `${POSTIZ_SEARCH} ${t("postiz.description")}`.toLowerCase().includes(search.toLowerCase().trim())) && (filter === "all" || (filter === "connected" && postizConnected !== false));
const visible = (filter === "connected" ? matching.filter((card) => isConnected(card.slug)) : matching)
.map((card, index) => ({ card, index }))
.sort((a, b) => Number(isConnected(b.card.slug)) - Number(isConnected(a.card.slug)) || a.index - b.index)
.map(({ card }) => card);
- const connectedCount = Object.values(status).filter(hasActiveConnection).length + Number(whopConnected === true) + Number(highLevelConnected === true) + Number(xConnected === true);
+ const connectedCount = Object.values(status).filter(hasActiveConnection).length + Number(whopConnected === true) + Number(highLevelConnected === true) + Number(xConnected === true) + Number(postizConnected === true);
const connectedEmptyCopy = connectedInventoryCopy(inventoryPhase);
const close = () => dispatch({ type: "togglePlugins", open: false });
const setupNotice = connectorSetupNotice({ configured, stale, setup, remoteClient });
@@ -462,11 +456,12 @@ export function PluginsPanel() {
if (surface !== "apps") dispatch({ type: "togglePlugins", open: true, surface: "apps" });
};
- const ranked = rankCategories(cards ?? []);
+ const ranked = rankCategories([...(cards ?? []), POSTIZ_CATALOG_CARD], undefined, POSTIZ_CATALOG_CARD.categories);
const moreCategories = ranked.more;
const categoryInMore = category !== null && moreCategories.includes(category);
const inCategoryView = filter === "all" && category !== null;
- const nativeCardsShown = !inCategoryView && (showWhop || showHighLevel || showX);
+ const postizHere = showPostiz && (!inCategoryView || inCategory(POSTIZ_CATALOG_CARD, category));
+ const nativeCardsShown = (!inCategoryView && (showWhop || showHighLevel || showX)) || postizHere;
const categoryCards = inCategoryView ? visible.filter((card) => inCategory(card, category)) : visible;
const sectioned = filter === "all" && !search && category === null;
const sections = sectioned ? catalogSections(visible, isConnected, ranked.inline) : [];
@@ -765,6 +760,7 @@ export function PluginsPanel() {
<div data-native-card="highlevel" className={showHighLevel && !inCategoryView ? "contents" : "hidden"}>
<HighLevelCard refreshKey={whopRefresh} onConnection={setHighLevelConnected} />
</div>
+ <div data-native-card="postiz" className={postizHere ? "contents" : "hidden"}><PostizCard refreshKey={whopRefresh} onConnection={setPostizConnected} /></div>
{allShown.map((card) => renderTile(card))}
</AppsSection>
</div>
diff --git a/src/components/PostizCard.test.ts b/src/components/PostizCard.test.ts
new file mode 100644
index 0000000000..e460353ac7
--- /dev/null
+++ b/src/components/PostizCard.test.ts
@@ -0,0 +1,222 @@
+// @vitest-environment happy-dom
+import { act, createElement } from "react";
+import { createRoot, type Root } from "react-dom/client";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+
+import { setLocale } from "@/lib/i18n";
+import type { PostizStatus } from "../../shared/postiz";
+
+const fixture = vi.hoisted(() => {
+ (globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
+ return { api: vi.fn(), dispatch: vi.fn(), config: {} as Record<string, unknown> };
+});
+vi.mock("@/state/store", () => ({ api: fixture.api, useStore: () => ({ state: { config: fixture.config }, dispatch: fixture.dispatch }) }));
+
+import { PostizCard } from "./PostizCard";
+
+const base = { address: "https://api.postiz.com", host: "api.postiz.com", selfHosted: false, keySaved: false, team: false, scope: "team" } as const;
+const notConnected: PostizStatus = { ...base, state: "not-connected", how: null };
+const connectedSignIn: PostizStatus = { ...base, state: "connected", how: "sign-in" };
+const authorizationUrl = "https://platform.postiz.com/oauth/authorize?client_id=pcd_1&state=s";
+
+class Refusal extends Error {
+ readonly body: Record<string, unknown>;
+ constructor(body: Record<string, unknown>) { super(String(body.error)); this.body = body; }
+}
+
+let status: PostizStatus;
+let calls: Array<[string, string, unknown]>;
+let refuseKey: Record<string, unknown> | null;
+let host: HTMLDivElement;
+let root: Root;
+let openExternal: ReturnType<typeof vi.fn<(url: string) => Promise<boolean>>>;
+let onConnection: ReturnType<typeof vi.fn<(connected: boolean | null) => void>>;
+
+const settle = () => act(async () => { for (let turn = 0; turn < 8; turn += 1) await Promise.resolve(); });
+const text = () => host.querySelector<HTMLElement>('[data-app-tile="postiz"]')?.textContent ?? "";
+const button = (label: string) => [...host.querySelectorAll("button")].find((element) => element.textContent?.trim() === label || element.getAttribute("aria-label") === label);
+const setter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!;
+const type = (input: HTMLInputElement, value: string) => { setter.call(input, value); input.dispatchEvent(new Event("input", { bubbles: true })); };
+
+function serve() {
+ fixture.api.mockImplementation(async (path: string, init?: RequestInit) => {
+ const method = init?.method ?? "GET";
+ const body = typeof init?.body === "string" ? JSON.parse(init.body) : undefined;
+ calls.push([method, path, body]);
+ if (path === "/api/postiz" && method === "GET") return status;
+ if (path === "/api/postiz/check" && method === "POST") return { ...status, tools: 4 };
+ if (path === "/api/postiz/sign-in" && method === "POST") return { ...status, how: "sign-in" };
+ if (path === "/api/mcp/servers/postiz/sign-in" && method === "POST") return { auth: { phase: "waiting", flowId: "flow-1", authorizationUrl, expiresAt: "2026-10-29T12:00:00Z" } };
+ if (path === "/api/mcp/servers/postiz/sign-in/flow-1" && method === "GET") return { auth: { phase: "succeeded", flowId: "flow-1", authorizationUrl: null } };
+ if (path === "/api/mcp/servers/postiz/test") return { ok: true, tools: [{ name: "schedulePostTool" }] };
+ if (path === "/api/mcp/servers/postiz" && method === "PATCH") { status = connectedSignIn; return { servers: [] }; }
+ if (path === "/api/postiz/key-check") { if (refuseKey) throw new Refusal(refuseKey); return { ok: true, tools: 4 }; }
+ if (path === "/api/config" && method === "PUT") {
+ if (body.postiz?.key) status = { ...base, state: "connected", how: "key", keySaved: true };
+ if (body.postiz?.key === "") status = { ...status, keySaved: false };
+ return { postiz: { configured: Boolean(body.postiz?.key) } };
+ }
+ if (path === "/api/postiz" && method === "DELETE") { status = notConnected; return status; }
+ throw new Error(`unexpected ${method} ${path}`);
+ });
+}
+
+async function mount(initial: PostizStatus) {
+ status = initial;
+ calls = [];
+ serve();
+ host = document.createElement("div");
+ document.body.append(host);
+ root = createRoot(host);
+ await act(async () => root.render(createElement(PostizCard, { onConnection })));
+ await settle();
+}
+
+beforeEach(() => {
+ vi.useFakeTimers({ toFake: ["setTimeout", "clearTimeout", "Date"] });
+ setLocale("en");
+ fixture.api.mockReset();
+ fixture.config = {};
+ refuseKey = null;
+ openExternal = vi.fn<(url: string) => Promise<boolean>>(async () => true);
+ onConnection = vi.fn<(connected: boolean | null) => void>();
+ window.confirm = vi.fn(() => true);
+ (window as unknown as { ogb: unknown }).ogb = { openExternal };
+});
+afterEach(async () => {
+ await act(async () => root.unmount());
+ host.remove();
+ vi.useRealTimers();
+});
+
+describe("the Postiz card", () => {
+ it("offers Connect and an API key instead, with Postiz's own words and mark", async () => {
+ await mount(notConnected);
+ expect(text()).toContain("Postiz");
+ expect(text()).toContain("Draft, schedule and publish social posts with Postiz.");
+ expect(button("Connect Postiz")).toBeTruthy();
+ expect(button("Use an API key instead")).toBeTruthy();
+ expect(host.querySelector("input")).toBeNull();
+ expect(host.querySelector("svg rect")?.getAttribute("fill")).toBe("#612bd3");
+ expect(onConnection).toHaveBeenLastCalledWith(false);
+ });
+
+ it("signs in through the browser, loads the tools, turns the server on and says where it is connected", async () => {
+ await mount(notConnected);
+ await act(async () => button("Connect Postiz")!.click());
+ await settle();
+ expect(openExternal).toHaveBeenCalledWith(authorizationUrl);
+ expect(text()).toContain("Finish signing in to Postiz in your browser.");
+ await act(async () => { await vi.advanceTimersByTimeAsync(1_600); });
+ await settle();
+ expect(calls.map(([method, path]) => `${method} ${path}`)).toEqual(expect.arrayContaining([
+ "POST /api/postiz/sign-in", "POST /api/mcp/servers/postiz/sign-in", "GET /api/mcp/servers/postiz/sign-in/flow-1",
+ "POST /api/mcp/servers/postiz/test", "PATCH /api/mcp/servers/postiz",
+ ]));
+ expect(calls).toContainEqual(["PATCH", "/api/mcp/servers/postiz", { enabled: true }]);
+ expect(text()).toContain("Connected to api.postiz.com");
+ expect(button("Postiz options")).toBeTruthy();
+ expect(onConnection).toHaveBeenLastCalledWith(true);
+ });
+
+ it("checks the saved connection again when it opens connected, and offers Reconnect once Postiz signed it out", async () => {
+ await mount(connectedSignIn);
+ expect(calls).toContainEqual(["POST", "/api/postiz/check", undefined]);
+ await act(async () => root.unmount());
+ host.remove();
+ await mount({ ...base, state: "needs-sign-in", how: "sign-in" });
+ expect(text()).toContain("Signed out. Reconnect to keep using it.");
+ expect(button("Reconnect Postiz")).toBeTruthy();
+ });
+
+ it("checks an API key and its address before saving, then saves the address and the key apart", async () => {
+ await mount(notConnected);
+ await act(async () => button("Use an API key instead")!.click());
+ await settle();
+ const key = host.querySelector<HTMLInputElement>('input[aria-label="Postiz API key"]')!;
+ const address = host.querySelector<HTMLInputElement>('input[aria-label="Postiz server address (optional)"]')!;
+ expect(key.type).toBe("password");
+ expect(address.placeholder).toBe("https://api.postiz.com");
+ expect(text()).toContain("Leave the address empty for Postiz Cloud");
+ await act(async () => { type(key, " pz-org-key "); type(address, "https://postiz.example.com/api"); });
+ await act(async () => host.querySelector<HTMLButtonElement>('form[data-postiz-key-form] button[type="submit"]')!.click());
+ await settle();
+ expect(calls).toContainEqual(["POST", "/api/postiz/key-check", { key: "pz-org-key", address: "https://postiz.example.com/api" }]);
+ expect(calls).toContainEqual(["PUT", "/api/config", { postiz: { url: "https://postiz.example.com/api" } }]);
+ expect(calls).toContainEqual(["PUT", "/api/config", { postiz: { key: "pz-org-key" } }]);
+ expect(text()).toContain("Connected to api.postiz.com with an API key");
+ expect(text()).not.toContain("pz-org-key");
+ });
+
+ it("says plainly why a key or an address was refused, and saves nothing", async () => {
+ await mount(notConnected);
+ await act(async () => button("Use an API key instead")!.click());
+ await settle();
+ const [key, address] = [...host.querySelectorAll<HTMLInputElement>("form[data-postiz-key-form] input")];
+ for (const [refusal, said] of [
+ [{ error: "x", code: "key_rejected" }, "Postiz didn’t accept this API key. Copy it again from Postiz → Settings → Public API."],
+ [{ error: "x", code: "unreachable" }, "Couldn’t reach a Postiz server at postiz.example.com. Check the address and try again."],
+ [{ error: "x", code: "address" }, "Check the address: it starts with https:// and has no key or password in it."],
+ [{ error: "x", code: "not_postiz" }, "postiz.example.com didn’t answer like Postiz. Check the address. Postiz Cloud’s is https://api.postiz.com."],
+ ] as const) {
+ refuseKey = refusal;
+ await act(async () => { type(key!, "pz-wrong"); type(address!, "https://postiz.example.com"); });
+ await act(async () => host.querySelector<HTMLButtonElement>('form[data-postiz-key-form] button[type="submit"]')!.click());
+ await settle();
+ expect(host.querySelector('[role="alert"]')?.textContent).toBe(said);
+ }
+ expect(calls.some(([method, path]) => method === "PUT" && path === "/api/config")).toBe(false);
+ expect(onConnection).toHaveBeenLastCalledWith(false);
+ });
+
+ it("disconnects after asking, removing a saved key first", async () => {
+ await mount({ ...base, state: "connected", how: "key", keySaved: true });
+ await act(async () => button("Postiz options")!.click());
+ await settle();
+ await act(async () => document.querySelector<HTMLButtonElement>('[role="menuitem"][data-menu-key="disconnect"]')!.click());
+ await settle();
+ expect(window.confirm).toHaveBeenCalledWith("Disconnect Postiz? Bots stop using it until you connect it again.");
+ const order = calls.filter(([method]) => method !== "GET" && method !== "POST").map(([method, path, body]) => [method, path, body]);
+ expect(order).toEqual([["PUT", "/api/config", { postiz: { key: "" } }], ["DELETE", "/api/postiz", undefined]]);
+ expect(button("Connect Postiz")).toBeTruthy();
+ });
+
+ it("tells which other server holds the name, and is hidden from a person who may not manage it", async () => {
+ await mount({ ...base, state: "taken", how: null });
+ expect(text()).toContain("An MCP server named postiz is already set up.");
+ expect(button("Connect Postiz")).toBeUndefined();
+ await act(async () => root.unmount());
+ host.remove();
+ fixture.api.mockReset();
+ host = document.createElement("div");
+ document.body.append(host);
+ root = createRoot(host);
+ fixture.api.mockImplementation(async () => { throw Object.assign(new Error("Only the owner or an admin can manage the Postiz connection."), { status: 403 }); });
+ await act(async () => root.render(createElement(PostizCard, { onConnection })));
+ await settle();
+ expect(host.querySelector('[data-app-tile="postiz"]')).toBeNull();
+ });
+
+ it("on a Team Cloud, lets the admin keep Postiz for each person, and connects their own", async () => {
+ await mount({ ...base, state: "not-connected", how: null, team: true });
+ expect(text()).toContain("Only for me");
+ fixture.api.mockImplementation(async (path: string, init?: RequestInit) => {
+ const method = init?.method ?? "GET";
+ calls.push([method, path, typeof init?.body === "string" ? JSON.parse(init.body) : undefined]);
+ if (path === "/api/postiz" && method === "GET") return { ...base, state: "not-connected", how: "sign-in", team: true, scope: "person" };
+ if (path === "/api/team/my-connections") return { mcp: [{ name: "postiz", connected: calls.filter(([, p]) => p === "/api/team/my-connections").length >= 2, how: "sign-in" }] };
+ if (path === "/api/team/my-connections/mcp/postiz/sign-in") return { auth: { phase: "waiting", flowId: "own", authorizationUrl, expiresAt: "2026-10-29T12:00:00Z" } };
+ return { ok: true, servers: [] };
+ });
+ await act(async () => host.querySelector<HTMLInputElement>("[data-postiz-only-me] input")!.click());
+ await act(async () => button("Connect Postiz")!.click());
+ await settle();
+ await act(async () => { await vi.advanceTimersByTimeAsync(3_200); });
+ await settle();
+ expect(calls).toContainEqual(["PUT", "/api/team/connection-scopes", { kind: "mcp", id: "postiz", scope: "person" }]);
+ expect(calls).toContainEqual(["PATCH", "/api/mcp/servers/postiz", { enabled: true }]);
+ expect(calls).toContainEqual(["POST", "/api/team/my-connections/mcp/postiz/sign-in", undefined]);
+ expect(openExternal).toHaveBeenCalledWith(authorizationUrl);
+ expect(calls.some(([, path]) => path === "/api/mcp/servers/postiz/sign-in")).toBe(false);
+ });
+});
diff --git a/src/components/PostizCard.tsx b/src/components/PostizCard.tsx
new file mode 100644
index 0000000000..674e307525
--- /dev/null
+++ b/src/components/PostizCard.tsx
@@ -0,0 +1,355 @@
+import { useCallback, useEffect, useRef, useState } from "react";
+import { Check, ExternalLink, Loader2, MoreHorizontal } from "lucide-react";
+
+import { api, useStore, type ConfigStatus } from "@/state/store";
+import { t } from "@/lib/i18n";
+import { openExternalLink } from "@/lib/app-links";
+import { reserveConnectionPage } from "@/lib/connector-oauth";
+import { completeMcpSignIn, mcpSignInLink, runMcpSignIn, type McpSignInStatus } from "@/lib/mcp-sign-in";
+import { keySaved, keySaveFailure } from "@/lib/product-events";
+import { POSTIZ_API, postizErrorText, postizHost, postizSaveErrorText } from "@/lib/postiz";
+import { isPostizStatus, POSTIZ_CLOUD, POSTIZ_KEY_PAGE, POSTIZ_SERVER, type PostizStatus } from "../../shared/postiz";
+import { cleanKey, looksLikeKey, saveCredential } from "./keys/key-save";
+import { SidebarPopoverMenu } from "./SidebarPopoverMenu";
+
+const pill = "inline-flex h-7 min-w-[64px] shrink-0 items-center justify-center gap-2 rounded-full bg-control/80 px-3 text-[13px] font-medium leading-5 text-ink transition-colors hover:bg-raised-hover disabled:opacity-40";
+const field = "h-8 w-full min-w-0 rounded-lg bg-inset px-2.5 text-[13px] text-ink placeholder:text-ink-secondary focus:outline-none focus:ring-1 focus:ring-accent/50";
+const link = "text-[12px] text-accent-text underline underline-offset-2";
+const SERVER = encodeURIComponent(POSTIZ_SERVER);
+const OWN_SIGN_IN_POLL_MS = 1_500;
+const OWN_SIGN_IN_WAIT_MS = 5 * 60_000;
+
+/** OpenMausBot's own mark for Postiz: no Postiz artwork is bundled. */
+export function PostizIcon() {
+ return (
+ <svg viewBox="0 0 40 40" className="size-10 shrink-0 rounded-[10px]" aria-hidden="true">
+ <rect width="40" height="40" rx="10" fill="#612bd3" />
+ <path d="M14 29V11h7.2c4.1 0 6.8 2.3 6.8 5.9s-2.7 5.9-6.8 5.9h-3.1V29zm4.1-9.7h2.8c1.9 0 3-0.9 3-2.4s-1.1-2.4-3-2.4h-2.8z" fill="#fff" fillRule="evenodd" />
+ </svg>
+ );
+}
+
+type OwnConnection = { connected: boolean; how: "sign-in" | "key" | null } | null;
+
+/** The Postiz card in Apps: Postiz Cloud's sign-in, or an organisation API key for Postiz Cloud or a person's own
+ * Postiz server. Once connected, bots get Postiz's tools as the `postiz` MCP server. */
+export function PostizCard({ refreshKey = 0, onConnection }: {
+ refreshKey?: number;
+ /** true once connected, false otherwise, null until the server has answered */
+ onConnection?: (connected: boolean | null) => void;
+}) {
+ const { state, dispatch } = useStore();
+ const [status, setStatus] = useState<PostizStatus | null>(null);
+ const [hidden, setHidden] = useState(false);
+ const [loadFailed, setLoadFailed] = useState(false);
+ const [busy, setBusy] = useState<"sign-in" | "key" | "disconnect" | null>(null);
+ const [flow, setFlow] = useState<McpSignInStatus | null>(null);
+ const [loadingTools, setLoadingTools] = useState(false);
+ const [callbackUrl, setCallbackUrl] = useState("");
+ const [error, setError] = useState<string | null>(null);
+ const [keyMode, setKeyMode] = useState(false);
+ const [key, setKey] = useState("");
+ const [address, setAddress] = useState("");
+ const [onlyMe, setOnlyMe] = useState(false);
+ const [own, setOwn] = useState<OwnConnection>(null);
+ const mounted = useRef(true);
+ const signIn = useRef<{ controller: AbortController; complete?: (result: McpSignInStatus) => void } | null>(null);
+
+ const ownConnection = useCallback(async (): Promise<OwnConnection> => {
+ const mine = await api("/api/team/my-connections").catch(() => null) as { mcp?: Array<{ name: string; connected: boolean; how: "sign-in" | "key" | null }> } | null;
+ const entry = mine?.mcp?.find((each) => each.name === POSTIZ_SERVER);
+ return entry ? { connected: entry.connected, how: entry.how } : { connected: false, how: null };
+ }, []);
+
+ const load = useCallback(async (check = false): Promise<PostizStatus | null> => {
+ try {
+ const response = await api(check ? `${POSTIZ_API}/check` : POSTIZ_API, check ? { method: "POST" } : undefined);
+ if (!mounted.current) return null;
+ if (!isPostizStatus(response)) throw new Error("unexpected Postiz status");
+ setStatus(response);
+ setLoadFailed(false);
+ if (response.team && response.scope === "person") setOwn(await ownConnection());
+ return response;
+ } catch (cause) {
+ if (!mounted.current) return null;
+ if ((cause as { status?: number }).status === 403) setHidden(true);
+ else setLoadFailed(true);
+ return null;
+ }
+ }, [ownConnection]);
+
+ useEffect(() => {
+ mounted.current = true;
+ void load().then((loaded) => {
+ // A sign-in or key revoked in Postiz shows as such: the server checks again at most every few minutes.
+ if (loaded?.state === "connected" && loaded.scope === "team") void load(true);
+ });
+ return () => {
+ mounted.current = false;
+ signIn.current?.controller.abort();
+ signIn.current = null;
+ };
+ }, [load, refreshKey]);
+
+ const person = status?.team === true && status.scope === "person";
+ const connected = person ? own?.connected === true : status?.state === "connected";
+ useEffect(() => {
+ onConnection?.(status ? connected : null);
+ }, [status, connected, onConnection]);
+
+ const applied = (config: ConfigStatus) => dispatch({ type: "configStatus", config });
+
+ /** Each person connects their own: the team's entry is on, and this person's own sign-in or key goes beside it. */
+ const makeOwn = async () => {
+ await api("/api/team/connection-scopes", { method: "PUT", body: JSON.stringify({ kind: "mcp", id: POSTIZ_SERVER, scope: "person" }) });
+ await api(`/api/mcp/servers/${SERVER}`, { method: "PATCH", body: JSON.stringify({ enabled: true }) });
+ };
+
+ const ownSignIn = async (controller: AbortController, open: (url: string) => Promise<boolean>) => {
+ const started = await api(`/api/team/my-connections/mcp/${SERVER}/sign-in`, { method: "POST" }) as { auth: McpSignInStatus };
+ const url = mcpSignInLink(started.auth.authorizationUrl);
+ if (!url) throw new Error(t("mcp.auth.failed"));
+ setFlow({ ...started.auth, flowId: null, pasteBack: false });
+ if (!await open(url) && mounted.current) setError(t("connectors.popupBlockedContinue"));
+ const until = Date.now() + OWN_SIGN_IN_WAIT_MS;
+ while (!controller.signal.aborted && Date.now() < until) {
+ await new Promise((resolve) => setTimeout(resolve, OWN_SIGN_IN_POLL_MS));
+ const mine = await ownConnection();
+ if (mine?.connected) return;
+ }
+ if (!controller.signal.aborted) throw new Error(t("postiz.signInExpired"));
+ };
+
+ const connect = async () => {
+ if (busy || signIn.current) return;
+ // Reserve the tab during the click, before a request uses up the browser's user activation.
+ const launch = reserveConnectionPage();
+ const controller = new AbortController();
+ signIn.current = { controller };
+ setBusy("sign-in");
+ setError(null);
+ setCallbackUrl("");
+ const open = async (url: string) => { const opened = await launch.open(url); launch.cancel(); return opened; };
+ try {
+ await api(`${POSTIZ_API}/sign-in`, { method: "POST" });
+ if (onlyMe || person) {
+ if (onlyMe && !person) await makeOwn();
+ await ownSignIn(controller, open);
+ return;
+ }
+ const result = await runMcpSignIn(POSTIZ_SERVER, {
+ api, signal: controller.signal,
+ open: async (url) => { if (!await open(url) && mounted.current && !controller.signal.aborted) setError(t("connectors.popupBlockedContinue")); },
+ onStarted: (started, complete) => { if (signIn.current?.controller === controller) signIn.current.complete = complete; if (mounted.current) setFlow(started); },
+ });
+ if (controller.signal.aborted || !mounted.current) return;
+ if (result.phase !== "succeeded") {
+ if (result.phase !== "cancelled") setError(result.message || t("mcp.auth.failed"));
+ return;
+ }
+ setLoadingTools(true);
+ const tested = await api(`/api/mcp/servers/${SERVER}/test`, { method: "POST", signal: controller.signal }) as { ok: boolean; error?: string };
+ if (!tested.ok) {
+ const reason = (tested.error ?? "").trim();
+ setError(t("postiz.error.testFailed", { reason: reason && !/[.!?]$/u.test(reason) ? `${reason}.` : reason }));
+ return;
+ }
+ await api(`/api/mcp/servers/${SERVER}`, { method: "PATCH", body: JSON.stringify({ enabled: true }) });
+ } catch (cause) {
+ if (mounted.current && !controller.signal.aborted) setError(postizErrorText(cause, POSTIZ_CLOUD));
+ } finally {
+ launch.cancel();
+ if (signIn.current?.controller === controller) signIn.current = null;
+ if (mounted.current) {
+ setFlow(null);
+ setLoadingTools(false);
+ setBusy(null);
+ await load();
+ }
+ }
+ };
+
+ const completePasted = async () => {
+ const current = signIn.current;
+ if (!current || !flow?.flowId || !callbackUrl.trim()) return;
+ try {
+ current.complete?.(await completeMcpSignIn(POSTIZ_SERVER, flow.flowId, callbackUrl, api));
+ } catch (cause) {
+ if (mounted.current) setError(cause instanceof Error ? cause.message : String(cause));
+ }
+ };
+
+ const connectWithKey = async () => {
+ const value = cleanKey(key);
+ const target = person || onlyMe ? "" : address.trim();
+ if (busy) return;
+ if (!looksLikeKey(value)) return setError(t("keys.notAKey"));
+ setBusy("key");
+ setError(null);
+ try {
+ await api(`${POSTIZ_API}/key-check`, { method: "POST", body: JSON.stringify({ key: value, ...(target ? { address: target } : {}) }) });
+ if (onlyMe || person) {
+ await api(`${POSTIZ_API}/sign-in`, { method: "POST" });
+ if (!person) await makeOwn();
+ const listed = await api(`/api/mcp/servers`) as { servers?: Array<{ name: string; url?: string }> };
+ const url = listed.servers?.find((server) => server.name === POSTIZ_SERVER)?.url;
+ await api(`/api/team/my-connections/mcp/${SERVER}/key`, { method: "PUT", body: JSON.stringify({ value, url }) });
+ } else {
+ const saved = state.config?.postiz?.url ?? "";
+ const wanted = target && postizHost(target) !== postizHost(POSTIZ_CLOUD) ? target : "";
+ if (wanted !== saved) applied(await api("/api/config", { method: "PUT", body: JSON.stringify({ postiz: { url: wanted } }) }));
+ applied(await saveCredential("postiz", value, state.config?.postiz?.configured !== true));
+ }
+ keySaved("postiz", "apps", "ok");
+ if (!mounted.current) return;
+ setKey("");
+ setKeyMode(false);
+ } catch (cause) {
+ keySaved("postiz", "apps", keySaveFailure(cause));
+ if (mounted.current) setError(postizSaveErrorText(cause, target || POSTIZ_CLOUD));
+ } finally {
+ if (mounted.current) {
+ setBusy(null);
+ await load();
+ }
+ }
+ };
+
+ const disconnect = async () => {
+ if (busy || !window.confirm(t("postiz.disconnectConfirm"))) return;
+ setBusy("disconnect");
+ setError(null);
+ try {
+ if (person) {
+ await api(`/api/team/my-connections/mcp/${SERVER}`, { method: "DELETE" });
+ } else {
+ if (status?.keySaved) applied(await saveCredential("postiz", "", false));
+ await api(POSTIZ_API, { method: "DELETE" });
+ }
+ } catch (cause) {
+ if (mounted.current) setError(postizErrorText(cause, status?.address ?? POSTIZ_CLOUD));
+ } finally {
+ if (mounted.current) {
+ setBusy(null);
+ await load();
+ }
+ }
+ };
+
+ const cancel = () => signIn.current?.controller.abort();
+
+ if (hidden) return null;
+ const waiting = busy === "sign-in";
+ const needsSignIn = !person && status?.state === "needs-sign-in";
+ const refused = !person && status?.state === "key-refused";
+ const blocked = status?.state === "blocked" || status?.state === "taken";
+ const description = status?.state === "taken" ? t("postiz.taken")
+ : status?.state === "blocked" ? status.message ?? t("postiz.description")
+ : connected
+ ? person ? t("postiz.connectedOwn")
+ : status?.how === "key" ? t("postiz.connectedKey", { host: status.host }) : t("postiz.connectedTo", { host: status?.host ?? "" })
+ : needsSignIn ? t("connectors.signedOut")
+ : refused ? t("postiz.keyRefused")
+ : t("postiz.description");
+ const menu = (connected || needsSignIn || refused) && (
+ <SidebarPopoverMenu
+ placement="below"
+ ariaLabel={t("postiz.menu")}
+ triggerClassName="shrink-0"
+ items={[{ key: "disconnect", label: t("connectors.disconnect"), disabled: busy !== null, onSelect: () => void disconnect() }]}
+ renderTrigger={() => (
+ <span className="inline-flex size-7 items-center justify-center rounded-full bg-control/80 text-ink hover:bg-raised-hover">
+ {busy === "disconnect" ? <Loader2 size={14} className="animate-spin" /> : <MoreHorizontal size={15} aria-hidden="true" />}
+ </span>
+ )}
+ />
+ );
+ const offerConnect = status !== null && !connected && !blocked;
+
+ return (
+ <div data-app-tile="postiz" data-postiz-state={status?.state ?? "loading"} className="flex min-w-0 flex-col rounded-xl px-2 py-2 transition-colors hover:bg-raised/40">
+ <div className="flex items-center gap-3">
+ <PostizIcon />
+ <div className="min-w-0 flex-1">
+ <div className="flex min-w-0 items-center gap-1.5">
+ <span className="truncate text-[14px] font-semibold leading-5 text-ink">Postiz</span>
+ {connected && <Check size={13} strokeWidth={2.5} className="shrink-0 text-success" aria-label={t("apps.connected")} />}
+ </div>
+ <p className="truncate text-[13px] leading-[18px] text-ink-secondary" title={description}>{description}</p>
+ </div>
+ {waiting ? (
+ <button type="button" onClick={cancel} className={pill}>{t("mcp.auth.cancel")}</button>
+ ) : status === null ? (
+ loadFailed
+ ? <button type="button" onClick={() => void load()} className={pill}>{t("connectors.action.retry")}</button>
+ : <button type="button" disabled className={pill} aria-label={t("common.checking")}><Loader2 size={14} className="animate-spin" /></button>
+ ) : connected ? menu : offerConnect && !keyMode ? (
+ <div className="flex shrink-0 items-center gap-1.5">
+ <button type="button" aria-label={t(needsSignIn || refused ? "postiz.reconnect" : "postiz.connect")} disabled={busy !== null}
+ onClick={() => refused ? (setKeyMode(true), setError(null)) : void connect()} className={pill}>
+ {t(needsSignIn || refused ? "connectors.action.reconnect" : "connectors.action.connect")}
+ </button>
+ {menu}
+ </div>
+ ) : null}
+ </div>
+ <div className="ps-[52px]">
+ {waiting && (
+ <div role="status" className="mt-1.5 flex flex-col gap-1.5 text-[12px] text-ink-secondary">
+ <p className="flex items-center gap-2">
+ <Loader2 size={12} className="shrink-0 animate-spin" aria-hidden="true" />
+ <span>{t(loadingTools ? "postiz.loadingTools" : "postiz.finishInBrowser")}</span>
+ {flow?.authorizationUrl && mcpSignInLink(flow.authorizationUrl) && (
+ <button type="button" onClick={() => void openExternalLink(flow.authorizationUrl!).catch(() => setError(t("mcp.auth.openFailed")))} className={link}>
+ {t("mcp.auth.openAgain")}
+ </button>
+ )}
+ </p>
+ {flow?.flowId && flow.pasteBack && (
+ <form data-postiz-paste className="flex flex-col gap-1.5" onSubmit={(event) => { event.preventDefault(); void completePasted(); }}>
+ <span className="leading-relaxed text-ink">{t("mcp.auth.pasteBackHint")}</span>
+ <input type="text" value={callbackUrl} onChange={(event) => setCallbackUrl(event.target.value)} autoComplete="off" spellCheck={false}
+ aria-label={t("mcp.auth.callbackUrl")} placeholder="http://127.0.0.1:…/mcp-oauth/callback?…" className={field} />
+ <button type="submit" disabled={!callbackUrl.trim()} className={pill}>{t("mcp.auth.complete")}</button>
+ </form>
+ )}
+ </div>
+ )}
+ {error && <p role="alert" className="mt-1.5 text-[12px] text-danger">{error}</p>}
+ {offerConnect && !waiting && status.team && !person && (
+ <label data-postiz-only-me className="mt-1.5 flex items-center gap-2 text-[12px] text-ink-secondary">
+ <input type="checkbox" checked={onlyMe} onChange={(event) => setOnlyMe(event.target.checked)} /> {t("mcp.team.onlyMe")}
+ </label>
+ )}
+ {person && !connected && !waiting && <p className="mt-1.5 text-[12px] leading-relaxed text-ink-secondary">{t("postiz.personScope")}</p>}
+ {offerConnect && !waiting && (keyMode ? (
+ <form data-postiz-key-form className="mt-2 flex flex-col gap-2" onSubmit={(event) => { event.preventDefault(); void connectWithKey(); }}>
+ <input type="password" autoComplete="off" spellCheck={false} aria-label={t("postiz.keyField")} placeholder={t("keys.postiz.placeholder")}
+ value={key} disabled={busy === "key"} onChange={(event) => { setError(null); setKey(event.target.value); }} className={field} />
+ {!person && !onlyMe && (
+ <input type="url" autoComplete="off" spellCheck={false} aria-label={t("postiz.addressField")} placeholder={POSTIZ_CLOUD}
+ value={address} disabled={busy === "key"} onChange={(event) => { setError(null); setAddress(event.target.value); }} className={field} />
+ )}
+ <p className="text-[12px] leading-relaxed text-ink-secondary">{t(person || onlyMe ? "postiz.keyHelp" : "postiz.keyAndAddressHelp")}</p>
+ <div className="flex flex-wrap items-center gap-x-3 gap-y-1.5">
+ <button type="submit" disabled={busy !== null || !key.trim()} className={pill}>
+ {busy === "key" ? <Loader2 size={14} className="animate-spin" /> : t("connectors.action.connect")}
+ </button>
+ <a href={POSTIZ_KEY_PAGE} target="_blank" rel="noopener noreferrer" className="inline-flex items-center gap-1 text-[12px] font-medium text-accent-text hover:underline">
+ {t("postiz.keyLink")}
+ <ExternalLink size={11} aria-hidden="true" />
+ </a>
+ <button type="button" onClick={() => { setKeyMode(false); setError(null); }} className="text-[12px] text-ink-secondary underline underline-offset-2 hover:text-ink">
+ {t("postiz.useSignIn")}
+ </button>
+ </div>
+ </form>
+ ) : (
+ <button type="button" onClick={() => { setKeyMode(true); setError(null); setAddress(status.selfHosted ? status.address : ""); }} className={`mt-1.5 inline-block ${link}`}>
+ {t("postiz.useKey")}
+ </button>
+ ))}
+ </div>
+ </div>
+ );
+}
diff --git a/src/components/ReadyBotGallery.tsx b/src/components/ReadyBotGallery.tsx
index 095f4d28d1..26beb41379 100644
--- a/src/components/ReadyBotGallery.tsx
+++ b/src/components/ReadyBotGallery.tsx
@@ -11,7 +11,7 @@ import { useStore, type Bot } from "@/state/store";
const APP_LABELS: Record<string, string> = {
gmail: "Gmail", github: "GitHub", discord: "Discord", slack: "Slack", googlecalendar: "Google Calendar",
- notion: "Notion", linear: "Linear", figma: "Figma", gong: "Gong", hubspot: "HubSpot",
+ notion: "Notion", linear: "Linear", figma: "Figma", gong: "Gong", hubspot: "HubSpot", postiz: "Postiz",
};
const CATEGORY_KEYS: Record<ReadyBotCategory, LocaleKey> = {
diff --git a/src/components/keys/key-catalog.ts b/src/components/keys/key-catalog.ts
index ea0d4da2ed..c943410ec7 100644
--- a/src/components/keys/key-catalog.ts
+++ b/src/components/keys/key-catalog.ts
@@ -1,4 +1,4 @@
-import { AudioLines, Blocks, Fingerprint, Image, LockKeyhole, Monitor, Phone, Search, Server, Zap, type LucideIcon } from "lucide-react";
+import { AudioLines, Blocks, CalendarClock, Fingerprint, Image, LockKeyhole, Monitor, Phone, Search, Server, Zap, type LucideIcon } from "lucide-react";
import type { AppSettingsSection, ConfigStatus } from "@/state/store";
import type { SavedKey } from "@/state/config-status";
import type { KeyProvider } from "@/lib/analytics-allowlist";
@@ -40,7 +40,7 @@ export interface KeyTarget {
export type KeyId =
| "openai" | "anthropic" | "xai" | "openrouter" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "opencodeGo" | "opencodeProviders"
- | "lmStudio" | "openaiCompat" | "liveCalls" | "liveKey" | "elevenlabs" | "fishAudio" | "box" | "vps" | "onePassword" | "composio" | "treg"
+ | "lmStudio" | "openaiCompat" | "liveCalls" | "liveKey" | "elevenlabs" | "fishAudio" | "box" | "vps" | "onePassword" | "composio" | "treg" | "postiz"
| "jev" | "openrouterHelper" | "workersAi" | "imageOpenai" | "imageCustom";
export type KeyMark = { driverKind: string; preset?: ProviderIconPreset } | { icon: LucideIcon };
@@ -156,6 +156,10 @@ export const KEY_CATALOG: readonly KeyEntry[] = [
words: ["treg", "research", "x", "twitter", "companies", "people", "funding", "news"], mark: { icon: Search }, kind: "key",
target: { ...providerKey("treg", { slot: "tregApiKey", placeholder: "…", placeholderKey: "keys.treg.placeholder", href: "https://treg.to", test: "treg", analytics: "treg" }),
saved: (config) => ({ ...flag(config.treg), ...(config.xResearch?.included && !config.treg?.configured ? { included: true } : {}) }) } },
+ { id: "postiz", section: "apps", labelKey: "keys.postiz.label", purposeKey: "keys.purpose.postiz", name: "Postiz", env: ["OMB_POSTIZ_API_KEY"],
+ words: ["postiz", "social", "social media", "posts", "schedule", "linkedin", "instagram", "x", "twitter"], mark: { icon: CalendarClock }, kind: "key",
+ target: { patch: (value) => ({ postiz: { key: value } }), slot: "postizApiKey", verifiedOnSave: true, saved: (config) => flag(config.postiz),
+ placeholder: "…", placeholderKey: "keys.postiz.placeholder", href: "https://platform.postiz.com/settings", analytics: "postiz" } },
{ id: "jev", section: "helpers", labelKey: "decider.key.label", purposeKey: "keys.purpose.jev", name: "Jev", env: ["OMB_JEV_API_KEY"],
words: ["jev", "typesafe", "decisions", "extraction", "helper", "rooms"], mark: { icon: Zap }, kind: "key",
target: { patch: (value) => ({ decider: { key: value } }), slot: "jevApiKey", verifiedOnSave: true,
diff --git a/src/lib/analytics-allowlist.test.ts b/src/lib/analytics-allowlist.test.ts
index c773f253f5..75fc2d1b22 100644
--- a/src/lib/analytics-allowlist.test.ts
+++ b/src/lib/analytics-allowlist.test.ts
@@ -78,7 +78,7 @@ describe("app, role and key lists", () => {
openai: "openai", anthropic: "anthropic", xai: "xai", openrouter: "openrouter", mistral: "mistral", cerebras: "cerebras", groq: "groq",
meta: "meta", deepseek: "deepseek", opencodeGo: "opencode_go", openaiCompat: "openai_compat", liveKey: "openai_live",
elevenlabs: "elevenlabs", fishAudio: "fish_audio", box: "boat", composio: "composio", treg: "treg", jev: "jev",
- openrouterHelper: "openrouter_decider", imageOpenai: "openai_image",
+ openrouterHelper: "openrouter_decider", imageOpenai: "openai_image", postiz: "postiz",
});
for (const provider of Object.values(rows)) expect(KEY_PROVIDER).toContain(provider);
});
diff --git a/src/lib/analytics-allowlist.ts b/src/lib/analytics-allowlist.ts
index ef51d05084..ac340ea1f7 100644
--- a/src/lib/analytics-allowlist.ts
+++ b/src/lib/analytics-allowlist.ts
@@ -15,7 +15,7 @@ export function allow<const T extends string>(value: unknown, list: readonly T[]
export const KEY_PROVIDER = [
"anthropic", "openai", "openrouter", "openai_compat", "xai", "mistral", "cerebras", "groq", "meta", "boat", "composio",
"opencode_go", "custom_endpoint", "elevenlabs", "fish_audio", "jev", "openrouter_decider", "openai_image", "custom_image",
- "openai_live", "onepassword", "treg", "deepseek",
+ "openai_live", "onepassword", "treg", "deepseek", "postiz",
] as const;
export type KeyProvider = (typeof KEY_PROVIDER)[number];
diff --git a/src/lib/app-catalog.test.ts b/src/lib/app-catalog.test.ts
index 5bfb24fc7a..cb29b6b669 100644
--- a/src/lib/app-catalog.test.ts
+++ b/src/lib/app-catalog.test.ts
@@ -9,6 +9,14 @@ describe("rankCategories", () => {
expect(rankCategories(cards, 2)).toEqual({ inline: ["Productivity", "Communication"], more: ["Design", "Files"] });
expect(rankCategories([])).toEqual({ inline: [], more: [] });
});
+
+ it("keeps a category OpenMausBot's own app lives in among the inline ones, taking the last place", () => {
+ const cards = [card("a", "Productivity"), card("b", "Productivity"), card("c", "Design"), card("d", "Design"), card("e", "Files"), card("postiz", "Social")];
+ expect(rankCategories(cards, 2, ["Social"])).toEqual({ inline: ["Design", "Social"], more: ["Productivity", "Files"] });
+ expect(rankCategories(cards, 3, ["Social"]).inline).toEqual(["Design", "Productivity", "Social"]);
+ expect(rankCategories(cards, 4, ["Social"]).inline).toEqual(["Design", "Productivity", "Files", "Social"]);
+ expect(rankCategories(cards, 2, ["Missing"])).toEqual(rankCategories(cards, 2));
+ });
});
describe("inCategory", () => {
diff --git a/src/lib/app-catalog.ts b/src/lib/app-catalog.ts
index 19116d588c..b4289b8e51 100644
--- a/src/lib/app-catalog.ts
+++ b/src/lib/app-catalog.ts
@@ -10,11 +10,14 @@ export const INLINE_CATEGORY_COUNT = 5;
export const CATEGORY_SECTION_COUNT = 3;
export const CATEGORY_SECTION_SIZE = 4;
-export function rankCategories(cards: readonly CatalogCard[], inline = INLINE_CATEGORY_COUNT): { inline: string[]; more: string[] } {
+/** Categories by how many apps they hold; `keep` ones (an app of OpenMausBot's own lives there) always show inline. */
+export function rankCategories(cards: readonly CatalogCard[], inline = INLINE_CATEGORY_COUNT, keep: readonly string[] = []): { inline: string[]; more: string[] } {
const counts = new Map<string, number>();
for (const card of cards) for (const category of new Set(card.categories ?? [])) counts.set(category, (counts.get(category) ?? 0) + 1);
const ranked = [...counts].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).map(([name]) => name);
- return { inline: ranked.slice(0, inline), more: ranked.slice(inline) };
+ const kept = keep.filter((name) => ranked.indexOf(name) >= inline);
+ const shown = [...ranked.slice(0, Math.max(0, inline - kept.length)), ...kept];
+ return { inline: shown, more: ranked.filter((name) => !shown.includes(name)) };
}
export function inCategory(card: CatalogCard, category: string | null): boolean {
@@ -52,6 +55,7 @@ const APP_CATEGORY_COPY: Record<string, string> = {
design: "design",
marketing: "marketing",
analytics: "analytics",
+ social: "social",
};
const CONNECTOR_COPY: Record<string, string> = {
diff --git a/src/lib/postiz.ts b/src/lib/postiz.ts
new file mode 100644
index 0000000000..69579da3be
--- /dev/null
+++ b/src/lib/postiz.ts
@@ -0,0 +1,37 @@
+import { t } from "@/lib/i18n";
+import { POSTIZ_SERVER } from "../../shared/postiz";
+
+export const POSTIZ_API = "/api/postiz";
+
+/** What the Apps search box matches for the Postiz card. */
+export const POSTIZ_SEARCH = "postiz social media posts schedule linkedin instagram facebook tiktok threads bluesky";
+
+/** Where the card sits among the catalog's categories. */
+export const POSTIZ_CATALOG_CARD = { slug: POSTIZ_SERVER, categories: ["Social"] };
+
+export function postizHost(address: string): string {
+ try { return new URL(address.trim()).host; } catch { return address.trim(); }
+}
+
+/** A refusal from the Postiz routes or a key save, in the app's language. */
+export function postizErrorText(cause: unknown, address: string): string {
+ const body = (cause as { body?: { code?: unknown; error?: unknown } } | null)?.body;
+ const code = typeof body?.code === "string" ? body.code : null;
+ const host = postizHost(address);
+ if (code === "key_rejected") return t("postiz.error.keyRejected");
+ if (code === "unreachable") return t("postiz.error.unreachable", { host });
+ if (code === "not_postiz") return t("postiz.error.notPostiz", { host });
+ if (code === "address") return t("postiz.error.address");
+ if (code === "taken") return t("postiz.taken");
+ if (typeof body?.error === "string" && body.error) return body.error;
+ return cause instanceof Error ? cause.message : String(cause);
+}
+
+/** The desktop's credential bridge throws the server's refusal as text: its known sentences map back to their codes. */
+export function postizSaveErrorText(cause: unknown, address: string): string {
+ const message = cause instanceof Error ? cause.message : "";
+ if (/didn't accept this API key/u.test(message) || (cause as { name?: string } | null)?.name === "KeyRejected") return t("postiz.error.keyRejected");
+ if (/Couldn't reach a Postiz server/u.test(message)) return t("postiz.error.unreachable", { host: postizHost(address) });
+ if (/didn't answer like Postiz/u.test(message)) return t("postiz.error.notPostiz", { host: postizHost(address) });
+ return postizErrorText(cause, address);
+}
diff --git a/src/lib/ready-bots.test.ts b/src/lib/ready-bots.test.ts
index 3cd04029dc..940209e226 100644
--- a/src/lib/ready-bots.test.ts
+++ b/src/lib/ready-bots.test.ts
@@ -84,3 +84,22 @@ describe("matchesReadyBot", () => {
expect(matchesReadyBot(echo, "spreadsheet")).toBe(false);
});
});
+
+describe("the social media manager", () => {
+ const social = readyBot("social")!;
+
+ it("puts posts in Postiz as drafts or scheduled, and publishes at once only when asked", () => {
+ expect(social).toMatchObject({ title: "Social media manager", category: "work", apps: ["postiz"] });
+ expect(social.soul).toContain("Add every post to Postiz as a draft, unless the user gave it a time to go out: then schedule it for that time.");
+ expect(social.soul).toContain("Never publish a post straight away (type now) unless the user asks for that post to go out now.");
+ expect(social.routines).toEqual([expect.objectContaining({ name: "Weekly post plan", enabled: false })]);
+ expect(social.routines![0]!.prompt).toContain("as drafts");
+ });
+
+ it("brings its notes and leaves the person's approval level, so publishing asks as their other bots do", () => {
+ const template = readyBotTemplate(defaults(), social);
+ expect(template.profile.approvalMode).toBe("ask");
+ expect(template.memory["memory/social.md"]).toContain("title: Social media");
+ expect(template.memory["MEMORY.md"]).toContain("memory/social.md");
+ });
+});
diff --git a/src/lib/ready-bots.ts b/src/lib/ready-bots.ts
index 8f8fe05317..a70ba29965 100644
--- a/src/lib/ready-bots.ts
+++ b/src/lib/ready-bots.ts
@@ -111,6 +111,31 @@ export const READY_BOTS: ReadyBot[] = [
apps: ["discord", "slack"],
routines: [paused("Community digest", "Summarise what happened in my community channels since the last digest.", "17:00", WEEKDAYS)],
},
+ {
+ id: "social",
+ category: "work",
+ name: "Buzz",
+ title: "Social media manager",
+ description: "Plans your posts and adds them to Postiz as drafts or scheduled posts, ready for you to review.",
+ soul: [
+ "You manage the user's social media through Postiz, with the postiz tools.",
+ "Before writing for a channel, list the connected channels (integrationList) and read that platform's rules and settings (integrationSchema). Never guess a channel id.",
+ "Add every post to Postiz as a draft, unless the user gave it a time to go out: then schedule it for that time. Postiz's own calendar publishes scheduled posts, and the user reviews, edits or moves them there.",
+ "Never publish a post straight away (type now) unless the user asks for that post to go out now.",
+ "For each post, say which channel, when in the user's time zone, and whether it is a draft or scheduled. Postiz takes dates in UTC.",
+ "Keep to each platform's length and format rules, and to the voice, topics and channels in memory/social.md. Update that note whenever the user corrects you.",
+ "On the weekly plan, propose next week's posts with a channel and time for each, then add them to Postiz as drafts.",
+ "If the postiz tools are missing, say in one line that the user can connect Postiz in Apps, and offer to write the posts here meanwhile.",
+ ].join("\n"),
+ look: { color: "coral", mascotBody: "star" },
+ tryAsking: ["Plan next week's posts for LinkedIn and X", "Draft three posts about our launch and add them to Postiz", "What is scheduled in Postiz this week?"],
+ apps: ["postiz"],
+ notes: {
+ "MEMORY.md": "- Voice, topics and channels for social posts live in memory/social.md; read it before writing a post.\n",
+ "memory/social.md": "---\ntitle: Social media\naliases: [social, posts, brand voice, channels, postiz]\n---\n\n- Channels and who each is for:\n- Voice (words to use, words to avoid):\n- Topics, and what never to post about:\n- Good times to post:\n",
+ },
+ routines: [paused("Weekly post plan", "Plan next week's social posts from memory/social.md and add them to Postiz as drafts for me to review.", "10:00", [1])],
+ },
{
id: "ops",
category: "work",
diff --git a/src/locales/de.json b/src/locales/de.json
index 64ae24bc18..d24d2070a2 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -1,5 +1,32 @@
{
"highlevel.unavailable": "Hier nicht verfügbar.",
+ "postiz.description": "Social-Media-Beiträge mit Postiz entwerfen, planen und veröffentlichen.",
+ "postiz.connect": "Postiz verbinden",
+ "postiz.reconnect": "Postiz erneut verbinden",
+ "postiz.menu": "Postiz-Optionen",
+ "postiz.useKey": "Stattdessen einen API-Schlüssel verwenden",
+ "postiz.useSignIn": "Stattdessen mit Postiz anmelden",
+ "postiz.keyField": "Postiz-API-Schlüssel",
+ "postiz.addressField": "Adresse des Postiz-Servers (optional)",
+ "postiz.keyHelp": "Deinen Schlüssel findest du in Postiz unter Einstellungen → Public API.",
+ "postiz.keyAndAddressHelp": "Deinen Schlüssel findest du in Postiz unter Einstellungen → Public API. Lass die Adresse für Postiz Cloud leer oder gib die Adresse deines eigenen Postiz-Servers ein.",
+ "postiz.keyLink": "Postiz-Einstellungen öffnen",
+ "postiz.finishInBrowser": "Schließ die Anmeldung bei Postiz in deinem Browser ab.",
+ "postiz.loadingTools": "Angemeldet. Die Werkzeuge von Postiz werden geladen…",
+ "postiz.signInExpired": "Die Anmeldung hat zu lange gedauert. Verbinde Postiz erneut.",
+ "postiz.connectedTo": "Verbunden mit {host}",
+ "postiz.connectedKey": "Mit API-Schlüssel verbunden mit {host}",
+ "postiz.connectedOwn": "Dein eigenes Postiz ist verbunden.",
+ "postiz.keyRefused": "Postiz akzeptiert den gespeicherten Schlüssel nicht mehr. Gib einen neuen ein.",
+ "postiz.taken": "Ein MCP-Server namens postiz ist bereits eingerichtet. Entferne ihn unter MCP-Server, um Postiz hier zu verbinden.",
+ "postiz.personScope": "Jede Person in deinem Team verbindet ihr eigenes Postiz.",
+ "postiz.disconnectConfirm": "Postiz trennen? Bots nutzen es nicht mehr, bis du es wieder verbindest.",
+ "postiz.error.keyRejected": "Postiz hat diesen API-Schlüssel nicht akzeptiert. Kopiere ihn erneut aus Postiz → Einstellungen → Public API.",
+ "postiz.error.unreachable": "Unter {host} war kein Postiz-Server erreichbar. Prüfe die Adresse und versuch es erneut.",
+ "postiz.error.notPostiz": "{host} hat nicht wie Postiz geantwortet. Prüfe die Adresse. Die von Postiz Cloud ist https://api.postiz.com.",
+ "postiz.error.address": "Prüfe die Adresse: Sie beginnt mit https:// und enthält weder einen Schlüssel noch ein Passwort.",
+ "postiz.error.testFailed": "Angemeldet, aber die Werkzeuge von Postiz konnten nicht geladen werden: {reason} Bitte verbinde Postiz erneut.",
+ "apps.category.social": "Soziale Medien",
"pro.fromPrice": "MausBot Cloud-Tarife ab {price}/Monat zzgl. Steuern.",
"pro.seePlans": "Tarife vergleichen",
"cloudBuy.includes": "In jedem Tarif enthalten",
@@ -2293,7 +2320,10 @@
"apps.x.useOwnKey": "Meinen eigenen treg-Schlüssel verwenden",
"apps.x.remove": "Schlüssel entfernen",
"keys.treg.label": "treg-Schlüssel",
+ "keys.postiz.label": "Postiz-API-Schlüssel",
+ "keys.purpose.postiz": "Social-Media-Beiträge entwerfen, planen und veröffentlichen",
"keys.treg.placeholder": "Füge deinen treg-Schlüssel ein",
+ "keys.postiz.placeholder": "Füge deinen Postiz-API-Schlüssel ein",
"keys.treg.link": "Hol dir einen Schlüssel bei treg.to",
"keys.treg.working": "treg funktioniert ✓",
"keys.treg.balance": "Guthaben: {balance}.",
diff --git a/src/locales/en.json b/src/locales/en.json
index 7d0480249a..5fbd7f1dec 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -28,6 +28,32 @@
"highlevel.failed": "HighLevel could not be connected. Try again.",
"highlevel.expired": "The sign-in took too long. Try again.",
"highlevel.unavailable": "Not available here.",
+ "postiz.description": "Draft, schedule and publish social posts with Postiz.",
+ "postiz.connect": "Connect Postiz",
+ "postiz.reconnect": "Reconnect Postiz",
+ "postiz.menu": "Postiz options",
+ "postiz.useKey": "Use an API key instead",
+ "postiz.useSignIn": "Sign in with Postiz instead",
+ "postiz.keyField": "Postiz API key",
+ "postiz.addressField": "Postiz server address (optional)",
+ "postiz.keyHelp": "Find your key in Postiz under Settings → Public API.",
+ "postiz.keyAndAddressHelp": "Find your key in Postiz under Settings → Public API. Leave the address empty for Postiz Cloud, or enter the address of your own Postiz server.",
+ "postiz.keyLink": "Open Postiz settings",
+ "postiz.finishInBrowser": "Finish signing in to Postiz in your browser.",
+ "postiz.loadingTools": "Signed in. Loading Postiz’s tools…",
+ "postiz.signInExpired": "The sign-in took too long. Connect again.",
+ "postiz.connectedTo": "Connected to {host}",
+ "postiz.connectedKey": "Connected to {host} with an API key",
+ "postiz.connectedOwn": "Your own Postiz is connected.",
+ "postiz.keyRefused": "Postiz no longer accepts the saved key. Enter a new one.",
+ "postiz.taken": "An MCP server named postiz is already set up. Remove it in MCP servers to connect here.",
+ "postiz.personScope": "Each person on your team connects their own Postiz.",
+ "postiz.disconnectConfirm": "Disconnect Postiz? Bots stop using it until you connect it again.",
+ "postiz.error.keyRejected": "Postiz didn’t accept this API key. Copy it again from Postiz → Settings → Public API.",
+ "postiz.error.unreachable": "Couldn’t reach a Postiz server at {host}. Check the address and try again.",
+ "postiz.error.notPostiz": "{host} didn’t answer like Postiz. Check the address. Postiz Cloud’s is https://api.postiz.com.",
+ "postiz.error.address": "Check the address: it starts with https:// and has no key or password in it.",
+ "postiz.error.testFailed": "Signed in, but Postiz’s tools could not be loaded: {reason} Please connect again.",
"table.title": "Table",
"table.search": "Search all rows…",
"table.wrap": "Wrap cell text",
@@ -3187,7 +3213,9 @@
"keys.xai.desc": "For xAI's Grok models and xAI image generation.",
"keys.xai.link": "xAI console",
"keys.treg.label": "treg key",
+ "keys.postiz.label": "Postiz API key",
"keys.treg.placeholder": "Paste your treg key",
+ "keys.postiz.placeholder": "Paste your Postiz API key",
"keys.treg.desc": "Lets bots search X and look up companies, people, funding, news and more through treg. Calls are billed to your treg balance, with no limits from MausBot.",
"keys.treg.link": "Get a key at treg.to",
"keys.treg.working": "treg is working ✓",
@@ -5850,6 +5878,7 @@
"apps.category.design": "Design",
"apps.category.marketing": "Marketing",
"apps.category.analytics": "Analytics",
+ "apps.category.social": "Social",
"apps.catalog.googleCalendar.blurb": "Read and create events",
"apps.catalog.googleSheets.blurb": "Read and update spreadsheets",
"apps.catalog.googleDocs.blurb": "Read and write documents",
@@ -6754,6 +6783,7 @@
"keys.purpose.onePassword": "Website logins your bots can use",
"keys.purpose.composio": "Gmail, Slack, GitHub and more through your own Composio project",
"keys.purpose.treg": "Research on X, companies and people",
+ "keys.purpose.postiz": "Draft, schedule and publish social posts",
"keys.purpose.jev": "Fast decisions and reading for your bots",
"keys.purpose.openrouterHelper": "Fast decisions through OpenRouter",
"keys.purpose.workersAi": "Free decisions and reading on Cloudflare",
diff --git a/src/locales/es.json b/src/locales/es.json
index 7a6d04ac36..360b5cac16 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -28,6 +28,33 @@
"highlevel.failed": "No se pudo conectar HighLevel. Inténtalo de nuevo.",
"highlevel.expired": "El inicio de sesión tardó demasiado. Inténtalo de nuevo.",
"highlevel.unavailable": "No disponible aquí.",
+ "postiz.description": "Redacta, programa y publica posts en redes sociales con Postiz.",
+ "postiz.connect": "Conectar Postiz",
+ "postiz.reconnect": "Volver a conectar Postiz",
+ "postiz.menu": "Opciones de Postiz",
+ "postiz.useKey": "Usar una clave de API en su lugar",
+ "postiz.useSignIn": "Iniciar sesión con Postiz en su lugar",
+ "postiz.keyField": "Clave de API de Postiz",
+ "postiz.addressField": "Dirección del servidor de Postiz (opcional)",
+ "postiz.keyHelp": "Encuentra tu clave en Postiz, en Ajustes → Public API.",
+ "postiz.keyAndAddressHelp": "Encuentra tu clave en Postiz, en Ajustes → Public API. Deja la dirección vacía para Postiz Cloud, o escribe la dirección de tu propio servidor de Postiz.",
+ "postiz.keyLink": "Abrir los ajustes de Postiz",
+ "postiz.finishInBrowser": "Termina de iniciar sesión en Postiz en tu navegador.",
+ "postiz.loadingTools": "Sesión iniciada. Cargando las herramientas de Postiz…",
+ "postiz.signInExpired": "El inicio de sesión tardó demasiado. Vuelve a conectar.",
+ "postiz.connectedTo": "Conectado a {host}",
+ "postiz.connectedKey": "Conectado a {host} con una clave de API",
+ "postiz.connectedOwn": "Tu propio Postiz está conectado.",
+ "postiz.keyRefused": "Postiz ya no acepta la clave guardada. Escribe una nueva.",
+ "postiz.taken": "Ya hay un servidor MCP llamado postiz. Quítalo en Servidores MCP para conectar aquí.",
+ "postiz.personScope": "Cada persona de tu equipo conecta su propio Postiz.",
+ "postiz.disconnectConfirm": "¿Desconectar Postiz? Los bots dejan de usarlo hasta que vuelvas a conectarlo.",
+ "postiz.error.keyRejected": "Postiz no aceptó esta clave de API. Cópiala de nuevo desde Postiz → Ajustes → Public API.",
+ "postiz.error.unreachable": "No se pudo llegar a un servidor de Postiz en {host}. Revisa la dirección y vuelve a intentarlo.",
+ "postiz.error.notPostiz": "{host} no respondió como Postiz. Revisa la dirección. La de Postiz Cloud es https://api.postiz.com.",
+ "postiz.error.address": "Revisa la dirección: empieza por https:// y no lleva ninguna clave ni contraseña.",
+ "postiz.error.testFailed": "Sesión iniciada, pero no se pudieron cargar las herramientas de Postiz: {reason} Vuelve a conectar.",
+ "apps.category.social": "Redes sociales",
"table.title": "Tabla",
"table.search": "Buscar en todas las filas…",
"table.wrap": "Ajustar el texto de las celdas",
@@ -5207,7 +5234,10 @@
"apiInstances.empty": "Aún no hay otros servidores.",
"apiInstances.failed": "No se pudo guardar el servidor. Revisa los campos e inténtalo de nuevo.",
"keys.treg.label": "Clave de treg",
+ "keys.postiz.label": "Clave de API de Postiz",
+ "keys.purpose.postiz": "Redactar, programar y publicar posts en redes sociales",
"keys.treg.placeholder": "Pega tu clave de treg",
+ "keys.postiz.placeholder": "Pega tu clave de API de Postiz",
"keys.treg.desc": "Permite que los bots busquen en X y consulten empresas, personas, financiación, noticias y más a través de treg. Las llamadas se cobran de tu saldo de treg, sin límites de MausBot.",
"keys.treg.link": "Consigue una clave en treg.to",
"keys.treg.working": "treg funciona ✓",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index b23a9dd10c..a9c1f15f83 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -1,5 +1,32 @@
{
"highlevel.unavailable": "Non disponible ici.",
+ "postiz.description": "Rédigez, planifiez et publiez vos posts sur les réseaux sociaux avec Postiz.",
+ "postiz.connect": "Connecter Postiz",
+ "postiz.reconnect": "Reconnecter Postiz",
+ "postiz.menu": "Options de Postiz",
+ "postiz.useKey": "Utiliser plutôt une clé API",
+ "postiz.useSignIn": "Se connecter plutôt avec Postiz",
+ "postiz.keyField": "Clé API Postiz",
+ "postiz.addressField": "Adresse du serveur Postiz (facultatif)",
+ "postiz.keyHelp": "Votre clé se trouve dans Postiz, sous Paramètres → Public API.",
+ "postiz.keyAndAddressHelp": "Votre clé se trouve dans Postiz, sous Paramètres → Public API. Laissez l’adresse vide pour Postiz Cloud, ou saisissez l’adresse de votre propre serveur Postiz.",
+ "postiz.keyLink": "Ouvrir les paramètres de Postiz",
+ "postiz.finishInBrowser": "Terminez la connexion à Postiz dans votre navigateur.",
+ "postiz.loadingTools": "Connecté. Chargement des outils de Postiz…",
+ "postiz.signInExpired": "La connexion a pris trop de temps. Connectez-vous à nouveau.",
+ "postiz.connectedTo": "Connecté à {host}",
+ "postiz.connectedKey": "Connecté à {host} avec une clé API",
+ "postiz.connectedOwn": "Votre propre Postiz est connecté.",
+ "postiz.keyRefused": "Postiz n’accepte plus la clé enregistrée. Saisissez-en une nouvelle.",
+ "postiz.taken": "Un serveur MCP nommé postiz est déjà configuré. Supprimez-le dans Serveurs MCP pour connecter Postiz ici.",
+ "postiz.personScope": "Chaque personne de votre équipe connecte son propre Postiz.",
+ "postiz.disconnectConfirm": "Déconnecter Postiz ? Les bots ne l’utilisent plus jusqu’à ce que vous le reconnectiez.",
+ "postiz.error.keyRejected": "Postiz n’a pas accepté cette clé API. Copiez-la à nouveau depuis Postiz → Paramètres → Public API.",
+ "postiz.error.unreachable": "Impossible de joindre un serveur Postiz à {host}. Vérifiez l’adresse et réessayez.",
+ "postiz.error.notPostiz": "{host} n’a pas répondu comme Postiz. Vérifiez l’adresse. Celle de Postiz Cloud est https://api.postiz.com.",
+ "postiz.error.address": "Vérifiez l’adresse : elle commence par https:// et ne contient ni clé ni mot de passe.",
+ "postiz.error.testFailed": "Connecté, mais les outils de Postiz n’ont pas pu être chargés : {reason} Connectez-vous à nouveau.",
+ "apps.category.social": "Réseaux sociaux",
"pro.fromPrice": "Forfaits MausBot Cloud à partir de {price}/mois + taxes.",
"pro.seePlans": "Comparer les forfaits",
"cloudBuy.includes": "Inclus dans tous les forfaits",
@@ -2273,7 +2300,10 @@
"apps.x.useOwnKey": "Utiliser ma propre clé treg",
"apps.x.remove": "Supprimer la clé",
"keys.treg.label": "Clé treg",
+ "keys.postiz.label": "Clé API Postiz",
+ "keys.purpose.postiz": "Rédiger, planifier et publier des posts sur les réseaux sociaux",
"keys.treg.placeholder": "Collez votre clé treg",
+ "keys.postiz.placeholder": "Collez votre clé API Postiz",
"keys.treg.link": "Obtenir une clé sur treg.to",
"keys.treg.working": "treg fonctionne ✓",
"keys.treg.balance": "Solde : {balance}.",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index ceaf4ed25d..b5e8a45705 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -1,5 +1,32 @@
{
"highlevel.unavailable": "यहाँ उपलब्ध नहीं।",
+ "postiz.description": "Postiz से सोशल मीडिया पोस्ट का ड्राफ़्ट बनाएँ, शेड्यूल करें और प्रकाशित करें।",
+ "postiz.connect": "Postiz कनेक्ट करें",
+ "postiz.reconnect": "Postiz फिर से कनेक्ट करें",
+ "postiz.menu": "Postiz विकल्प",
+ "postiz.useKey": "इसके बजाय API कुंजी इस्तेमाल करें",
+ "postiz.useSignIn": "इसके बजाय Postiz से साइन इन करें",
+ "postiz.keyField": "Postiz API कुंजी",
+ "postiz.addressField": "Postiz सर्वर का पता (वैकल्पिक)",
+ "postiz.keyHelp": "अपनी कुंजी Postiz में Settings → Public API में पाएँ।",
+ "postiz.keyAndAddressHelp": "अपनी कुंजी Postiz में Settings → Public API में पाएँ। Postiz Cloud के लिए पता खाली छोड़ें, या अपने खुद के Postiz सर्वर का पता लिखें।",
+ "postiz.keyLink": "Postiz सेटिंग्स खोलें",
+ "postiz.finishInBrowser": "अपने ब्राउज़र में Postiz में साइन इन पूरा करें।",
+ "postiz.loadingTools": "साइन इन हो गया। Postiz के टूल लोड हो रहे हैं…",
+ "postiz.signInExpired": "साइन इन में बहुत समय लगा। फिर से कनेक्ट करें।",
+ "postiz.connectedTo": "{host} से कनेक्ट है",
+ "postiz.connectedKey": "API कुंजी से {host} से कनेक्ट है",
+ "postiz.connectedOwn": "आपका अपना Postiz कनेक्ट है।",
+ "postiz.keyRefused": "Postiz अब सहेजी गई कुंजी स्वीकार नहीं करता। नई कुंजी डालें।",
+ "postiz.taken": "postiz नाम का एक MCP सर्वर पहले से सेट है। यहाँ कनेक्ट करने के लिए उसे MCP सर्वर में हटाएँ।",
+ "postiz.personScope": "आपकी टीम का हर व्यक्ति अपना खुद का Postiz कनेक्ट करता है।",
+ "postiz.disconnectConfirm": "Postiz डिस्कनेक्ट करें? जब तक आप इसे फिर से कनेक्ट नहीं करते, बॉट इसका इस्तेमाल नहीं करेंगे।",
+ "postiz.error.keyRejected": "Postiz ने यह API कुंजी स्वीकार नहीं की। इसे Postiz → Settings → Public API से फिर से कॉपी करें।",
+ "postiz.error.unreachable": "{host} पर Postiz सर्वर तक नहीं पहुँच सके। पता जाँचें और फिर से कोशिश करें।",
+ "postiz.error.notPostiz": "{host} ने Postiz की तरह जवाब नहीं दिया। पता जाँचें। Postiz Cloud का पता https://api.postiz.com है।",
+ "postiz.error.address": "पता जाँचें: यह https:// से शुरू होता है और इसमें कोई कुंजी या पासवर्ड नहीं होता।",
+ "postiz.error.testFailed": "साइन इन हो गया, पर Postiz के टूल लोड नहीं हो सके: {reason} कृपया फिर से कनेक्ट करें।",
+ "apps.category.social": "सोशल",
"pro.fromPrice": "MausBot Cloud प्लान {price}/माह से, साथ में टैक्स।",
"pro.seePlans": "प्लान की तुलना करें",
"cloudBuy.includes": "हर प्लान में शामिल",
@@ -2273,7 +2300,10 @@
"apps.x.useOwnKey": "मेरी अपनी treg कुंजी इस्तेमाल करें",
"apps.x.remove": "कुंजी हटाएँ",
"keys.treg.label": "treg कुंजी",
+ "keys.postiz.label": "Postiz API कुंजी",
+ "keys.purpose.postiz": "सोशल पोस्ट का ड्राफ़्ट बनाएँ, शेड्यूल करें और प्रकाशित करें",
"keys.treg.placeholder": "अपनी treg कुंजी पेस्ट करें",
+ "keys.postiz.placeholder": "अपनी Postiz API कुंजी पेस्ट करें",
"keys.treg.link": "treg.to पर कुंजी पाएँ",
"keys.treg.working": "treg काम कर रहा है ✓",
"keys.treg.balance": "बैलेंस: {balance}.",
diff --git a/src/locales/it.json b/src/locales/it.json
index e51ef87d88..670cd78a2b 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -27,6 +27,32 @@
"highlevel.failed": "HighLevel non si è collegato. Riprova.",
"highlevel.expired": "L’accesso ha impiegato troppo tempo. Riprova.",
"highlevel.unavailable": "Non disponibile qui.",
+ "postiz.description": "Scrivi, pianifica e pubblica post sui social con Postiz.",
+ "postiz.connect": "Collega Postiz",
+ "postiz.reconnect": "Ricollega Postiz",
+ "postiz.menu": "Opzioni di Postiz",
+ "postiz.useKey": "Usa invece una chiave API",
+ "postiz.useSignIn": "Accedi invece con Postiz",
+ "postiz.keyField": "Chiave API di Postiz",
+ "postiz.addressField": "Indirizzo del server Postiz (facoltativo)",
+ "postiz.keyHelp": "Trovi la chiave in Postiz, in Impostazioni → Public API.",
+ "postiz.keyAndAddressHelp": "Trovi la chiave in Postiz, in Impostazioni → Public API. Lascia vuoto l’indirizzo per Postiz Cloud, oppure inserisci l’indirizzo del tuo server Postiz.",
+ "postiz.keyLink": "Apri le impostazioni di Postiz",
+ "postiz.finishInBrowser": "Completa l’accesso a Postiz nel browser.",
+ "postiz.loadingTools": "Accesso fatto. Caricamento degli strumenti di Postiz…",
+ "postiz.signInExpired": "L’accesso ha richiesto troppo tempo. Collega di nuovo.",
+ "postiz.connectedTo": "Collegato a {host}",
+ "postiz.connectedKey": "Collegato a {host} con una chiave API",
+ "postiz.connectedOwn": "Il tuo Postiz è collegato.",
+ "postiz.keyRefused": "Postiz non accetta più la chiave salvata. Inseriscine una nuova.",
+ "postiz.taken": "C’è già un server MCP chiamato postiz. Rimuovilo in Server MCP per collegare Postiz qui.",
+ "postiz.personScope": "Ogni persona del tuo team collega il proprio Postiz.",
+ "postiz.disconnectConfirm": "Scolleghi Postiz? I bot smettono di usarlo finché non lo ricolleghi.",
+ "postiz.error.keyRejected": "Postiz non ha accettato questa chiave API. Copiala di nuovo da Postiz → Impostazioni → Public API.",
+ "postiz.error.unreachable": "Impossibile raggiungere un server Postiz su {host}. Controlla l’indirizzo e riprova.",
+ "postiz.error.notPostiz": "{host} non ha risposto come Postiz. Controlla l’indirizzo. Quello di Postiz Cloud è https://api.postiz.com.",
+ "postiz.error.address": "Controlla l’indirizzo: inizia con https:// e non contiene chiavi né password.",
+ "postiz.error.testFailed": "Accesso fatto, ma non è stato possibile caricare gli strumenti di Postiz: {reason} Collega di nuovo.",
"table.title": "Tabella",
"table.search": "Cerca in tutte le righe…",
"table.wrap": "Testo a capo",
@@ -2901,7 +2927,10 @@
"keys.xai.desc": "Per i modelli Grok di xAI e la generazione di immagini di xAI.",
"keys.xai.link": "Console xAI",
"keys.treg.label": "Chiave treg",
+ "keys.postiz.label": "Chiave API di Postiz",
+ "keys.purpose.postiz": "Scrivere, pianificare e pubblicare post sui social",
"keys.treg.placeholder": "Incolla la tua chiave treg",
+ "keys.postiz.placeholder": "Incolla la tua chiave API di Postiz",
"keys.treg.desc": "Permette ai bot di cercare su X e di consultare aziende, persone, finanziamenti, notizie e altro tramite treg. Le chiamate vengono addebitate sul tuo saldo treg, senza limiti da MausBot.",
"keys.treg.link": "Ottieni una chiave su treg.to",
"keys.treg.working": "treg funziona ✓",
@@ -5371,6 +5400,7 @@
"apps.category.files": "File",
"apps.category.salesCrm": "Vendite e CRM",
"apps.category.analytics": "Analisi",
+ "apps.category.social": "Social",
"apps.catalog.googleCalendar.blurb": "Leggi e crea eventi",
"apps.catalog.googleSheets.blurb": "Leggi e aggiorna i fogli di calcolo",
"apps.catalog.googleDocs.blurb": "Leggi e scrivi documenti",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 52e153e6d0..62c4ff82c5 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -28,6 +28,32 @@
"highlevel.failed": "HighLevelを接続できませんでした。もう一度お試しください。",
"highlevel.expired": "サインインに時間がかかりすぎました。もう一度お試しください。",
"highlevel.unavailable": "ここでは利用できません。",
+ "postiz.description": "Postizでソーシャルメディアの投稿を下書き、予約、公開します。",
+ "postiz.connect": "Postizを接続",
+ "postiz.reconnect": "Postizを再接続",
+ "postiz.menu": "Postizのオプション",
+ "postiz.useKey": "代わりにAPIキーを使用",
+ "postiz.useSignIn": "代わりにPostizでサインイン",
+ "postiz.keyField": "PostizのAPIキー",
+ "postiz.addressField": "Postizサーバーのアドレス(任意)",
+ "postiz.keyHelp": "キーはPostizの「設定 → Public API」にあります。",
+ "postiz.keyAndAddressHelp": "キーはPostizの「設定 → Public API」にあります。Postiz Cloudならアドレスは空欄のままに、自分のPostizサーバーならそのアドレスを入力してください。",
+ "postiz.keyLink": "Postizの設定を開く",
+ "postiz.finishInBrowser": "ブラウザでPostizへのサインインを完了してください。",
+ "postiz.loadingTools": "サインインしました。Postizのツールを読み込んでいます…",
+ "postiz.signInExpired": "サインインに時間がかかりすぎました。もう一度接続してください。",
+ "postiz.connectedTo": "{host}に接続済み",
+ "postiz.connectedKey": "APIキーで{host}に接続済み",
+ "postiz.connectedOwn": "あなた自身のPostizが接続されています。",
+ "postiz.keyRefused": "保存したキーはPostizで使えなくなりました。新しいキーを入力してください。",
+ "postiz.taken": "postizという名前のMCPサーバーがすでに設定されています。ここで接続するには、MCPサーバーから削除してください。",
+ "postiz.personScope": "チームのメンバーはそれぞれ自分のPostizを接続します。",
+ "postiz.disconnectConfirm": "Postizの接続を解除しますか? 再接続するまで、ボットはPostizを使えなくなります。",
+ "postiz.error.keyRejected": "PostizがこのAPIキーを受け付けませんでした。Postizの「設定 → Public API」からもう一度コピーしてください。",
+ "postiz.error.unreachable": "{host}のPostizサーバーに接続できませんでした。アドレスを確認して、もう一度お試しください。",
+ "postiz.error.notPostiz": "{host}からPostizとしての応答がありませんでした。アドレスを確認してください。Postiz Cloudのアドレスはhttps://api.postiz.comです。",
+ "postiz.error.address": "アドレスを確認してください。https://で始まり、キーやパスワードを含まないものです。",
+ "postiz.error.testFailed": "サインインしましたが、Postizのツールを読み込めませんでした: {reason} もう一度接続してください。",
"table.title": "表",
"table.search": "すべての行を検索…",
"table.wrap": "セル内のテキストを折り返す",
@@ -3044,7 +3070,10 @@
"keys.xai.desc": "xAI の Grok モデルと画像生成用です。",
"keys.xai.link": "xAI コンソール",
"keys.treg.label": "treg キー",
+ "keys.postiz.label": "PostizのAPIキー",
+ "keys.purpose.postiz": "ソーシャル投稿の下書き、予約、公開",
"keys.treg.placeholder": "treg キーを貼り付け",
+ "keys.postiz.placeholder": "PostizのAPIキーを貼り付け",
"keys.treg.desc": "ボットが treg を通じて X の検索や、企業、人物、資金調達、ニュースなどの調査を行えるようにします。利用料金は treg の残高から差し引かれ、MausBot による制限はありません。",
"keys.treg.link": "treg.to でキーを取得",
"keys.treg.working": "treg は動作しています ✓",
@@ -5615,6 +5644,7 @@
"apps.category.design": "デザイン",
"apps.category.marketing": "マーケティング",
"apps.category.analytics": "アナリティクス",
+ "apps.category.social": "ソーシャル",
"apps.catalog.googleCalendar.blurb": "予定の閲覧と作成",
"apps.catalog.googleSheets.blurb": "スプレッドシートの閲覧と更新",
"apps.catalog.googleDocs.blurb": "ドキュメントの閲覧と作成",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 4d98334bff..61a513996b 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -28,6 +28,32 @@
"highlevel.failed": "Nie udało się połączyć z HighLevel. Spróbuj ponownie.",
"highlevel.expired": "Logowanie trwało zbyt długo. Spróbuj ponownie.",
"highlevel.unavailable": "Niedostępne w tym miejscu.",
+ "postiz.description": "Twórz szkice, planuj i publikuj posty w mediach społecznościowych z Postiz.",
+ "postiz.connect": "Połącz Postiz",
+ "postiz.reconnect": "Połącz Postiz ponownie",
+ "postiz.menu": "Opcje Postiz",
+ "postiz.useKey": "Użyj zamiast tego klucza API",
+ "postiz.useSignIn": "Zaloguj się zamiast tego przez Postiz",
+ "postiz.keyField": "Klucz API Postiz",
+ "postiz.addressField": "Adres serwera Postiz (opcjonalnie)",
+ "postiz.keyHelp": "Klucz znajdziesz w Postiz w Ustawienia → Public API.",
+ "postiz.keyAndAddressHelp": "Klucz znajdziesz w Postiz w Ustawienia → Public API. Dla Postiz Cloud zostaw adres pusty albo wpisz adres własnego serwera Postiz.",
+ "postiz.keyLink": "Otwórz ustawienia Postiz",
+ "postiz.finishInBrowser": "Dokończ logowanie do Postiz w przeglądarce.",
+ "postiz.loadingTools": "Zalogowano. Wczytywanie narzędzi Postiz…",
+ "postiz.signInExpired": "Logowanie trwało zbyt długo. Połącz ponownie.",
+ "postiz.connectedTo": "Połączono z {host}",
+ "postiz.connectedKey": "Połączono z {host} kluczem API",
+ "postiz.connectedOwn": "Twój własny Postiz jest połączony.",
+ "postiz.keyRefused": "Postiz nie przyjmuje już zapisanego klucza. Wpisz nowy.",
+ "postiz.taken": "Serwer MCP o nazwie postiz jest już skonfigurowany. Usuń go w Serwerach MCP, aby połączyć tutaj.",
+ "postiz.personScope": "Każda osoba w zespole łączy własny Postiz.",
+ "postiz.disconnectConfirm": "Rozłączyć Postiz? Boty przestaną z niego korzystać, dopóki nie połączysz go ponownie.",
+ "postiz.error.keyRejected": "Postiz nie przyjął tego klucza API. Skopiuj go ponownie z Postiz → Ustawienia → Public API.",
+ "postiz.error.unreachable": "Nie udało się połączyć z serwerem Postiz pod adresem {host}. Sprawdź adres i spróbuj ponownie.",
+ "postiz.error.notPostiz": "{host} nie odpowiedział jak Postiz. Sprawdź adres. Adres Postiz Cloud to https://api.postiz.com.",
+ "postiz.error.address": "Sprawdź adres: zaczyna się od https:// i nie zawiera klucza ani hasła.",
+ "postiz.error.testFailed": "Zalogowano, ale nie udało się wczytać narzędzi Postiz: {reason} Połącz ponownie.",
"table.title": "Tabela",
"table.search": "Szukaj we wszystkich wierszach…",
"table.wrap": "Zawijaj tekst w komórkach",
@@ -2966,7 +2992,10 @@
"keys.xai.desc": "Dla modeli Grok od xAI i generowania obrazów xAI.",
"keys.xai.link": "Konsola xAI",
"keys.treg.label": "Klucz treg",
+ "keys.postiz.label": "Klucz API Postiz",
+ "keys.purpose.postiz": "Szkice, planowanie i publikowanie postów w mediach społecznościowych",
"keys.treg.placeholder": "Wklej swój klucz treg",
+ "keys.postiz.placeholder": "Wklej swój klucz API Postiz",
"keys.treg.desc": "Pozwala botom przeszukiwać X i wyszukiwać firmy, osoby, finansowanie, wiadomości i nie tylko przez treg. Wywołania są rozliczane z twojego salda treg, bez limitów ze strony MausBot.",
"keys.treg.link": "Pobierz klucz na treg.to",
"keys.treg.working": "treg działa ✓",
@@ -5506,6 +5535,7 @@
"apps.category.design": "Projektowanie",
"apps.category.marketing": "Marketing",
"apps.category.analytics": "Analityka",
+ "apps.category.social": "Media społecznościowe",
"apps.catalog.googleCalendar.blurb": "Odczytuj i twórz wydarzenia",
"apps.catalog.googleSheets.blurb": "Odczytuj i aktualizuj arkusze",
"apps.catalog.googleDocs.blurb": "Odczytuj i zapisuj dokumenty",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index b256998ef9..d76bb60b18 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -28,6 +28,32 @@
"highlevel.failed": "Não foi possível conectar o HighLevel. Tente novamente.",
"highlevel.expired": "O login demorou demais. Tente novamente.",
"highlevel.unavailable": "Indisponível aqui.",
+ "postiz.description": "Crie rascunhos, agende e publique posts nas redes sociais com o Postiz.",
+ "postiz.connect": "Conectar o Postiz",
+ "postiz.reconnect": "Reconectar o Postiz",
+ "postiz.menu": "Opções do Postiz",
+ "postiz.useKey": "Usar uma chave de API em vez disso",
+ "postiz.useSignIn": "Entrar com o Postiz em vez disso",
+ "postiz.keyField": "Chave de API do Postiz",
+ "postiz.addressField": "Endereço do servidor do Postiz (opcional)",
+ "postiz.keyHelp": "Encontre sua chave no Postiz, em Configurações → Public API.",
+ "postiz.keyAndAddressHelp": "Encontre sua chave no Postiz, em Configurações → Public API. Deixe o endereço vazio para o Postiz Cloud, ou digite o endereço do seu próprio servidor do Postiz.",
+ "postiz.keyLink": "Abrir as configurações do Postiz",
+ "postiz.finishInBrowser": "Termine de entrar no Postiz no seu navegador.",
+ "postiz.loadingTools": "Você entrou. Carregando as ferramentas do Postiz…",
+ "postiz.signInExpired": "A entrada demorou demais. Conecte de novo.",
+ "postiz.connectedTo": "Conectado a {host}",
+ "postiz.connectedKey": "Conectado a {host} com uma chave de API",
+ "postiz.connectedOwn": "Seu próprio Postiz está conectado.",
+ "postiz.keyRefused": "O Postiz não aceita mais a chave salva. Digite uma nova.",
+ "postiz.taken": "Já existe um servidor MCP chamado postiz. Remova-o em Servidores MCP para conectar aqui.",
+ "postiz.personScope": "Cada pessoa da sua equipe conecta o próprio Postiz.",
+ "postiz.disconnectConfirm": "Desconectar o Postiz? Os bots param de usá-lo até você conectar de novo.",
+ "postiz.error.keyRejected": "O Postiz não aceitou esta chave de API. Copie-a de novo em Postiz → Configurações → Public API.",
+ "postiz.error.unreachable": "Não foi possível acessar um servidor do Postiz em {host}. Confira o endereço e tente de novo.",
+ "postiz.error.notPostiz": "{host} não respondeu como o Postiz. Confira o endereço. O do Postiz Cloud é https://api.postiz.com.",
+ "postiz.error.address": "Confira o endereço: ele começa com https:// e não tem chave nem senha.",
+ "postiz.error.testFailed": "Você entrou, mas não foi possível carregar as ferramentas do Postiz: {reason} Conecte de novo.",
"table.title": "Tabela",
"table.search": "Buscar em todas as linhas…",
"table.wrap": "Quebrar o texto das células",
@@ -5354,6 +5380,7 @@
"apps.category.design": "Design",
"apps.category.marketing": "Marketing",
"apps.category.analytics": "Análises",
+ "apps.category.social": "Redes sociais",
"apps.catalog.googleCalendar.blurb": "Ler e criar eventos",
"apps.catalog.googleSheets.blurb": "Ler e atualizar planilhas",
"apps.catalog.googleDocs.blurb": "Ler e editar documentos",
@@ -5968,7 +5995,10 @@
"history.undo": "Desfazer esta alteração",
"history.restoreUnavailable": "As instruções anteriores exatas não estão disponíveis, então esta alteração não pode ser desfeita.",
"keys.treg.label": "Chave do treg",
+ "keys.postiz.label": "Chave de API do Postiz",
+ "keys.purpose.postiz": "Criar rascunhos, agendar e publicar posts nas redes sociais",
"keys.treg.placeholder": "Cole sua chave do treg",
+ "keys.postiz.placeholder": "Cole sua chave de API do Postiz",
"keys.treg.desc": "Permite que os bots pesquisem no X e consultem empresas, pessoas, investimentos, notícias e mais pelo treg. As chamadas são cobradas do seu saldo no treg, sem limites do MausBot.",
"keys.treg.link": "Obtenha uma chave em treg.to",
"keys.treg.working": "O treg está funcionando ✓",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 49bb5501a1..24c5e04a3f 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -28,6 +28,32 @@
"highlevel.failed": "Не удалось подключить HighLevel. Попробуйте ещё раз.",
"highlevel.expired": "Вход занял слишком много времени. Попробуйте ещё раз.",
"highlevel.unavailable": "Здесь недоступно.",
+ "postiz.description": "Готовьте черновики, планируйте и публикуйте посты в соцсетях через Postiz.",
+ "postiz.connect": "Подключить Postiz",
+ "postiz.reconnect": "Переподключить Postiz",
+ "postiz.menu": "Настройки Postiz",
+ "postiz.useKey": "Использовать API-ключ",
+ "postiz.useSignIn": "Войти через Postiz",
+ "postiz.keyField": "API-ключ Postiz",
+ "postiz.addressField": "Адрес сервера Postiz (необязательно)",
+ "postiz.keyHelp": "Ключ находится в Postiz: «Настройки» → Public API.",
+ "postiz.keyAndAddressHelp": "Ключ находится в Postiz: «Настройки» → Public API. Для Postiz Cloud оставьте адрес пустым или введите адрес своего сервера Postiz.",
+ "postiz.keyLink": "Открыть настройки Postiz",
+ "postiz.finishInBrowser": "Завершите вход в Postiz в браузере.",
+ "postiz.loadingTools": "Выполнен вход. Загружаем инструменты Postiz…",
+ "postiz.signInExpired": "Вход занял слишком много времени. Подключите снова.",
+ "postiz.connectedTo": "Подключено к {host}",
+ "postiz.connectedKey": "Подключено к {host} по API-ключу",
+ "postiz.connectedOwn": "Ваш собственный Postiz подключён.",
+ "postiz.keyRefused": "Postiz больше не принимает сохранённый ключ. Введите новый.",
+ "postiz.taken": "MCP-сервер с именем postiz уже настроен. Удалите его в разделе MCP-серверы, чтобы подключить здесь.",
+ "postiz.personScope": "Каждый человек в вашей команде подключает свой Postiz.",
+ "postiz.disconnectConfirm": "Отключить Postiz? Боты перестанут его использовать, пока вы не подключите его снова.",
+ "postiz.error.keyRejected": "Postiz не принял этот API-ключ. Скопируйте его снова: Postiz → «Настройки» → Public API.",
+ "postiz.error.unreachable": "Не удалось связаться с сервером Postiz по адресу {host}. Проверьте адрес и попробуйте снова.",
+ "postiz.error.notPostiz": "{host} ответил не как Postiz. Проверьте адрес. Адрес Postiz Cloud: https://api.postiz.com.",
+ "postiz.error.address": "Проверьте адрес: он начинается с https:// и не содержит ключа или пароля.",
+ "postiz.error.testFailed": "Вход выполнен, но инструменты Postiz не загрузились: {reason} Подключите снова.",
"table.title": "Таблица",
"table.search": "Поиск по всем строкам…",
"table.wrap": "Переносить текст в ячейках",
@@ -3014,7 +3040,10 @@
"keys.xai.desc": "Для моделей Grok от xAI и генерации изображений xAI.",
"keys.xai.link": "Консоль xAI",
"keys.treg.label": "Ключ treg",
+ "keys.postiz.label": "API-ключ Postiz",
+ "keys.purpose.postiz": "Черновики, планирование и публикация постов в соцсетях",
"keys.treg.placeholder": "Вставьте свой ключ treg",
+ "keys.postiz.placeholder": "Вставьте свой API-ключ Postiz",
"keys.treg.desc": "Позволяет ботам искать в X и находить компании, людей, финансирование, новости и другое через treg. Вызовы оплачиваются с вашего баланса treg; ограничений от MausBot нет.",
"keys.treg.link": "Получить ключ на treg.to",
"keys.treg.working": "treg работает ✓",
@@ -5584,6 +5613,7 @@
"apps.category.design": "Дизайн",
"apps.category.marketing": "Маркетинг",
"apps.category.analytics": "Аналитика",
+ "apps.category.social": "Соцсети",
"apps.catalog.googleCalendar.blurb": "Чтение и создание событий",
"apps.catalog.googleSheets.blurb": "Чтение и обновление таблиц",
"apps.catalog.googleDocs.blurb": "Чтение и редактирование документов",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 8b4901a061..b60a56bd3b 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -2553,7 +2553,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"es": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -8069,7 +8099,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"fr": {
"highlevel.unavailable": "87b8ac7f7610e6dd69f520bc59058fd92f307b9f4bcf804075f25d08bcaa7533",
@@ -10605,7 +10665,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"hi": {
"highlevel.unavailable": "87b8ac7f7610e6dd69f520bc59058fd92f307b9f4bcf804075f25d08bcaa7533",
@@ -13141,7 +13231,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"ja": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -19603,7 +19723,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3"
},
"pt-br": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -25820,7 +25970,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"zh": {
"highlevel.unavailable": "87b8ac7f7610e6dd69f520bc59058fd92f307b9f4bcf804075f25d08bcaa7533",
@@ -29199,7 +29379,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"zh-tw": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -33590,7 +33800,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"uk": {
"highlevel.unavailable": "87b8ac7f7610e6dd69f520bc59058fd92f307b9f4bcf804075f25d08bcaa7533",
@@ -36571,7 +36811,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"vi": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -41578,7 +41848,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"tr": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -46585,7 +46885,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3"
},
"pl": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -52941,7 +53271,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3"
},
"ru": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -59381,7 +59741,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3"
},
"it": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -65615,7 +66005,37 @@
"mcp.offFor": "6b1d207adf42298b93659e84b631efbdf5d20d1e4df5b67ad9b9505209c8dd0d",
"secretCard.ref": "280f137504a0ce297ae23b6bdae942a64552504b4e5034da262885e16ee830f4",
"secretCard.file": "eae46e5824a899a781d78f37b06cc46a164942906fa31c334b84d533671f441d",
- "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060"
+ "secretCard.resumed": "0e04dde7518c0eff798a1e91afae232e6239ed746582f6e6561c7eb61476c060",
+ "postiz.description": "688bc4128e2c899b128639b0439edfdf858a3cbb5eb94f7a0dd243b9a97baa17",
+ "postiz.connect": "91a5544ce7deb2aced1218ad8daaa1b572454943dccd3ef354aeefff69135d29",
+ "postiz.reconnect": "7df8908ab53d5adda91226b2e9bd9c991d4abfcd792c3201cd33021cd2c5b224",
+ "postiz.menu": "b69e6e17055c20b35c98e92eab92e291beb81ba6eae87fd857e2999c93071403",
+ "postiz.useKey": "b728ab1dd96f97a14bcdaf22867509f80d45908ce49857aabeadb2fefa81b9c2",
+ "postiz.useSignIn": "8cb1c12d1f55126fd89bf5f240f2ab42243181c758c2d2ebc5a82651666f92ba",
+ "postiz.keyField": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "postiz.addressField": "3c1e367ef3f2c8eb598ca7636bd0dca34b659efb3bbb2b959c15f4d7e4b17bc4",
+ "postiz.keyHelp": "aefdaa679ee4ef33ae5eb26656f86293ceef0515f9000830676e749f1ddf2fcf",
+ "postiz.keyAndAddressHelp": "2cd6f5c7ea69d23cb842e7f303c1ca3be90649b0878664fb20b7671ffb716423",
+ "postiz.keyLink": "5d83d38fead42d6823d9b27818a5ce9de8e940916beccc4d2c187a60333381a0",
+ "postiz.finishInBrowser": "0046ae697ae3eeea3b797e02497a4f8d9cad61dc5ac14706cb708bf03feff551",
+ "postiz.loadingTools": "3b9de862b2124ca81c311406277085046ce5de5df86561def3bc2549b4288c6d",
+ "postiz.signInExpired": "7916f23d26afd77b8c8cf5be1e9dbf04026ec16b8e2b629d3d88e392ddad0a65",
+ "postiz.connectedTo": "2ec1c7c51b2fd6fbcb36d2ecda39467adb0ce8d5ee32244865af3c5c14c8112c",
+ "postiz.connectedKey": "3fb0e97a299feba1abbd81bddbe62c004f37a9fa50cbacee2f0fa450ab04b0da",
+ "postiz.connectedOwn": "99232a1d138e2d3f199edb14d6df688034b2d344649907d0d1dad01a6688d493",
+ "postiz.keyRefused": "1755acce7af8150133a035c892b55c7f5e7da1fb24e05311f4fbabe21791f623",
+ "postiz.taken": "bcdf2ecbf05650f8a1bca6127a7fa8a28fdd1db41d57f25c2715e09f2caa824b",
+ "postiz.personScope": "5e7ff81ac3c2b0551d4f4cc7c0e6cc7cc0d170e9fbbe0f5bb950f2a8dbdab6e3",
+ "postiz.disconnectConfirm": "235bd6173b60ecd0da753bac47e9c263ad0c32176e07a70fc14bc4a7985645cf",
+ "postiz.error.keyRejected": "c2a8842891a937adb5f6f7c3246e6d75d50c04b3a31036e41ca407a5ae75dea1",
+ "postiz.error.unreachable": "288c8269d85b65d797d1718099dc368d942e7b5ad054ce4623d8fbd2cef32701",
+ "postiz.error.notPostiz": "442c15fbeb139907e35251b939c374b318eb1113d984c67ff93953c9349df3f9",
+ "postiz.error.address": "814bdca14238c99fb36de1c1c3b7cbd40daf85da01acca689b7932263e650197",
+ "postiz.error.testFailed": "b6f5be216ee49aa938b127325e25062f669d43388c6b5c1f93f14a27fbaf16ae",
+ "keys.postiz.label": "322df8a3cbeb0f7f4e81ada5151c4f04cddada34f3b2ae76c70d8d43507965a6",
+ "keys.purpose.postiz": "49f9b825d0b729c8ee5db12a0f177260cf2c1a9689a25e9a394d360f83fa595c",
+ "keys.postiz.placeholder": "56b1a7228075ecbabf95ce87f5df31020cb8a644ce910e545e7eec315cb818d3",
+ "apps.category.social": "f1b7505afa5c9e2bd6d68ae814b3582cf38632d56a67913e75e7d8cb10b5a8a3"
}
}
}
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 61afdc9a0f..35cc52fff2 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -12,6 +12,33 @@
"whop.testFailed": "Giriş yapıldı, ancak Whop araçları yüklenemedi: {reason} Yeniden denemek için lütfen tekrar bağlanın.",
"whop.loadingTools": "Giriş yapıldı. Whop araçları yükleniyor…",
"highlevel.unavailable": "Burada kullanılamıyor.",
+ "postiz.description": "Postiz ile sosyal medya gönderilerini taslak olarak hazırlayın, zamanlayın ve yayınlayın.",
+ "postiz.connect": "Postiz’i bağla",
+ "postiz.reconnect": "Postiz’i yeniden bağla",
+ "postiz.menu": "Postiz seçenekleri",
+ "postiz.useKey": "Bunun yerine API anahtarı kullan",
+ "postiz.useSignIn": "Bunun yerine Postiz ile giriş yap",
+ "postiz.keyField": "Postiz API anahtarı",
+ "postiz.addressField": "Postiz sunucu adresi (isteğe bağlı)",
+ "postiz.keyHelp": "Anahtarınızı Postiz’de Ayarlar → Public API altında bulabilirsiniz.",
+ "postiz.keyAndAddressHelp": "Anahtarınızı Postiz’de Ayarlar → Public API altında bulabilirsiniz. Postiz Cloud için adresi boş bırakın veya kendi Postiz sunucunuzun adresini girin.",
+ "postiz.keyLink": "Postiz ayarlarını aç",
+ "postiz.finishInBrowser": "Postiz girişini tarayıcınızda tamamlayın.",
+ "postiz.loadingTools": "Giriş yapıldı. Postiz araçları yükleniyor…",
+ "postiz.signInExpired": "Giriş çok uzun sürdü. Yeniden bağlayın.",
+ "postiz.connectedTo": "{host} ile bağlı",
+ "postiz.connectedKey": "{host} ile API anahtarıyla bağlı",
+ "postiz.connectedOwn": "Kendi Postiz’iniz bağlı.",
+ "postiz.keyRefused": "Postiz kaydedilen anahtarı artık kabul etmiyor. Yeni bir anahtar girin.",
+ "postiz.taken": "postiz adında bir MCP sunucusu zaten kurulu. Burada bağlamak için MCP sunucularından kaldırın.",
+ "postiz.personScope": "Ekibinizdeki herkes kendi Postiz’ini bağlar.",
+ "postiz.disconnectConfirm": "Postiz bağlantısı kesilsin mi? Yeniden bağlayana kadar botlar onu kullanmaz.",
+ "postiz.error.keyRejected": "Postiz bu API anahtarını kabul etmedi. Postiz → Ayarlar → Public API’den yeniden kopyalayın.",
+ "postiz.error.unreachable": "{host} adresindeki Postiz sunucusuna ulaşılamadı. Adresi kontrol edip yeniden deneyin.",
+ "postiz.error.notPostiz": "{host} Postiz gibi yanıt vermedi. Adresi kontrol edin. Postiz Cloud’un adresi https://api.postiz.com.",
+ "postiz.error.address": "Adresi kontrol edin: https:// ile başlar ve içinde anahtar ya da parola olmaz.",
+ "postiz.error.testFailed": "Giriş yapıldı ancak Postiz araçları yüklenemedi: {reason} Lütfen yeniden bağlayın.",
+ "apps.category.social": "Sosyal medya",
"table.title": "Tablo",
"table.search": "Tüm satırlarda ara…",
"table.wrap": "Hücre metnini kaydır",
@@ -4798,7 +4825,10 @@
"apps.x.useOwnKey": "Kendi treg anahtarımı kullan",
"apps.x.remove": "Anahtarı kaldır",
"keys.treg.label": "treg anahtarı",
+ "keys.postiz.label": "Postiz API anahtarı",
+ "keys.purpose.postiz": "Sosyal medya gönderilerini hazırlama, zamanlama ve yayınlama",
"keys.treg.placeholder": "treg anahtarınızı yapıştırın",
+ "keys.postiz.placeholder": "Postiz API anahtarınızı yapıştırın",
"keys.treg.link": "treg.to'dan anahtar alın",
"keys.treg.working": "treg çalışıyor ✓",
"keys.treg.balance": "Bakiye: {balance}.",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 64e50e204f..8742a46ff4 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -1,5 +1,32 @@
{
"highlevel.unavailable": "Тут недоступно.",
+ "postiz.description": "Створюйте чернетки, плануйте й публікуйте дописи в соцмережах через Postiz.",
+ "postiz.connect": "Підключити Postiz",
+ "postiz.reconnect": "Перепідключити Postiz",
+ "postiz.menu": "Параметри Postiz",
+ "postiz.useKey": "Використати API-ключ",
+ "postiz.useSignIn": "Увійти через Postiz",
+ "postiz.keyField": "API-ключ Postiz",
+ "postiz.addressField": "Адреса сервера Postiz (необов’язково)",
+ "postiz.keyHelp": "Ключ є в Postiz: «Налаштування» → Public API.",
+ "postiz.keyAndAddressHelp": "Ключ є в Postiz: «Налаштування» → Public API. Для Postiz Cloud залиште адресу порожньою або введіть адресу власного сервера Postiz.",
+ "postiz.keyLink": "Відкрити налаштування Postiz",
+ "postiz.finishInBrowser": "Завершіть вхід у Postiz у браузері.",
+ "postiz.loadingTools": "Вхід виконано. Завантажуємо інструменти Postiz…",
+ "postiz.signInExpired": "Вхід тривав задовго. Підключіть знову.",
+ "postiz.connectedTo": "Підключено до {host}",
+ "postiz.connectedKey": "Підключено до {host} за API-ключем",
+ "postiz.connectedOwn": "Ваш власний Postiz підключено.",
+ "postiz.keyRefused": "Postiz більше не приймає збережений ключ. Введіть новий.",
+ "postiz.taken": "MCP-сервер з назвою postiz уже налаштовано. Видаліть його в розділі MCP-сервери, щоб підключити тут.",
+ "postiz.personScope": "Кожна людина у вашій команді підключає власний Postiz.",
+ "postiz.disconnectConfirm": "Відключити Postiz? Боти не користуватимуться ним, доки ви не підключите його знову.",
+ "postiz.error.keyRejected": "Postiz не прийняв цей API-ключ. Скопіюйте його знову: Postiz → «Налаштування» → Public API.",
+ "postiz.error.unreachable": "Не вдалося зв’язатися із сервером Postiz за адресою {host}. Перевірте адресу й спробуйте ще раз.",
+ "postiz.error.notPostiz": "{host} відповів не як Postiz. Перевірте адресу. Адреса Postiz Cloud: https://api.postiz.com.",
+ "postiz.error.address": "Перевірте адресу: вона починається з https:// і не містить ключа чи пароля.",
+ "postiz.error.testFailed": "Вхід виконано, але інструменти Postiz не завантажилися: {reason} Підключіть знову.",
+ "apps.category.social": "Соцмережі",
"pro.fromPrice": "Плани MausBot Cloud від {price}/міс. + податки.",
"pro.seePlans": "Порівняти плани",
"cloudBuy.includes": "У кожен план входить",
@@ -2750,7 +2777,10 @@
"apps.x.useOwnKey": "Використовувати мій власний ключ treg",
"apps.x.remove": "Прибрати ключ",
"keys.treg.label": "Ключ treg",
+ "keys.postiz.label": "API-ключ Postiz",
+ "keys.purpose.postiz": "Чернетки, планування й публікація дописів у соцмережах",
"keys.treg.placeholder": "Вставте ваш ключ treg",
+ "keys.postiz.placeholder": "Вставте ваш API-ключ Postiz",
"keys.treg.link": "Отримайте ключ на treg.to",
"keys.treg.working": "treg працює ✓",
"keys.treg.balance": "Баланс: {balance}.",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 0150ed78f5..4435b0eb0a 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -12,6 +12,33 @@
"whop.testFailed": "Đã đăng nhập, nhưng không thể tải các công cụ của Whop: {reason} Vui lòng kết nối lại để thử lại.",
"whop.loadingTools": "Đã đăng nhập. Đang tải công cụ của Whop…",
"highlevel.unavailable": "Không khả dụng ở đây.",
+ "postiz.description": "Soạn nháp, lên lịch và đăng bài mạng xã hội bằng Postiz.",
+ "postiz.connect": "Kết nối Postiz",
+ "postiz.reconnect": "Kết nối lại Postiz",
+ "postiz.menu": "Tùy chọn Postiz",
+ "postiz.useKey": "Dùng khóa API thay thế",
+ "postiz.useSignIn": "Đăng nhập bằng Postiz thay thế",
+ "postiz.keyField": "Khóa API Postiz",
+ "postiz.addressField": "Địa chỉ máy chủ Postiz (không bắt buộc)",
+ "postiz.keyHelp": "Tìm khóa của bạn trong Postiz tại Cài đặt → Public API.",
+ "postiz.keyAndAddressHelp": "Tìm khóa của bạn trong Postiz tại Cài đặt → Public API. Để trống địa chỉ nếu dùng Postiz Cloud, hoặc nhập địa chỉ máy chủ Postiz của riêng bạn.",
+ "postiz.keyLink": "Mở cài đặt Postiz",
+ "postiz.finishInBrowser": "Hoàn tất đăng nhập Postiz trong trình duyệt của bạn.",
+ "postiz.loadingTools": "Đã đăng nhập. Đang tải công cụ của Postiz…",
+ "postiz.signInExpired": "Đăng nhập mất quá lâu. Hãy kết nối lại.",
+ "postiz.connectedTo": "Đã kết nối với {host}",
+ "postiz.connectedKey": "Đã kết nối với {host} bằng khóa API",
+ "postiz.connectedOwn": "Postiz của riêng bạn đã được kết nối.",
+ "postiz.keyRefused": "Postiz không còn chấp nhận khóa đã lưu. Hãy nhập khóa mới.",
+ "postiz.taken": "Đã có một máy chủ MCP tên postiz. Hãy gỡ nó trong Máy chủ MCP để kết nối tại đây.",
+ "postiz.personScope": "Mỗi người trong nhóm tự kết nối Postiz của riêng mình.",
+ "postiz.disconnectConfirm": "Ngắt kết nối Postiz? Bot sẽ ngừng dùng Postiz cho đến khi bạn kết nối lại.",
+ "postiz.error.keyRejected": "Postiz không chấp nhận khóa API này. Hãy sao chép lại từ Postiz → Cài đặt → Public API.",
+ "postiz.error.unreachable": "Không kết nối được với máy chủ Postiz tại {host}. Hãy kiểm tra địa chỉ rồi thử lại.",
+ "postiz.error.notPostiz": "{host} không phản hồi như Postiz. Hãy kiểm tra địa chỉ. Địa chỉ của Postiz Cloud là https://api.postiz.com.",
+ "postiz.error.address": "Hãy kiểm tra địa chỉ: bắt đầu bằng https:// và không chứa khóa hay mật khẩu.",
+ "postiz.error.testFailed": "Đã đăng nhập nhưng không tải được công cụ của Postiz: {reason} Hãy kết nối lại.",
+ "apps.category.social": "Mạng xã hội",
"table.title": "Bảng",
"table.search": "Tìm kiếm tất cả các hàng…",
"table.wrap": "Tự động xuống dòng",
@@ -4798,7 +4825,10 @@
"apps.x.useOwnKey": "Dùng khóa treg của riêng tôi",
"apps.x.remove": "Gỡ khóa",
"keys.treg.label": "Khóa treg",
+ "keys.postiz.label": "Khóa API Postiz",
+ "keys.purpose.postiz": "Soạn nháp, lên lịch và đăng bài mạng xã hội",
"keys.treg.placeholder": "Dán khóa treg của bạn",
+ "keys.postiz.placeholder": "Dán khóa API Postiz của bạn",
"keys.treg.link": "Lấy khóa tại treg.to",
"keys.treg.working": "treg đang hoạt động ✓",
"keys.treg.balance": "Số dư: {balance}.",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 4867c3c59d..e17c38fdd6 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -11,6 +11,33 @@
"whop.setupFailed": "無法新增 Whop。請重新整理後再試一次。",
"whop.testFailed": "已登入,但無法載入 Whop 的工具:{reason} 請重新連線以重試。",
"highlevel.unavailable": "這裡無法使用。",
+ "postiz.description": "用 Postiz 撰寫草稿、排程並發布社群貼文。",
+ "postiz.connect": "連結 Postiz",
+ "postiz.reconnect": "重新連結 Postiz",
+ "postiz.menu": "Postiz 選項",
+ "postiz.useKey": "改用 API 金鑰",
+ "postiz.useSignIn": "改用 Postiz 登入",
+ "postiz.keyField": "Postiz API 金鑰",
+ "postiz.addressField": "Postiz 伺服器位址(選填)",
+ "postiz.keyHelp": "在 Postiz 的「設定 → Public API」可以找到你的金鑰。",
+ "postiz.keyAndAddressHelp": "在 Postiz 的「設定 → Public API」可以找到你的金鑰。使用 Postiz Cloud 時位址留空,或輸入你自己的 Postiz 伺服器位址。",
+ "postiz.keyLink": "開啟 Postiz 設定",
+ "postiz.finishInBrowser": "請在瀏覽器中完成 Postiz 登入。",
+ "postiz.loadingTools": "已登入。正在載入 Postiz 的工具…",
+ "postiz.signInExpired": "登入花了太久時間。請重新連結。",
+ "postiz.connectedTo": "已連結到 {host}",
+ "postiz.connectedKey": "已用 API 金鑰連結到 {host}",
+ "postiz.connectedOwn": "你自己的 Postiz 已連結。",
+ "postiz.keyRefused": "Postiz 已不再接受儲存的金鑰。請輸入新的金鑰。",
+ "postiz.taken": "已經設定了名為 postiz 的 MCP 伺服器。請先在 MCP 伺服器中移除它,再在這裡連結。",
+ "postiz.personScope": "團隊裡每個人都連結自己的 Postiz。",
+ "postiz.disconnectConfirm": "要中斷 Postiz 嗎?在你重新連結之前,機器人都不會使用它。",
+ "postiz.error.keyRejected": "Postiz 不接受這個 API 金鑰。請從 Postiz →「設定 → Public API」重新複製。",
+ "postiz.error.unreachable": "無法連到位於 {host} 的 Postiz 伺服器。請檢查位址後再試一次。",
+ "postiz.error.notPostiz": "{host} 的回應不像 Postiz。請檢查位址。Postiz Cloud 的位址是 https://api.postiz.com。",
+ "postiz.error.address": "請檢查位址:開頭是 https://,而且不含金鑰或密碼。",
+ "postiz.error.testFailed": "已登入,但無法載入 Postiz 的工具:{reason} 請重新連結。",
+ "apps.category.social": "社群",
"table.title": "表格",
"table.search": "搜尋所有列…",
"table.wrap": "儲存格文字自動換行",
@@ -4179,7 +4206,10 @@
"apps.x.useOwnKey": "使用我自己的 treg 金鑰",
"apps.x.remove": "移除金鑰",
"keys.treg.label": "treg 金鑰",
+ "keys.postiz.label": "Postiz API 金鑰",
+ "keys.purpose.postiz": "撰寫草稿、排程並發布社群貼文",
"keys.treg.placeholder": "貼上你的 treg 金鑰",
+ "keys.postiz.placeholder": "貼上你的 Postiz API 金鑰",
"keys.treg.link": "在 treg.to 取得金鑰",
"keys.treg.working": "treg 運作正常 ✓",
"keys.treg.balance": "餘額:{balance}。",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 35fbe31423..b13130a358 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -1,5 +1,32 @@
{
"highlevel.unavailable": "这里不可用。",
+ "postiz.description": "用 Postiz 撰写草稿、排期并发布社交媒体帖子。",
+ "postiz.connect": "连接 Postiz",
+ "postiz.reconnect": "重新连接 Postiz",
+ "postiz.menu": "Postiz 选项",
+ "postiz.useKey": "改用 API 密钥",
+ "postiz.useSignIn": "改用 Postiz 登录",
+ "postiz.keyField": "Postiz API 密钥",
+ "postiz.addressField": "Postiz 服务器地址(可选)",
+ "postiz.keyHelp": "在 Postiz 的“设置 → Public API”中可以找到你的密钥。",
+ "postiz.keyAndAddressHelp": "在 Postiz 的“设置 → Public API”中可以找到你的密钥。使用 Postiz Cloud 时地址留空,或输入你自己的 Postiz 服务器地址。",
+ "postiz.keyLink": "打开 Postiz 设置",
+ "postiz.finishInBrowser": "请在浏览器中完成 Postiz 登录。",
+ "postiz.loadingTools": "已登录。正在加载 Postiz 的工具…",
+ "postiz.signInExpired": "登录用时太长。请重新连接。",
+ "postiz.connectedTo": "已连接到 {host}",
+ "postiz.connectedKey": "已用 API 密钥连接到 {host}",
+ "postiz.connectedOwn": "你自己的 Postiz 已连接。",
+ "postiz.keyRefused": "Postiz 不再接受已保存的密钥。请输入新的密钥。",
+ "postiz.taken": "已经设置了名为 postiz 的 MCP 服务器。请先在 MCP 服务器中移除它,再在这里连接。",
+ "postiz.personScope": "团队里每个人都连接自己的 Postiz。",
+ "postiz.disconnectConfirm": "要断开 Postiz 吗?在你重新连接之前,机器人都不会使用它。",
+ "postiz.error.keyRejected": "Postiz 不接受这个 API 密钥。请从 Postiz →“设置 → Public API”重新复制。",
+ "postiz.error.unreachable": "无法连接到位于 {host} 的 Postiz 服务器。请检查地址后重试。",
+ "postiz.error.notPostiz": "{host} 的响应不像 Postiz。请检查地址。Postiz Cloud 的地址是 https://api.postiz.com。",
+ "postiz.error.address": "请检查地址:以 https:// 开头,且不包含密钥或密码。",
+ "postiz.error.testFailed": "已登录,但无法加载 Postiz 的工具:{reason} 请重新连接。",
+ "apps.category.social": "社交",
"pro.fromPrice": "MausBot Cloud 方案每月 {price} 起,另加税费。",
"pro.seePlans": "比较方案",
"cloudBuy.includes": "所有方案均包含",
@@ -3158,7 +3185,10 @@
"apps.x.useOwnKey": "使用我自己的 treg 密钥",
"apps.x.remove": "移除密钥",
"keys.treg.label": "treg 密钥",
+ "keys.postiz.label": "Postiz API 密钥",
+ "keys.purpose.postiz": "撰写草稿、排期并发布社交帖子",
"keys.treg.placeholder": "粘贴你的 treg 密钥",
+ "keys.postiz.placeholder": "粘贴你的 Postiz API 密钥",
"keys.treg.link": "在 treg.to 获取密钥",
"keys.treg.working": "treg 工作正常 ✓",
"keys.treg.balance": "余额:{balance}。",
diff --git a/src/state/config-status.ts b/src/state/config-status.ts
index 44e4df057e..b89c59bee7 100644
--- a/src/state/config-status.ts
+++ b/src/state/config-status.ts
@@ -23,6 +23,8 @@ export interface ConfigStatus {
xResearch?: { included: boolean; unavailable?: boolean };
/** The person's own treg key for research: configured or not, never the key. */
treg?: SavedKey;
+ /** The Postiz organisation API key, and the Postiz server it belongs to when it is not Postiz Cloud. */
+ postiz?: SavedKey & { url?: string };
/** `everyClaudeBot`: the key runs every Claude bot, not only "Claude (API key)". */
anthropic?: SavedKey & { everyClaudeBot?: boolean };
openai?: SavedKey;
diff --git a/src/state/store.tsx b/src/state/store.tsx
index a685bc90d5..7132c0fc4e 100644
--- a/src/state/store.tsx
+++ b/src/state/store.tsx
@@ -416,7 +416,7 @@ export type { BrowserEngineSummary, BrowserProfile, ConfigStatus, ManagedPolicyS
// A section left out here is wiped from state.config whenever a config frame lands.
export type ConfigStatusFrame = Pick<
ConfigStatus,
- "xai" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "xResearch" | "treg" | "anthropic" | "openai" | "openrouter" | "openaiCompat" | "fleet" | "composio" | "box" | "vps" | "rooms" | "mcp" | "threads" | "automaticRecovery" | "cacheKeepWarm" | "localVm" | "opencodeGo" | "tts" | "decider" | "helpers" | "imageGen" | "live" | "savedKeys" | "profile" | "language" | "features" | "onboarding" | "browserEngine" | "browserProfiles" | "edition" | "budgets" | "billing" | "managedPolicy" | "cloudHome" | "team" | "workspaceBanner"
+ "xai" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "xResearch" | "treg" | "postiz" | "anthropic" | "openai" | "openrouter" | "openaiCompat" | "fleet" | "composio" | "box" | "vps" | "rooms" | "mcp" | "threads" | "automaticRecovery" | "cacheKeepWarm" | "localVm" | "opencodeGo" | "tts" | "decider" | "helpers" | "imageGen" | "live" | "savedKeys" | "profile" | "language" | "features" | "onboarding" | "browserEngine" | "browserProfiles" | "edition" | "budgets" | "billing" | "managedPolicy" | "cloudHome" | "team" | "workspaceBanner"
>;
export function configStatusFromFrame(frame: ConfigStatusFrame): ConfigStatus {
@@ -425,7 +425,7 @@ export function configStatusFromFrame(frame: ConfigStatusFrame): ConfigStatus {
mistral: frame.mistral,
cerebras: frame.cerebras,
groq: frame.groq, deepseek: frame.deepseek,
- meta: frame.meta, xResearch: frame.xResearch, treg: frame.treg,
+ meta: frame.meta, xResearch: frame.xResearch, treg: frame.treg, postiz: frame.postiz,
anthropic: frame.anthropic,
openai: frame.openai,
openrouter: frame.openrouter,
diff --git a/src/types/ogb.d.ts b/src/types/ogb.d.ts
index 3e1f72e299..2d6f0ce156 100644
--- a/src/types/ogb.d.ts
+++ b/src/types/ogb.d.ts
@@ -389,7 +389,7 @@ const __APP_VERSION__: string;
openAtLogin?: { state(): Promise<{ available: boolean; on: boolean }>; set(on: boolean): Promise<{ available: boolean; on: boolean }> };
/** Save a provider credential through Electron's OS-backed store. */
setCredential?(
- name: "composioApiKey" | "xaiApiKey" | "boxToken" | "opencodeGoApiKey" | "ttsKey" | "fishAudioKey" | "jevApiKey" | "openrouterDeciderKey" | "workersAiToken" | "openaiImageApiKey" | "customImageApiKey" | "openaiLiveKey" | "tregApiKey",
+ name: "composioApiKey" | "xaiApiKey" | "boxToken" | "opencodeGoApiKey" | "ttsKey" | "fishAudioKey" | "jevApiKey" | "openrouterDeciderKey" | "workersAiToken" | "openaiImageApiKey" | "customImageApiKey" | "openaiLiveKey" | "tregApiKey" | "postizApiKey",
value: string,
): Promise<ConfigStatus>;
/** In-app auto-update (packaged app only; dormant in dev). Updates