@itphx/synth-backend 0.13.8 → 0.13.10

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.
@@ -1,6 +1,6 @@
1
1
  import type { ProviderConfig, ModelConfig, DecisionConfig, Message } from '@itphx/synth-shared';
2
2
  import type { ResolvedExecutionConfig } from '@itphx/synth-shared';
3
- import { SessionManager, EventBus, QueueProcessorManager, ContextOptimizer, ChatOrchestrator, McpManager, AuditLogger, OAuthCredentialService, OAuthProviderRegistry, SkillService, CommandService, EventRouter, RequestSessionService, EventIngress, AttachmentService, SchedulerService, QuestionService, BackgroundRunService, ProcessService, ThumbnailService, WorktreeService, WebhookService, AnalyticsRecorder, ApprovalRegistry, PipelineArtifactStore, PipelineEngine, PipelineRunControl, PluginRuntime } from '@itphx/synth-core';
3
+ import { SessionManager, EventBus, QueueProcessorManager, ContextOptimizer, ChatOrchestrator, McpManager, AuditLogger, OAuthCredentialService, OAuthProviderRegistry, SkillService, CommandService, SnippetService, EventRouter, RequestSessionService, EventIngress, AttachmentService, SchedulerService, TimerService, SessionMoveService, QuestionService, BackgroundRunService, ProcessService, ScriptService, ThumbnailService, WorktreeService, WebhookService, AnalyticsRecorder, ApprovalRegistry, PipelineArtifactStore, PipelineEngine, PipelineRunControl, PluginRuntime } from '@itphx/synth-core';
4
4
  import type { EventsRuntimeSettings, MetricsRegistry, StorageContext } from '@itphx/synth-core';
5
5
  import type { BackendConfig } from '../lib/app-config.js';
6
6
  import { EventHub } from '../events/hub.js';
@@ -22,6 +22,9 @@ export declare function createBackendDeps(config: BackendConfig, storage?: Stora
22
22
  */
23
23
  executionConfig?: ResolvedExecutionConfig): Promise<{
24
24
  dataDir: string;
25
+ executionRouter: import("@itphx/synth-core").ExecutionRouter;
26
+ executionConfig: ResolvedExecutionConfig;
27
+ fallbackExecutionConfig: ResolvedExecutionConfig;
25
28
  approvalRegistry: ApprovalRegistry | undefined;
26
29
  storageContext: StorageContext;
27
30
  metrics: MetricsRegistry | undefined;
@@ -43,7 +46,7 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
43
46
  defaultWorkingDir: string;
44
47
  getDefaultAgentId: () => Promise<string>;
45
48
  /**
46
- * ADR-046/ADR-069: эффективный project-trust гейт скиллов/команд/инструкций
49
+ * ADR-126/ADR-069: эффективный project-trust гейт скиллов/команд/инструкций
47
50
  * (runtime > config), снятый на старте; нужен резолверу инструкций в
48
51
  * `mount-routes`.
49
52
  */
@@ -55,6 +58,11 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
55
58
  };
56
59
  securityAudit: import("@itphx/synth-core").SecurityAuditRepository;
57
60
  egressRequests: import("@itphx/synth-core").EgressRequestLogRepository;
61
+ commandAuditLog: import("@itphx/synth-core").CommandAuditLog;
62
+ terminalService: import("@itphx/synth-core").TerminalService;
63
+ stopTerminalService: () => void;
64
+ moveService: SessionMoveService | undefined;
65
+ commandPolicyProvider: import("@itphx/synth-core").CommandPolicyProvider | null;
58
66
  analyticsRollups: import("@itphx/synth-core").AnalyticsRollupRepository;
59
67
  analytics: AnalyticsRecorder | undefined;
60
68
  detachAnalyticsHooks: () => void;
@@ -79,6 +87,7 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
79
87
  stopBackgroundRunPruner: () => void;
80
88
  processService: ProcessService | undefined;
81
89
  stopProcessLogPruner: () => void;
90
+ scriptService: ScriptService | undefined;
82
91
  stopAttachmentPruner: () => void;
83
92
  stopMediaTempPruner: () => void;
84
93
  attachmentsSettings: import("@itphx/synth-core").LiveAttachmentsSettings;
@@ -88,6 +97,7 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
88
97
  contextDefaultsSettings: import("@itphx/synth-core").LiveContextDefaults;
89
98
  stickyNotesLimitsSettings: import("@itphx/synth-core").LiveStickyNotesLimits;
90
99
  sshModeSettings: import("@itphx/synth-core").LiveSshMode;
100
+ backgroundSettings: import("@itphx/synth-core").LiveBackgroundSettings;
91
101
  worktreeService: WorktreeService | undefined;
92
102
  webhookStore: import("@itphx/synth-core").WebhookRepository;
93
103
  webhookDeliveryStore: import("@itphx/synth-core").WebhookDeliveryRepository;
@@ -127,6 +137,7 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
127
137
  skillService: SkillService;
128
138
  bundleStore: import("@itphx/synth-core").SkillBundleRepository;
129
139
  commandService: CommandService;
140
+ snippetService: SnippetService;
130
141
  orchestrator: ChatOrchestrator;
131
142
  pluginRuntime: PluginRuntime;
132
143
  executionPort: import("@itphx/synth-core").ExecutionPort;
@@ -146,6 +157,8 @@ executionConfig?: ResolvedExecutionConfig): Promise<{
146
157
  requestSessionService: RequestSessionService;
147
158
  eventIngress: EventIngress;
148
159
  schedulerService: SchedulerService;
160
+ timerService: TimerService | undefined;
161
+ stopTimerService: () => Promise<void> | undefined;
149
162
  /**
150
163
  * Живые (мутируемые) эффективные настройки — аксессоры, а не значения:
151
164
  * обновляются админкой в рантайме (`mountBackendRoutes`), читаются