UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

1 lines 1.37 kB
const agentInfoRouteResponseKey=`__eveAgentInfoRouteResponse`,homeRouteMetadataKey=`__eveHomeRouteMetadata`,routeChannelNameKey=`__eveRouteChannelName`,remoteAgentStreamHeadersResolverKey=`__eveRemoteAgentStreamHeadersResolver`,routeSessionCreatorKey=`__eveRouteSessionCreator`;function attachRouteChannelName(e,t){let n=e;return n[routeChannelNameKey]=t,e}function readRouteChannelName(e){return e[routeChannelNameKey]}function attachAgentInfoRouteResponse(e,t){let n=e;return n[agentInfoRouteResponseKey]=t,e}function readAgentInfoRouteResponse(e){return e[agentInfoRouteResponseKey]}function attachHomeRouteMetadata(e,t){let n=e;return n[homeRouteMetadataKey]=t,e}function readHomeRouteMetadata(e){return e[homeRouteMetadataKey]}function attachRouteSessionCreator(e,t){let n=e;return n[routeSessionCreatorKey]=t,e}function readRouteSessionCreator(e){return e[routeSessionCreatorKey]}function attachRemoteAgentStreamHeadersResolver(e,t){let n=e;return n[remoteAgentStreamHeadersResolverKey]=t,e}function readRemoteAgentStreamHeadersResolver(e){return e[remoteAgentStreamHeadersResolverKey]}export{attachAgentInfoRouteResponse,attachHomeRouteMetadata,attachRemoteAgentStreamHeadersResolver,attachRouteChannelName,attachRouteSessionCreator,readAgentInfoRouteResponse,readHomeRouteMetadata,readRemoteAgentStreamHeadersResolver,readRouteChannelName,readRouteSessionCreator};