@posiwise/common-services 0.2.26 → 0.2.27
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/package.json
CHANGED
|
@@ -1172,6 +1172,32 @@ declare class NotificationService {
|
|
|
1172
1172
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
+
interface BrainPushMessage {
|
|
1176
|
+
id: string;
|
|
1177
|
+
text: string;
|
|
1178
|
+
}
|
|
1179
|
+
declare class BrainSocketService {
|
|
1180
|
+
private readonly appConfigService;
|
|
1181
|
+
private readonly store;
|
|
1182
|
+
constructor(appConfigService: AppConfigService, store: Store<AppState>);
|
|
1183
|
+
/**
|
|
1184
|
+
* Hot stream of assistant messages pushed by the server. Subscribe when the
|
|
1185
|
+
* chat panel mounts; unsubscribe (via `takeUntil`) when it tears down.
|
|
1186
|
+
*/
|
|
1187
|
+
messages$(): Observable<BrainPushMessage>;
|
|
1188
|
+
private buildSocketUrl$;
|
|
1189
|
+
/** Absolute `ws(s)://…/brain-api/v1/ws` base, dev (same-origin) or prod (links). */
|
|
1190
|
+
private wsBase$;
|
|
1191
|
+
/**
|
|
1192
|
+
* Same credential resolution as `MCPOrchestratorService.pickApiCredentials`
|
|
1193
|
+
* — token/userId from the active user, clientId from the active subscription.
|
|
1194
|
+
*/
|
|
1195
|
+
private pickApiCredentials;
|
|
1196
|
+
private encodeBundle;
|
|
1197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrainSocketService, never>;
|
|
1198
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BrainSocketService>;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1175
1201
|
declare class UserEffects {
|
|
1176
1202
|
private readonly userService;
|
|
1177
1203
|
private readonly actions$;
|
|
@@ -1333,5 +1359,5 @@ declare class BrainApiService {
|
|
|
1333
1359
|
static ɵprov: i0.ɵɵInjectableDeclaration<BrainApiService>;
|
|
1334
1360
|
}
|
|
1335
1361
|
|
|
1336
|
-
export { AbTestService, AhoyService, AuthService, BaseHttpService, BrainApiHttpService, BrainApiService, CommonService, CommonServicesModule, CustomPreloadingStrategy, CustomToastService, DashboardService, DataService, FeatureFlagService, FormHelperService, GeoService, GoogleAnalyticsService, GroupService, HopscotchService, IntegrationsApiHttpService, LinkService, LocalStorage, LogoCacheService, MCPOrchestratorService, MailBoxService, MainApiHttpService, McpJsonRpcService, NgbDateCustomParserFormatter, NotificationService, NumberPickerService, PermissionService, PrimeNgHelper, ProductService, ProfileService, QualificationService, ScriptLoaderService, SecureTokenStorageService, SentryErrorHandler, SeoService, SubscriptionService, TagService, TipsService, UserEffects, UserService, ValidationService, WebsocketService, WindowService };
|
|
1337
|
-
export type { MCPActionPlan, MCPConfirmRequest, MCPExecuteRequest, MCPExecuteResponse, MCPFieldDiff, MCPInterpretRequest, MCPInterpretResponse, MCPResultStatus, MCPRiskLevel, McpJsonRpcError, McpJsonRpcRequest, McpJsonRpcResponse, McpToolDefinition, McpToolsListResult };
|
|
1362
|
+
export { AbTestService, AhoyService, AuthService, BaseHttpService, BrainApiHttpService, BrainApiService, BrainSocketService, CommonService, CommonServicesModule, CustomPreloadingStrategy, CustomToastService, DashboardService, DataService, FeatureFlagService, FormHelperService, GeoService, GoogleAnalyticsService, GroupService, HopscotchService, IntegrationsApiHttpService, LinkService, LocalStorage, LogoCacheService, MCPOrchestratorService, MailBoxService, MainApiHttpService, McpJsonRpcService, NgbDateCustomParserFormatter, NotificationService, NumberPickerService, PermissionService, PrimeNgHelper, ProductService, ProfileService, QualificationService, ScriptLoaderService, SecureTokenStorageService, SentryErrorHandler, SeoService, SubscriptionService, TagService, TipsService, UserEffects, UserService, ValidationService, WebsocketService, WindowService };
|
|
1363
|
+
export type { BrainPushMessage, MCPActionPlan, MCPConfirmRequest, MCPExecuteRequest, MCPExecuteResponse, MCPFieldDiff, MCPInterpretRequest, MCPInterpretResponse, MCPResultStatus, MCPRiskLevel, McpJsonRpcError, McpJsonRpcRequest, McpJsonRpcResponse, McpToolDefinition, McpToolsListResult };
|