@pellux/goodvibes-tui 0.19.59 → 0.19.61

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.
Files changed (232) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +1 -1
  3. package/docs/foundation-artifacts/operator-contract.json +2398 -2086
  4. package/package.json +2 -2
  5. package/src/audio/player.ts +1 -1
  6. package/src/audio/spoken-turn-controller.ts +5 -5
  7. package/src/audio/spoken-turn-model-routing.ts +3 -3
  8. package/src/audio/spoken-turn-wiring.ts +3 -3
  9. package/src/cli/bundle-command.ts +3 -3
  10. package/src/cli/entrypoint.ts +9 -8
  11. package/src/cli/management-commands.ts +6 -6
  12. package/src/cli/management.ts +17 -16
  13. package/src/cli/provider-auth-routes.ts +1 -1
  14. package/src/cli/service-posture.ts +2 -2
  15. package/src/cli/status.ts +4 -3
  16. package/src/cli/surface-command.ts +1 -1
  17. package/src/config/index.ts +12 -11
  18. package/src/config/provider-model.ts +23 -0
  19. package/src/config/secret-config.ts +1 -1
  20. package/src/config/secrets.ts +3 -3
  21. package/src/core/composer-state.ts +1 -1
  22. package/src/core/conversation-rendering.ts +3 -3
  23. package/src/core/conversation.ts +10 -10
  24. package/src/core/orchestrator.ts +1 -1
  25. package/src/core/system-message-router.ts +3 -3
  26. package/src/daemon/cli.ts +19 -19
  27. package/src/daemon/safe-serve.ts +2 -2
  28. package/src/input/bookmark-modal.ts +1 -1
  29. package/src/input/command-registry.ts +31 -31
  30. package/src/input/commands/control-room-runtime.ts +3 -3
  31. package/src/input/commands/conversation-runtime.ts +1 -1
  32. package/src/input/commands/diff-runtime.ts +1 -1
  33. package/src/input/commands/discovery-runtime.ts +2 -2
  34. package/src/input/commands/eval.ts +6 -6
  35. package/src/input/commands/git-runtime.ts +2 -2
  36. package/src/input/commands/guidance-runtime.ts +3 -3
  37. package/src/input/commands/health-runtime.ts +10 -10
  38. package/src/input/commands/incident-runtime.ts +1 -1
  39. package/src/input/commands/integration-runtime.ts +2 -2
  40. package/src/input/commands/intelligence-runtime.ts +3 -3
  41. package/src/input/commands/knowledge.ts +1 -1
  42. package/src/input/commands/local-auth-runtime.ts +1 -1
  43. package/src/input/commands/local-provider-runtime.ts +3 -4
  44. package/src/input/commands/local-runtime.ts +6 -6
  45. package/src/input/commands/local-setup-review.ts +3 -3
  46. package/src/input/commands/local-setup.ts +3 -3
  47. package/src/input/commands/managed-runtime.ts +9 -8
  48. package/src/input/commands/marketplace-runtime.ts +1 -1
  49. package/src/input/commands/mcp-runtime.ts +1 -1
  50. package/src/input/commands/operator-panel-runtime.ts +1 -1
  51. package/src/input/commands/operator-runtime.ts +5 -5
  52. package/src/input/commands/platform-access-runtime.ts +2 -2
  53. package/src/input/commands/platform-sandbox-qemu.ts +2 -2
  54. package/src/input/commands/platform-sandbox-runtime.ts +6 -6
  55. package/src/input/commands/platform-sandbox-session.ts +2 -2
  56. package/src/input/commands/policy-dispatch.ts +6 -6
  57. package/src/input/commands/product-runtime.ts +2 -2
  58. package/src/input/commands/profile-sync-runtime.ts +2 -2
  59. package/src/input/commands/provider-accounts-runtime.ts +1 -1
  60. package/src/input/commands/provider.ts +3 -3
  61. package/src/input/commands/quit-shared.ts +2 -2
  62. package/src/input/commands/recall-bundle.ts +2 -2
  63. package/src/input/commands/recall-capture.ts +2 -2
  64. package/src/input/commands/recall-query.ts +2 -2
  65. package/src/input/commands/recall-shared.ts +2 -2
  66. package/src/input/commands/remote-runtime-setup.ts +2 -2
  67. package/src/input/commands/remote-runtime.ts +1 -1
  68. package/src/input/commands/replay-runtime.ts +1 -1
  69. package/src/input/commands/runtime-services.ts +11 -11
  70. package/src/input/commands/schedule-runtime.ts +6 -6
  71. package/src/input/commands/services-runtime.ts +1 -1
  72. package/src/input/commands/session-content.ts +5 -5
  73. package/src/input/commands/session-workflow.ts +5 -5
  74. package/src/input/commands/session.ts +2 -2
  75. package/src/input/commands/settings-sync-runtime.ts +5 -4
  76. package/src/input/commands/share-runtime.ts +3 -3
  77. package/src/input/commands/shell-core.ts +4 -5
  78. package/src/input/commands/skills-runtime.ts +1 -1
  79. package/src/input/commands/subscription-runtime.ts +7 -7
  80. package/src/input/commands/tasks-runtime.ts +5 -5
  81. package/src/input/commands/teamwork-runtime.ts +3 -3
  82. package/src/input/commands/teleport-runtime.ts +1 -1
  83. package/src/input/commands/worktree-runtime.ts +3 -3
  84. package/src/input/feed-context-factory.ts +1 -1
  85. package/src/input/file-picker.ts +1 -1
  86. package/src/input/handler-command-route.ts +2 -2
  87. package/src/input/handler-content-actions.ts +7 -7
  88. package/src/input/handler-feed-routes.ts +3 -3
  89. package/src/input/handler-feed.ts +2 -2
  90. package/src/input/handler-interactions.ts +1 -1
  91. package/src/input/handler-modal-routes.ts +1 -2
  92. package/src/input/handler-modal-token-routes.ts +1 -1
  93. package/src/input/handler-onboarding.ts +9 -6
  94. package/src/input/handler-picker-routes.ts +3 -3
  95. package/src/input/handler-shortcuts.ts +1 -1
  96. package/src/input/handler-ui-state.ts +1 -1
  97. package/src/input/handler.ts +5 -5
  98. package/src/input/input-history.ts +2 -2
  99. package/src/input/keybindings.ts +3 -3
  100. package/src/input/model-picker-types.ts +1 -1
  101. package/src/input/model-picker.ts +6 -6
  102. package/src/input/onboarding/handler-onboarding-routes.ts +1 -1
  103. package/src/input/onboarding/onboarding-runtime-status.ts +1 -1
  104. package/src/input/onboarding/onboarding-wizard-apply.ts +2 -2
  105. package/src/input/onboarding/onboarding-wizard-external-surfaces.ts +1 -1
  106. package/src/input/panel-integration-actions.ts +1 -1
  107. package/src/input/profile-picker-modal.ts +5 -5
  108. package/src/input/session-picker-modal.ts +2 -2
  109. package/src/input/settings-modal-behavior.ts +3 -5
  110. package/src/input/settings-modal-secrets.ts +4 -4
  111. package/src/input/settings-modal-subscriptions.ts +3 -3
  112. package/src/input/settings-modal-types.ts +4 -4
  113. package/src/input/settings-modal.ts +9 -9
  114. package/src/input/tts-settings-actions.ts +1 -1
  115. package/src/main.ts +16 -17
  116. package/src/panels/agent-inspector-panel.ts +4 -4
  117. package/src/panels/agent-logs-panel.ts +2 -2
  118. package/src/panels/approval-panel.ts +2 -2
  119. package/src/panels/builtin/operations.ts +1 -1
  120. package/src/panels/builtin/session.ts +2 -2
  121. package/src/panels/builtin/shared.ts +26 -26
  122. package/src/panels/context-visualizer-panel.ts +3 -3
  123. package/src/panels/cost-tracker-panel.ts +1 -1
  124. package/src/panels/debug-panel.ts +1 -1
  125. package/src/panels/eval-panel.ts +1 -1
  126. package/src/panels/forensics-panel.ts +3 -3
  127. package/src/panels/git-panel.ts +3 -3
  128. package/src/panels/hooks-panel.ts +7 -7
  129. package/src/panels/incident-review-panel.ts +2 -2
  130. package/src/panels/knowledge-panel.ts +1 -1
  131. package/src/panels/local-auth-panel.ts +1 -1
  132. package/src/panels/marketplace-panel.ts +2 -2
  133. package/src/panels/mcp-panel.ts +2 -2
  134. package/src/panels/memory-panel.ts +2 -2
  135. package/src/panels/ops-control-panel.ts +1 -1
  136. package/src/panels/ops-strategy-panel.ts +2 -2
  137. package/src/panels/orchestration-panel.ts +1 -1
  138. package/src/panels/panel-list-panel.ts +1 -1
  139. package/src/panels/plan-dashboard-panel.ts +1 -1
  140. package/src/panels/plugins-panel.ts +1 -1
  141. package/src/panels/policy-panel.ts +1 -1
  142. package/src/panels/project-planning-panel.ts +1 -1
  143. package/src/panels/provider-account-snapshot.ts +1 -1
  144. package/src/panels/provider-health-domains.ts +4 -4
  145. package/src/panels/provider-health-panel.ts +4 -4
  146. package/src/panels/provider-stats-panel.ts +1 -1
  147. package/src/panels/qr-panel.ts +1 -1
  148. package/src/panels/sandbox-panel.ts +3 -3
  149. package/src/panels/schedule-panel.ts +4 -4
  150. package/src/panels/security-panel.ts +1 -1
  151. package/src/panels/services-panel.ts +1 -1
  152. package/src/panels/session-browser-panel.ts +3 -3
  153. package/src/panels/settings-sync-panel.ts +1 -1
  154. package/src/panels/skills-panel.ts +1 -1
  155. package/src/panels/subscription-panel.ts +2 -2
  156. package/src/panels/system-messages-panel.ts +1 -1
  157. package/src/panels/tasks-panel.ts +5 -5
  158. package/src/panels/thinking-panel.ts +1 -1
  159. package/src/panels/token-budget-panel.ts +2 -2
  160. package/src/panels/tool-inspector-panel.ts +1 -1
  161. package/src/panels/worktree-panel.ts +6 -6
  162. package/src/panels/wrfc-panel.ts +4 -4
  163. package/src/permissions/prompt.ts +3 -3
  164. package/src/planning/project-planning-coordinator.ts +1 -1
  165. package/src/plugins/loader.ts +2 -2
  166. package/src/renderer/agent-detail-modal.ts +5 -5
  167. package/src/renderer/bookmark-modal.ts +1 -1
  168. package/src/renderer/git-status.ts +3 -3
  169. package/src/renderer/help-overlay.ts +1 -1
  170. package/src/renderer/live-tail-modal.ts +2 -2
  171. package/src/renderer/model-picker-overlay.ts +2 -2
  172. package/src/renderer/model-workspace.ts +1 -1
  173. package/src/renderer/process-modal.ts +3 -3
  174. package/src/renderer/qr-renderer.ts +1 -1
  175. package/src/renderer/semantic-diff.ts +6 -6
  176. package/src/renderer/syntax-highlighter.ts +3 -3
  177. package/src/renderer/tool-call.ts +1 -1
  178. package/src/runtime/bootstrap-command-context.ts +46 -46
  179. package/src/runtime/bootstrap-command-parts.ts +46 -47
  180. package/src/runtime/bootstrap-core.ts +24 -23
  181. package/src/runtime/bootstrap-hook-bridge.ts +14 -14
  182. package/src/runtime/bootstrap-shell.ts +15 -15
  183. package/src/runtime/bootstrap.ts +27 -27
  184. package/src/runtime/cloudflare-control-plane.ts +1 -1
  185. package/src/runtime/context.ts +13 -13
  186. package/src/runtime/diagnostics/panels/index.ts +14 -14
  187. package/src/runtime/diagnostics/panels/ops.ts +7 -7
  188. package/src/runtime/diagnostics/panels/panel-resources.ts +1 -1
  189. package/src/runtime/diagnostics/panels/policy.ts +11 -11
  190. package/src/runtime/index.ts +625 -163
  191. package/src/runtime/onboarding/apply.ts +1 -1
  192. package/src/runtime/onboarding/derivation.ts +3 -2
  193. package/src/runtime/onboarding/markers.ts +1 -1
  194. package/src/runtime/onboarding/snapshot.ts +3 -2
  195. package/src/runtime/onboarding/types.ts +2 -2
  196. package/src/runtime/onboarding/verify.ts +1 -1
  197. package/src/runtime/perf/panel-contracts.ts +2 -2
  198. package/src/runtime/perf/panel-health-monitor.ts +2 -2
  199. package/src/runtime/sandbox-public-gaps.ts +486 -0
  200. package/src/runtime/services.ts +114 -67
  201. package/src/runtime/store/domains/index.ts +50 -50
  202. package/src/runtime/store/index.ts +21 -20
  203. package/src/runtime/store/selectors/index.ts +17 -17
  204. package/src/runtime/store/state.ts +50 -50
  205. package/src/runtime/surface-feature-flags.ts +1 -3
  206. package/src/runtime/terminal-output-guard.ts +1 -1
  207. package/src/runtime/ui/index.ts +7 -7
  208. package/src/runtime/ui/model-picker/data-provider.ts +7 -7
  209. package/src/runtime/ui/model-picker/health-enrichment.ts +7 -7
  210. package/src/runtime/ui/model-picker/index.ts +11 -11
  211. package/src/runtime/ui/model-picker/types.ts +1 -1
  212. package/src/runtime/ui/provider-health/data-provider.ts +4 -4
  213. package/src/runtime/ui/provider-health/fallback-visualizer.ts +5 -3
  214. package/src/runtime/ui/provider-health/index.ts +7 -7
  215. package/src/runtime/ui/provider-health/types.ts +1 -1
  216. package/src/runtime/ui-events.ts +1 -1
  217. package/src/runtime/ui-read-model-helpers.ts +1 -1
  218. package/src/runtime/ui-read-models-observability-maintenance.ts +1 -1
  219. package/src/runtime/ui-read-models-observability-options.ts +1 -1
  220. package/src/runtime/ui-read-models-observability-remote.ts +1 -1
  221. package/src/runtime/ui-read-models-observability-security.ts +1 -1
  222. package/src/runtime/ui-read-models-observability-system.ts +1 -1
  223. package/src/runtime/ui-read-models-observability.ts +1 -1
  224. package/src/runtime/ui-read-models.ts +8 -8
  225. package/src/runtime/ui-service-queries.ts +1 -1
  226. package/src/runtime/ui-services.ts +8 -8
  227. package/src/scripts/process-messages.ts +1 -1
  228. package/src/shell/blocking-input.ts +2 -2
  229. package/src/shell/ui-openers.ts +8 -7
  230. package/src/tools/index.ts +1 -1
  231. package/src/utils/clipboard.ts +3 -3
  232. package/src/version.ts +1 -1
@@ -1,14 +1,14 @@
1
1
  import { join } from 'node:path';
2
- import { ConfigManager } from '@pellux/goodvibes-sdk/platform/config/manager';
2
+ import { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
3
3
  import { SecretsManager } from '../config/secrets.ts';
4
- import { ServiceRegistry } from '@pellux/goodvibes-sdk/platform/config/service-registry';
5
- import { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config/subscriptions';
6
- import { AutomationDeliveryManager, AutomationManager, AutomationRouteStore } from '@pellux/goodvibes-sdk/platform/automation/index';
7
- import { ChannelPluginRegistry, ChannelPolicyManager, RouteBindingManager, SurfaceRegistry } from '@pellux/goodvibes-sdk/platform/channels/index';
8
- import { ChannelDeliveryRouter } from '@pellux/goodvibes-sdk/platform/channels/delivery-router';
9
- import { ApprovalBroker, GatewayMethodCatalog, SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane/index';
10
- import { WatcherRegistry } from '@pellux/goodvibes-sdk/platform/watchers/index';
11
- import { ArtifactStore } from '@pellux/goodvibes-sdk/platform/artifacts/index';
4
+ import { ServiceRegistry } from '@pellux/goodvibes-sdk/platform/config';
5
+ import { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config';
6
+ import { AutomationDeliveryManager, AutomationManager, AutomationRouteStore } from '@pellux/goodvibes-sdk/platform/automation';
7
+ import { ChannelPluginRegistry, ChannelPolicyManager, RouteBindingManager, SurfaceRegistry } from '@pellux/goodvibes-sdk/platform/channels';
8
+ import { ChannelDeliveryRouter } from '@pellux/goodvibes-sdk/platform/channels';
9
+ import { ApprovalBroker, GatewayMethodCatalog, SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane';
10
+ import { WatcherRegistry } from '@pellux/goodvibes-sdk/platform/watchers';
11
+ import { ArtifactStore } from '@pellux/goodvibes-sdk/platform/artifacts';
12
12
  import {
13
13
  HomeGraphService,
14
14
  KnowledgeService,
@@ -18,70 +18,117 @@ import {
18
18
  createProviderBackedKnowledgeSemanticLlm,
19
19
  createWebKnowledgeGapRepairer,
20
20
  projectPlanningProjectIdFromPath,
21
- } from '@pellux/goodvibes-sdk/platform/knowledge/index';
22
- import { MediaProviderRegistry, ensureBuiltinMediaProviders } from '@pellux/goodvibes-sdk/platform/media/index';
23
- import { MultimodalService } from '@pellux/goodvibes-sdk/platform/multimodal/index';
24
- import { AgentManager } from '@pellux/goodvibes-sdk/platform/tools/agent/index';
25
- import { AgentMessageBus } from '@pellux/goodvibes-sdk/platform/agents/message-bus';
26
- import { WrfcController } from '@pellux/goodvibes-sdk/platform/agents/wrfc-controller';
27
- import { AgentOrchestrator } from '@pellux/goodvibes-sdk/platform/agents/orchestrator';
28
- import { ArchetypeLoader } from '@pellux/goodvibes-sdk/platform/agents/archetypes';
29
- import { ProcessManager } from '@pellux/goodvibes-sdk/platform/tools/shared/process-manager';
30
- import { ModeManager } from '@pellux/goodvibes-sdk/platform/state/mode-manager';
31
- import { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state/file-undo';
32
- import { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state/memory-registry';
33
- import { MemoryStore } from '@pellux/goodvibes-sdk/platform/state/memory-store';
34
- import type { RuntimeEventBus } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
21
+ } from '@pellux/goodvibes-sdk/platform/knowledge';
22
+ import { MediaProviderRegistry, ensureBuiltinMediaProviders } from '@pellux/goodvibes-sdk/platform/media';
23
+ import { MultimodalService } from '@pellux/goodvibes-sdk/platform/multimodal';
24
+ import { AgentManager } from '@pellux/goodvibes-sdk/platform/tools';
25
+ import { AgentMessageBus } from '@pellux/goodvibes-sdk/platform/agents';
26
+ import { WrfcController } from '@pellux/goodvibes-sdk/platform/agents';
27
+ import { AgentOrchestrator } from '@pellux/goodvibes-sdk/platform/agents';
28
+ import { ArchetypeLoader } from '@pellux/goodvibes-sdk/platform/agents';
29
+ import { ProcessManager } from '@pellux/goodvibes-sdk/platform/tools';
30
+ import { ModeManager } from '@pellux/goodvibes-sdk/platform/state';
31
+ import { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state';
32
+ import { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state';
33
+ import { MemoryStore } from '@pellux/goodvibes-sdk/platform/state';
34
+ import type { RuntimeEventBus } from '@/runtime/index.ts';
35
35
  import { createDomainDispatch } from './store/index.ts';
36
36
  import type { DomainDispatch, RuntimeStore } from './store/index.ts';
37
- import { DistributedRuntimeManager } from '@pellux/goodvibes-sdk/platform/runtime/remote/distributed-runtime-manager';
38
- import { RemoteRunnerRegistry, RemoteSupervisor } from '@pellux/goodvibes-sdk/platform/runtime/remote/index';
39
- import { IntegrationHelperService } from '@pellux/goodvibes-sdk/platform/runtime/integration/helpers';
40
- import { VoiceProviderRegistry, VoiceService, ensureBuiltinVoiceProviders } from '@pellux/goodvibes-sdk/platform/voice/index';
41
- import { WebSearchProviderRegistry, WebSearchService } from '@pellux/goodvibes-sdk/platform/web-search/index';
42
- import { MemoryEmbeddingProviderRegistry } from '@pellux/goodvibes-sdk/platform/state/memory-embeddings';
37
+ import { DistributedRuntimeManager } from '@/runtime/index.ts';
38
+ import { RemoteRunnerRegistry, RemoteSupervisor } from '@/runtime/index.ts';
39
+ import { IntegrationHelperService } from '@/runtime/index.ts';
40
+ import { VoiceProviderRegistry, VoiceService, ensureBuiltinVoiceProviders } from '@pellux/goodvibes-sdk/platform/voice';
41
+ import { WebSearchProviderRegistry, WebSearchService } from '@pellux/goodvibes-sdk/platform/web-search';
42
+ import { MemoryEmbeddingProviderRegistry } from '@pellux/goodvibes-sdk/platform/state';
43
43
  import { PanelManager } from '../panels/panel-manager.ts';
44
- import { HookActivityTracker } from '@pellux/goodvibes-sdk/platform/hooks/activity';
45
- import { HookDispatcher, createHookWorkbench, type HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks/index';
46
- import { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins/manager';
47
- import { BookmarkManager } from '@pellux/goodvibes-sdk/platform/bookmarks/manager';
48
- import { ProfileManager } from '@pellux/goodvibes-sdk/platform/profiles/manager';
49
- import { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions/manager';
50
- import { CrossSessionTaskRegistry } from '@pellux/goodvibes-sdk/platform/sessions/orchestration/index';
51
- import { ApiTokenAuditor } from '@pellux/goodvibes-sdk/platform/security/token-audit';
52
- import { UserAuthManager } from '@pellux/goodvibes-sdk/platform/security/user-auth';
53
- import { WebhookNotifier } from '@pellux/goodvibes-sdk/platform/integrations/webhooks';
54
- import { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp/registry';
55
- import { DeterministicReplayEngine } from '@pellux/goodvibes-sdk/platform/core/deterministic-replay';
56
- import { ProviderOptimizer } from '@pellux/goodvibes-sdk/platform/providers/optimizer';
57
- import { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers/registry';
58
- import { ProviderCapabilityRegistry } from '@pellux/goodvibes-sdk/platform/providers/capabilities';
59
- import { CacheHitTracker } from '@pellux/goodvibes-sdk/platform/providers/cache-strategy';
60
- import { FavoritesStore } from '@pellux/goodvibes-sdk/platform/providers/favorites';
61
- import { BenchmarkStore } from '@pellux/goodvibes-sdk/platform/providers/model-benchmarks';
62
- import { ModelLimitsService } from '@pellux/goodvibes-sdk/platform/providers/model-limits';
44
+ import { HookActivityTracker } from '@pellux/goodvibes-sdk/platform/hooks';
45
+ import { HookDispatcher, createHookWorkbench, type HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks';
46
+ import { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins';
47
+ import { BookmarkManager } from '@pellux/goodvibes-sdk/platform/bookmarks';
48
+ import { ProfileManager } from '@pellux/goodvibes-sdk/platform/profiles';
49
+ import { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions';
50
+ import { CrossSessionTaskRegistry } from '@pellux/goodvibes-sdk/platform/sessions';
51
+ import { ApiTokenAuditor } from '@pellux/goodvibes-sdk/platform/security';
52
+ import { UserAuthManager } from '@pellux/goodvibes-sdk/platform/security';
53
+ import { WebhookNotifier } from '@pellux/goodvibes-sdk/platform/integrations';
54
+ import { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp';
55
+ import { DeterministicReplayEngine } from '@pellux/goodvibes-sdk/platform/core';
56
+ import { ProviderOptimizer } from '@pellux/goodvibes-sdk/platform/providers';
57
+ import { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
58
+ import type { ModelDefinition } from '@pellux/goodvibes-sdk/platform/providers';
59
+ import { ProviderCapabilityRegistry } from '@pellux/goodvibes-sdk/platform/providers';
60
+ import { CacheHitTracker } from '@pellux/goodvibes-sdk/platform/providers';
61
+ import { FavoritesStore } from '@pellux/goodvibes-sdk/platform/providers';
62
+ import { BenchmarkStore } from '@pellux/goodvibes-sdk/platform/providers';
63
+ import { ModelLimitsService } from '@pellux/goodvibes-sdk/platform/providers';
63
64
  import { KeybindingsManager } from '../input/keybindings.ts';
64
- import { SessionMemoryStore } from '@pellux/goodvibes-sdk/platform/core/session-memory';
65
- import { SessionLineageTracker } from '@pellux/goodvibes-sdk/platform/core/session-lineage';
66
- import { SessionChangeTracker } from '@pellux/goodvibes-sdk/platform/sessions/change-tracker';
67
- import { ExecutionPlanManager } from '@pellux/goodvibes-sdk/platform/core/execution-plan';
68
- import { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core/adaptive-planner';
69
- import { FileStateCache } from '@pellux/goodvibes-sdk/platform/state/file-cache';
70
- import { ProjectIndex } from '@pellux/goodvibes-sdk/platform/state/project-index';
71
- import { IdempotencyStore } from '@pellux/goodvibes-sdk/platform/runtime/idempotency/index';
72
- import { OverflowHandler } from '@pellux/goodvibes-sdk/platform/tools/shared/overflow';
73
- import { ToolLLM } from '@pellux/goodvibes-sdk/platform/config/tool-llm';
74
- import { ComponentHealthMonitor } from '@pellux/goodvibes-sdk/platform/runtime/perf/component-health-monitor';
75
- import { WorktreeRegistry } from '@pellux/goodvibes-sdk/platform/runtime/worktree/registry';
76
- import { SandboxSessionRegistry } from '@pellux/goodvibes-sdk/platform/runtime/sandbox/session-registry';
77
- import { createShellPathService, type ShellPathService } from '@pellux/goodvibes-sdk/platform/runtime/shell-paths';
78
- import type { FeatureFlagManager } from '@pellux/goodvibes-sdk/platform/runtime/feature-flags/index';
79
- import { createFeatureFlagManager } from '@pellux/goodvibes-sdk/platform/runtime/feature-flags/index';
80
- import { PolicyRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-runtime';
65
+ import { SessionMemoryStore } from '@pellux/goodvibes-sdk/platform/core';
66
+ import { SessionLineageTracker } from '@pellux/goodvibes-sdk/platform/core';
67
+ import { SessionChangeTracker } from '@pellux/goodvibes-sdk/platform/sessions';
68
+ import { ExecutionPlanManager } from '@pellux/goodvibes-sdk/platform/core';
69
+ import { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core';
70
+ import { FileStateCache } from '@pellux/goodvibes-sdk/platform/state';
71
+ import { ProjectIndex } from '@pellux/goodvibes-sdk/platform/state';
72
+ import { IdempotencyStore } from '@/runtime/index.ts';
73
+ import { OverflowHandler } from '@pellux/goodvibes-sdk/platform/tools';
74
+ import { ToolLLM } from '@pellux/goodvibes-sdk/platform/config';
75
+ import { ComponentHealthMonitor } from '@/runtime/index.ts';
76
+ import { WorktreeRegistry } from '@/runtime/index.ts';
77
+ import { SandboxSessionRegistry } from '@/runtime/index.ts';
78
+ import { createShellPathService, type ShellPathService } from '@/runtime/index.ts';
79
+ import type { FeatureFlagManager } from '@/runtime/index.ts';
80
+ import { createFeatureFlagManager } from '@/runtime/index.ts';
81
+ import { PolicyRuntimeState } from '@/runtime/index.ts';
81
82
  import {
82
83
  createWorkflowServices,
83
84
  type WorkflowServices,
84
- } from '@pellux/goodvibes-sdk/platform/tools/workflow/index';
85
+ } from '@pellux/goodvibes-sdk/platform/tools';
86
+
87
+ function buildFallbackModelDefinition(provider: string, modelId: string): ModelDefinition {
88
+ const providerLower = provider.toLowerCase();
89
+ const isReasoningProvider = providerLower.includes('openai')
90
+ || providerLower.includes('anthropic')
91
+ || providerLower.includes('gemini')
92
+ || providerLower.includes('google');
93
+
94
+ return {
95
+ id: modelId,
96
+ provider,
97
+ registryKey: `${provider}:${modelId}`,
98
+ displayName: modelId,
99
+ description: 'Configured model available before the model catalog cache has loaded.',
100
+ capabilities: {
101
+ toolCalling: true,
102
+ codeEditing: true,
103
+ reasoning: isReasoningProvider,
104
+ multimodal: isReasoningProvider,
105
+ },
106
+ contextWindow: isReasoningProvider ? 128_000 : 32_000,
107
+ contextWindowProvenance: 'fallback',
108
+ selectable: true,
109
+ tier: 'standard',
110
+ ...(isReasoningProvider ? { reasoningEffort: ['instant', 'low', 'medium', 'high'] } : {}),
111
+ };
112
+ }
113
+
114
+ function ensureConfiguredModelIsRoutable(providerRegistry: ProviderRegistry, configManager: ConfigManager): void {
115
+ const configuredModel = String(configManager.get('provider.model') ?? '').trim();
116
+ if (!configuredModel.includes(':')) return;
117
+ if (providerRegistry.listModels().some((model) => model.registryKey === configuredModel)) return;
118
+
119
+ const [providerId, ...modelParts] = configuredModel.split(':');
120
+ const modelId = modelParts.join(':').trim();
121
+ if (!providerId || !modelId) return;
122
+
123
+ const provider = providerRegistry.tryGet(providerId);
124
+ if (!provider) return;
125
+
126
+ providerRegistry.registerRuntimeProvider({
127
+ provider,
128
+ replace: true,
129
+ models: [buildFallbackModelDefinition(providerId, modelId)],
130
+ });
131
+ }
85
132
 
86
133
  export interface RuntimeServicesOptions {
87
134
  readonly runtimeBus: RuntimeEventBus;
@@ -242,6 +289,7 @@ export function createRuntimeServices(options: RuntimeServicesOptions): RuntimeS
242
289
  featureFlags,
243
290
  runtimeBus: options.runtimeBus,
244
291
  });
292
+ ensureConfiguredModelIsRoutable(providerRegistry, configManager);
245
293
  providerRegistry.initCustomProviders();
246
294
  const toolLLM = new ToolLLM({
247
295
  configManager,
@@ -311,7 +359,6 @@ export function createRuntimeServices(options: RuntimeServicesOptions): RuntimeS
311
359
  ? {
312
360
  routing: {
313
361
  providerSelection: input.routing.providerSelection ?? (input.routing.providerId ? 'concrete' : 'inherit-current'),
314
- unresolvedModelPolicy: input.routing.unresolvedModelPolicy ?? 'fallback-to-current',
315
362
  providerFailurePolicy: input.routing.providerFailurePolicy ?? 'ordered-fallbacks',
316
363
  ...(input.routing.fallbackModels?.length ? { fallbackModels: [...input.routing.fallbackModels] } : {}),
317
364
  },
@@ -7,8 +7,8 @@ export type {
7
7
  SessionStatus,
8
8
  SessionLineageEntry,
9
9
  SessionDomainState,
10
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/session';
11
- export { createInitialSessionState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/session';
10
+ } from '@/runtime/index.ts';
11
+ export { createInitialSessionState } from '@/runtime/index.ts';
12
12
 
13
13
  export type {
14
14
  ReasoningEffort,
@@ -16,8 +16,8 @@ export type {
16
16
  ModelTokenLimits,
17
17
  FallbackChainEntry,
18
18
  ModelDomainState,
19
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/model';
20
- export { createInitialModelState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/model';
19
+ } from '@/runtime/index.ts';
20
+ export { createInitialModelState } from '@/runtime/index.ts';
21
21
 
22
22
  export type {
23
23
  TurnState,
@@ -26,15 +26,15 @@ export type {
26
26
  TurnUsage,
27
27
  StreamProgress,
28
28
  ConversationDomainState,
29
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/conversation';
30
- export { createInitialConversationState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/conversation';
29
+ } from '@/runtime/index.ts';
30
+ export { createInitialConversationState } from '@/runtime/index.ts';
31
31
 
32
32
  export type {
33
33
  OverlayId,
34
34
  OverlayInstance,
35
35
  OverlayDomainState,
36
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/overlays';
37
- export { createInitialOverlaysState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/overlays';
36
+ } from '@/runtime/index.ts';
37
+ export { createInitialOverlaysState } from '@/runtime/index.ts';
38
38
 
39
39
  export type {
40
40
  PanelId,
@@ -52,8 +52,8 @@ export type {
52
52
  PermissionDecisionReason,
53
53
  PermissionDecision,
54
54
  PermissionDomainState,
55
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/permissions';
56
- export { createInitialPermissionsState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/permissions';
55
+ } from '@/runtime/index.ts';
56
+ export { createInitialPermissionsState } from '@/runtime/index.ts';
57
57
 
58
58
  export type {
59
59
  TaskLifecycleState,
@@ -61,8 +61,8 @@ export type {
61
61
  TaskRetryPolicy,
62
62
  RuntimeTask,
63
63
  TaskDomainState,
64
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/tasks';
65
- export { createInitialTasksState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/tasks';
64
+ } from '@/runtime/index.ts';
65
+ export { createInitialTasksState } from '@/runtime/index.ts';
66
66
 
67
67
  export type {
68
68
  AgentLifecycleState,
@@ -70,8 +70,8 @@ export type {
70
70
  AgentWrfcRef,
71
71
  RuntimeAgent,
72
72
  AgentDomainState,
73
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/agents';
74
- export { createInitialAgentsState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/agents';
73
+ } from '@/runtime/index.ts';
74
+ export { createInitialAgentsState } from '@/runtime/index.ts';
75
75
 
76
76
  export type {
77
77
  OrchestrationMode,
@@ -81,14 +81,14 @@ export type {
81
81
  OrchestrationNodeRecord,
82
82
  OrchestrationGraphRecord,
83
83
  OrchestrationDomainState,
84
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/orchestration';
85
- export { createInitialOrchestrationState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/orchestration';
84
+ } from '@/runtime/index.ts';
85
+ export { createInitialOrchestrationState } from '@/runtime/index.ts';
86
86
 
87
87
  export type {
88
88
  RuntimeCommunicationRecord,
89
89
  CommunicationDomainState,
90
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/communication';
91
- export { createInitialCommunicationState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/communication';
90
+ } from '@/runtime/index.ts';
91
+ export { createInitialCommunicationState } from '@/runtime/index.ts';
92
92
 
93
93
  export type {
94
94
  ProviderStatus,
@@ -97,41 +97,41 @@ export type {
97
97
  ProviderCacheMetrics,
98
98
  ProviderHealthRecord,
99
99
  ProviderHealthDomainState,
100
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/provider-health';
101
- export { createInitialProviderHealthState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/provider-health';
100
+ } from '@/runtime/index.ts';
101
+ export { createInitialProviderHealthState } from '@/runtime/index.ts';
102
102
 
103
103
  export type {
104
104
  McpServerLifecycleState,
105
105
  McpRegisteredTool,
106
106
  McpServerRecord,
107
107
  McpDomainState,
108
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/mcp';
109
- export { createInitialMcpState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/mcp';
108
+ } from '@/runtime/index.ts';
109
+ export { createInitialMcpState } from '@/runtime/index.ts';
110
110
 
111
111
  export type {
112
112
  PluginLifecycleState,
113
113
  RuntimePlugin,
114
114
  PluginDomainState,
115
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/plugins';
116
- export { createInitialPluginsState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/plugins';
115
+ } from '@/runtime/index.ts';
116
+ export { createInitialPluginsState } from '@/runtime/index.ts';
117
117
 
118
118
  export type {
119
119
  DaemonTransportState,
120
120
  DaemonProcessInfo,
121
121
  DaemonJob,
122
122
  DaemonDomainState,
123
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/daemon';
124
- export { createInitialDaemonState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/daemon';
123
+ } from '@/runtime/index.ts';
124
+ export { createInitialDaemonState } from '@/runtime/index.ts';
125
125
 
126
126
  export type {
127
127
  AutomationDomainState,
128
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/automation';
129
- export { createInitialAutomationState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/automation';
128
+ } from '@/runtime/index.ts';
129
+ export { createInitialAutomationState } from '@/runtime/index.ts';
130
130
 
131
131
  export type {
132
132
  RoutesDomainState,
133
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/routes';
134
- export { createInitialRoutesState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/routes';
133
+ } from '@/runtime/index.ts';
134
+ export { createInitialRoutesState } from '@/runtime/index.ts';
135
135
 
136
136
  export type {
137
137
  ControlPlaneClientKind,
@@ -139,14 +139,14 @@ export type {
139
139
  ControlPlaneConnectionState,
140
140
  ControlPlaneClientRecord,
141
141
  ControlPlaneDomainState,
142
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/control-plane';
143
- export { createInitialControlPlaneState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/control-plane';
142
+ } from '@/runtime/index.ts';
143
+ export { createInitialControlPlaneState } from '@/runtime/index.ts';
144
144
 
145
145
  export type {
146
146
  DeliveryLifecycleState,
147
147
  DeliveryDomainState,
148
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/deliveries';
149
- export { createInitialDeliveryState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/deliveries';
148
+ } from '@/runtime/index.ts';
149
+ export { createInitialDeliveryState } from '@/runtime/index.ts';
150
150
 
151
151
  export type {
152
152
  WatcherKind,
@@ -154,38 +154,38 @@ export type {
154
154
  WatcherSourceStatus,
155
155
  WatcherRecord,
156
156
  WatcherDomainState,
157
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/watchers';
158
- export { createInitialWatcherState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/watchers';
157
+ } from '@/runtime/index.ts';
158
+ export { createInitialWatcherState } from '@/runtime/index.ts';
159
159
 
160
160
  export type {
161
161
  SurfaceConnectionState,
162
162
  SurfaceRecord,
163
163
  SurfaceDomainState,
164
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/surfaces';
165
- export { createInitialSurfaceState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/surfaces';
164
+ } from '@/runtime/index.ts';
165
+ export { createInitialSurfaceState } from '@/runtime/index.ts';
166
166
 
167
167
  export type {
168
168
  AcpTransportState,
169
169
  AcpConnection,
170
170
  AcpDomainState,
171
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/acp';
172
- export { createInitialAcpState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/acp';
171
+ } from '@/runtime/index.ts';
172
+ export { createInitialAcpState } from '@/runtime/index.ts';
173
173
 
174
174
  export type {
175
175
  IntegrationStatus,
176
176
  IntegrationCategory,
177
177
  IntegrationRecord,
178
178
  IntegrationDomainState,
179
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/integrations';
180
- export { createInitialIntegrationsState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/integrations';
179
+ } from '@/runtime/index.ts';
180
+ export { createInitialIntegrationsState } from '@/runtime/index.ts';
181
181
 
182
182
  export type {
183
183
  TelemetryEventRecord,
184
184
  SessionMetrics,
185
185
  TraceContext,
186
186
  TelemetryDomainState,
187
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/telemetry';
188
- export { createInitialTelemetryState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/telemetry';
187
+ } from '@/runtime/index.ts';
188
+ export { createInitialTelemetryState } from '@/runtime/index.ts';
189
189
 
190
190
  export type {
191
191
  GitFileStatus,
@@ -193,16 +193,16 @@ export type {
193
193
  GitCommitSummary,
194
194
  GitBranchInfo,
195
195
  GitDomainState,
196
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/git';
197
- export { createInitialGitState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/git';
196
+ } from '@/runtime/index.ts';
197
+ export { createInitialGitState } from '@/runtime/index.ts';
198
198
 
199
199
  export type {
200
200
  IndexStatus,
201
201
  LanguageServerRecord,
202
202
  FileWatcherStatus,
203
203
  DiscoveryDomainState,
204
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/discovery';
205
- export { createInitialDiscoveryState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/discovery';
204
+ } from '@/runtime/index.ts';
205
+ export { createInitialDiscoveryState } from '@/runtime/index.ts';
206
206
 
207
207
  export type {
208
208
  IntelligenceFeatureStatus,
@@ -210,8 +210,8 @@ export type {
210
210
  WorkspaceSymbol,
211
211
  IntelligenceHoverState,
212
212
  IntelligenceDomainState,
213
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/intelligence';
214
- export { createInitialIntelligenceState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/intelligence';
213
+ } from '@/runtime/index.ts';
214
+ export { createInitialIntelligenceState } from '@/runtime/index.ts';
215
215
 
216
216
  export type {
217
217
  RenderBudgetStatus,
@@ -7,17 +7,19 @@
7
7
 
8
8
  import { createStore } from 'zustand/vanilla';
9
9
  import type { StoreApi } from 'zustand';
10
- import type { TurnEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/turn';
11
- import type { ToolEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/tools';
12
- import type { PermissionEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/permissions';
13
- import type { TaskEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/tasks';
14
- import type { AgentEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/agents';
15
- import type { OrchestrationEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/orchestration';
16
- import type { CommunicationEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/communication';
17
- import type { PluginEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/plugins';
18
- import type { McpEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/mcp';
19
- import type { TransportEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/transport';
20
- import type { CompactionEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/compaction';
10
+ import type {
11
+ AgentEvent,
12
+ CommunicationEvent,
13
+ CompactionEvent,
14
+ McpEvent,
15
+ OrchestrationEvent,
16
+ PermissionEvent,
17
+ PluginEvent,
18
+ TaskEvent,
19
+ ToolEvent,
20
+ TransportEvent,
21
+ TurnEvent,
22
+ } from '@pellux/goodvibes-sdk/events';
21
23
  import type {
22
24
  SessionDomainState,
23
25
  ConversationDomainState,
@@ -47,13 +49,13 @@ import type {
47
49
  WatcherRecord,
48
50
  SurfaceDomainState,
49
51
  SurfaceRecord,
50
- } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/index';
51
- import type { AutomationJob } from '@pellux/goodvibes-sdk/platform/automation/jobs';
52
- import type { AutomationRun } from '@pellux/goodvibes-sdk/platform/automation/runs';
53
- import type { AutomationSourceRecord } from '@pellux/goodvibes-sdk/platform/automation/sources';
54
- import type { AutomationRouteBinding } from '@pellux/goodvibes-sdk/platform/automation/routes';
55
- import type { AutomationSurfaceKind } from '@pellux/goodvibes-sdk/platform/automation/types';
56
- import type { AutomationDeliveryAttempt } from '@pellux/goodvibes-sdk/platform/automation/delivery';
52
+ } from '@pellux/goodvibes-sdk/platform/runtime/state';
53
+ import type { AutomationJob } from '@pellux/goodvibes-sdk/platform/automation';
54
+ import type { AutomationRun } from '@pellux/goodvibes-sdk/platform/automation';
55
+ import type { AutomationSourceRecord } from '@pellux/goodvibes-sdk/platform/automation';
56
+ import type { AutomationRouteBinding } from '@pellux/goodvibes-sdk/platform/automation';
57
+ import type { AutomationSurfaceKind } from '@pellux/goodvibes-sdk/platform/automation';
58
+ import type { AutomationDeliveryAttempt } from '@pellux/goodvibes-sdk/platform/automation';
57
59
  import { createInitialRuntimeState } from './state.ts';
58
60
  import type { RuntimeState } from './state.ts';
59
61
  import {
@@ -82,7 +84,7 @@ import {
82
84
  updateTaskState,
83
85
  updateTransportState,
84
86
  updateWatcherDomainFromRecord,
85
- } from '@pellux/goodvibes-sdk/platform/runtime/store/helpers/reducers';
87
+ } from '@pellux/goodvibes-sdk/platform/runtime/state';
86
88
 
87
89
  export type RuntimeStore = StoreApi<RuntimeState>;
88
90
 
@@ -301,4 +303,3 @@ export function createDomainDispatch(store: RuntimeStore): DomainDispatch {
301
303
  export type { RuntimeState } from './state.ts';
302
304
  export { createInitialRuntimeState } from './state.ts';
303
305
  export * from './selectors/index.ts';
304
- export * from '@pellux/goodvibes-sdk/platform/runtime/store/domains/index';
@@ -9,24 +9,24 @@
9
9
  */
10
10
 
11
11
  import type { RuntimeState } from '../state.ts';
12
- import type { SessionDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/session';
13
- import type { ModelDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/model';
14
- import type { ConversationDomainState, TurnState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/conversation';
15
- import type { OverlayDomainState, OverlayId } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/overlays';
12
+ import type { SessionDomainState } from '@/runtime/index.ts';
13
+ import type { ModelDomainState } from '@/runtime/index.ts';
14
+ import type { ConversationDomainState, TurnState } from '@/runtime/index.ts';
15
+ import type { OverlayDomainState, OverlayId } from '@/runtime/index.ts';
16
16
  import type { PanelDomainState, PanelState } from '../domains/panels.ts';
17
- import type { PermissionDomainState, PermissionMode } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/permissions';
18
- import type { TaskDomainState, RuntimeTask, TaskKind } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/tasks';
19
- import type { AgentDomainState, RuntimeAgent } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/agents';
20
- import type { ProviderHealthDomainState, CompositeHealthStatus } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/provider-health';
21
- import type { McpDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/mcp';
22
- import type { PluginDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/plugins';
23
- import type { DaemonDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/daemon';
24
- import type { AcpDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/acp';
25
- import type { IntegrationDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/integrations';
26
- import type { TelemetryDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/telemetry';
27
- import type { GitDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/git';
28
- import type { DiscoveryDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/discovery';
29
- import type { IntelligenceDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/intelligence';
17
+ import type { PermissionDomainState, PermissionMode } from '@/runtime/index.ts';
18
+ import type { TaskDomainState, RuntimeTask, TaskKind } from '@/runtime/index.ts';
19
+ import type { AgentDomainState, RuntimeAgent } from '@/runtime/index.ts';
20
+ import type { ProviderHealthDomainState, CompositeHealthStatus } from '@/runtime/index.ts';
21
+ import type { McpDomainState } from '@/runtime/index.ts';
22
+ import type { PluginDomainState } from '@/runtime/index.ts';
23
+ import type { DaemonDomainState } from '@/runtime/index.ts';
24
+ import type { AcpDomainState } from '@/runtime/index.ts';
25
+ import type { IntegrationDomainState } from '@/runtime/index.ts';
26
+ import type { TelemetryDomainState } from '@/runtime/index.ts';
27
+ import type { GitDomainState } from '@/runtime/index.ts';
28
+ import type { DiscoveryDomainState } from '@/runtime/index.ts';
29
+ import type { IntelligenceDomainState } from '@/runtime/index.ts';
30
30
  import type { UiPerfDomainState } from '../domains/ui-perf.ts';
31
31
 
32
32
  // ---------------------------------------------------------------------------