├── .dockerignore ├── .env.test.example ├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── 01-bug.yml │ ├── config.yml │ └── feature_request.md └── workflows │ ├── claude-code-review.yml │ ├── claude-reviewer.yml │ ├── publish-npm.yml │ ├── push-to-main.yml │ └── top-issue.yml ├── .gitignore ├── .node-version ├── .prettierrc ├── CHANGELOG.md ├── Dockerfile ├── LICENCE ├── README.md ├── examples ├── .env.example ├── agent-room-management-example.ts ├── basic-usage.ts ├── claude-agent-x-follower │ ├── .env.example │ ├── QUICKSTART.md │ ├── README.md │ ├── index.ts │ ├── package.json │ └── tsconfig.json ├── n8n-teneo │ ├── .env.example │ ├── .gitignore │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ └── workflows │ │ └── x-timeline.json ├── openai-teneo │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── index.ts │ ├── package.json │ └── tsconfig.json ├── production-dashboard │ ├── .env.example │ ├── README.md │ ├── package.json │ ├── pnpm-lock.yaml │ ├── public │ │ └── dashboard.html │ └── server.ts ├── room-management-example.ts ├── usage │ ├── .env.example │ ├── 01-connect.ts │ ├── 02-list-agents.ts │ ├── 03-pick-agent.ts │ ├── 04-find-by-capability.ts │ ├── 05-webhook-example.ts │ ├── 06-simple-api-server.ts │ ├── 07-event-listener.ts │ ├── README.md │ └── package.json ├── webhook-integration.ts ├── x-influencer-battle-redesign.html ├── x-influencer-battle-server.ts └── x-influencer-battle.html ├── package.json ├── pnpm-lock.yaml ├── src ├── constants.ts ├── core │ ├── websocket-client.test.ts │ └── websocket-client.ts ├── formatters │ ├── response-formatter.test.ts │ └── response-formatter.ts ├── handlers │ ├── message-handler-registry.ts │ ├── message-handlers │ │ ├── agent-room-operation-response-handler.ts │ │ ├── agent-selected-handler.ts │ │ ├── agent-status-update-handler.ts │ │ ├── agents-list-handler.ts │ │ ├── auth-error-handler.ts │ │ ├── auth-message-handler.ts │ │ ├── auth-required-handler.ts │ │ ├── auth-success-handler.ts │ │ ├── base-handler.ts │ │ ├── challenge-handler.ts │ │ ├── error-message-handler.ts │ │ ├── index.ts │ │ ├── list-available-agents-handler.ts │ │ ├── list-room-agents-handler.ts │ │ ├── list-rooms-response-handler.ts │ │ ├── ping-pong-handler.ts │ │ ├── regular-message-handler.ts │ │ ├── room-operation-response-handler.ts │ │ ├── subscribe-response-handler.ts │ │ ├── task-response-handler.ts │ │ ├── types.ts │ │ └── unsubscribe-response-handler.ts │ ├── webhook-handler.test.ts │ └── webhook-handler.ts ├── index.ts ├── managers │ ├── agent-registry.test.ts │ ├── agent-registry.ts │ ├── agent-room-manager.ts │ ├── connection-manager.ts │ ├── index.ts │ ├── message-router.ts │ ├── room-management-manager.ts │ └── room-manager.ts ├── teneo-sdk.ts ├── types │ ├── config.test.ts │ ├── config.ts │ ├── error-codes.ts │ ├── events.test.ts │ ├── events.ts │ ├── health.ts │ ├── index.ts │ ├── messages.test.ts │ ├── messages.ts │ └── validation.ts └── utils │ ├── bounded-queue.test.ts │ ├── bounded-queue.ts │ ├── circuit-breaker.test.ts │ ├── circuit-breaker.ts │ ├── deduplication-cache.test.ts │ ├── deduplication-cache.ts │ ├── event-waiter.test.ts │ ├── event-waiter.ts │ ├── index.ts │ ├── logger.ts │ ├── rate-limiter.test.ts │ ├── rate-limiter.ts │ ├── retry-policy.test.ts │ ├── retry-policy.ts │ ├── secure-private-key.test.ts │ ├── secure-private-key.ts │ ├── signature-verifier.test.ts │ ├── signature-verifier.ts │ ├── ssrf-validator.test.ts │ └── ssrf-validator.ts ├── tests ├── integration-setup.ts ├── integration │ ├── real-server.test.ts │ ├── room-management.test.ts │ └── websocket.test.ts ├── setup.ts └── unit │ ├── handlers │ ├── agent-room-operation-response-handler.test.ts │ ├── agent-status-update-handler.test.ts │ ├── auth-success-handler-rooms.test.ts │ ├── list-available-agents-handler.test.ts │ ├── list-room-agents-handler.test.ts │ └── room-operation-response-handler.test.ts │ └── managers │ ├── agent-room-manager.test.ts │ └── room-management-manager.test.ts ├── tsconfig.json ├── vitest.config.ts └── vitest.integration.config.ts /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.test.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.env.test.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/01-bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/ISSUE_TEMPLATE/01-bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/claude-code-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/workflows/claude-code-review.yml -------------------------------------------------------------------------------- /.github/workflows/claude-reviewer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/workflows/claude-reviewer.yml -------------------------------------------------------------------------------- /.github/workflows/publish-npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/workflows/publish-npm.yml -------------------------------------------------------------------------------- /.github/workflows/push-to-main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/workflows/push-to-main.yml -------------------------------------------------------------------------------- /.github/workflows/top-issue.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.github/workflows/top-issue.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 22.18.0 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/README.md -------------------------------------------------------------------------------- /examples/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/.env.example -------------------------------------------------------------------------------- /examples/agent-room-management-example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/agent-room-management-example.ts -------------------------------------------------------------------------------- /examples/basic-usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/basic-usage.ts -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/.env.example -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/QUICKSTART.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/QUICKSTART.md -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/README.md -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/index.ts -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/package.json -------------------------------------------------------------------------------- /examples/claude-agent-x-follower/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/claude-agent-x-follower/tsconfig.json -------------------------------------------------------------------------------- /examples/n8n-teneo/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/.env.example -------------------------------------------------------------------------------- /examples/n8n-teneo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/.gitignore -------------------------------------------------------------------------------- /examples/n8n-teneo/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/Dockerfile -------------------------------------------------------------------------------- /examples/n8n-teneo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/README.md -------------------------------------------------------------------------------- /examples/n8n-teneo/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/docker-compose.yml -------------------------------------------------------------------------------- /examples/n8n-teneo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/index.ts -------------------------------------------------------------------------------- /examples/n8n-teneo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/package.json -------------------------------------------------------------------------------- /examples/n8n-teneo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/tsconfig.json -------------------------------------------------------------------------------- /examples/n8n-teneo/workflows/x-timeline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/n8n-teneo/workflows/x-timeline.json -------------------------------------------------------------------------------- /examples/openai-teneo/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/.env.example -------------------------------------------------------------------------------- /examples/openai-teneo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/.gitignore -------------------------------------------------------------------------------- /examples/openai-teneo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/README.md -------------------------------------------------------------------------------- /examples/openai-teneo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/index.ts -------------------------------------------------------------------------------- /examples/openai-teneo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/package.json -------------------------------------------------------------------------------- /examples/openai-teneo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/openai-teneo/tsconfig.json -------------------------------------------------------------------------------- /examples/production-dashboard/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/.env.example -------------------------------------------------------------------------------- /examples/production-dashboard/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/README.md -------------------------------------------------------------------------------- /examples/production-dashboard/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/package.json -------------------------------------------------------------------------------- /examples/production-dashboard/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/pnpm-lock.yaml -------------------------------------------------------------------------------- /examples/production-dashboard/public/dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/public/dashboard.html -------------------------------------------------------------------------------- /examples/production-dashboard/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/production-dashboard/server.ts -------------------------------------------------------------------------------- /examples/room-management-example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/room-management-example.ts -------------------------------------------------------------------------------- /examples/usage/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/.env.example -------------------------------------------------------------------------------- /examples/usage/01-connect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/01-connect.ts -------------------------------------------------------------------------------- /examples/usage/02-list-agents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/02-list-agents.ts -------------------------------------------------------------------------------- /examples/usage/03-pick-agent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/03-pick-agent.ts -------------------------------------------------------------------------------- /examples/usage/04-find-by-capability.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/04-find-by-capability.ts -------------------------------------------------------------------------------- /examples/usage/05-webhook-example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/05-webhook-example.ts -------------------------------------------------------------------------------- /examples/usage/06-simple-api-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/06-simple-api-server.ts -------------------------------------------------------------------------------- /examples/usage/07-event-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/07-event-listener.ts -------------------------------------------------------------------------------- /examples/usage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/README.md -------------------------------------------------------------------------------- /examples/usage/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/usage/package.json -------------------------------------------------------------------------------- /examples/webhook-integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/webhook-integration.ts -------------------------------------------------------------------------------- /examples/x-influencer-battle-redesign.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/x-influencer-battle-redesign.html -------------------------------------------------------------------------------- /examples/x-influencer-battle-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/x-influencer-battle-server.ts -------------------------------------------------------------------------------- /examples/x-influencer-battle.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/examples/x-influencer-battle.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/core/websocket-client.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/core/websocket-client.test.ts -------------------------------------------------------------------------------- /src/core/websocket-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/core/websocket-client.ts -------------------------------------------------------------------------------- /src/formatters/response-formatter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/formatters/response-formatter.test.ts -------------------------------------------------------------------------------- /src/formatters/response-formatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/formatters/response-formatter.ts -------------------------------------------------------------------------------- /src/handlers/message-handler-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handler-registry.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/agent-room-operation-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/agent-room-operation-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/agent-selected-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/agent-selected-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/agent-status-update-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/agent-status-update-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/agents-list-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/agents-list-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/auth-error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/auth-error-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/auth-message-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/auth-message-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/auth-required-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/auth-required-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/auth-success-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/auth-success-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/base-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/base-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/challenge-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/challenge-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/error-message-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/error-message-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/index.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/list-available-agents-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/list-available-agents-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/list-room-agents-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/list-room-agents-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/list-rooms-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/list-rooms-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/ping-pong-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/ping-pong-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/regular-message-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/regular-message-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/room-operation-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/room-operation-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/subscribe-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/subscribe-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/task-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/task-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/types.ts -------------------------------------------------------------------------------- /src/handlers/message-handlers/unsubscribe-response-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/message-handlers/unsubscribe-response-handler.ts -------------------------------------------------------------------------------- /src/handlers/webhook-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/webhook-handler.test.ts -------------------------------------------------------------------------------- /src/handlers/webhook-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/handlers/webhook-handler.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/managers/agent-registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/agent-registry.test.ts -------------------------------------------------------------------------------- /src/managers/agent-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/agent-registry.ts -------------------------------------------------------------------------------- /src/managers/agent-room-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/agent-room-manager.ts -------------------------------------------------------------------------------- /src/managers/connection-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/connection-manager.ts -------------------------------------------------------------------------------- /src/managers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/index.ts -------------------------------------------------------------------------------- /src/managers/message-router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/message-router.ts -------------------------------------------------------------------------------- /src/managers/room-management-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/room-management-manager.ts -------------------------------------------------------------------------------- /src/managers/room-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/managers/room-manager.ts -------------------------------------------------------------------------------- /src/teneo-sdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/teneo-sdk.ts -------------------------------------------------------------------------------- /src/types/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/config.test.ts -------------------------------------------------------------------------------- /src/types/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/config.ts -------------------------------------------------------------------------------- /src/types/error-codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/error-codes.ts -------------------------------------------------------------------------------- /src/types/events.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/events.test.ts -------------------------------------------------------------------------------- /src/types/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/events.ts -------------------------------------------------------------------------------- /src/types/health.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/health.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/messages.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/messages.test.ts -------------------------------------------------------------------------------- /src/types/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/messages.ts -------------------------------------------------------------------------------- /src/types/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/types/validation.ts -------------------------------------------------------------------------------- /src/utils/bounded-queue.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/bounded-queue.test.ts -------------------------------------------------------------------------------- /src/utils/bounded-queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/bounded-queue.ts -------------------------------------------------------------------------------- /src/utils/circuit-breaker.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/circuit-breaker.test.ts -------------------------------------------------------------------------------- /src/utils/circuit-breaker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/circuit-breaker.ts -------------------------------------------------------------------------------- /src/utils/deduplication-cache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/deduplication-cache.test.ts -------------------------------------------------------------------------------- /src/utils/deduplication-cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/deduplication-cache.ts -------------------------------------------------------------------------------- /src/utils/event-waiter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/event-waiter.test.ts -------------------------------------------------------------------------------- /src/utils/event-waiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/event-waiter.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/rate-limiter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/rate-limiter.test.ts -------------------------------------------------------------------------------- /src/utils/rate-limiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/rate-limiter.ts -------------------------------------------------------------------------------- /src/utils/retry-policy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/retry-policy.test.ts -------------------------------------------------------------------------------- /src/utils/retry-policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/retry-policy.ts -------------------------------------------------------------------------------- /src/utils/secure-private-key.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/secure-private-key.test.ts -------------------------------------------------------------------------------- /src/utils/secure-private-key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/secure-private-key.ts -------------------------------------------------------------------------------- /src/utils/signature-verifier.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/signature-verifier.test.ts -------------------------------------------------------------------------------- /src/utils/signature-verifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/signature-verifier.ts -------------------------------------------------------------------------------- /src/utils/ssrf-validator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/ssrf-validator.test.ts -------------------------------------------------------------------------------- /src/utils/ssrf-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/src/utils/ssrf-validator.ts -------------------------------------------------------------------------------- /tests/integration-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/integration-setup.ts -------------------------------------------------------------------------------- /tests/integration/real-server.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/integration/real-server.test.ts -------------------------------------------------------------------------------- /tests/integration/room-management.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/integration/room-management.test.ts -------------------------------------------------------------------------------- /tests/integration/websocket.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/integration/websocket.test.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/unit/handlers/agent-room-operation-response-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/agent-room-operation-response-handler.test.ts -------------------------------------------------------------------------------- /tests/unit/handlers/agent-status-update-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/agent-status-update-handler.test.ts -------------------------------------------------------------------------------- /tests/unit/handlers/auth-success-handler-rooms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/auth-success-handler-rooms.test.ts -------------------------------------------------------------------------------- /tests/unit/handlers/list-available-agents-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/list-available-agents-handler.test.ts -------------------------------------------------------------------------------- /tests/unit/handlers/list-room-agents-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/list-room-agents-handler.test.ts -------------------------------------------------------------------------------- /tests/unit/handlers/room-operation-response-handler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/handlers/room-operation-response-handler.test.ts -------------------------------------------------------------------------------- /tests/unit/managers/agent-room-manager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/managers/agent-room-manager.test.ts -------------------------------------------------------------------------------- /tests/unit/managers/room-management-manager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tests/unit/managers/room-management-manager.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /vitest.integration.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeneoProtocolAI/teneo-sdk/HEAD/vitest.integration.config.ts --------------------------------------------------------------------------------