mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 07:41:23 +00:00
feat: phase 4 integrations — connectors, rybbit analytics, webhooks
- core.integrations (migration 00005) with AES-256-GCM-encrypted credentials (PRIMORA_ENCRYPTION_KEY, hex/base64, dev fallback); has_credentials serialization only — secrets never leave the server - /projects/:id/integrations list/create/delete/test; health check hits the stored base URL with a 5s timeout and records status - Rybbit connector: GET …/integrations/:id/analytics proxies /api/organizations + /api/sites/* server-side into a normalized shape - core.webhooks + core.webhook_deliveries; CRUD, deliveries, test, and POST …/deploy-markers. Events: issue.created (new fingerprint on ingest), deploy.marker, webhook.test. X-Primora-Signature HMAC-SHA256 over the raw body; in-process dispatcher, 3 attempts, quadratic backoff, 10s timeout, pending-scan on boot - HTTPS enforced for public targets; HTTP allowed for loopback/private/ self-hosted sinks - Integrations page (connectors + webhooks tabs, inline analytics, delivery log, secret-shown-once), demo-mode stubs - 12 new primora_* MCP tools - workspace 0.4.0 Authored By: TDvorak <[email protected]>
This commit is contained in:
1 parent
8cfddf9184
commit
e25eb92339
82 files changed
+5710
-61
No files matched your search
Generated
+17
-17
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "primora",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "primora",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*"
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"apps/auth": {
|
||||
"name": "@primora/auth",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.19.4",
|
||||
"@hono/zod-validator": "^0.7.2",
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"apps/cli": {
|
||||
"name": "@primora/cli",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^1.8.1",
|
||||
"cac": "^7.0.0",
|
||||
@@ -48,7 +48,7 @@
|
||||
"primora": "dist/cli.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@primora/api-client": "0.3.0",
|
||||
"@primora/api-client": "0.4.0",
|
||||
"@types/node": "^24.0.0",
|
||||
"esbuild": "^0.27.4",
|
||||
"typescript": "^5.9.2"
|
||||
@@ -67,10 +67,10 @@
|
||||
},
|
||||
"apps/frontend": {
|
||||
"name": "@primora/frontend",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"dependencies": {
|
||||
"@primora/api-client": "0.3.0",
|
||||
"@primora/shared-types": "0.3.0",
|
||||
"@primora/api-client": "0.4.0",
|
||||
"@primora/shared-types": "0.4.0",
|
||||
"better-auth": "^1.5.6",
|
||||
"solid-js": "^1.9.12"
|
||||
},
|
||||
@@ -89,9 +89,13 @@
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
},
|
||||
"apps/frontend/node_modules/@primora/shared-types": {
|
||||
"resolved": "packages/shared-types",
|
||||
"link": true
|
||||
},
|
||||
"apps/mcp": {
|
||||
"name": "@primora/mcp",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.30.0",
|
||||
"zod": "^4.1.5"
|
||||
@@ -100,7 +104,7 @@
|
||||
"primora-mcp": "dist/server.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@primora/api-client": "0.3.0",
|
||||
"@primora/api-client": "0.4.0",
|
||||
"@types/node": "^24.0.0",
|
||||
"esbuild": "^0.27.4",
|
||||
"typescript": "^5.9.2"
|
||||
@@ -1365,10 +1369,6 @@
|
||||
"resolved": "apps/mcp",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@primora/shared-types": {
|
||||
"resolved": "packages/shared-types",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@redis/bloom": {
|
||||
"version": "5.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-5.11.0.tgz",
|
||||
@@ -6787,7 +6787,7 @@
|
||||
},
|
||||
"packages/api-client": {
|
||||
"name": "@primora/api-client",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"dependencies": {
|
||||
"cross-fetch": "^4.1.0"
|
||||
},
|
||||
@@ -6797,11 +6797,11 @@
|
||||
},
|
||||
"packages/client": {
|
||||
"name": "@primora/client",
|
||||
"version": "0.3.0"
|
||||
"version": "0.4.0"
|
||||
},
|
||||
"packages/shared-types": {
|
||||
"name": "@primora/shared-types",
|
||||
"version": "0.3.0"
|
||||
"version": "0.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user