@artinet/sdk 0.5.4 → 0.5.6
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/CHANGELOG.md +106 -20
- package/README.md +472 -215
- package/dist/client/a2a-client.js +6 -1
- package/dist/client/a2a-client.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/server/express/errors.js +51 -0
- package/dist/server/express/errors.js.map +1 -0
- package/dist/server/express/index.js +4 -0
- package/dist/server/express/index.js.map +1 -0
- package/dist/server/express/middeware.js +116 -0
- package/dist/server/express/middeware.js.map +1 -0
- package/dist/server/express/server.js +80 -0
- package/dist/server/express/server.js.map +1 -0
- package/dist/server/index.js +1 -7
- package/dist/server/index.js.map +1 -1
- package/dist/services/a2a/factory/builder.js +392 -0
- package/dist/services/a2a/factory/builder.js.map +1 -0
- package/dist/services/a2a/factory/context.js +151 -0
- package/dist/services/a2a/factory/context.js.map +1 -0
- package/dist/services/a2a/factory/event.js +182 -0
- package/dist/services/a2a/factory/event.js.map +1 -0
- package/dist/services/a2a/factory/index.js +6 -0
- package/dist/services/a2a/factory/index.js.map +1 -0
- package/dist/services/a2a/factory/method.js +15 -0
- package/dist/services/a2a/factory/method.js.map +1 -0
- package/dist/services/a2a/factory/service.js +12 -0
- package/dist/services/a2a/factory/service.js.map +1 -0
- package/dist/services/a2a/helpers/index.js +2 -0
- package/dist/services/a2a/helpers/index.js.map +1 -0
- package/dist/services/a2a/helpers/part.js +47 -0
- package/dist/services/a2a/helpers/part.js.map +1 -0
- package/dist/services/a2a/index.js +5 -1
- package/dist/services/a2a/index.js.map +1 -1
- package/dist/services/a2a/managers/cancellation.js +17 -0
- package/dist/services/a2a/managers/cancellation.js.map +1 -0
- package/dist/services/a2a/managers/connection.js +17 -0
- package/dist/services/a2a/managers/connection.js.map +1 -0
- package/dist/services/a2a/managers/context.js +17 -0
- package/dist/services/a2a/managers/context.js.map +1 -0
- package/dist/services/a2a/managers/index.js +6 -0
- package/dist/services/a2a/managers/index.js.map +1 -0
- package/dist/services/a2a/managers/task.js +17 -0
- package/dist/services/a2a/managers/task.js.map +1 -0
- package/dist/services/a2a/methods/cancel-task.js +47 -0
- package/dist/services/a2a/methods/cancel-task.js.map +1 -0
- package/dist/services/a2a/methods/get-task.js +15 -0
- package/dist/services/a2a/methods/get-task.js.map +1 -0
- package/dist/services/a2a/methods/index.js +6 -0
- package/dist/services/a2a/methods/index.js.map +1 -0
- package/dist/services/a2a/methods/resubscribe-task.js +77 -0
- package/dist/services/a2a/methods/resubscribe-task.js.map +1 -0
- package/dist/services/a2a/methods/send-message.js +20 -0
- package/dist/services/a2a/methods/send-message.js.map +1 -0
- package/dist/services/a2a/methods/stream-message.js +39 -0
- package/dist/services/a2a/methods/stream-message.js.map +1 -0
- package/dist/services/a2a/service.js +88 -239
- package/dist/services/a2a/service.js.map +1 -1
- package/dist/services/a2a/state/index.js +4 -0
- package/dist/services/a2a/state/index.js.map +1 -0
- package/dist/services/a2a/state/load.js +43 -0
- package/dist/services/a2a/state/load.js.map +1 -0
- package/dist/services/a2a/state/process.js +14 -0
- package/dist/services/a2a/state/process.js.map +1 -0
- package/dist/services/a2a/state/update/artifact.js +40 -0
- package/dist/services/a2a/state/update/artifact.js.map +1 -0
- package/dist/services/a2a/state/update/index.js +3 -0
- package/dist/services/a2a/state/update/index.js.map +1 -0
- package/dist/{server/lib/update/base.js → services/a2a/state/update/update.js} +23 -9
- package/dist/services/a2a/state/update/update.js.map +1 -0
- package/dist/services/core/execution/execute.js +26 -0
- package/dist/services/core/execution/execute.js.map +1 -0
- package/dist/services/core/execution/index.js +2 -0
- package/dist/services/core/execution/index.js.map +1 -0
- package/dist/services/core/index.js +3 -0
- package/dist/services/core/index.js.map +1 -0
- package/dist/services/core/managers/command.js +95 -0
- package/dist/services/core/managers/command.js.map +1 -0
- package/dist/services/core/managers/event.js +57 -0
- package/dist/services/core/managers/event.js.map +1 -0
- package/dist/services/core/managers/index.js +4 -0
- package/dist/services/core/managers/index.js.map +1 -0
- package/dist/services/core/managers/stream.js +78 -0
- package/dist/services/core/managers/stream.js.map +1 -0
- package/dist/services/index.js +2 -1
- package/dist/services/index.js.map +1 -1
- package/dist/transport/index.js +1 -1
- package/dist/transport/index.js.map +1 -1
- package/dist/transport/rpc/parser.js +13 -5
- package/dist/transport/rpc/parser.js.map +1 -1
- package/dist/transport/rpc/rpc-client.js +10 -2
- package/dist/transport/rpc/rpc-client.js.map +1 -1
- package/dist/transport/streaming/event-stream.js +5 -1
- package/dist/transport/streaming/event-stream.js.map +1 -1
- package/dist/transport/trpc/a2a/factory/index.js +2 -0
- package/dist/transport/trpc/a2a/factory/index.js.map +1 -0
- package/dist/transport/trpc/a2a/factory/router.js +17 -0
- package/dist/transport/trpc/a2a/factory/router.js.map +1 -0
- package/dist/transport/trpc/a2a/index.js +4 -0
- package/dist/transport/trpc/a2a/index.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/index.js +4 -0
- package/dist/transport/trpc/a2a/routes/index.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/info.js +10 -0
- package/dist/transport/trpc/a2a/routes/info.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/message/index.js +2 -0
- package/dist/transport/trpc/a2a/routes/message/index.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/message/route.js +38 -0
- package/dist/transport/trpc/a2a/routes/message/route.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/tasks/index.js +2 -0
- package/dist/transport/trpc/a2a/routes/tasks/index.js.map +1 -0
- package/dist/transport/trpc/a2a/routes/tasks/route.js +71 -0
- package/dist/transport/trpc/a2a/routes/tasks/route.js.map +1 -0
- package/dist/transport/trpc/a2a/trpc.js +36 -0
- package/dist/transport/trpc/a2a/trpc.js.map +1 -0
- package/dist/transport/trpc/index.js +2 -0
- package/dist/transport/trpc/index.js.map +1 -0
- package/dist/types/client/a2a-client.d.ts +5 -1
- package/dist/types/client/a2a-client.d.ts.map +1 -1
- package/dist/types/ext.js +11 -0
- package/dist/types/ext.js.map +1 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -4
- package/dist/types/index.js.map +1 -1
- package/dist/types/interfaces/client.js +6 -0
- package/dist/types/interfaces/client.js.map +1 -0
- package/dist/types/interfaces/index.js +4 -0
- package/dist/types/interfaces/index.js.map +1 -0
- package/dist/types/interfaces/services/a2a/builder.js +2 -0
- package/dist/types/interfaces/services/a2a/builder.js.map +1 -0
- package/dist/types/interfaces/services/a2a/context.js +6 -0
- package/dist/types/interfaces/services/a2a/context.js.map +1 -0
- package/dist/types/interfaces/services/a2a/engine.js +6 -0
- package/dist/types/interfaces/services/a2a/engine.js.map +1 -0
- package/dist/types/interfaces/services/a2a/index.js +6 -0
- package/dist/types/interfaces/services/a2a/index.js.map +1 -0
- package/dist/types/interfaces/services/a2a/legacy.js +6 -0
- package/dist/types/interfaces/services/a2a/legacy.js.map +1 -0
- package/dist/types/interfaces/services/a2a/service.js +6 -0
- package/dist/types/interfaces/services/a2a/service.js.map +1 -0
- package/dist/types/interfaces/services/core/context/command.js +6 -0
- package/dist/types/interfaces/services/core/context/command.js.map +1 -0
- package/dist/types/interfaces/services/core/context/context.js +6 -0
- package/dist/types/interfaces/services/core/context/context.js.map +1 -0
- package/dist/types/interfaces/services/core/context/index.js +4 -0
- package/dist/types/interfaces/services/core/context/index.js.map +1 -0
- package/dist/types/interfaces/services/core/context/types.js +6 -0
- package/dist/types/interfaces/services/core/context/types.js.map +1 -0
- package/dist/types/interfaces/services/core/execution/engine.js +6 -0
- package/dist/types/interfaces/services/core/execution/engine.js.map +1 -0
- package/dist/types/interfaces/services/core/execution/environment.js +6 -0
- package/dist/types/interfaces/services/core/execution/environment.js.map +1 -0
- package/dist/types/interfaces/services/core/execution/execute.js +6 -0
- package/dist/types/interfaces/services/core/execution/execute.js.map +1 -0
- package/dist/types/interfaces/services/core/execution/index.js +4 -0
- package/dist/types/interfaces/services/core/execution/index.js.map +1 -0
- package/dist/types/interfaces/services/core/index.js +5 -0
- package/dist/types/interfaces/services/core/index.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/cancellation.js +6 -0
- package/dist/types/interfaces/services/core/managers/cancellation.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/connection.js +6 -0
- package/dist/types/interfaces/services/core/managers/connection.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/context.js +6 -0
- package/dist/types/interfaces/services/core/managers/context.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/event.js +6 -0
- package/dist/types/interfaces/services/core/managers/event.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/index.js +7 -0
- package/dist/types/interfaces/services/core/managers/index.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/stream.js +6 -0
- package/dist/types/interfaces/services/core/managers/stream.js.map +1 -0
- package/dist/types/interfaces/services/core/managers/task.js +2 -0
- package/dist/types/interfaces/services/core/managers/task.js.map +1 -0
- package/dist/types/interfaces/services/core/service.js +6 -0
- package/dist/types/interfaces/services/core/service.js.map +1 -0
- package/dist/types/interfaces/services/index.js +4 -0
- package/dist/types/interfaces/services/index.js.map +1 -0
- package/dist/types/{services → interfaces/services}/protocol.js +4 -0
- package/dist/types/interfaces/services/protocol.js.map +1 -0
- package/dist/types/interfaces/storage.js +6 -0
- package/dist/types/interfaces/storage.js.map +1 -0
- package/dist/types/schemas/a2a/agent.js +319 -0
- package/dist/types/schemas/a2a/agent.js.map +1 -0
- package/dist/types/schemas/a2a/auth.js +274 -0
- package/dist/types/schemas/a2a/auth.js.map +1 -0
- package/dist/types/schemas/a2a/error.js +119 -0
- package/dist/types/schemas/a2a/error.js.map +1 -1
- package/dist/types/schemas/a2a/index.js +8 -4
- package/dist/types/schemas/a2a/index.js.map +1 -1
- package/dist/types/schemas/a2a/kind.js +21 -0
- package/dist/types/schemas/a2a/kind.js.map +1 -0
- package/dist/types/schemas/a2a/message.js +130 -1
- package/dist/types/schemas/a2a/message.js.map +1 -1
- package/dist/types/schemas/a2a/notification.js +202 -1
- package/dist/types/schemas/a2a/notification.js.map +1 -1
- package/dist/types/schemas/a2a/parameters.js +241 -1
- package/dist/types/schemas/a2a/parameters.js.map +1 -1
- package/dist/types/schemas/a2a/protocol.js +60 -0
- package/dist/types/schemas/a2a/protocol.js.map +1 -0
- package/dist/types/schemas/a2a/rpc.js +126 -1
- package/dist/types/schemas/a2a/rpc.js.map +1 -1
- package/dist/types/schemas/a2a/task.js +131 -12
- package/dist/types/schemas/a2a/task.js.map +1 -1
- package/dist/types/schemas/a2a/transport.js +28 -0
- package/dist/types/schemas/a2a/transport.js.map +1 -0
- package/dist/types/schemas/deployment/index.js +3 -0
- package/dist/types/schemas/deployment/index.js.map +1 -0
- package/dist/types/schemas/deployment/proxy.js +6 -0
- package/dist/types/schemas/deployment/proxy.js.map +1 -0
- package/dist/types/schemas/deployment/request.js +88 -0
- package/dist/types/schemas/deployment/request.js.map +1 -0
- package/dist/types/schemas/index.js +1 -0
- package/dist/types/schemas/index.js.map +1 -1
- package/dist/types/server/express/errors.d.ts +10 -0
- package/dist/types/server/express/errors.d.ts.map +1 -0
- package/dist/types/server/express/index.d.ts +4 -0
- package/dist/types/server/express/index.d.ts.map +1 -0
- package/dist/types/server/express/middeware.d.ts +8 -0
- package/dist/types/server/express/middeware.d.ts.map +1 -0
- package/dist/types/server/express/server.d.ts +71 -0
- package/dist/types/server/express/server.d.ts.map +1 -0
- package/dist/types/server/index.d.ts +1 -7
- package/dist/types/server/index.d.ts.map +1 -1
- package/dist/types/services/a2a/factory/builder.d.ts +352 -0
- package/dist/types/services/a2a/factory/builder.d.ts.map +1 -0
- package/dist/types/services/a2a/factory/context.d.ts +133 -0
- package/dist/types/services/a2a/factory/context.d.ts.map +1 -0
- package/dist/types/services/a2a/factory/event.d.ts +59 -0
- package/dist/types/services/a2a/factory/event.d.ts.map +1 -0
- package/dist/types/services/a2a/factory/index.d.ts +6 -0
- package/dist/types/services/a2a/factory/index.d.ts.map +1 -0
- package/dist/types/services/a2a/factory/method.d.ts +7 -0
- package/dist/types/services/a2a/factory/method.d.ts.map +1 -0
- package/dist/types/services/a2a/factory/service.d.ts +10 -0
- package/dist/types/services/a2a/factory/service.d.ts.map +1 -0
- package/dist/types/services/a2a/helpers/index.d.ts +2 -0
- package/dist/types/services/a2a/helpers/index.d.ts.map +1 -0
- package/dist/types/services/a2a/helpers/part.d.ts +49 -0
- package/dist/types/services/a2a/helpers/part.d.ts.map +1 -0
- package/dist/types/services/a2a/index.d.ts +5 -1
- package/dist/types/services/a2a/index.d.ts.map +1 -1
- package/dist/types/services/a2a/managers/cancellation.d.ts +12 -0
- package/dist/types/services/a2a/managers/cancellation.d.ts.map +1 -0
- package/dist/types/services/a2a/managers/connection.d.ts +12 -0
- package/dist/types/services/a2a/managers/connection.d.ts.map +1 -0
- package/dist/types/services/a2a/managers/context.d.ts +12 -0
- package/dist/types/services/a2a/managers/context.d.ts.map +1 -0
- package/dist/types/services/a2a/managers/index.d.ts +6 -0
- package/dist/types/services/a2a/managers/index.d.ts.map +1 -0
- package/dist/types/services/a2a/managers/task.d.ts +12 -0
- package/dist/types/services/a2a/managers/task.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/cancel-task.d.ts +8 -0
- package/dist/types/services/a2a/methods/cancel-task.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/get-task.d.ts +113 -0
- package/dist/types/services/a2a/methods/get-task.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/index.d.ts +6 -0
- package/dist/types/services/a2a/methods/index.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/resubscribe-task.d.ts +8 -0
- package/dist/types/services/a2a/methods/resubscribe-task.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/send-message.d.ts +8 -0
- package/dist/types/services/a2a/methods/send-message.d.ts.map +1 -0
- package/dist/types/services/a2a/methods/stream-message.d.ts +9 -0
- package/dist/types/services/a2a/methods/stream-message.d.ts.map +1 -0
- package/dist/types/services/a2a/service.d.ts +375 -41
- package/dist/types/services/a2a/service.d.ts.map +1 -1
- package/dist/types/services/a2a/state/index.d.ts +4 -0
- package/dist/types/services/a2a/state/index.d.ts.map +1 -0
- package/dist/types/services/a2a/state/load.d.ts +15 -0
- package/dist/types/services/a2a/state/load.d.ts.map +1 -0
- package/dist/types/services/a2a/state/process.d.ts +8 -0
- package/dist/types/services/a2a/state/process.d.ts.map +1 -0
- package/dist/types/services/a2a/state/update/artifact.d.ts +11 -0
- package/dist/types/services/a2a/state/update/artifact.d.ts.map +1 -0
- package/dist/types/services/a2a/state/update/index.d.ts +3 -0
- package/dist/types/services/a2a/state/update/index.d.ts.map +1 -0
- package/dist/types/services/a2a/state/update/update.d.ts +24 -0
- package/dist/types/services/a2a/state/update/update.d.ts.map +1 -0
- package/dist/types/services/core/execution/execute.d.ts +7 -0
- package/dist/types/services/core/execution/execute.d.ts.map +1 -0
- package/dist/types/services/core/execution/index.d.ts +2 -0
- package/dist/types/services/core/execution/index.d.ts.map +1 -0
- package/dist/types/services/core/index.d.ts +3 -0
- package/dist/types/services/core/index.d.ts.map +1 -0
- package/dist/types/services/core/managers/command.d.ts +40 -0
- package/dist/types/services/core/managers/command.d.ts.map +1 -0
- package/dist/types/services/core/managers/event.d.ts +19 -0
- package/dist/types/services/core/managers/event.d.ts.map +1 -0
- package/dist/types/services/core/managers/index.d.ts +4 -0
- package/dist/types/services/core/managers/index.d.ts.map +1 -0
- package/dist/types/services/core/managers/stream.d.ts +21 -0
- package/dist/types/services/core/managers/stream.d.ts.map +1 -0
- package/dist/types/services/index.d.ts +2 -1
- package/dist/types/services/index.d.ts.map +1 -1
- package/dist/types/transport/index.d.ts +1 -1
- package/dist/types/transport/index.d.ts.map +1 -1
- package/dist/types/transport/rpc/parser.d.ts +5 -1
- package/dist/types/transport/rpc/parser.d.ts.map +1 -1
- package/dist/types/transport/rpc/rpc-client.d.ts +5 -1
- package/dist/types/transport/rpc/rpc-client.d.ts.map +1 -1
- package/dist/types/transport/streaming/event-stream.d.ts +5 -1
- package/dist/types/transport/streaming/event-stream.d.ts.map +1 -1
- package/dist/types/transport/trpc/a2a/factory/index.d.ts +2 -0
- package/dist/types/transport/trpc/a2a/factory/index.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/factory/router.d.ts +2631 -0
- package/dist/types/transport/trpc/a2a/factory/router.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/index.d.ts +4 -0
- package/dist/types/transport/trpc/a2a/index.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/index.d.ts +4 -0
- package/dist/types/transport/trpc/a2a/routes/index.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/info.d.ts +102 -0
- package/dist/types/transport/trpc/a2a/routes/info.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/message/index.d.ts +2 -0
- package/dist/types/transport/trpc/a2a/routes/message/index.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/message/route.d.ts +523 -0
- package/dist/types/transport/trpc/a2a/routes/message/route.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/tasks/index.d.ts +2 -0
- package/dist/types/transport/trpc/a2a/routes/tasks/index.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/routes/tasks/route.d.ts +646 -0
- package/dist/types/transport/trpc/a2a/routes/tasks/route.d.ts.map +1 -0
- package/dist/types/transport/trpc/a2a/trpc.d.ts +272 -0
- package/dist/types/transport/trpc/a2a/trpc.d.ts.map +1 -0
- package/dist/types/transport/trpc/index.d.ts +2 -0
- package/dist/types/transport/trpc/index.d.ts.map +1 -0
- package/dist/types/types/ext.d.ts +14 -0
- package/dist/types/types/ext.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +3 -4
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/{client.d.ts → interfaces/client.d.ts} +7 -2
- package/dist/types/types/interfaces/client.d.ts.map +1 -0
- package/dist/types/types/interfaces/index.d.ts +4 -0
- package/dist/types/types/interfaces/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/builder.d.ts +33 -0
- package/dist/types/types/interfaces/services/a2a/builder.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/context.d.ts +163 -0
- package/dist/types/types/interfaces/services/a2a/context.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/engine.d.ts +8 -0
- package/dist/types/types/interfaces/services/a2a/engine.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/index.d.ts +6 -0
- package/dist/types/types/interfaces/services/a2a/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/legacy.d.ts +90 -0
- package/dist/types/types/interfaces/services/a2a/legacy.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/a2a/service.d.ts +409 -0
- package/dist/types/types/interfaces/services/a2a/service.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/context/command.d.ts +26 -0
- package/dist/types/types/interfaces/services/core/context/command.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/context/context.d.ts +208 -0
- package/dist/types/types/interfaces/services/core/context/context.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/context/index.d.ts +4 -0
- package/dist/types/types/interfaces/services/core/context/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/context/types.d.ts +12 -0
- package/dist/types/types/interfaces/services/core/context/types.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/execution/engine.d.ts +107 -0
- package/dist/types/types/interfaces/services/core/execution/engine.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/execution/environment.d.ts +12 -0
- package/dist/types/types/interfaces/services/core/execution/environment.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/execution/execute.d.ts +8 -0
- package/dist/types/types/interfaces/services/core/execution/execute.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/execution/index.d.ts +4 -0
- package/dist/types/types/interfaces/services/core/execution/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/index.d.ts +5 -0
- package/dist/types/types/interfaces/services/core/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/cancellation.d.ts +10 -0
- package/dist/types/types/interfaces/services/core/managers/cancellation.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/connection.d.ts +10 -0
- package/dist/types/types/interfaces/services/core/managers/connection.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/context.d.ts +18 -0
- package/dist/types/types/interfaces/services/core/managers/context.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/event.d.ts +329 -0
- package/dist/types/types/interfaces/services/core/managers/event.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/index.d.ts +7 -0
- package/dist/types/types/interfaces/services/core/managers/index.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/stream.d.ts +218 -0
- package/dist/types/types/interfaces/services/core/managers/stream.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/managers/task.d.ts +10 -0
- package/dist/types/types/interfaces/services/core/managers/task.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/core/service.d.ts +116 -0
- package/dist/types/types/interfaces/services/core/service.d.ts.map +1 -0
- package/dist/types/types/interfaces/services/index.d.ts +4 -0
- package/dist/types/types/interfaces/services/index.d.ts.map +1 -0
- package/dist/types/types/{services → interfaces/services}/protocol.d.ts +4 -0
- package/dist/types/types/interfaces/services/protocol.d.ts.map +1 -0
- package/dist/types/types/interfaces/storage.d.ts +9 -0
- package/dist/types/types/interfaces/storage.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/agent.d.ts +509 -0
- package/dist/types/types/schemas/a2a/agent.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/auth.d.ts +285 -0
- package/dist/types/types/schemas/a2a/auth.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/error.d.ts +133 -27
- package/dist/types/types/schemas/a2a/error.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/index.d.ts +8 -216
- package/dist/types/types/schemas/a2a/index.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/kind.d.ts +28 -0
- package/dist/types/types/schemas/a2a/kind.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/message.d.ts +2549 -69
- package/dist/types/types/schemas/a2a/message.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/notification.d.ts +321 -70
- package/dist/types/types/schemas/a2a/notification.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/parameters.d.ts +287 -167
- package/dist/types/types/schemas/a2a/parameters.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/protocol.d.ts +3207 -0
- package/dist/types/types/schemas/a2a/protocol.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/rpc.d.ts +42 -89
- package/dist/types/types/schemas/a2a/rpc.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/task.d.ts +1460 -214
- package/dist/types/types/schemas/a2a/task.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/transport.d.ts +28 -0
- package/dist/types/types/schemas/a2a/transport.d.ts.map +1 -0
- package/dist/types/types/schemas/deployment/index.d.ts +3 -0
- package/dist/types/types/schemas/deployment/index.d.ts.map +1 -0
- package/dist/types/types/{proxy.d.ts → schemas/deployment/proxy.d.ts} +6 -2
- package/dist/types/types/schemas/deployment/proxy.d.ts.map +1 -0
- package/dist/types/types/schemas/deployment/request.d.ts +508 -0
- package/dist/types/types/schemas/deployment/request.d.ts.map +1 -0
- package/dist/types/types/utils/index.d.ts +2 -0
- package/dist/types/types/utils/index.d.ts.map +1 -0
- package/dist/types/types/{transform.d.ts → utils/transform.d.ts} +4 -0
- package/dist/types/types/utils/transform.d.ts.map +1 -0
- package/dist/types/utils/api/register.d.ts +4 -0
- package/dist/types/utils/api/register.d.ts.map +1 -1
- package/dist/types/utils/common/constants.d.ts +8 -4
- package/dist/types/utils/common/constants.d.ts.map +1 -1
- package/dist/types/utils/common/errors.d.ts +6 -12
- package/dist/types/utils/common/errors.d.ts.map +1 -1
- package/dist/types/utils/common/utils.d.ts +4 -14
- package/dist/types/utils/common/utils.d.ts.map +1 -1
- package/dist/types/utils/common/zAsyncIterable.d.ts +23 -0
- package/dist/types/utils/common/zAsyncIterable.d.ts.map +1 -0
- package/dist/types/utils/deployment/agents.d.ts +5 -1
- package/dist/types/utils/deployment/agents.d.ts.map +1 -1
- package/dist/types/utils/deployment/bundler.d.ts +4 -0
- package/dist/types/utils/deployment/bundler.d.ts.map +1 -1
- package/dist/types/utils/deployment/full-deployment.d.ts +12 -2
- package/dist/types/utils/deployment/full-deployment.d.ts.map +1 -1
- package/dist/types/utils/deployment/index.d.ts +5 -0
- package/dist/types/utils/deployment/index.d.ts.map +1 -0
- package/dist/types/utils/deployment/task-wrapper.d.ts +6 -2
- package/dist/types/utils/deployment/task-wrapper.d.ts.map +1 -1
- package/dist/types/utils/deployment/test-deployment.d.ts +7 -2
- package/dist/types/utils/deployment/test-deployment.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +4 -6
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/index.js +2 -0
- package/dist/types/utils/index.js.map +1 -0
- package/dist/types/utils/logging/index.d.ts +3 -0
- package/dist/types/utils/logging/index.d.ts.map +1 -0
- package/dist/types/utils/logging/log.d.ts +4 -0
- package/dist/types/utils/logging/log.d.ts.map +1 -1
- package/dist/types/utils/logging/logger.d.ts +4 -0
- package/dist/types/utils/logging/logger.d.ts.map +1 -1
- package/dist/types/{server/lib → utils}/storage/file.d.ts +9 -4
- package/dist/types/utils/storage/file.d.ts.map +1 -0
- package/dist/types/{server/lib → utils}/storage/memory.d.ts +9 -4
- package/dist/types/utils/storage/memory.d.ts.map +1 -0
- package/dist/types/{transform.js → utils/transform.js} +2 -1
- package/dist/types/utils/transform.js.map +1 -0
- package/dist/utils/api/register.js +4 -0
- package/dist/utils/api/register.js.map +1 -1
- package/dist/utils/common/constants.js +20 -11
- package/dist/utils/common/constants.js.map +1 -1
- package/dist/utils/common/errors.js +7 -40
- package/dist/utils/common/errors.js.map +1 -1
- package/dist/utils/common/utils.js +4 -46
- package/dist/utils/common/utils.js.map +1 -1
- package/dist/utils/common/zAsyncIterable.js +40 -0
- package/dist/utils/common/zAsyncIterable.js.map +1 -0
- package/dist/utils/deployment/agents.js +4 -0
- package/dist/utils/deployment/agents.js.map +1 -1
- package/dist/utils/deployment/bundler.js +4 -0
- package/dist/utils/deployment/bundler.js.map +1 -1
- package/dist/utils/deployment/full-deployment.js +6 -2
- package/dist/utils/deployment/full-deployment.js.map +1 -1
- package/dist/utils/deployment/index.js +5 -0
- package/dist/utils/deployment/index.js.map +1 -0
- package/dist/utils/deployment/task-wrapper.js +4 -0
- package/dist/utils/deployment/task-wrapper.js.map +1 -1
- package/dist/utils/deployment/test-deployment.js +15 -7
- package/dist/utils/deployment/test-deployment.js.map +1 -1
- package/dist/utils/index.js +10 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/logging/index.js +3 -0
- package/dist/utils/logging/index.js.map +1 -0
- package/dist/utils/logging/log.js +4 -0
- package/dist/utils/logging/log.js.map +1 -1
- package/dist/utils/logging/logger.js +13 -0
- package/dist/utils/logging/logger.js.map +1 -1
- package/dist/{server/lib → utils}/storage/file.js +17 -6
- package/dist/utils/storage/file.js.map +1 -0
- package/dist/{server/lib → utils}/storage/memory.js +15 -5
- package/dist/utils/storage/memory.js.map +1 -0
- package/package.json +16 -5
- package/dist/server/a2a-server.js +0 -237
- package/dist/server/a2a-server.js.map +0 -1
- package/dist/server/interfaces/params.js +0 -3
- package/dist/server/interfaces/params.js.map +0 -1
- package/dist/server/interfaces/server.js +0 -2
- package/dist/server/interfaces/server.js.map +0 -1
- package/dist/server/interfaces/store.js +0 -18
- package/dist/server/interfaces/store.js.map +0 -1
- package/dist/server/lib/express-server.js +0 -252
- package/dist/server/lib/express-server.js.map +0 -1
- package/dist/server/lib/json-middleware.js +0 -3
- package/dist/server/lib/json-middleware.js.map +0 -1
- package/dist/server/lib/middleware/a2a-methods.js +0 -140
- package/dist/server/lib/middleware/a2a-methods.js.map +0 -1
- package/dist/server/lib/middleware/factory.js +0 -59
- package/dist/server/lib/middleware/factory.js.map +0 -1
- package/dist/server/lib/state.js +0 -80
- package/dist/server/lib/state.js.map +0 -1
- package/dist/server/lib/storage/file.js.map +0 -1
- package/dist/server/lib/storage/memory.js.map +0 -1
- package/dist/server/lib/update/base.js.map +0 -1
- package/dist/services/a2a/repository.js +0 -160
- package/dist/services/a2a/repository.js.map +0 -1
- package/dist/services/manager.js +0 -61
- package/dist/services/manager.js.map +0 -1
- package/dist/services/mcp/index.js +0 -2
- package/dist/services/mcp/index.js.map +0 -1
- package/dist/services/mcp/service.js +0 -75
- package/dist/services/mcp/service.js.map +0 -1
- package/dist/transport/streaming/stream.js +0 -111
- package/dist/transport/streaming/stream.js.map +0 -1
- package/dist/types/client.js +0 -2
- package/dist/types/client.js.map +0 -1
- package/dist/types/express.js +0 -2
- package/dist/types/express.js.map +0 -1
- package/dist/types/extended-schema.js +0 -7
- package/dist/types/extended-schema.js.map +0 -1
- package/dist/types/proxy.js +0 -2
- package/dist/types/proxy.js.map +0 -1
- package/dist/types/schemas/a2a/auth/auth.js +0 -2
- package/dist/types/schemas/a2a/auth/auth.js.map +0 -1
- package/dist/types/schemas/a2a/auth/base.js +0 -2
- package/dist/types/schemas/a2a/auth/base.js.map +0 -1
- package/dist/types/schemas/a2a/auth/index.js +0 -4
- package/dist/types/schemas/a2a/auth/index.js.map +0 -1
- package/dist/types/schemas/a2a/auth/oauth.js +0 -2
- package/dist/types/schemas/a2a/auth/oauth.js.map +0 -1
- package/dist/types/schemas/a2a/ref.js +0 -25
- package/dist/types/schemas/a2a/ref.js.map +0 -1
- package/dist/types/server/a2a-server.d.ts +0 -145
- package/dist/types/server/a2a-server.d.ts.map +0 -1
- package/dist/types/server/interfaces/params.d.ts +0 -109
- package/dist/types/server/interfaces/params.d.ts.map +0 -1
- package/dist/types/server/interfaces/server.d.ts +0 -35
- package/dist/types/server/interfaces/server.d.ts.map +0 -1
- package/dist/types/server/interfaces/store.d.ts +0 -35
- package/dist/types/server/interfaces/store.d.ts.map +0 -1
- package/dist/types/server/lib/express-server.d.ts +0 -59
- package/dist/types/server/lib/express-server.d.ts.map +0 -1
- package/dist/types/server/lib/json-middleware.d.ts +0 -3
- package/dist/types/server/lib/json-middleware.d.ts.map +0 -1
- package/dist/types/server/lib/middleware/a2a-methods.d.ts +0 -7
- package/dist/types/server/lib/middleware/a2a-methods.d.ts.map +0 -1
- package/dist/types/server/lib/middleware/factory.d.ts +0 -12
- package/dist/types/server/lib/middleware/factory.d.ts.map +0 -1
- package/dist/types/server/lib/state.d.ts +0 -20
- package/dist/types/server/lib/state.d.ts.map +0 -1
- package/dist/types/server/lib/storage/file.d.ts.map +0 -1
- package/dist/types/server/lib/storage/memory.d.ts.map +0 -1
- package/dist/types/server/lib/update/base.d.ts +0 -21
- package/dist/types/server/lib/update/base.d.ts.map +0 -1
- package/dist/types/services/a2a/repository.d.ts +0 -77
- package/dist/types/services/a2a/repository.d.ts.map +0 -1
- package/dist/types/services/a2a/repository.js +0 -2
- package/dist/types/services/a2a/repository.js.map +0 -1
- package/dist/types/services/a2a/service.js +0 -2
- package/dist/types/services/a2a/service.js.map +0 -1
- package/dist/types/services/context.js +0 -29
- package/dist/types/services/context.js.map +0 -1
- package/dist/types/services/dispatcher.js +0 -33
- package/dist/types/services/dispatcher.js.map +0 -1
- package/dist/types/services/index.js +0 -9
- package/dist/types/services/index.js.map +0 -1
- package/dist/types/services/manager.d.ts +0 -44
- package/dist/types/services/manager.d.ts.map +0 -1
- package/dist/types/services/manager.js +0 -2
- package/dist/types/services/manager.js.map +0 -1
- package/dist/types/services/mcp/index.d.ts +0 -2
- package/dist/types/services/mcp/index.d.ts.map +0 -1
- package/dist/types/services/mcp/service.d.ts +0 -30
- package/dist/types/services/mcp/service.d.ts.map +0 -1
- package/dist/types/services/mcp/service.js +0 -8
- package/dist/types/services/mcp/service.js.map +0 -1
- package/dist/types/services/protocol.js.map +0 -1
- package/dist/types/services/service.js +0 -2
- package/dist/types/services/service.js.map +0 -1
- package/dist/types/transform.js.map +0 -1
- package/dist/types/transport/streaming/stream.d.ts +0 -42
- package/dist/types/transport/streaming/stream.d.ts.map +0 -1
- package/dist/types/types/client.d.ts.map +0 -1
- package/dist/types/types/express.d.ts +0 -66
- package/dist/types/types/express.d.ts.map +0 -1
- package/dist/types/types/extended-schema.d.ts +0 -174
- package/dist/types/types/extended-schema.d.ts.map +0 -1
- package/dist/types/types/proxy.d.ts.map +0 -1
- package/dist/types/types/schemas/a2a/auth/auth.d.ts +0 -80
- package/dist/types/types/schemas/a2a/auth/auth.d.ts.map +0 -1
- package/dist/types/types/schemas/a2a/auth/base.d.ts +0 -16
- package/dist/types/types/schemas/a2a/auth/base.d.ts.map +0 -1
- package/dist/types/types/schemas/a2a/auth/index.d.ts +0 -4
- package/dist/types/types/schemas/a2a/auth/index.d.ts.map +0 -1
- package/dist/types/types/schemas/a2a/auth/oauth.d.ts +0 -124
- package/dist/types/types/schemas/a2a/auth/oauth.d.ts.map +0 -1
- package/dist/types/types/schemas/a2a/ref.d.ts +0 -2057
- package/dist/types/types/schemas/a2a/ref.d.ts.map +0 -1
- package/dist/types/types/services/a2a/repository.d.ts +0 -85
- package/dist/types/types/services/a2a/repository.d.ts.map +0 -1
- package/dist/types/types/services/a2a/service.d.ts +0 -29
- package/dist/types/types/services/a2a/service.d.ts.map +0 -1
- package/dist/types/types/services/context.d.ts +0 -167
- package/dist/types/types/services/context.d.ts.map +0 -1
- package/dist/types/types/services/dispatcher.d.ts +0 -20
- package/dist/types/types/services/dispatcher.d.ts.map +0 -1
- package/dist/types/types/services/index.d.ts +0 -9
- package/dist/types/types/services/index.d.ts.map +0 -1
- package/dist/types/types/services/manager.d.ts +0 -42
- package/dist/types/types/services/manager.d.ts.map +0 -1
- package/dist/types/types/services/mcp/service.d.ts +0 -57
- package/dist/types/types/services/mcp/service.d.ts.map +0 -1
- package/dist/types/types/services/protocol.d.ts.map +0 -1
- package/dist/types/types/services/service.d.ts +0 -35
- package/dist/types/types/services/service.d.ts.map +0 -1
- package/dist/types/types/transform.d.ts.map +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SendTaskMethod, GetTaskMethod, CancelTaskMethod, SetTaskPushNotificationMethod, GetTaskPushNotificationMethod } from "../../interfaces/params.js";
|
|
2
|
-
export declare const defaultSendTaskMethod: SendTaskMethod;
|
|
3
|
-
export declare const defaultGetTaskMethod: GetTaskMethod;
|
|
4
|
-
export declare const defaultCancelTaskMethod: CancelTaskMethod;
|
|
5
|
-
export declare const defaultSetTaskPushNotificationMethod: SetTaskPushNotificationMethod;
|
|
6
|
-
export declare const defaultGetTaskPushNotificationMethod: GetTaskPushNotificationMethod;
|
|
7
|
-
//# sourceMappingURL=a2a-methods.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"a2a-methods.d.ts","sourceRoot":"","sources":["../../../../../src/server/lib/middleware/a2a-methods.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC9B,MAAM,4BAA4B,CAAC;AAGpC,eAAO,MAAM,qBAAqB,EAAE,cA0EnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAclC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,gBAsCrC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,6BAwBhD,CAAC;AAEJ,eAAO,MAAM,oCAAoC,EAAE,6BAmBhD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CreateJSONRPCServerParams, JSONRPCMethodHandler, A2AMethodHandler, CreateJSONRPCServer } from "../../interfaces/params.js";
|
|
2
|
-
import { A2AResponse, Message, Task, A2ARequest } from "../../../types/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* Creates a JSON-RPC method handler from a function
|
|
5
|
-
* @param deps Dependencies for the method
|
|
6
|
-
* @param funct The function to be used as the method handler
|
|
7
|
-
* @param methodName The name of the method
|
|
8
|
-
* @returns A JSON-RPC method handler
|
|
9
|
-
*/
|
|
10
|
-
export declare function createJSONRPCMethod<RequestParamT extends A2ARequest["params"], Result extends A2AResponse | Task | Message | null>(deps: CreateJSONRPCServerParams, funct: A2AMethodHandler<RequestParamT, Result>, methodName: string): JSONRPCMethodHandler<RequestParamT, Result>;
|
|
11
|
-
export declare const defaultCreateJSONRPCServer: CreateJSONRPCServer;
|
|
12
|
-
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../../src/server/lib/middleware/factory.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,yBAAyB,EAEzB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AASpC,OAAO,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,UAAU,EACX,MAAM,yBAAyB,CAAC;AAEjC;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,SAAS,UAAU,CAAC,QAAQ,CAAC,EAC1C,MAAM,SAAS,WAAW,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,EAElD,IAAI,EAAE,yBAAyB,EAC/B,KAAK,EAAE,gBAAgB,CAAC,aAAa,EAAE,MAAM,CAAC,EAC9C,UAAU,EAAE,MAAM,GACjB,oBAAoB,CAAC,aAAa,EAAE,MAAM,CAAC,CA4B7C;AAED,eAAO,MAAM,0BAA0B,EAAE,mBAsCxC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Artifact, Message } from "../../types/extended-schema.js";
|
|
2
|
-
import { TaskAndHistory } from "../interfaces/store.js";
|
|
3
|
-
import { TaskStore } from "../interfaces/store.js";
|
|
4
|
-
import { UpdateProps } from "./update/base.js";
|
|
5
|
-
export declare function updateByIndex(append: boolean, artifacts: Artifact[], index: number, artifactUpdate: Artifact): {
|
|
6
|
-
artifacts: Artifact[];
|
|
7
|
-
replaced: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare function processArtifactUpdate(append: boolean, artifacts: Artifact[], artifactUpdate: Artifact): Artifact[];
|
|
10
|
-
export declare function processUpdate(taskStore: TaskStore, updateProps: UpdateProps): Promise<TaskAndHistory>;
|
|
11
|
-
/**
|
|
12
|
-
* Loads or creates a task and its history.
|
|
13
|
-
* @param taskId The task ID
|
|
14
|
-
* @param message The message to process
|
|
15
|
-
* @param contextId Optional context ID
|
|
16
|
-
* @param metadata Optional metadata
|
|
17
|
-
* @returns The task and history
|
|
18
|
-
*/
|
|
19
|
-
export declare function loadState(taskStore: TaskStore, message: Message, metadata?: Record<string, unknown>, taskId?: string, contextId?: string): Promise<TaskAndHistory>;
|
|
20
|
-
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/server/lib/state.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,QAAQ,EACR,OAAO,EAER,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,wBAAgB,aAAa,CAC3B,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,QAAQ,EAAE,EACrB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,QAAQ,GACvB;IAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAyB9C;AAGD,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,QAAQ,EAAE,EACrB,cAAc,EAAE,QAAQ,GACvB,QAAQ,EAAE,CAoBZ;AAED,wBAAsB,aAAa,CACjC,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,GACvB,OAAO,CAAC,cAAc,CAAC,CAMzB;AAED;;;;;;;GAOG;AACH,wBAAsB,SAAS,CAC7B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC,CAuBzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../../src/server/lib/storage/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAMtE;;;GAGG;AACH,qBAAa,SAAU,YAAW,SAAS;IACzC,OAAO,CAAC,OAAO,CAAS;IAExB;;;OAGG;gBACS,OAAO,EAAE,MAAM;IAI3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAIvB;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;;OAGG;YACW,aAAa;IAa3B;;;;;OAKG;YACW,aAAa;IAY3B;;;;OAIG;YACW,YAAY;IAc1B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;;;OAIG;IACG,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IA4C1D;;;;OAIG;IACG,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgBhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../../src/server/lib/storage/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtE;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,SAAS;IACjD,OAAO,CAAC,KAAK,CAA0C;IAEvD;;;;OAIG;IACG,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAa1D;;;;OAIG;IACG,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAQhD"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TaskContext } from "../../../types/index.js";
|
|
2
|
-
import { Message, Task, TaskArtifactUpdateEvent, TaskStatusUpdateEvent, UpdateEvent } from "../../../types/extended-schema.js";
|
|
3
|
-
import { TaskAndHistory } from "../../interfaces/store.js";
|
|
4
|
-
export declare enum UpdateKind {
|
|
5
|
-
Message = "message",
|
|
6
|
-
Task = "task",
|
|
7
|
-
StatusUpdate = "status-update",
|
|
8
|
-
ArtifactUpdate = "artifact-update"
|
|
9
|
-
}
|
|
10
|
-
export interface UpdateProps<T extends UpdateEvent = UpdateEvent> {
|
|
11
|
-
context: TaskContext;
|
|
12
|
-
current: TaskAndHistory;
|
|
13
|
-
update: T;
|
|
14
|
-
}
|
|
15
|
-
export type Update<T extends UpdateEvent> = (props: UpdateProps<T>) => Promise<boolean>;
|
|
16
|
-
export declare const updateMessage: Update<Message>;
|
|
17
|
-
export declare const updateTask: Update<Task>;
|
|
18
|
-
export declare const updateTaskStatusUpdate: Update<TaskStatusUpdateEvent>;
|
|
19
|
-
export declare const updateTaskArtifactUpdate: Update<TaskArtifactUpdateEvent>;
|
|
20
|
-
export declare const update: Update<UpdateEvent>;
|
|
21
|
-
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/server/lib/update/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EACL,OAAO,EACP,IAAI,EACJ,uBAAuB,EACvB,qBAAqB,EACrB,WAAW,EACZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,YAAY,kBAAkB;IAC9B,cAAc,oBAAoB;CACnC;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW;IAC9D,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,CAAC,CAAC;CACX;AAED,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,WAAW,IAAI,CAC1C,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAClB,OAAO,CAAC,OAAO,CAAC,CAAC;AAatB,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,OAAO,CAQzC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,IAAI,CAkBnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,CAkBhE,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,uBAAuB,CAgBpE,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,WAAW,CAmCtC,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { TaskAndHistory, TaskStore } from "../../server/interfaces/store.js";
|
|
2
|
-
import { AgentCard, Message, MessageSendConfiguration, Task } from "../../types/index.js";
|
|
3
|
-
import { TaskContext } from "../../types/index.js";
|
|
4
|
-
import { A2ARepositoryInterface, A2ARepositoryOptions } from "../../types/services/a2a/repository.js";
|
|
5
|
-
import { Response } from "express";
|
|
6
|
-
/**
|
|
7
|
-
* @description The A2ARepository class.
|
|
8
|
-
*/
|
|
9
|
-
export declare class A2ARepository implements A2ARepositoryInterface {
|
|
10
|
-
protected taskStore: TaskStore;
|
|
11
|
-
protected _activeCancellations: Set<string>;
|
|
12
|
-
protected _activeStreams: Map<string, Response[]>;
|
|
13
|
-
protected card: AgentCard;
|
|
14
|
-
constructor(params: A2ARepositoryOptions);
|
|
15
|
-
/**
|
|
16
|
-
* @description Gets the agent card.
|
|
17
|
-
* @returns {AgentCard} The agent card.
|
|
18
|
-
*/
|
|
19
|
-
getCard(): AgentCard;
|
|
20
|
-
/**
|
|
21
|
-
* @description Gets the active streams.
|
|
22
|
-
* @returns {Map<string, Response[]>} The active streams.
|
|
23
|
-
*/
|
|
24
|
-
get activeStreams(): Map<string, Response[]>;
|
|
25
|
-
/**
|
|
26
|
-
* @description Gets the active cancellations.
|
|
27
|
-
* @returns {Set<string>} The active cancellations.
|
|
28
|
-
*/
|
|
29
|
-
get activeCancellations(): Set<string>;
|
|
30
|
-
/**
|
|
31
|
-
* @description Gets the task store.
|
|
32
|
-
* @returns {TaskStore} The task store.
|
|
33
|
-
*/
|
|
34
|
-
getTaskStore(): TaskStore;
|
|
35
|
-
/**
|
|
36
|
-
* Creates a TaskContext object for a task handler.
|
|
37
|
-
* @param task The task
|
|
38
|
-
* @param userMessage The user message
|
|
39
|
-
* @param history The message history
|
|
40
|
-
* @returns A TaskContext object
|
|
41
|
-
*/
|
|
42
|
-
createTaskContext(task: Task, userMessage: Message, history: Message[], configuration?: MessageSendConfiguration): TaskContext;
|
|
43
|
-
/**
|
|
44
|
-
* Handles task cancellation
|
|
45
|
-
* @param data Task and history data
|
|
46
|
-
* @param res Response object
|
|
47
|
-
*/
|
|
48
|
-
onCancel(context: TaskContext, data: TaskAndHistory, res: Response): Promise<void>;
|
|
49
|
-
/**
|
|
50
|
-
* Adds a response stream to the tracking map for a task.
|
|
51
|
-
* @param taskId The task ID
|
|
52
|
-
* @param res The response stream
|
|
53
|
-
*/
|
|
54
|
-
addStreamForTask(taskId: string, res: Response): void;
|
|
55
|
-
/**
|
|
56
|
-
* Removes a response stream from the tracking map for a task.
|
|
57
|
-
* @param taskId The task ID
|
|
58
|
-
* @param res The response stream
|
|
59
|
-
*/
|
|
60
|
-
removeStreamForTask(taskId: string, res: Response): void;
|
|
61
|
-
/**
|
|
62
|
-
* Closes any active streams for a task.
|
|
63
|
-
* @param taskId The task ID
|
|
64
|
-
*/
|
|
65
|
-
closeStreamsForTask(taskId: string): void;
|
|
66
|
-
/**
|
|
67
|
-
* Handles cleanup when a task stream ends
|
|
68
|
-
* @param taskId The task ID
|
|
69
|
-
* @param res Response object
|
|
70
|
-
*/
|
|
71
|
-
onEnd(taskId: string, res: Response): Promise<void>;
|
|
72
|
-
/**
|
|
73
|
-
* Destroys the repository.
|
|
74
|
-
*/
|
|
75
|
-
destroy(): Promise<void>;
|
|
76
|
-
}
|
|
77
|
-
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../src/services/a2a/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,SAAS,EACT,OAAO,EACP,wBAAwB,EACxB,IAAI,EACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC;;GAEG;AACH,qBAAa,aAAc,YAAW,sBAAsB;IAC1D,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,SAAS,CAAC,oBAAoB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5C,SAAS,CAAC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClD,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC;gBAEd,MAAM,EAAE,oBAAoB;IAOxC;;;OAGG;IACI,OAAO,IAAI,SAAS;IAI3B;;;OAGG;IACH,IAAI,aAAa,IAAI,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAE3C;IAED;;;OAGG;IACH,IAAI,mBAAmB,IAAI,GAAG,CAAC,MAAM,CAAC,CAErC;IAED;;;OAGG;IACI,YAAY,IAAI,SAAS;IAIhC;;;;;;OAMG;IACH,iBAAiB,CACf,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,OAAO,EACpB,OAAO,EAAE,OAAO,EAAE,EAClB,aAAa,CAAC,EAAE,wBAAwB,GACvC,WAAW;IAWd;;;;OAIG;IACG,QAAQ,CACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,cAAc,EACpB,GAAG,EAAE,QAAQ,GACZ,OAAO,CAAC,IAAI,CAAC;IAchB;;;;OAIG;IACI,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI;IAW5D;;;;OAIG;IACI,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI;IAiB/D;;;OAGG;IACI,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAchD;;;;OAIG;IACU,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAKhE;;OAEG;IACU,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAYtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../../../src/types/services/a2a/repository.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/types/services/a2a/service.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description The execution context config.
|
|
3
|
-
* @type {const}
|
|
4
|
-
*/
|
|
5
|
-
export const executionContextConfig = {
|
|
6
|
-
id: "contextId",
|
|
7
|
-
message: "userMessage",
|
|
8
|
-
};
|
|
9
|
-
//todo move to utils
|
|
10
|
-
// export function getParams(context: ExecutionContext) {
|
|
11
|
-
// console.log("getParams", context);
|
|
12
|
-
// switch (context.protocol) {
|
|
13
|
-
// case Protocol.A2A:
|
|
14
|
-
// const a2aRequestParams = context.getRequestParams();
|
|
15
|
-
// if (!a2aRequestParams) {
|
|
16
|
-
// throw new Error("No request params provided");
|
|
17
|
-
// }
|
|
18
|
-
// return a2aRequestParams;
|
|
19
|
-
// case Protocol.MCP:
|
|
20
|
-
// const mcpRequestParams = context.getRequestParams();
|
|
21
|
-
// if (!mcpRequestParams) {
|
|
22
|
-
// throw new Error("No request params provided");
|
|
23
|
-
// }
|
|
24
|
-
// return mcpRequestParams;
|
|
25
|
-
// default:
|
|
26
|
-
// throw new Error("Invalid protocol");
|
|
27
|
-
// }
|
|
28
|
-
// }
|
|
29
|
-
//# sourceMappingURL=context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/types/services/context.ts"],"names":[],"mappings":"AAuLA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,EAAE,EAAE,WAAW;IACf,OAAO,EAAE,aAAa;CACd,CAAC;AAEX,oBAAoB;AACpB,yDAAyD;AACzD,uCAAuC;AACvC,gCAAgC;AAChC,yBAAyB;AACzB,6DAA6D;AAC7D,iCAAiC;AACjC,yDAAyD;AACzD,UAAU;AACV,iCAAiC;AACjC,yBAAyB;AACzB,6DAA6D;AAC7D,iCAAiC;AACjC,yDAAyD;AACzD,UAAU;AACV,iCAAiC;AACjC,eAAe;AACf,6CAA6C;AAC7C,MAAM;AACN,IAAI"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { v4 as uuidv4 } from "uuid";
|
|
2
|
-
export class ServiceDispatcher {
|
|
3
|
-
services;
|
|
4
|
-
engine;
|
|
5
|
-
constructor(options) {
|
|
6
|
-
this.engine = options.engine;
|
|
7
|
-
this.services = options.services;
|
|
8
|
-
}
|
|
9
|
-
static createExecutionContext(req) {
|
|
10
|
-
return {
|
|
11
|
-
id: req.id ?? uuidv4(),
|
|
12
|
-
protocol: req.protocol,
|
|
13
|
-
getRequestParams: () => req.params,
|
|
14
|
-
isCancelled: () => false,
|
|
15
|
-
requestContext: req,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
async onRequest(req) {
|
|
19
|
-
const service = this.services[req.protocol];
|
|
20
|
-
if (!service) {
|
|
21
|
-
throw new Error(`Unknown service: ${req.protocol}`);
|
|
22
|
-
}
|
|
23
|
-
const executionContext = ServiceDispatcher.createExecutionContext(req);
|
|
24
|
-
await service.execute({
|
|
25
|
-
executionContext,
|
|
26
|
-
engine: this.engine,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
addService(service) {
|
|
30
|
-
this.services[service.protocol] = service;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=dispatcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.js","sourceRoot":"","sources":["../../../src/types/services/dispatcher.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAYpC,MAAM,OAAO,iBAAiB;IACnB,QAAQ,CAAqC;IAC7C,MAAM,CAAc;IAE7B,YAAY,OAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,sBAAsB,CAC3B,GAAQ;QAER,OAAO;YACL,EAAE,EAAE,GAAG,CAAC,EAAE,IAAI,MAAM,EAAE;YACtB,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,gBAAgB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM;YAClC,WAAW,EAAE,GAAG,EAAE,CAAC,KAAK;YACxB,cAAc,EAAE,GAAG;SACpB,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,SAAS,CAAmC,GAAQ;QACxD,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,oBAAoB,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QACtD,CAAC;QAED,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;QAEhD,MAAM,OAAO,CAAC,OAAO,CAAC;YACpB,gBAAgB;YAChB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC,CAAC;IACL,CAAC;IAED,UAAU,CAAC,OAAgB;QACzB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC;IAC5C,CAAC;CACF"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./a2a/repository.js";
|
|
2
|
-
export * from "./a2a/service.js";
|
|
3
|
-
export * from "./mcp/service.js";
|
|
4
|
-
export * from "./context.js";
|
|
5
|
-
export * from "./dispatcher.js";
|
|
6
|
-
export * from "./manager.js";
|
|
7
|
-
export * from "./protocol.js";
|
|
8
|
-
export * from "./service.js";
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { BaseExecutionContext } from "../types/services/context.js";
|
|
2
|
-
import { AgentCard } from "../types/index.js";
|
|
3
|
-
import { ServiceDispatcher } from "../types/services/dispatcher.js";
|
|
4
|
-
import { Protocol } from "../types/services/protocol.js";
|
|
5
|
-
import { Service } from "../types/services/service.js";
|
|
6
|
-
import { ManagerInterface, ManagerOptions } from "../types/services/manager.js";
|
|
7
|
-
/**
|
|
8
|
-
* @description The service manager class.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ServiceManager extends ServiceDispatcher implements ManagerInterface {
|
|
11
|
-
/**
|
|
12
|
-
* @description The agent card.
|
|
13
|
-
* @type {AgentCard}
|
|
14
|
-
*/
|
|
15
|
-
readonly card: AgentCard;
|
|
16
|
-
/**
|
|
17
|
-
* @description The constructor.
|
|
18
|
-
* @param {ManagerOptions} params The service manager params.
|
|
19
|
-
*/
|
|
20
|
-
constructor(params: ManagerOptions);
|
|
21
|
-
/**
|
|
22
|
-
* @description Creates a request context.
|
|
23
|
-
* @param {T} req The request.
|
|
24
|
-
* @returns {T} The request context.
|
|
25
|
-
*/
|
|
26
|
-
createRequestContext<T extends BaseExecutionContext>(req: T): T;
|
|
27
|
-
/**
|
|
28
|
-
* @description Gets the agent card.
|
|
29
|
-
* @returns {AgentCard} The agent card.
|
|
30
|
-
*/
|
|
31
|
-
getCard(): AgentCard;
|
|
32
|
-
/**
|
|
33
|
-
* @description Gets a service by protocol.
|
|
34
|
-
* @param {Protocol} protocol The protocol.
|
|
35
|
-
* @returns {Service} The service.
|
|
36
|
-
*/
|
|
37
|
-
getService(protocol: Protocol): Service | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* @description Stops the manager.
|
|
40
|
-
* @returns {Promise<void>} The promise.
|
|
41
|
-
*/
|
|
42
|
-
destroy(): Promise<void>;
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../src/services/manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEhF;;GAEG;AACH,qBAAa,cACX,SAAQ,iBACR,YAAW,gBAAgB;IAE3B;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAKlC;;;;OAIG;IACH,oBAAoB,CAAC,CAAC,SAAS,oBAAoB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC;IAc/D;;;OAGG;IACH,OAAO,IAAI,SAAS;IAIpB;;;;OAIG;IACH,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS;IAInD;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAK/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../src/types/services/manager.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/mcp/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { McpServer, ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
-
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
3
|
-
import { Protocol } from "../../types/services/protocol.js";
|
|
4
|
-
import { ExecutionContext, MCPExecutionContext } from "../../types/services/context.js";
|
|
5
|
-
import { AgentSkill } from "../../types/index.js";
|
|
6
|
-
import { Implementation } from "@modelcontextprotocol/sdk/types.js";
|
|
7
|
-
import { ServerOptions } from "@modelcontextprotocol/sdk/server/index.js";
|
|
8
|
-
import { AgentEngine } from "../../types/services/context.js";
|
|
9
|
-
import { ZodRawShape } from "zod";
|
|
10
|
-
import { MCPTool, MCPServiceInterface } from "../../types/services/mcp/service.js";
|
|
11
|
-
export declare class MCPService<T extends StreamableHTTPServerTransport = StreamableHTTPServerTransport> extends McpServer implements MCPServiceInterface {
|
|
12
|
-
readonly name: string;
|
|
13
|
-
readonly protocol: Protocol.MCP;
|
|
14
|
-
readonly engine: AgentEngine;
|
|
15
|
-
constructor({ serverInfo, engine, options, skills, }: {
|
|
16
|
-
serverInfo: Implementation;
|
|
17
|
-
engine: AgentEngine;
|
|
18
|
-
skills?: AgentSkill[];
|
|
19
|
-
options?: ServerOptions;
|
|
20
|
-
});
|
|
21
|
-
initialize(skills: AgentSkill[]): void;
|
|
22
|
-
execute({ executionContext, }: {
|
|
23
|
-
executionContext: ExecutionContext<MCPExecutionContext>;
|
|
24
|
-
engine: AgentEngine;
|
|
25
|
-
}): Promise<void>;
|
|
26
|
-
stop(): Promise<void>;
|
|
27
|
-
static mcpFactory<Args extends MCPExecutionContext = MCPExecutionContext>(engine: AgentEngine): (args: Args["params"]) => Promise<string>;
|
|
28
|
-
static skillToTool<Args extends ZodRawShape = ZodRawShape>(skill: AgentSkill, argShape: Args, agentHandler: (...args: Parameters<ToolCallback<Args>>) => Promise<string>): MCPTool<Args>;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/services/mcp/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACb,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,oDAAoD,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAEL,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EACL,OAAO,EAEP,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,UAAU,CACnB,CAAC,SAAS,6BAA6B,GAAG,6BAA6B,CAEzE,SAAQ,SACR,YAAW,mBAAmB;IAE9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;gBACjB,EACV,UAAU,EACV,MAAM,EACN,OAAO,EACP,MAAM,GACP,EAAE;QACD,UAAU,EAAE,cAAc,CAAC;QAC3B,MAAM,EAAE,WAAW,CAAC;QACpB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC;KACzB;IAUD,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE;IAiBzB,OAAO,CAAC,EACZ,gBAAgB,GACjB,EAAE;QACD,gBAAgB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;QACxD,MAAM,EAAE,WAAW,CAAC;KACrB,GAAG,OAAO,CAAC,IAAI,CAAC;IAaX,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,MAAM,CAAC,UAAU,CAAC,IAAI,SAAS,mBAAmB,GAAG,mBAAmB,EACtE,MAAM,EAAE,WAAW,GAClB,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC;IAkB5C,MAAM,CAAC,WAAW,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,EACvD,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,IAAI,EACd,YAAY,EAAE,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC;CAmBjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/types/services/mcp/service.ts"],"names":[],"mappings":"AAKA,OAAO,CAAkB,MAAM,KAAK,CAAC;AAKrC;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/types/services/protocol.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,QAyBX;AAzBD,WAAY,QAAQ;IAClB;;OAEG;IACH,uBAAW,CAAA;IACX;;OAEG;IACH,uBAAW,CAAA;IACX;;OAEG;IACH,uBAAW,CAAA;IACX;;OAEG;IACH,yBAAa,CAAA;IACb;;OAEG;IACH,2BAAe,CAAA;IACf;;OAEG;IACH,6BAAiB,CAAA;AACnB,CAAC,EAzBW,QAAQ,KAAR,QAAQ,QAyBnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/types/services/service.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/types/transform.ts"],"names":[],"mappings":"AAAA;;GAEG;AAkCH;;;GAGG;AACH,MAAM,UAAU,aAAa,CAC3B,GAAM,EACN,MAAc;IAEd,MAAM,MAAM,GAAQ,EAAE,CAAC;IAEvB,+CAA+C;IAC/C,KAAK,MAAM,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACnD,MAAM,UAAU,GAAG,MAAM,CAAC,GAAmB,CAAC,CAAC;YAE/C,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;gBACnC,iBAAiB;gBACjB,MAAM,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACN,oBAAoB;gBACpB,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,MAAkC,CAAC;AAC5C,CAAC;AAYD;;;GAGG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,UAA0C,MAAc;QAC7D,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Response } from "express";
|
|
2
|
-
import { JSONRPCError } from "../../types/index.js";
|
|
3
|
-
import { TaskEvent, UpdateEvent } from "../../types/extended-schema.js";
|
|
4
|
-
import { TaskStore, TaskAndHistory } from "../../server/interfaces/store.js";
|
|
5
|
-
import { AgentEngine, ExecutionContext, TaskContext, A2AExecutionContext } from "../../types/index.js";
|
|
6
|
-
import { SendStreamingMessageRequest, TaskResubscriptionRequest } from "../../types/index.js";
|
|
7
|
-
/**
|
|
8
|
-
* Sets up a Server-Sent Events stream with appropriate headers
|
|
9
|
-
* and initializes tracking for the stream.
|
|
10
|
-
*
|
|
11
|
-
* @param res The Express Response object
|
|
12
|
-
* @param taskId The task ID to associate with this stream
|
|
13
|
-
* @param reqId The request ID for acknowledgment
|
|
14
|
-
* @param initialStatus Optional initial status to send
|
|
15
|
-
* @param addStreamMethod Function to add stream to tracking
|
|
16
|
-
* @param sendSseMethod Function to send SSE events
|
|
17
|
-
*/
|
|
18
|
-
export declare function setupSseStream(res: Response, taskId: string, initialStatus: TaskEvent, addStreamMethod?: (taskId: string, res: Response) => void): void;
|
|
19
|
-
/**
|
|
20
|
-
* Sends a Server-Sent Event with task data.
|
|
21
|
-
* @param res The Express Response object
|
|
22
|
-
* @param reqId The request ID
|
|
23
|
-
* @param eventData The event data to send
|
|
24
|
-
*/
|
|
25
|
-
export declare function sendSSEEvent(res: Response, id: string, update: UpdateEvent): void;
|
|
26
|
-
/**
|
|
27
|
-
* Sends a Server-Sent Event with error data.
|
|
28
|
-
* @param res The Express Response object
|
|
29
|
-
* @param reqId The request ID
|
|
30
|
-
* @param error The error to send
|
|
31
|
-
*/
|
|
32
|
-
export declare function sendSSEError(res: Response, error: JSONRPCError<any, any>): void;
|
|
33
|
-
/**
|
|
34
|
-
* Processes a task stream, handling generator yields and sending SSE events.
|
|
35
|
-
* @param req The request object
|
|
36
|
-
* @param res The response object
|
|
37
|
-
* @param taskId The task ID
|
|
38
|
-
* @param context The task context
|
|
39
|
-
* @param initialData The initial task data
|
|
40
|
-
*/
|
|
41
|
-
export declare function processTaskStream<T extends A2AExecutionContext<SendStreamingMessageRequest | TaskResubscriptionRequest>>(context: TaskContext, taskStore: TaskStore, engine: AgentEngine, res: Response, taskId: string, initialData: TaskAndHistory, onCancel: (context: TaskContext, data: TaskAndHistory, res: Response) => Promise<void>, onEnd: (taskId: string, res: Response) => Promise<void>, executionContext: ExecutionContext<T>): Promise<void>;
|
|
42
|
-
//# sourceMappingURL=stream.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../../src/transport/streaming/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,YAAY,EAAmB,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,QAAQ,EACb,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,SAAS,EACxB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,KAAK,IAAI,GACxD,IAAI,CAaN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,QAAQ,EACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,WAAW,GAClB,IAAI,CAYN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,GAC5B,IAAI,CAWN;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACrC,CAAC,SAAS,mBAAmB,CAC3B,2BAA2B,GAAG,yBAAyB,CACxD,EAED,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,WAAW,EACnB,GAAG,EAAE,QAAQ,EACb,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,cAAc,EAC3B,QAAQ,EAAE,CACR,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,cAAc,EACpB,GAAG,EAAE,QAAQ,KACV,OAAO,CAAC,IAAI,CAAC,EAClB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,KAAK,OAAO,CAAC,IAAI,CAAC,EACvD,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,GACpC,OAAO,CAAC,IAAI,CAAC,CA6Df"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/types/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,YAAY,EACZ,IAAI,EACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,OAAO,EACP,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;GAOG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;OAOG;IACH,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC;IAEhC;;;;;OAKG;IACH,gBAAgB,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC;IAEvC;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAEvE;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAEpE;;;;;;OAMG;IACH,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IAE5E;;;;;;;OAOG;IACH,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IAEzE;;;;;OAKG;IACH,OAAO,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAEvD;;;;;OAKG;IACH,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAEvD;;;;;;;OAOG;IACH,uBAAuB,CACrB,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,uBAAuB,CACrB,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC;IAE9C;;;;;;OAMG;IACH,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IAErE;;;;;OAKG;IACH,QAAQ,CACN,UAAU,EAAE,WAAW,GAAG,mBAAmB,GAAG,wBAAwB,GACvE,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;;OAKG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAElD;;;;;OAKG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7C;;;;OAIG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,YAAY,IAAI,IAAI,CAAC;CACtB"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import express from "express";
|
|
2
|
-
import http from "http";
|
|
3
|
-
import { CorsOptions } from "cors";
|
|
4
|
-
import { ManagerOptions } from "./services/manager.js";
|
|
5
|
-
import { Protocol } from "./services/protocol.js";
|
|
6
|
-
import { Service } from "./services/service.js";
|
|
7
|
-
/**
|
|
8
|
-
* @description The express server options.
|
|
9
|
-
*/
|
|
10
|
-
export interface ExpressServerOptions extends Omit<ManagerOptions, "services"> {
|
|
11
|
-
/**
|
|
12
|
-
* @description The services.
|
|
13
|
-
* @type {Partial<Record<Protocol, Service>>}
|
|
14
|
-
*/
|
|
15
|
-
services?: Partial<Record<Protocol, Service>>;
|
|
16
|
-
/**
|
|
17
|
-
* @description The app.
|
|
18
|
-
* @type {express.Express}
|
|
19
|
-
*/
|
|
20
|
-
app?: express.Express;
|
|
21
|
-
/**
|
|
22
|
-
* @description The cors options.
|
|
23
|
-
* @type {CorsOptions}
|
|
24
|
-
*/
|
|
25
|
-
corsOptions?: CorsOptions;
|
|
26
|
-
/**
|
|
27
|
-
* @description The base path.
|
|
28
|
-
* @type {string}
|
|
29
|
-
*/
|
|
30
|
-
basePath?: string;
|
|
31
|
-
/**
|
|
32
|
-
* @description The fallback path.
|
|
33
|
-
* @type {string}
|
|
34
|
-
*/
|
|
35
|
-
fallbackPath?: string;
|
|
36
|
-
/**
|
|
37
|
-
* @description The register.
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
*/
|
|
40
|
-
register?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* @description The port.
|
|
43
|
-
* @type {number}
|
|
44
|
-
*/
|
|
45
|
-
port?: number;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @description The express server interface.
|
|
49
|
-
*/
|
|
50
|
-
export interface ExpressServerInterface {
|
|
51
|
-
/**
|
|
52
|
-
* @description Gets the app.
|
|
53
|
-
* @returns {express.Express} The app.
|
|
54
|
-
*/
|
|
55
|
-
getApp(): express.Express;
|
|
56
|
-
/**
|
|
57
|
-
* @description Starts the server.
|
|
58
|
-
* @returns {Promise<http.Server>} The server.
|
|
59
|
-
*/
|
|
60
|
-
start(): Promise<http.Server>;
|
|
61
|
-
/**
|
|
62
|
-
* @description Stops the server.
|
|
63
|
-
*/
|
|
64
|
-
stop(): Promise<void>;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=express.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../src/types/express.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IAC5E;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAC9C;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAC1B;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB"}
|