contracts 1.3.0: agent jobs, reports, stats, join/poll, env templates, church export
Jobs of fixed types with strict argument schemas, signed by the Hub with Ed25519 over canonical JSON. Agent requests signed with the server's Ed25519 key. Config sealed to the server's X25519 key (X25519 + HKDF + AES-256-GCM; Node has no XSalsa20). Exports encrypted with a key that only travels in the download link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -41,6 +41,17 @@ function contracts(c) {
|
||||
"hub-ai-complete-response": c.hub.aiCompleteResponseSchema,
|
||||
"hub-error": c.hub.hubErrorSchema,
|
||||
"health": c.hub.healthSchema,
|
||||
"agent-job": c.agent.agentJobSchema,
|
||||
"agent-report": c.agent.agentReportSchema,
|
||||
"script-report": c.agent.scriptReportSchema,
|
||||
"agent-stats": c.agent.agentStatsSchema,
|
||||
"agent-join-request": c.agent.joinRequestSchema,
|
||||
"agent-join-response": c.agent.joinResponseSchema,
|
||||
"agent-poll-request": c.agent.pollRequestSchema,
|
||||
"agent-poll-response": c.agent.pollResponseSchema,
|
||||
"agent-job-config": c.agent.jobConfigSchema,
|
||||
"env-template": c.agent.envTemplateSchema,
|
||||
"church-export": c.churchExportSchema,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user