-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
208 lines (208 loc) · 8.08 KB
/
package.json
File metadata and controls
208 lines (208 loc) · 8.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "agent-relay",
"version": "6.0.7",
"description": "Real-time agent-to-agent communication system",
"type": "module",
"main": "dist/index.cjs",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"install.sh",
"scripts/postinstall.js",
"scripts/build-cjs.mjs",
"relay-snippets",
"LICENSE",
"README.md"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/src/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"bin": {
"agent-relay": "dist/src/cli/index.js"
},
"workspaces": [
"packages/*",
"web"
],
"bundledDependencies": [
"@relaycast/sdk",
"@relayfile/local-mount"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"postinstall": "node scripts/postinstall.js",
"build": "npm run clean && npm run build:rust && turbo run build --filter='./packages/*' && tsc",
"build:sequential": "npm run clean && npm run build:rust && turbo run build --filter='./packages/*' && tsc",
"build:workspace": "npm run clean && npm run build:rust && turbo run build --filter='./packages/*' && tsc",
"build:packages": "turbo run build --filter='./packages/*'",
"build:packages:watch": "turbo run build --filter='./packages/*' --watch",
"build:policy": "cd packages/policy && npm run build",
"build:memory": "cd packages/memory && npm run build",
"build:utils": "cd packages/utils && npm run build",
"build:config": "cd packages/config && npm run build",
"build:trajectory": "cd packages/trajectory && npm run build",
"build:hooks": "cd packages/hooks && npm run build",
"build:user-directory": "cd packages/user-directory && npm run build",
"build:sdk": "cd packages/sdk && npm run build",
"build:telemetry": "cd packages/telemetry && npm run build",
"build:cjs": "node ./scripts/build-cjs.mjs",
"postbuild": "chmod +x dist/src/cli/bootstrap.js dist/src/cli/index.js && npm run build:cjs",
"prepack": "if [ -d node_modules ]; then npm run build; else echo '⚠ node_modules not found, skipping prepack build'; fi && node scripts/prepack-materialize-workspaces.mjs && node scripts/verify-bundled-deps.mjs",
"prepublishOnly": "node scripts/verify-bundled-deps.mjs",
"dev:watch": "tsc -w",
"watch:start": "npm run build && concurrently -k \"npm run dev:watch\" \"node --watch dist/src/cli/index.js start dashboard.js claude\"",
"watch:start:cli-tools": "npm run build && bash ./scripts/watch-cli-tools.sh",
"watch:start:claude": "npm run watch:start:cli-tools -- --tool=claude",
"predev": "npm run clean && npm run build:packages && tsc && chmod +x dist/src/cli/index.js",
"dev": "node dist/src/cli/index.js up --port 3888",
"dev:local": "npm run build && npm link && echo '✓ agent-relay linked globally'",
"dev:unlink": "npm unlink -g agent-relay && echo '✓ agent-relay unlinked'",
"dev:rebuild": "npm run build && echo '✓ Rebuilt (linked version updated)'",
"build:rust": "if command -v ~/.cargo/bin/cargo >/dev/null 2>&1; then ~/.cargo/bin/cargo build --release --bin agent-relay-broker && mkdir -p packages/sdk/bin && cp target/release/agent-relay-broker packages/sdk/bin/agent-relay-broker.new && mv -f packages/sdk/bin/agent-relay-broker.new packages/sdk/bin/agent-relay-broker && echo '✓ broker binary (agent-relay-broker) built and copied to packages/sdk/bin/'; else echo '⚠ Rust not installed, using prebuilt binaries from bin/'; fi",
"start": "node dist/src/cli/index.js",
"pretest": "npm run build",
"test": "vitest run",
"pretest:coverage": "npm run build",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"test:integration": "node tests/integration/run-all-tests.js",
"test:integration:full": "node tests/integration/run-all-tests.js --cli=both",
"test:integration:broker": "npx tsc -p tests/integration/broker/tsconfig.json && cd tests/integration/broker && node --test dist/*.test.js",
"test:integration:broker:build": "npx tsc -p tests/integration/broker/tsconfig.json",
"test:integration:broker:run": "cd tests/integration/broker && node --test dist/*.test.js",
"lint": "eslint src --ext .ts",
"knip": "knip",
"syncpack": "syncpack list-mismatches",
"audit:deps": "node scripts/audit-bundled-deps.mjs",
"pack:validate": "node scripts/validate-npm-tarball.mjs",
"clean": "rm -rf dist && find packages -maxdepth 2 -name dist -type d -exec rm -rf {} + 2>/dev/null || true",
"hooks:install": "./scripts/hooks/install.sh",
"format": "prettier --write .",
"format:check": "prettier --check .",
"todo:scan": "bash scripts/todo-scan.sh",
"codegen:models": "node packages/shared/codegen-ts.mjs && node packages/shared/codegen-py.mjs",
"check:cli-versions": "node scripts/check-cli-versions.mjs",
"update:cli-versions": "node scripts/check-cli-versions.mjs --update && npm run codegen:models",
"codegen:models:ts": "node packages/shared/codegen-ts.mjs",
"codegen:models:py": "node packages/shared/codegen-py.mjs",
"prepare": "node scripts/prepare-husky.cjs",
"dev:web": "cd web && ../node_modules/.bin/sst dev",
"web": "cd web && npm run dev"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md,mdx,yml,yaml}": [
"prettier --write"
],
"packages/shared/cli-registry.yaml": [
"npm run codegen:models",
"git add packages/config/src/cli-registry.generated.ts packages/sdk-py/src/agent_relay/models.py"
]
},
"keywords": [
"agent",
"ai",
"communication",
"relay",
"real-time",
"claude",
"codex",
"gemini"
],
"author": "AgentWorkforce <hello@agentrelay.com>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/AgentWorkforce/relay.git"
},
"bugs": {
"url": "https://github.com/AgentWorkforce/relay/issues"
},
"homepage": "https://github.com/AgentWorkforce/relay#readme",
"dependencies": {
"@agent-relay/cloud": "6.0.7",
"@agent-relay/config": "6.0.7",
"@agent-relay/hooks": "6.0.7",
"@agent-relay/sdk": "6.0.7",
"@agent-relay/telemetry": "6.0.7",
"@agent-relay/trajectory": "6.0.7",
"@agent-relay/user-directory": "6.0.7",
"@agent-relay/utils": "6.0.7",
"@aws-sdk/client-s3": "3.1020.0",
"@modelcontextprotocol/sdk": "^1.0.0",
"@relayauth/core": "^0.1.2",
"@relayauth/sdk": "^0.1.2",
"@relaycast/mcp": "1.0.0",
"@relaycast/sdk": "^1.1.0",
"@relayfile/local-mount": "^0.2.2",
"@relayfile/sdk": "^0.6.0",
"@sinclair/typebox": "^0.34.14",
"agent-trajectories": "^0.5.4",
"chalk": "^4.1.2",
"chokidar": "^5.0.0",
"commander": "^12.1.0",
"compare-versions": "^6.1.1",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"esbuild": "^0.27.2",
"express": "^5.2.1",
"http-proxy-middleware": "^3.0.5",
"ignore": "^7.0.5",
"listr2": "^10.2.1",
"pg": "^8.16.3",
"posthog-node": "^4.0.1",
"smol-toml": "^1.6.0",
"ssh2": "^1.17.0",
"tar": "^7.5.10",
"uuid": "^10.0.0",
"ws": "^8.18.3",
"yaml": "^2.7.0",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.1"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@types/better-sqlite3": "^7.6.13",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^22.19.3",
"@types/ssh2": "^1.15.5",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@vitest/coverage-v8": "^3.2.4",
"concurrently": "^9.2.1",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"knip": "^5.84.1",
"prettier": "^3.6.2",
"sst": "^4.5.1",
"syncpack": "^14.0.0",
"turbo": "^2.8.10",
"typescript": "5.9.3",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "npm@10.5.1",
"overrides": {
"flatted": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}