Agent 1.0.0: polls the Hub for signed jobs, runs crosscode, sends reports and stats

apps/agent (docs/AGENT-1.0-PLAN.md §3-4, §10): listens on nothing; checks
every job (pinned Hub key, server, time window, replays for 90 days,
type per mode, strict arguments) before running crosscode with an
argument array; opens the sealed config into a root-only file only for
the job; redacts log lines; keeps unsent reports in an outbox; encrypts
exports before upload; check-ports on the central server (read-only);
self-update with automatic revert. One bundled dist/cli.js, a systemd
unit and the install script that joins a server with a one-time token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 12:58:08 +02:00
co-authored by Claude Opus 5.5
parent e9e9b5a97f
commit 1eeaf4d94f
28 changed files with 1771 additions and 2 deletions
+20 -1
View File
@@ -38,6 +38,21 @@
"name": "@crosscode/accounts",
"version": "0.0.0"
},
"apps/agent": {
"name": "@crosscode/agent",
"version": "1.0.0",
"license": "UNLICENSED",
"dependencies": {
"@crosscode/contracts": "*",
"zod": "^4.6.7"
},
"bin": {
"crosscode-agent": "dist/cli.js"
},
"engines": {
"node": ">=24"
}
},
"apps/app": {
"name": "@crosscode/app",
"version": "0.0.0"
@@ -876,6 +891,10 @@
"resolved": "apps/accounts",
"link": true
},
"node_modules/@crosscode/agent": {
"resolved": "apps/agent",
"link": true
},
"node_modules/@crosscode/app": {
"resolved": "apps/app",
"link": true
@@ -19633,7 +19652,7 @@
},
"packages/contracts": {
"name": "@crosscode/contracts",
"version": "1.2.0",
"version": "1.3.0",
"license": "UNLICENSED",
"dependencies": {
"zod": "^4.6.7"