agent-pager 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -0
- package/dist/src/cli.js +1110 -0
- package/dist/src/crypto.js +45 -0
- package/dist/src/delivery.js +51 -0
- package/dist/src/hosted-http.js +849 -0
- package/dist/src/hosted-service.js +1038 -0
- package/dist/src/hosted-vercel.js +51 -0
- package/dist/src/http-client.js +28 -0
- package/dist/src/local-config.js +29 -0
- package/dist/src/mcp.js +341 -0
- package/dist/src/render.js +34 -0
- package/dist/src/server.js +441 -0
- package/dist/src/session-adapters.js +23 -0
- package/dist/src/setup.js +90 -0
- package/dist/src/store.js +52 -0
- package/dist/src/supabase.js +32 -0
- package/dist/src/supabase.types.js +13 -0
- package/dist/src/types.js +1 -0
- package/package.json +82 -0
- package/web/app.js +676 -0
- package/web/index.html +199 -0
- package/web/pager-terminal.png +0 -0
- package/web/styles.css +421 -0
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-pager",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Authorized Human Contact Service for paging trusted coding agents.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"agent",
|
|
9
|
+
"pager",
|
|
10
|
+
"codex",
|
|
11
|
+
"claude",
|
|
12
|
+
"mcp",
|
|
13
|
+
"supabase",
|
|
14
|
+
"vercel"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://agent-pager.vercel.app",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/brysonkbarney/agent-pager.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/brysonkbarney/agent-pager/issues"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/src/cli.js",
|
|
25
|
+
"bin": {
|
|
26
|
+
"agent-pager": "dist/src/cli.js"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"registry": "https://registry.npmjs.org/"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist/src",
|
|
34
|
+
"web",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "rm -rf dist && tsc",
|
|
39
|
+
"vercel-build": "rm -rf public && mkdir -p public/web && cp -R web/. public/web/",
|
|
40
|
+
"dev": "tsx src/cli.ts server",
|
|
41
|
+
"start": "node dist/src/cli.js server",
|
|
42
|
+
"launch-check": "tsx src/cli.ts launch-check",
|
|
43
|
+
"check": "tsc --noEmit",
|
|
44
|
+
"test:doctor": "tsx tests/doctor-smoke.ts",
|
|
45
|
+
"test:config": "tsx tests/config-static.ts && tsx tests/cloud-smoke-users-script-static.ts",
|
|
46
|
+
"test:web": "tsx tests/web-static.ts && tsx tests/vercel-output-static.ts",
|
|
47
|
+
"test:mcp": "tsx tests/mcp-smoke.ts",
|
|
48
|
+
"test:smoke": "tsx tests/smoke.ts",
|
|
49
|
+
"test:package": "tsx tests/package-smoke.ts",
|
|
50
|
+
"test:hosted": "tsx tests/hosted-supabase.ts && tsx tests/hosted-http.ts && tsx tests/hosted-cli.ts",
|
|
51
|
+
"test:hosted:service": "tsx tests/hosted-supabase.ts",
|
|
52
|
+
"test:hosted:http": "tsx tests/hosted-http.ts",
|
|
53
|
+
"test:hosted:cli": "tsx tests/hosted-cli.ts",
|
|
54
|
+
"test:hosted:realtime": "tsx tests/hosted-realtime.ts",
|
|
55
|
+
"test:cloud": "tsx tests/cloud-hosted-smoke.ts",
|
|
56
|
+
"supabase": "supabase",
|
|
57
|
+
"db:start": "supabase start",
|
|
58
|
+
"db:stop": "supabase stop",
|
|
59
|
+
"db:link": "supabase link",
|
|
60
|
+
"db:push": "supabase db push",
|
|
61
|
+
"db:types": "supabase gen types typescript --linked > src/supabase.types.ts",
|
|
62
|
+
"db:types:local": "supabase gen types typescript --local > src/supabase.types.ts",
|
|
63
|
+
"keys:server": "node scripts/generate-server-key.mjs",
|
|
64
|
+
"cloud-smoke:users": "node scripts/create-cloud-smoke-users.mjs",
|
|
65
|
+
"cloud-smoke:run": "node scripts/run-cloud-smoke.mjs",
|
|
66
|
+
"pack:dry": "npm pack --dry-run",
|
|
67
|
+
"prepack": "npm run build"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=20"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@types/node": "^24.0.0",
|
|
74
|
+
"playwright": "^1.61.0",
|
|
75
|
+
"supabase": "^2.107.0",
|
|
76
|
+
"tsx": "^4.20.5",
|
|
77
|
+
"typescript": "^5.9.3"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@supabase/supabase-js": "^2.108.2"
|
|
81
|
+
}
|
|
82
|
+
}
|