Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: socketdock implementation #29

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

pallavighule
Copy link

What

  • Added socketdock transport session
  • Added connect disconnect and message routes for accepting socketdock requests

pallavighule and others added 20 commits November 25, 2024 12:52
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: Rinkal Bhojani <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
Signed-off-by: pallavicoder <[email protected]>
src/constants.ts Outdated Show resolved Hide resolved
src/agent.ts Outdated Show resolved Hide resolved
}

public async start(agent: Agent) {
this.app.post('/connect', async (req, res) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will this work with multiple agents being deployed? Will /connect be called for each of them?

I think we should maybe refactor this so it's possible for the mediator to check if there is an externally managed active transport session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants