sandbox connected and streaming

This commit is contained in:
2026-03-30 23:29:03 -04:00
parent c3a8fae132
commit 998f69fa1a
130 changed files with 7416 additions and 2123 deletions

View File

@@ -1,4 +1,4 @@
import type { UserLicense, ChannelType } from '../../types/user.js';
import type { License, ChannelType } from '../../types/user.js';
import type { BaseMessage } from '@langchain/core/messages';
/**
@@ -62,7 +62,7 @@ export interface UserContext {
// Identity
userId: string;
sessionId: string;
license: UserLicense;
license: License;
// Channel context (for multi-channel routing)
activeChannel: ActiveChannel;
@@ -146,7 +146,7 @@ export function getDefaultCapabilities(channelType: ChannelType): ChannelCapabil
export function createUserContext(params: {
userId: string;
sessionId: string;
license: UserLicense;
license: License;
channelType: ChannelType;
channelUserId: string;
channelCapabilities?: Partial<ChannelCapabilities>;