Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Every order and every return, from checkout to cash, in one place. Relay listens to every FIG storefront (FIG website and app, Women'secret Egypt and Kuwait, Labesny website and app, and figeg.com until the Shopify store launches) and moves each order through the departments that touch it. Every team sees where each order is and who has it right now.
New → Confirming → Finance check → Ready to pick → Picking → Packed → Shipped → Out for delivery → Delivered → Settled
Customer care Finance └──────── Fulfilment ────────┘ └──────── Shipping ────────┘ Finance (courier cash)
Off-track: Cancelled · Returning to origin (refused) → RTO closed
Returns: Requested → Approved → Pickup → In transit → Received → Inspected → Refund pending → Refunded
Built as a web dashboard first. Every screen works at phone width, and /api/* is the base for the mobile app.
npm install
npm run seed # a month of demo trading (stop `npm run dev` first; the embedded DB is single-process)
npm run dev # http://localhost:3400
Signed out, / is the landing page; staff sign in from its header (password, or Google when
GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET are set). Locally, GOOGLE_MOCK=1 puts a stand-in account chooser behind
"Continue with Google": pick any seeded teammate (*@relay.local) to see exactly what that job sees.
An admin can rebuild the demo floor from Rules & SLAs.
Going live: see deploy/README.md (one server: the console, Postgres, HTTPS, nightly backups).
No database to install: locally Relay runs an embedded Postgres (PGlite) in .data/. In production,
set DATABASE_URL to a real Postgres. The same migrations (drizzle/) run on start in both cases.
A job preset plus a level per area, and an optional store scope. For example, the Kuwait team only ever sees Kuwait.
| Area | Levels |
|---|---|
| Orders, Confirmation, Finance, Pick & pack, Shipping, Returns desk | hidden · view · act · manage |
| Customer data | masked · name & city · full contact |
| Money | hidden · totals · payments · refunds |
| Insights, Channels, Team, Rules | hidden · view · edit · manage |
| Command centre (the whole floor: Command centre + Pipeline) | hidden · view |
| Stock, Purchasing, Warehouse work, Merchandising | hidden · view · act · manage |
Pages are need-to-know. PAGES in src/lib/domain/perms.ts says which levels open each page; the
menu, the phone tabs, the palette and every page guard read it, so what is offered and what opens never
differ. Someone without the Command centre lands on their own first page (care on Confirm, the warehouse
on Pick & pack). Team & access → What each job sees lists each job's pages; page-access.test.ts
pins them. A teammate's stored access is only where they differ from their job, so improving a preset
reaches everyone on that job.
Rules that always hold:
Everything is in .env.example, and /channels shows what each store still needs, its webhook
address, and a Check connection button that verifies the token and its scopes.
2025-07, incremental pull plus
signed webhooks. App orders that FIG's Medusa apps push into Shopify are filed under the app channel
and de-duplicated against the direct Medusa feed.RELAY_WRITE_BACK=true): sends fulfilment and tracking to Shopify, marks COD orders
paid when settled, and adds relay:<stage> tags. It never replaces a tag list, and every attempt is
logged on the timeline.Store facts only ever move an order forward. A late webhook can't undo work the floor already did.
npx tsc --noEmit && npm run lint && npm test && npm run build
src/lib/domain/ pure rules: stages & transitions, access, risk, autopilot, SLAs, return policies
src/lib/engine.ts the only path that changes an order or a return (ingest, move, hold, note, return)
src/lib/connectors/ Shopify, Medusa, WooCommerce, Aramex, Lucida (pure mappers + tested)
src/lib/sync.ts pull + courier tracking; /api/webhooks/[platform]/[channel]; /api/cron
src/lib/insights.ts "Relay noticed" src/lib/copilot/ Ask Relay tools
src/app/(console)/ command centre, orders, pipeline, queues, returns, cash, insights, setup
src/seed/ the demo floor (fictional people, real public catalogue)