agent-relay-server 0.9.0 → 0.10.1
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 +12 -14
- package/package.json +18 -1
- package/public/index.html +979 -2575
- package/public/manifest.webmanifest +6 -6
- package/public/sw.js +16 -10
- package/recipes/code-review.yaml +26 -0
- package/recipes/debug.yaml +20 -0
- package/recipes/feature.yaml +26 -0
- package/recipes/refactor.yaml +20 -0
- package/recipes/test.yaml +20 -0
- package/runner/src/adapter.ts +69 -0
- package/runner/src/config.ts +144 -0
- package/scripts/orchestrator-spawn-smoke.ts +2 -9
- package/src/agent-spawn.ts +2 -94
- package/src/automations.ts +774 -0
- package/src/bus-outbox.ts +75 -0
- package/src/bus.ts +439 -0
- package/src/cli.ts +251 -5
- package/src/commands-db.ts +160 -0
- package/src/config.ts +1 -1
- package/src/connectors.ts +29 -9
- package/src/daemon.ts +1 -0
- package/src/db.ts +241 -34
- package/src/events.ts +33 -0
- package/src/index.ts +94 -5
- package/src/recipe-db.ts +163 -0
- package/src/recipe-loader.ts +100 -0
- package/src/recipe-runner.ts +206 -0
- package/src/recipe-validator.ts +85 -0
- package/src/routes.ts +649 -155
- package/src/security.ts +128 -2
- package/src/sse.ts +42 -31
- package/src/token-db.ts +96 -0
- package/src/types.ts +1 -493
- package/src/upgrade.ts +14 -28
- package/public/dashboard/actions.js +0 -819
- package/public/dashboard/api.js +0 -336
- package/public/dashboard/app.js +0 -34
- package/public/dashboard/charts.js +0 -128
- package/public/dashboard/computed.js +0 -693
- package/public/dashboard/constants.js +0 -28
- package/public/dashboard/display.js +0 -345
- package/public/dashboard/state.js +0 -129
- package/public/dashboard/utils.js +0 -207
package/README.md
CHANGED
|
@@ -426,21 +426,19 @@ public/
|
|
|
426
426
|
├── index.html # Dashboard markup
|
|
427
427
|
└── dashboard.js # Dashboard Alpine model and behavior
|
|
428
428
|
|
|
429
|
-
|
|
429
|
+
runner/ # Unified provider runner (npm: agent-relay-runner)
|
|
430
|
+
├── src/index.ts # claude-relay / codex-relay entrypoint
|
|
431
|
+
├── src/runner.ts # lifecycle, status, commands, claims
|
|
432
|
+
├── src/adapters/ # Claude and Codex provider adapters
|
|
433
|
+
└── plugins/claude/ # Thin runner-owned Claude plugin
|
|
434
|
+
|
|
435
|
+
claude/ # Legacy Claude skill package (npm: agent-relay-plugin)
|
|
430
436
|
├── .claude-plugin/plugin.json
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
├── session-end.sh # Mark agent offline
|
|
437
|
-
└── poll-inbox.sh # Inbox poll loop
|
|
438
|
-
|
|
439
|
-
codex/ # Codex integration (npm: agent-relay-codex)
|
|
440
|
-
├── bin/agent-relay-codex.ts # Launcher CLI (install/start/doctor)
|
|
441
|
-
├── live-sidecar.ts # App-server <-> relay bridge
|
|
442
|
-
├── hooks/session-start.ts # Starts one sidecar per launched thread
|
|
443
|
-
└── plugin/ # Codex plugin bundle
|
|
437
|
+
└── skills/
|
|
438
|
+
|
|
439
|
+
codex/ # Codex compatibility package (npm: agent-relay-codex)
|
|
440
|
+
├── bin/agent-relay-codex.ts # Compatibility shim to codex-relay
|
|
441
|
+
└── plugin/.codex-plugin/plugin.json # Deprecated plugin marker
|
|
444
442
|
|
|
445
443
|
client/ # TypeScript client (npm: agent-relay-client)
|
|
446
444
|
└── index.ts # RelayClient class + types
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Lightweight HTTP message relay for inter-agent communication across machines",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"workspaces": [
|
|
8
|
+
"sdk",
|
|
9
|
+
"client",
|
|
10
|
+
"codex",
|
|
11
|
+
"runner",
|
|
12
|
+
"orchestrator",
|
|
13
|
+
"claude"
|
|
14
|
+
],
|
|
7
15
|
"bin": {
|
|
8
16
|
"agent-relay": "src/index.ts"
|
|
9
17
|
},
|
|
@@ -11,15 +19,24 @@
|
|
|
11
19
|
"src/**/*.ts",
|
|
12
20
|
"!src/**/*.test.ts",
|
|
13
21
|
"examples/**",
|
|
22
|
+
"recipes/**",
|
|
14
23
|
"scripts/orchestrator-spawn-smoke.ts",
|
|
24
|
+
"runner/src/config.ts",
|
|
25
|
+
"runner/src/adapter.ts",
|
|
26
|
+
"!runner/**/*.test.ts",
|
|
15
27
|
"public/**",
|
|
16
28
|
"README.md",
|
|
17
29
|
"SECURITY.md",
|
|
18
30
|
"CONTRIBUTING.md"
|
|
19
31
|
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"agent-relay-sdk": "0.2.0"
|
|
34
|
+
},
|
|
20
35
|
"scripts": {
|
|
21
36
|
"start": "bun run src/index.ts",
|
|
22
37
|
"dev": "bun --watch run src/index.ts",
|
|
38
|
+
"dev:dashboard": "cd dashboard && npx vite",
|
|
39
|
+
"build:dashboard": "cd dashboard && npx vite build",
|
|
23
40
|
"test": "bun test",
|
|
24
41
|
"smoke:spawn": "bun run scripts/orchestrator-spawn-smoke.ts",
|
|
25
42
|
"typecheck": "tsc --noEmit"
|