@agent-vm/gateway-control-contracts 0.0.109
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/LICENSE +21 -0
- package/dist/index.d.ts +3101 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +674 -0
- package/dist/index.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n\tControlCorrelationSchema,\n\tControlRpcErrorSchema,\n\tControlRpcResultBaseSchema,\n\tControlSessionStateSchema,\n\ttype ControlSessionControllerToPeerEvents,\n\ttype ControlSessionPeerToControllerEvents,\n\tKnownControlDomainSchema,\n\ttype ControlDeliveryPolicy,\n\ttype ControlEnvelope,\n\ttype ControlMessageKind,\n} from '@agent-vm/control-protocol-contracts';\nimport { z } from 'zod/v4';\n\nexport const GatewayControlDomainSchema = z.literal('gateway_control');\n\nexport const GatewayControlRpcOperationSchema = z.enum([\n\t'control_ping',\n\t'caller_context_register',\n\t'lease_create',\n\t'lease_get',\n\t'lease_peek',\n\t'lease_renew',\n\t'lease_release',\n\t'lease_use_start',\n\t'lease_use_heartbeat',\n\t'lease_use_end',\n\t'health_event',\n\t'runtime_status',\n\t'tool_portal_controller_host_action',\n\t'operation_cancel',\n\t'recovery_command',\n]);\n\nexport const GatewayControlRpcResultSchema = z.enum([\n\t...ControlRpcResultBaseSchema.options,\n\t'approval_required',\n\t'approval_stale',\n]);\n\nexport const GatewayControlForbiddenPayloadFieldSchema = z.enum([\n\t'adminToken',\n\t'agentId',\n\t'approvalProof',\n\t'argv',\n\t'controllerInstanceId',\n\t'cwd',\n\t'credentialProfileId',\n\t'egressPolicy',\n\t'env',\n\t'executablePath',\n\t'hostWorkMountDir',\n\t'profileId',\n\t'rawCredentialRef',\n\t'retryPolicy',\n\t'routeToken',\n\t'sessionKey',\n\t'sshIdentityPem',\n\t'vmGenerationOverride',\n\t'workMountDir',\n]);\n\nexport const GatewayControlCapabilityRefSchema = z\n\t.object({\n\t\tname: z.string().min(1),\n\t\tnamespace: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlToolCallCorrelationSchema = ControlCorrelationSchema.extend({\n\tcapability: GatewayControlCapabilityRefSchema.optional(),\n}).strict();\n\nexport const GatewayControlTrustedCallerContextIdSchema = z.string().uuid();\n\nexport const GatewayControlTrustedLeaseContextSchema = z\n\t.object({\n\t\tagentId: z.string().min(1),\n\t\tagentWorkspaceDir: z.string().min(1),\n\t\tapprovalScopeId: z.string().min(1).optional(),\n\t\tcallerContextId: GatewayControlTrustedCallerContextIdSchema,\n\t\tcustodyScopeId: z.string().min(1).optional(),\n\t\thostWorkMountDir: z.string().min(1),\n\t\tprofileId: z.string().min(1),\n\t\tsessionKeyDigest: z.string().min(32),\n\t\tworkMountDir: z.string().min(1),\n\t\tzoneId: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlCallerContextRefSchema = z\n\t.object({\n\t\tcallerContextId: GatewayControlTrustedCallerContextIdSchema,\n\t})\n\t.strict();\n\nexport const GatewayControlCallerContextProofAlgorithmSchema = z.literal('hmac-sha256');\n\nexport const GatewayControlCallerContextProofSchema = z\n\t.object({\n\t\talgorithm: GatewayControlCallerContextProofAlgorithmSchema,\n\t\tdigest: z.string().min(32),\n\t})\n\t.strict();\n\nexport const GatewayControlCallerContextAgentAuthoritySchema = z\n\t.object({\n\t\talgorithm: GatewayControlCallerContextProofAlgorithmSchema,\n\t\tdigest: z.string().min(32),\n\t\tkeyId: z.string().min(1),\n\t})\n\t.strict();\n\nexport interface GatewayControlCallerContextProofPayloadInput {\n\treadonly agentId: string;\n\treadonly agentWorkspaceDir: string;\n\treadonly purpose?: 'tool_vm_lease' | 'tool_portal_controller_host_action' | undefined;\n\treadonly sessionKey: string;\n\treadonly workMountDir: string;\n\treadonly zoneId: string;\n}\n\nexport function buildGatewayControlCallerContextProofPayload(\n\tinput: GatewayControlCallerContextProofPayloadInput,\n): string {\n\tconst purpose = input.purpose ?? 'tool_vm_lease';\n\treturn [\n\t\t'gateway-control-caller-context-v1',\n\t\tinput.zoneId,\n\t\tinput.agentId,\n\t\tinput.agentWorkspaceDir,\n\t\tinput.workMountDir,\n\t\tinput.sessionKey,\n\t\tpurpose,\n\t].join('\\u0000');\n}\n\nexport function buildGatewayControlCallerContextAgentAuthorityPayload(\n\tinput: GatewayControlCallerContextProofPayloadInput,\n): string {\n\tconst purpose = input.purpose ?? 'tool_vm_lease';\n\treturn [\n\t\t'gateway-control-agent-authority-v1',\n\t\tinput.zoneId,\n\t\tinput.agentId,\n\t\tinput.agentWorkspaceDir,\n\t\tinput.workMountDir,\n\t\tinput.sessionKey,\n\t\tpurpose,\n\t].join('\\u0000');\n}\n\nexport const GatewayControlCallerContextRegisterPayloadSchema = z\n\t.object({\n\t\tadapterEvidence: z\n\t\t\t.object({\n\t\t\t\tagentAuthority: GatewayControlCallerContextAgentAuthoritySchema,\n\t\t\t\tagentId: z.string().min(1),\n\t\t\t\tagentWorkspaceDir: z.string().min(1),\n\t\t\t\tproof: GatewayControlCallerContextProofSchema,\n\t\t\t\tpurpose: z.enum(['tool_vm_lease', 'tool_portal_controller_host_action']).optional(),\n\t\t\t\tsessionKey: z.string().min(1),\n\t\t\t\tworkMountDir: z.string().min(1),\n\t\t\t\tzoneId: z.string().min(1),\n\t\t\t})\n\t\t\t.strict(),\n\t\tcorrelation: GatewayControlToolCallCorrelationSchema.optional(),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseCreateIntentPayloadSchema = z\n\t.object({\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tcorrelation: GatewayControlToolCallCorrelationSchema.optional(),\n\t\tgatewayWorkspaceDir: z.string().min(1).optional(),\n\t\tidleTtlHintMs: z.number().int().positive().optional(),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseIdPayloadSchema = z\n\t.object({\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tleaseId: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseUseStartPayloadSchema = z\n\t.object({\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tcorrelation: GatewayControlToolCallCorrelationSchema.optional(),\n\t\tleaseId: z.string().min(1),\n\t\tuseId: z.string().uuid(),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseUseHeartbeatPayloadSchema = z\n\t.object({\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tleaseId: z.string().min(1),\n\t\tobservedAtMs: z.number().int().positive().optional(),\n\t\tuseId: z.string().uuid(),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseUseEndPayloadSchema = z\n\t.object({\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tleaseId: z.string().min(1),\n\t\treason: z.enum(['completed', 'failed', 'cancelled', 'timed_out']),\n\t\tuseId: z.string().uuid(),\n\t})\n\t.strict();\n\nexport const GatewayControlHealthEventResultSchema = z.enum([\n\t'ok',\n\t'failed',\n\t'timeout',\n\t'degraded',\n]);\n\nexport const GatewayControlProviderRuntimeHealthSchema = z.enum([\n\t'healthy',\n\t'transitioning',\n\t'unhealthy_recoverable',\n\t'unhealthy_unrecoverable',\n]);\n\nexport const GatewayControlControllerRequestHealthOperationSchema = z.enum([\n\t'zone-git-push',\n\t'lease-create',\n\t'lease-get',\n\t'lease-peek',\n\t'lease-release',\n\t'lease-use-start',\n\t'lease-use-end',\n]);\n\nexport const GatewayControlSessionHealthOperationSchema = z.enum([\n\t'control-session-hello',\n\t'control-session-heartbeat',\n\t'control-session-disconnect',\n\t'control-session-reconnect',\n]);\n\nexport const GatewayControlToolVmSshHealthOperationSchema = z.enum([\n\t'command',\n\t'file-bridge',\n\t'finalize',\n\t'probe',\n]);\n\nconst GatewayControlHealthEventBaseSchema = z\n\t.object({\n\t\tcorrelation: ControlCorrelationSchema.optional(),\n\t\tobservedAtMs: z.number().int().positive(),\n\t\tresult: GatewayControlHealthEventResultSchema,\n\t})\n\t.strict();\n\nexport const GatewayControlHealthEventPayloadSchema = z.discriminatedUnion('eventKind', [\n\tGatewayControlHealthEventBaseSchema.extend({\n\t\tchannelProviderId: z.string().min(1),\n\t\teventKind: z.literal('agent-channel-provider-health'),\n\t\tproviderRuntimeHealth: GatewayControlProviderRuntimeHealthSchema,\n\t\tsafeDetails: z.record(z.string(), z.string()).optional(),\n\t}).strict(),\n\tGatewayControlHealthEventBaseSchema.extend({\n\t\tattempt: z.number().int().positive(),\n\t\telapsedMs: z.number().int().nonnegative(),\n\t\terrorCode: z.string().min(1).optional(),\n\t\teventKind: z.literal('controller-request'),\n\t\tmaxAttempts: z.number().int().positive(),\n\t\toperation: GatewayControlControllerRequestHealthOperationSchema,\n\t\tstatusCode: z.number().int().positive().optional(),\n\t}).strict(),\n\tGatewayControlHealthEventBaseSchema.extend({\n\t\telapsedMs: z.number().int().nonnegative(),\n\t\teventKind: z.literal('gateway-control-session'),\n\t\toperation: GatewayControlSessionHealthOperationSchema,\n\t\tsafeDetails: z\n\t\t\t.object({\n\t\t\t\tpeerId: z.string().min(1),\n\t\t\t})\n\t\t\t.catchall(z.string()),\n\t}).strict(),\n\tGatewayControlHealthEventBaseSchema.extend({\n\t\teventKind: z.literal('gateway-plugin-health'),\n\t}).strict(),\n\tGatewayControlHealthEventBaseSchema.extend({\n\t\tagentId: z.string().min(1),\n\t\telapsedMs: z.number().int().nonnegative(),\n\t\terrorCode: z.string().min(1).optional(),\n\t\tleaseId: z.string().min(1),\n\t\teventKind: z.literal('tool-vm-ssh'),\n\t\toperation: GatewayControlToolVmSshHealthOperationSchema,\n\t}).strict(),\n]);\n\nexport const GatewayControlRuntimeFindingSchema = z\n\t.object({\n\t\tid: z.string().min(1),\n\t\tok: z.boolean(),\n\t\tsafeMessage: z.string().min(1).optional(),\n\t\tseverity: z.enum(['info', 'warning', 'error']).optional(),\n\t})\n\t.strict();\n\nexport const GatewayControlRuntimeStatusPayloadSchema = z\n\t.object({\n\t\tfindings: z.array(GatewayControlRuntimeFindingSchema),\n\t\tobservedAtMs: z.number().int().positive(),\n\t\tproviderRuntimeHealth: z\n\t\t\t.enum(['healthy', 'transitioning', 'unhealthy_recoverable', 'unhealthy_unrecoverable'])\n\t\t\t.optional(),\n\t\tstatusKind: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlToolPortalControllerHostActionPayloadSchema = z\n\t.object({\n\t\tactionId: z.literal('zone_git_push'),\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tcorrelation: GatewayControlToolCallCorrelationSchema,\n\t\texpectedHead: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlZoneGitCommitSummarySchema = z\n\t.object({\n\t\tsha: z.string().min(1),\n\t\tsubject: z.string(),\n\t})\n\t.strict();\n\nexport const GatewayControlZoneGitPushResultSchema = z\n\t.object({\n\t\tbranch: z.string().min(1),\n\t\tlocalHead: z.string().min(1),\n\t\tpushedCommits: z.array(GatewayControlZoneGitCommitSummarySchema),\n\t\tremoteHead: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlToolPortalControllerHostActionResultSchema = z\n\t.object({\n\t\tactionId: z.literal('zone_git_push'),\n\t\tresult: GatewayControlZoneGitPushResultSchema,\n\t})\n\t.strict();\n\nexport const GatewayControlActiveOperationIdSchema = z.string().uuid();\n\nexport const GatewayInitiatedOperationCancelPayloadSchema = z\n\t.object({\n\t\tactiveOperationId: GatewayControlActiveOperationIdSchema,\n\t\tinitiatedBy: z.literal('gateway'),\n\t\treason: z.enum(['caller_cancelled', 'gateway_shutdown', 'operation_failed']),\n\t})\n\t.strict();\n\nexport const ControllerInitiatedGatewayOperationCancelPayloadSchema = z\n\t.object({\n\t\tactiveOperationId: GatewayControlActiveOperationIdSchema,\n\t\tinitiatedBy: z.literal('controller'),\n\t\treason: z.enum(['controller_recovery', 'operator_cancelled', 'timeout']),\n\t})\n\t.strict();\n\nexport const GatewayControlOperationCancelPayloadSchema = z.discriminatedUnion('initiatedBy', [\n\tGatewayInitiatedOperationCancelPayloadSchema,\n\tControllerInitiatedGatewayOperationCancelPayloadSchema,\n]);\n\nexport const GatewayControlRecoveryCommandPayloadSchema = z.discriminatedUnion('action', [\n\tz.object({ action: z.literal('refresh_runtime_status') }).strict(),\n\tz.object({ action: z.literal('restart_control_service') }).strict(),\n\tz\n\t\t.object({\n\t\t\taction: z.literal('close_stale_session'),\n\t\t\ttargetSessionId: z.string().uuid(),\n\t\t})\n\t\t.strict(),\n]);\n\nexport const GatewayControlPingPayloadSchema = z.object({}).strict();\n\nexport const GatewayControlHeartbeatPayloadSchema = z\n\t.object({\n\t\telapsedMs: z.number().int().nonnegative().optional(),\n\t\tobservedAtMs: z.number().int().positive(),\n\t})\n\t.strict();\n\nexport const GatewayControlRpcErrorSchema = ControlRpcErrorSchema;\n\nexport const GatewayControlSessionStateSchema = ControlSessionStateSchema;\n\nexport const GatewayControlToolVmSshAccessSchema = z\n\t.object({\n\t\thost: z.string().min(1),\n\t\tidentityPem: z.string().min(1).optional(),\n\t\tknownHostsLine: z.string().optional(),\n\t\tport: z.number().int().positive(),\n\t\tuser: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseSnapshotSchema = z\n\t.object({\n\t\tagentId: z.string().min(1),\n\t\tactiveUseId: z.string().uuid().optional(),\n\t\texpiresAtMs: z.number().int().positive().optional(),\n\t\tidleTtlMs: z.number().int().positive(),\n\t\tleaseId: z.string().min(1),\n\t\tssh: GatewayControlToolVmSshAccessSchema.optional(),\n\t\tstate: z.enum(['idle', 'active', 'expired', 'released']),\n\t\ttcpSlot: z.number().int().nonnegative(),\n\t\ttransport: z.literal('ssh-sandbox'),\n\t\tworkdir: z.string().min(1),\n\t\tzoneId: z.string().min(1),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseUseSnapshotSchema = z\n\t.object({\n\t\texpiresAt: z.number().int().positive().optional(),\n\t\theartbeatAfterMs: z.number().int().positive().optional(),\n\t\tleaseId: z.string().min(1),\n\t\tstate: z.enum(['active', 'ended', 'expired']),\n\t\tuseId: z.string().uuid(),\n\t})\n\t.strict();\n\nexport const GatewayControlLeaseRejectionReasonSchema = z.enum([\n\t'absent',\n\t'generation_stale',\n\t'force_released',\n\t'releasing',\n\t'use_tombstoned',\n\t'runtime_not_ready',\n]);\n\nexport const GatewayControlRpcDomainCorrelationSchema = ControlCorrelationSchema;\n\nconst GatewayControlRpcForbiddenResponseFieldsSchema = {\n\tactiveOperationId: z.never().optional(),\n\tapprovalRequired: z.never().optional(),\n\tcallerContext: z.never().optional(),\n\tcontrollerHostAction: z.never().optional(),\n\terror: z.never().optional(),\n\tlease: z.never().optional(),\n\tleaseRejectionReason: z.never().optional(),\n\tleaseUse: z.never().optional(),\n} as const;\n\nexport const GatewayControlRpcResponseBasePayloadSchema = z.object({\n\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\tresponseToMessageId: z.string().uuid(),\n\tresult: GatewayControlRpcResultSchema,\n});\n\nconst GatewayControlRpcErrorResponseResultSchema = z.enum([\n\t'failed',\n\t'timeout',\n\t'rejected',\n\t'cancelled',\n\t'stale_generation',\n\t'approval_required',\n\t'approval_stale',\n]);\n\nconst GatewayControlRpcResponseCorrelationSchema = z\n\t.object({\n\t\tresponseToMessageId: z.string().uuid(),\n\t})\n\t.strict();\n\nexport const GatewayControlRpcBareResponsePayloadSchema = z.discriminatedUnion('result', [\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\tresult: z.literal('ok'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema,\n\t\tresult: GatewayControlRpcErrorResponseResultSchema,\n\t}).strict(),\n]);\n\nexport const GatewayControlRpcCallerContextResponsePayloadSchema = z.discriminatedUnion('result', [\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\tcallerContext: GatewayControlCallerContextRefSchema,\n\t\tresult: z.literal('ok'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema,\n\t\tresult: GatewayControlRpcErrorResponseResultSchema,\n\t}).strict(),\n]);\n\nexport const GatewayControlRpcLeaseResponsePayloadSchema = z.discriminatedUnion('result', [\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\tlease: GatewayControlLeaseSnapshotSchema,\n\t\tresult: z.literal('ok'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema.optional(),\n\t\tleaseRejectionReason: GatewayControlLeaseRejectionReasonSchema,\n\t\tresult: z.literal('rejected'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema,\n\t\tleaseRejectionReason: GatewayControlLeaseRejectionReasonSchema.optional(),\n\t\tresult: z.enum([\n\t\t\t'failed',\n\t\t\t'timeout',\n\t\t\t'cancelled',\n\t\t\t'stale_generation',\n\t\t\t'approval_required',\n\t\t\t'approval_stale',\n\t\t]),\n\t}).strict(),\n]);\n\nexport const GatewayControlRpcLeaseUseResponsePayloadSchema = z.discriminatedUnion('result', [\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\tleaseUse: GatewayControlLeaseUseSnapshotSchema,\n\t\tresult: z.literal('ok'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema.optional(),\n\t\tleaseRejectionReason: GatewayControlLeaseRejectionReasonSchema,\n\t\tresult: z.literal('rejected'),\n\t}).strict(),\n\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\terror: GatewayControlRpcErrorSchema,\n\t\tleaseRejectionReason: GatewayControlLeaseRejectionReasonSchema.optional(),\n\t\tresult: z.enum([\n\t\t\t'failed',\n\t\t\t'timeout',\n\t\t\t'cancelled',\n\t\t\t'stale_generation',\n\t\t\t'approval_required',\n\t\t\t'approval_stale',\n\t\t]),\n\t}).strict(),\n]);\n\nexport const GatewayControlRpcControllerHostActionResponsePayloadSchema = z.discriminatedUnion(\n\t'result',\n\t[\n\t\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\t\tcontrollerHostAction: GatewayControlToolPortalControllerHostActionResultSchema,\n\t\t\tresult: z.literal('ok'),\n\t\t}).strict(),\n\t\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\t\terror: GatewayControlRpcErrorSchema,\n\t\t\tresult: GatewayControlRpcErrorResponseResultSchema,\n\t\t}).strict(),\n\t],\n);\n\nexport const GatewayControlRpcOperationCancelResponsePayloadSchema = z.discriminatedUnion(\n\t'result',\n\t[\n\t\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\t\tactiveOperationId: GatewayControlActiveOperationIdSchema,\n\t\t\tresult: z.literal('ok'),\n\t\t}).strict(),\n\t\tGatewayControlRpcResponseCorrelationSchema.extend({\n\t\t\t...GatewayControlRpcForbiddenResponseFieldsSchema,\n\t\t\tactiveOperationId: GatewayControlActiveOperationIdSchema.optional(),\n\t\t\terror: GatewayControlRpcErrorSchema,\n\t\t\tresult: GatewayControlRpcErrorResponseResultSchema,\n\t\t}).strict(),\n\t],\n);\n\nexport const GatewayControlRpcResponsePayloadSchema = z.union([\n\tGatewayControlRpcBareResponsePayloadSchema,\n\tGatewayControlRpcCallerContextResponsePayloadSchema,\n\tGatewayControlRpcLeaseResponsePayloadSchema,\n\tGatewayControlRpcLeaseUseResponsePayloadSchema,\n\tGatewayControlRpcControllerHostActionResponsePayloadSchema,\n\tGatewayControlRpcOperationCancelResponsePayloadSchema,\n]);\n\nconst GatewayControlRpcControlPingCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.literal('control_ping'),\n\t\tpayload: GatewayControlRpcBareResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcCallerContextRegisterCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.literal('caller_context_register'),\n\t\tpayload: GatewayControlRpcCallerContextResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcLeaseCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.enum(['lease_create', 'lease_get', 'lease_peek', 'lease_renew', 'lease_release']),\n\t\tpayload: GatewayControlRpcLeaseResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcLeaseUseCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.enum(['lease_use_start', 'lease_use_heartbeat', 'lease_use_end']),\n\t\tpayload: GatewayControlRpcLeaseUseResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcControllerHostActionCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.literal('tool_portal_controller_host_action'),\n\t\tpayload: GatewayControlRpcControllerHostActionResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcOperationCancelCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.literal('operation_cancel'),\n\t\tpayload: GatewayControlRpcOperationCancelResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlRpcRecoveryCommandResultMessageSchema =\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command_result'),\n\t\toperation: z.literal('recovery_command'),\n\t\tpayload: GatewayControlRpcBareResponsePayloadSchema,\n\t}).strict();\n\nconst GatewayControlHeartbeatMessageSchema = z\n\t.object({\n\t\tkind: z.literal('heartbeat'),\n\t\toperation: z.never().optional(),\n\t\tpayload: GatewayControlHeartbeatPayloadSchema,\n\t})\n\t.strict();\n\nexport const GatewayControlRpcCommandResultMessageSchema = z.discriminatedUnion('operation', [\n\tGatewayControlRpcControlPingCommandResultMessageSchema,\n\tGatewayControlRpcCallerContextRegisterCommandResultMessageSchema,\n\tGatewayControlRpcLeaseCommandResultMessageSchema,\n\tGatewayControlRpcLeaseUseCommandResultMessageSchema,\n\tGatewayControlRpcControllerHostActionCommandResultMessageSchema,\n\tGatewayControlRpcOperationCancelCommandResultMessageSchema,\n\tGatewayControlRpcRecoveryCommandResultMessageSchema,\n]);\n\nexport const GatewayControlRpcCommandMessageSchema = z.discriminatedUnion('operation', [\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('control_ping'),\n\t\tpayload: GatewayControlPingPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('caller_context_register'),\n\t\tpayload: GatewayControlCallerContextRegisterPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_create'),\n\t\tpayload: GatewayControlLeaseCreateIntentPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_get'),\n\t\tpayload: GatewayControlLeaseIdPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_peek'),\n\t\tpayload: GatewayControlLeaseIdPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_renew'),\n\t\tpayload: GatewayControlLeaseIdPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_release'),\n\t\tpayload: GatewayControlLeaseIdPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_use_start'),\n\t\tpayload: GatewayControlLeaseUseStartPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_use_heartbeat'),\n\t\tpayload: GatewayControlLeaseUseHeartbeatPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('lease_use_end'),\n\t\tpayload: GatewayControlLeaseUseEndPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('tool_portal_controller_host_action'),\n\t\tpayload: GatewayControlToolPortalControllerHostActionPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('operation_cancel'),\n\t\tpayload: GatewayControlOperationCancelPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('command'),\n\t\toperation: z.literal('recovery_command'),\n\t\tpayload: GatewayControlRecoveryCommandPayloadSchema,\n\t}).strict(),\n]);\n\nexport const GatewayControlRpcEventMessageSchema = z.discriminatedUnion('operation', [\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('event'),\n\t\toperation: z.literal('health_event'),\n\t\tpayload: GatewayControlHealthEventPayloadSchema,\n\t}).strict(),\n\tGatewayControlRpcDomainCorrelationSchema.extend({\n\t\tkind: z.literal('event'),\n\t\toperation: z.literal('runtime_status'),\n\t\tpayload: GatewayControlRuntimeStatusPayloadSchema,\n\t}).strict(),\n]);\n\nexport const GatewayControlEventOnlyOperationSchema = z.enum(['health_event', 'runtime_status']);\n\nexport const GatewayControlRpcCommandResultOperationSchema =\n\tGatewayControlRpcOperationSchema.exclude(GatewayControlEventOnlyOperationSchema.options);\n\nexport const GatewayControlRpcMessageSchema = z.union([\n\tGatewayControlHeartbeatMessageSchema,\n\tGatewayControlRpcCommandMessageSchema,\n\tGatewayControlRpcEventMessageSchema,\n\tGatewayControlRpcCommandResultMessageSchema,\n]);\n\nexport const gatewayControlDeliveryPolicyByKind = {\n\theartbeat: 'critical_idempotent',\n} as const satisfies Partial<Record<ControlMessageKind, ControlDeliveryPolicy>>;\n\nexport const gatewayControlDeliveryPolicyByOperation = {\n\tcaller_context_register: 'critical_idempotent',\n\tcontrol_ping: 'acked_idempotent',\n\thealth_event: 'append_only_observation',\n\tlease_create: 'critical_idempotent',\n\tlease_get: 'acked_idempotent',\n\tlease_peek: 'acked_idempotent',\n\tlease_release: 'acked_idempotent',\n\tlease_renew: 'single_use_critical',\n\tlease_use_end: 'acked_idempotent',\n\tlease_use_heartbeat: 'single_use_critical',\n\tlease_use_start: 'critical_idempotent',\n\toperation_cancel: 'acked_idempotent',\n\trecovery_command: 'critical_idempotent',\n\truntime_status: 'latest_wins',\n\ttool_portal_controller_host_action: 'single_use_critical',\n} as const satisfies Record<GatewayControlRpcOperation, ControlDeliveryPolicy>;\n\nexport function deriveGatewayControlDeliveryPolicy(\n\tenvelope: Pick<ControlEnvelope, 'idempotencyKey' | 'kind' | 'operation'>,\n): ControlDeliveryPolicy {\n\tif (envelope.operation === 'lease_create' && envelope.idempotencyKey === undefined) {\n\t\treturn 'single_use_critical';\n\t}\n\tconst parsedOperation = GatewayControlRpcOperationSchema.safeParse(envelope.operation);\n\tif (parsedOperation.success) {\n\t\tconst operationPolicy = gatewayControlDeliveryPolicyByOperation[parsedOperation.data];\n\t\tif (operationPolicy !== undefined) {\n\t\t\treturn operationPolicy;\n\t\t}\n\t}\n\tconst kindPolicy =\n\t\tenvelope.kind === 'heartbeat' ? gatewayControlDeliveryPolicyByKind.heartbeat : undefined;\n\tif (kindPolicy !== undefined) {\n\t\treturn kindPolicy;\n\t}\n\tthrow new Error(\n\t\t`no gateway control delivery policy for ${envelope.kind}:${envelope.operation ?? '<none>'}`,\n\t);\n}\n\nexport function assertGatewayControlEnvelopeDeliveryPolicy(envelope: ControlEnvelope): void {\n\tconst derivedPolicy = deriveGatewayControlDeliveryPolicy(envelope);\n\tif (envelope.deliveryPolicy !== derivedPolicy) {\n\t\tthrow new Error(\n\t\t\t`control delivery policy mismatch: ${envelope.deliveryPolicy} !== ${derivedPolicy}`,\n\t\t);\n\t}\n}\n\nexport const gatewayControlCommandExecutionTimeoutMsByOperation = {\n\tcaller_context_register: 5_000,\n\tcontrol_ping: 5_000,\n\thealth_event: 5_000,\n\tlease_create: 180_000,\n\tlease_get: 5_000,\n\tlease_peek: 5_000,\n\tlease_release: 5_000,\n\tlease_renew: 10_000,\n\tlease_use_end: 5_000,\n\tlease_use_heartbeat: 5_000,\n\tlease_use_start: 10_000,\n\toperation_cancel: 5_000,\n\trecovery_command: 10_000,\n\truntime_status: 5_000,\n\ttool_portal_controller_host_action: 120_000,\n} as const satisfies Record<GatewayControlRpcOperation, number>;\n\nexport type GatewayControlRpcOperation = z.infer<typeof GatewayControlRpcOperationSchema>;\nexport type GatewayControlRpcMessage = z.infer<typeof GatewayControlRpcMessageSchema>;\nexport type GatewayControlControllerToGatewayEvents =\n\tControlSessionControllerToPeerEvents<GatewayControlRpcMessage>;\nexport type GatewayControlGatewayToControllerEvents =\n\tControlSessionPeerToControllerEvents<GatewayControlRpcMessage>;\nexport type GatewayControlCallerContextRef = z.infer<typeof GatewayControlCallerContextRefSchema>;\nexport type GatewayControlCallerContextProof = z.infer<\n\ttypeof GatewayControlCallerContextProofSchema\n>;\nexport type GatewayControlCallerContextAgentAuthority = z.infer<\n\ttypeof GatewayControlCallerContextAgentAuthoritySchema\n>;\nexport type GatewayControlCallerContextRegisterPayload = z.infer<\n\ttypeof GatewayControlCallerContextRegisterPayloadSchema\n>;\nexport type GatewayControlLeaseCreateIntentPayload = z.infer<\n\ttypeof GatewayControlLeaseCreateIntentPayloadSchema\n>;\nexport type GatewayControlLeaseIdPayload = z.infer<typeof GatewayControlLeaseIdPayloadSchema>;\nexport type GatewayControlLeaseSnapshot = z.infer<typeof GatewayControlLeaseSnapshotSchema>;\nexport type GatewayControlLeaseUseEndPayload = z.infer<\n\ttypeof GatewayControlLeaseUseEndPayloadSchema\n>;\nexport type GatewayControlLeaseUseHeartbeatPayload = z.infer<\n\ttypeof GatewayControlLeaseUseHeartbeatPayloadSchema\n>;\nexport type GatewayControlLeaseUseSnapshot = z.infer<typeof GatewayControlLeaseUseSnapshotSchema>;\nexport type GatewayControlLeaseUseStartPayload = z.infer<\n\ttypeof GatewayControlLeaseUseStartPayloadSchema\n>;\nexport type GatewayControlProviderRuntimeHealth = z.infer<\n\ttypeof GatewayControlProviderRuntimeHealthSchema\n>;\nexport type GatewayControlHeartbeatPayload = z.infer<typeof GatewayControlHeartbeatPayloadSchema>;\nexport type GatewayControlHealthEventPayload = z.infer<\n\ttypeof GatewayControlHealthEventPayloadSchema\n>;\nexport type GatewayControlRuntimeStatusPayload = z.infer<\n\ttypeof GatewayControlRuntimeStatusPayloadSchema\n>;\nexport type GatewayControlToolPortalControllerHostActionPayload = z.infer<\n\ttypeof GatewayControlToolPortalControllerHostActionPayloadSchema\n>;\nexport type GatewayControlToolPortalControllerHostActionResult = z.infer<\n\ttypeof GatewayControlToolPortalControllerHostActionResultSchema\n>;\nexport type GatewayControlZoneGitPushResult = z.infer<typeof GatewayControlZoneGitPushResultSchema>;\n\nexport function buildGatewayControlJsonSchemas(): Readonly<Record<string, unknown>> {\n\treturn {\n\t\tdomain: z.toJSONSchema(GatewayControlDomainSchema, {\n\t\t\tio: 'input',\n\t\t\tunrepresentable: 'any',\n\t\t}),\n\t\tmessage: z.toJSONSchema(GatewayControlRpcMessageSchema, {\n\t\t\tio: 'input',\n\t\t\tunrepresentable: 'any',\n\t\t}),\n\t\toperation: z.toJSONSchema(GatewayControlRpcOperationSchema, {\n\t\t\tio: 'input',\n\t\t\tunrepresentable: 'any',\n\t\t}),\n\t};\n}\n\nexport function assertGatewayControlDomainRegistered(): 'gateway_control' {\n\treturn KnownControlDomainSchema.extract(['gateway_control']).parse('gateway_control');\n}\n"],"mappings":";;;AAcA,MAAa,6BAA6B,EAAE,QAAQ,kBAAkB;AAEtE,MAAa,mCAAmC,EAAE,KAAK;CACtD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,CAAC;AAEF,MAAa,gCAAgC,EAAE,KAAK;CACnD,GAAG,2BAA2B;CAC9B;CACA;CACA,CAAC;AAEF,MAAa,4CAA4C,EAAE,KAAK;CAC/D;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,CAAC;AAEF,MAAa,oCAAoC,EAC/C,OAAO;CACP,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE;CACvB,WAAW,EAAE,QAAQ,CAAC,IAAI,EAAE;CAC5B,CAAC,CACD,QAAQ;AAEV,MAAa,0CAA0C,yBAAyB,OAAO,EACtF,YAAY,kCAAkC,UAAU,EACxD,CAAC,CAAC,QAAQ;AAEX,MAAa,6CAA6C,EAAE,QAAQ,CAAC,MAAM;AAE3E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GACjB,CAAC;EACF;;AAGF,SAAgB,uCAA0D;CACzE,OAAO,yBAAyB,QAAQ,CAAC,kBAAkB,CAAC,CAAC,MAAM,kBAAkB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agent-vm/gateway-control-contracts",
|
|
3
|
+
"version": "0.0.109",
|
|
4
|
+
"description": "Gateway control domain contracts for agent-vm Socket.IO sessions.",
|
|
5
|
+
"homepage": "https://github.com/ShravanSunder/agent-vm#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/ShravanSunder/agent-vm/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": "Shravan Sunder <ShravanSunder@users.noreply.github.com>",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/ShravanSunder/agent-vm.git",
|
|
14
|
+
"directory": "packages/gateway-control-contracts"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"zod": "^4.4.3",
|
|
33
|
+
"@agent-vm/control-protocol-contracts": "0.0.109"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"vitest": "^4.1.5"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsdown",
|
|
40
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
41
|
+
"test": "pnpm test:unit",
|
|
42
|
+
"test:unit": "vitest run --root ../../ --config vitest.config.ts --project unit packages/gateway-control-contracts/src"
|
|
43
|
+
}
|
|
44
|
+
}
|