mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 08:03:20 +00:00
A small open-source service that holds the APNs key and FCM credentials and sends background push to paired phones on the desktop's behalf. Hosts authenticate with a box challenge and HMAC proof on their pairing key, the same shape the relay uses, so signed-in and accountless desktops share one path. Tokens are stored; alert text is held only for the coalescing window. The contract doc in docs/reference is the source of truth for every wire shape. The interop test runs the real desktop answerer against a real gateway-issued challenge so transcript drift fails in CI.
34 lines
947 B
JSON
34 lines
947 B
JSON
{
|
|
"name": "@orca-cloud/push",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "pnpm clean && tsc -p tsconfig.build.json",
|
|
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
"dev": "tsx watch src/index.ts",
|
|
"lint": "tsc -p tsconfig.json --noEmit",
|
|
"pretest": "pnpm --filter @orca-cloud/push-contract build",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.19.14",
|
|
"@orca-cloud/push-contract": "workspace:*",
|
|
"google-auth-library": "^10.5.0",
|
|
"hono": "^4.12.27",
|
|
"pg": "^8.22.0",
|
|
"tweetnacl": "^1.0.3",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.10.0",
|
|
"@types/pg": "^8.20.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.0.8"
|
|
}
|
|
}
|