@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,8 +1,8 @@
1
1
  import { type Line } from '../types/grid.ts';
2
2
  import { fitDisplay, getDisplayWidth, truncateDisplay } from '../utils/terminal-width.ts';
3
3
  import type { ModelPickerModal } from '../input/model-picker.ts';
4
- import { EFFORT_DESCRIPTIONS } from '@pellux/goodvibes-sdk/platform/providers/effort-levels';
5
- import { getQualityTier, getQualityTierFromScore } from '@pellux/goodvibes-sdk/platform/providers/model-benchmarks';
4
+ import { EFFORT_DESCRIPTIONS } from '@pellux/goodvibes-sdk/platform/providers';
5
+ import { getQualityTier, getQualityTierFromScore } from '@pellux/goodvibes-sdk/platform/providers';
6
6
  import {
7
7
  createOverlayBoxLayout,
8
8
  createOverlayContentLine,
@@ -5,7 +5,7 @@
5
5
  * stable workspace with explicit target slots instead of a compact overlay.
6
6
  */
7
7
 
8
- import type { ModelDefinition } from '@pellux/goodvibes-sdk/platform/providers/registry';
8
+ import type { ModelDefinition } from '@pellux/goodvibes-sdk/platform/providers';
9
9
  import type { ModelPickerModal } from '../input/model-picker.ts';
10
10
  import type { ModelPickerTargetInfo } from '../input/model-picker.ts';
11
11
  import type { Line } from '../types/grid.ts';
@@ -1,9 +1,9 @@
1
1
  import { type Line } from '../types/grid.ts';
2
2
  import { ModalFactory } from './modal-factory.ts';
3
3
  import { formatDuration } from './modal-utils.ts';
4
- import type { ProcessManager } from '@pellux/goodvibes-sdk/platform/tools/shared/process-manager';
5
- import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools/agent/index';
6
- import type { WrfcController } from '@pellux/goodvibes-sdk/platform/agents/wrfc-controller';
4
+ import type { ProcessManager } from '@pellux/goodvibes-sdk/platform/tools';
5
+ import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools';
6
+ import type { WrfcController } from '@pellux/goodvibes-sdk/platform/agents';
7
7
  import { getOverlaySurfaceMetrics, getStableOverlayContentRows } from './overlay-viewport.ts';
8
8
  import { getVisibleWindow } from './surface-layout.ts';
9
9
 
@@ -1,7 +1,7 @@
1
1
  import type { Line } from '../types/grid.ts';
2
2
  import { createEmptyLine, createStyledCell } from '../types/grid.ts';
3
3
  import { getDisplayWidth } from '../utils/terminal-width.ts';
4
- import { generateQrMatrix } from '@pellux/goodvibes-sdk/platform/pairing/qr-generator';
4
+ import { generateQrMatrix } from '@pellux/goodvibes-sdk/platform/pairing';
5
5
 
6
6
  export { generateQrMatrix };
7
7
 
@@ -11,12 +11,12 @@
11
11
  * unsupported — callers should treat null as "no semantic info available".
12
12
  */
13
13
 
14
- import { TreeSitterService } from '@pellux/goodvibes-sdk/platform/intelligence/tree-sitter/service';
15
- import { extractSymbols } from '@pellux/goodvibes-sdk/platform/intelligence/tree-sitter/queries';
16
- import type { SymbolInfo } from '@pellux/goodvibes-sdk/platform/intelligence/tree-sitter/queries';
17
- import { detectLanguage } from '@pellux/goodvibes-sdk/platform/intelligence/tree-sitter/languages';
18
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
19
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
14
+ import { TreeSitterService } from '@pellux/goodvibes-sdk/platform/intelligence';
15
+ import { extractSymbols } from '@pellux/goodvibes-sdk/platform/intelligence';
16
+ import type { SymbolInfo } from '@pellux/goodvibes-sdk/platform/intelligence';
17
+ import { detectLanguage } from '@pellux/goodvibes-sdk/platform/intelligence';
18
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
19
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
20
20
 
21
21
  // ---------------------------------------------------------------------------
22
22
  // Public types
@@ -20,9 +20,9 @@
20
20
  * Default: 252 (light grey)
21
21
  */
22
22
  import type { Node } from 'web-tree-sitter';
23
- import { TreeSitterService } from '@pellux/goodvibes-sdk/platform/intelligence/tree-sitter/service';
24
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
25
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
23
+ import { TreeSitterService } from '@pellux/goodvibes-sdk/platform/intelligence';
24
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
25
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
26
26
 
27
27
  // ─── Types ───────────────────────────────────────────────────────────────────
28
28
 
@@ -1,7 +1,7 @@
1
1
  import { type Line, createStyledCell, createEmptyLine } from '../types/grid.ts';
2
2
  import { LAYOUT, TOOL_STATUS } from './layout.ts';
3
3
  import { getDisplayWidth, truncateDisplay } from '../utils/terminal-width.ts';
4
- import type { ToolCall } from '@pellux/goodvibes-sdk/platform/types/tools';
4
+ import type { ToolCall } from '@pellux/goodvibes-sdk/platform/types';
5
5
  import { stripDangerousAnsi } from './ansi-sanitize.ts';
6
6
 
7
7
  const TOOL_NAME_MIN_WIDTH = 8;
@@ -1,43 +1,43 @@
1
- import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config/manager';
2
- import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core/adaptive-planner';
1
+ import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
2
+ import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core';
3
3
  import type { ConversationManager } from '../core/conversation';
4
- import type { KnowledgeApi } from '@pellux/goodvibes-sdk/platform/knowledge/knowledge-api';
5
- import type { HookApi } from '@pellux/goodvibes-sdk/platform/hooks/hook-api';
6
- import type { McpApi } from '@pellux/goodvibes-sdk/platform/mcp/mcp-api';
4
+ import type { KnowledgeApi } from '@pellux/goodvibes-sdk/platform/knowledge';
5
+ import type { HookApi } from '@pellux/goodvibes-sdk/platform/hooks';
6
+ import type { McpApi } from '@pellux/goodvibes-sdk/platform/mcp';
7
7
  import type { PanelManager } from '../panels/panel-manager.ts';
8
- import type { ProviderApi } from '@pellux/goodvibes-sdk/platform/providers/provider-api';
9
- import type { OpsApi } from '@pellux/goodvibes-sdk/platform/runtime/ops-api';
10
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
11
- import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers/registry';
8
+ import type { ProviderApi } from '@pellux/goodvibes-sdk/platform/providers';
9
+ import type { OpsApi } from '@/runtime/index.ts';
10
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
11
+ import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
12
12
  import type { CommandContext } from '../input/command-registry.ts';
13
13
  import type { KeybindingsManager } from '../input/keybindings.ts';
14
- import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions/prompt';
15
- import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools/registry';
16
- import type { ForensicsRegistry } from '@pellux/goodvibes-sdk/platform/runtime/forensics/index';
17
- import type { PolicyRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-runtime';
18
- import type { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state/file-undo';
19
- import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp/registry';
20
- import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state/memory-store';
21
- import type { IntegrationHelperService } from '@pellux/goodvibes-sdk/platform/runtime/integration/helpers';
22
- import type { KnowledgeService } from '@pellux/goodvibes-sdk/platform/knowledge/index';
23
- import type { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins/manager';
24
- import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks/workbench';
25
- import type { WorktreeRegistry } from '@pellux/goodvibes-sdk/platform/runtime/worktree/registry';
26
- import type { SandboxSessionRegistry } from '@pellux/goodvibes-sdk/platform/runtime/sandbox/session-registry';
14
+ import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions';
15
+ import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
16
+ import type { ForensicsRegistry } from '@/runtime/index.ts';
17
+ import type { PolicyRuntimeState } from '@/runtime/index.ts';
18
+ import type { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state';
19
+ import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp';
20
+ import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state';
21
+ import type { IntegrationHelperService } from '@/runtime/index.ts';
22
+ import type { KnowledgeService } from '@pellux/goodvibes-sdk/platform/knowledge';
23
+ import type { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins';
24
+ import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks';
25
+ import type { WorktreeRegistry } from '@/runtime/index.ts';
26
+ import type { SandboxSessionRegistry } from '@/runtime/index.ts';
27
27
  import type { UiReadModels } from './ui-read-models.ts';
28
- import type { ShellPathService } from '@pellux/goodvibes-sdk/platform/runtime/shell-paths';
28
+ import type { ShellPathService } from '@/runtime/index.ts';
29
29
  import type {
30
30
  ShellAgentManagerService,
31
31
  ShellAutomationManagerRuntimeService,
32
32
  ShellModeManagerService,
33
33
  ShellPlanManagerService,
34
34
  ShellSessionOrchestrationService,
35
- } from '@pellux/goodvibes-sdk/platform/runtime/shell-command-ops';
36
- import { createBootstrapCommandShellServices, type PlanRuntimeService, type RemoteCommandService } from '@pellux/goodvibes-sdk/platform/runtime/shell-command-services';
37
- import type { OperatorClient } from '@pellux/goodvibes-sdk/platform/runtime/operator-client';
38
- import type { PeerClient } from '@pellux/goodvibes-sdk/platform/runtime/peer-client';
39
- import type { DirectTransport } from '@pellux/goodvibes-sdk/platform/runtime/transports/direct';
40
- import type { VoiceProviderRegistry, VoiceService } from '@pellux/goodvibes-sdk/platform/voice/index';
35
+ } from '@/runtime/index.ts';
36
+ import { createBootstrapCommandShellServices, type PlanRuntimeService, type RemoteCommandService } from '@/runtime/index.ts';
37
+ import type { OperatorClient } from '@/runtime/index.ts';
38
+ import type { PeerClient } from '@/runtime/index.ts';
39
+ import type { DirectTransport } from '@/runtime/index.ts';
40
+ import type { VoiceProviderRegistry, VoiceService } from '@pellux/goodvibes-sdk/platform/voice';
41
41
  import {
42
42
  createBootstrapCommandActions,
43
43
  createBootstrapCommandClientsSection,
@@ -72,28 +72,28 @@ export type CreateBootstrapCommandContextOptions = {
72
72
  integrationHelpers?: IntegrationHelperService;
73
73
  automationManager?: ShellAutomationManagerRuntimeService;
74
74
  knowledgeService?: KnowledgeService;
75
- projectPlanningService?: import('@pellux/goodvibes-sdk/platform/knowledge/index').ProjectPlanningService;
75
+ projectPlanningService?: import('@pellux/goodvibes-sdk/platform/knowledge').ProjectPlanningService;
76
76
  projectPlanningProjectId?: string;
77
- providerOptimizer?: import('@pellux/goodvibes-sdk/platform/providers/optimizer').ProviderOptimizer;
77
+ providerOptimizer?: import('@pellux/goodvibes-sdk/platform/providers').ProviderOptimizer;
78
78
  pluginManager?: PluginManager;
79
79
  hookWorkbench?: HookWorkbench;
80
80
  agentManager?: ShellAgentManagerService;
81
81
  modeManager?: ShellModeManagerService;
82
- sessionManager?: import('@pellux/goodvibes-sdk/platform/sessions/manager').SessionManager;
83
- profileManager?: import('@pellux/goodvibes-sdk/platform/profiles/manager').ProfileManager;
84
- bookmarkManager?: import('@pellux/goodvibes-sdk/platform/bookmarks/manager').BookmarkManager;
85
- favoritesStore?: import('@pellux/goodvibes-sdk/platform/providers/favorites').FavoritesStore;
86
- benchmarkStore?: import('@pellux/goodvibes-sdk/platform/providers/model-benchmarks').BenchmarkStore;
82
+ sessionManager?: import('@pellux/goodvibes-sdk/platform/sessions').SessionManager;
83
+ profileManager?: import('@pellux/goodvibes-sdk/platform/profiles').ProfileManager;
84
+ bookmarkManager?: import('@pellux/goodvibes-sdk/platform/bookmarks').BookmarkManager;
85
+ favoritesStore?: import('@pellux/goodvibes-sdk/platform/providers').FavoritesStore;
86
+ benchmarkStore?: import('@pellux/goodvibes-sdk/platform/providers').BenchmarkStore;
87
87
  providerApi?: ProviderApi;
88
- subscriptionManager?: import('@pellux/goodvibes-sdk/platform/config/subscriptions').SubscriptionManager;
88
+ subscriptionManager?: import('@pellux/goodvibes-sdk/platform/config').SubscriptionManager;
89
89
  secretsManager?: import('../config/secrets.ts').SecretsManager;
90
- serviceRegistry?: import('@pellux/goodvibes-sdk/platform/config/service-registry').ServiceRegistry;
91
- localUserAuthManager?: import('@pellux/goodvibes-sdk/platform/security/user-auth').UserAuthManager;
92
- tokenAuditor?: import('@pellux/goodvibes-sdk/platform/security/token-audit').ApiTokenAuditor;
93
- replayEngine?: import('@pellux/goodvibes-sdk/platform/core/deterministic-replay').DeterministicReplayEngine;
94
- webhookNotifier?: import('@pellux/goodvibes-sdk/platform/integrations/webhooks').WebhookNotifier;
95
- sessionMemoryStore?: import('@pellux/goodvibes-sdk/platform/core/session-memory').SessionMemoryStore;
96
- changeTracker?: import('@pellux/goodvibes-sdk/platform/sessions/change-tracker').SessionChangeTracker;
90
+ serviceRegistry?: import('@pellux/goodvibes-sdk/platform/config').ServiceRegistry;
91
+ localUserAuthManager?: import('@pellux/goodvibes-sdk/platform/security').UserAuthManager;
92
+ tokenAuditor?: import('@pellux/goodvibes-sdk/platform/security').ApiTokenAuditor;
93
+ replayEngine?: import('@pellux/goodvibes-sdk/platform/core').DeterministicReplayEngine;
94
+ webhookNotifier?: import('@pellux/goodvibes-sdk/platform/integrations').WebhookNotifier;
95
+ sessionMemoryStore?: import('@pellux/goodvibes-sdk/platform/core').SessionMemoryStore;
96
+ changeTracker?: import('@pellux/goodvibes-sdk/platform/sessions').SessionChangeTracker;
97
97
  planManager?: ShellPlanManagerService;
98
98
  adaptivePlanner?: AdaptivePlanner;
99
99
  sessionOrchestration?: ShellSessionOrchestrationService;
@@ -110,8 +110,8 @@ export type CreateBootstrapCommandContextOptions = {
110
110
  loadSystemPrompt: () => string;
111
111
  activatePlan: (planId: string, task: string) => void;
112
112
  completeModelSelectionSideEffect?: () => void;
113
- sessionLineageTracker?: import('@pellux/goodvibes-sdk/platform/core/session-lineage').SessionLineageTracker;
114
- componentHealthMonitor: import('@pellux/goodvibes-sdk/platform/runtime/perf/component-health-monitor').ComponentHealthMonitor;
113
+ sessionLineageTracker?: import('@pellux/goodvibes-sdk/platform/core').SessionLineageTracker;
114
+ componentHealthMonitor: import('@/runtime/index.ts').ComponentHealthMonitor;
115
115
  };
116
116
 
117
117
  export function createBootstrapCommandContext(
@@ -1,32 +1,32 @@
1
1
  import { getConfigSnapshot } from '../config/index.ts';
2
- import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config/manager';
3
- import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core/adaptive-planner';
2
+ import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
3
+ import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core';
4
4
  import type { ConversationManager } from '../core/conversation';
5
- import type { KnowledgeApi } from '@pellux/goodvibes-sdk/platform/knowledge/knowledge-api';
6
- import type { HookApi } from '@pellux/goodvibes-sdk/platform/hooks/hook-api';
7
- import type { McpApi } from '@pellux/goodvibes-sdk/platform/mcp/mcp-api';
5
+ import type { KnowledgeApi } from '@pellux/goodvibes-sdk/platform/knowledge';
6
+ import type { HookApi } from '@pellux/goodvibes-sdk/platform/hooks';
7
+ import type { McpApi } from '@pellux/goodvibes-sdk/platform/mcp';
8
8
  import type { PanelManager } from '../panels/panel-manager.ts';
9
- import type { ProviderApi } from '@pellux/goodvibes-sdk/platform/providers/provider-api';
10
- import type { OpsApi } from '@pellux/goodvibes-sdk/platform/runtime/ops-api';
11
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
12
- import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers/registry';
9
+ import type { ProviderApi } from '@pellux/goodvibes-sdk/platform/providers';
10
+ import type { OpsApi } from '@/runtime/index.ts';
11
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
12
+ import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
13
13
  import type { CommandContext } from '../input/command-registry.ts';
14
14
  import type { KeybindingsManager } from '../input/keybindings.ts';
15
- import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions/prompt';
16
- import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools/registry';
17
- import type { ForensicsRegistry } from '@pellux/goodvibes-sdk/platform/runtime/forensics/index';
18
- import type { PolicyRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-runtime';
19
- import type { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state/file-undo';
20
- import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp/registry';
21
- import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state/memory-store';
22
- import type { IntegrationHelperService } from '@pellux/goodvibes-sdk/platform/runtime/integration/helpers';
23
- import type { KnowledgeService } from '@pellux/goodvibes-sdk/platform/knowledge/index';
24
- import type { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins/manager';
25
- import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks/workbench';
26
- import type { WorktreeRegistry } from '@pellux/goodvibes-sdk/platform/runtime/worktree/registry';
27
- import type { SandboxSessionRegistry } from '@pellux/goodvibes-sdk/platform/runtime/sandbox/session-registry';
15
+ import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions';
16
+ import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
17
+ import type { ForensicsRegistry } from '@/runtime/index.ts';
18
+ import type { PolicyRuntimeState } from '@/runtime/index.ts';
19
+ import type { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state';
20
+ import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp';
21
+ import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state';
22
+ import type { IntegrationHelperService } from '@/runtime/index.ts';
23
+ import type { KnowledgeService } from '@pellux/goodvibes-sdk/platform/knowledge';
24
+ import type { PluginManager } from '@pellux/goodvibes-sdk/platform/plugins';
25
+ import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks';
26
+ import type { WorktreeRegistry } from '@/runtime/index.ts';
27
+ import type { SandboxSessionRegistry } from '@/runtime/index.ts';
28
28
  import type { UiReadModels } from './ui-read-models.ts';
29
- import type { ShellPathService } from '@pellux/goodvibes-sdk/platform/runtime/shell-paths';
29
+ import type { ShellPathService } from '@/runtime/index.ts';
30
30
  import type {
31
31
  ShellAgentManagerService,
32
32
  ShellAutomationManagerRuntimeService,
@@ -35,13 +35,13 @@ import type {
35
35
  ShellSessionOrchestrationService,
36
36
  RemoteCommandService,
37
37
  PlanRuntimeService,
38
- } from '@pellux/goodvibes-sdk/platform/runtime/shell-command-ops';
39
- import type { BootstrapCommandShellServices } from '@pellux/goodvibes-sdk/platform/runtime/shell-command-services';
40
- import type { OperatorClient } from '@pellux/goodvibes-sdk/platform/runtime/operator-client';
41
- import type { PeerClient } from '@pellux/goodvibes-sdk/platform/runtime/peer-client';
42
- import type { DirectTransport } from '@pellux/goodvibes-sdk/platform/runtime/transports/direct';
43
- import type { VoiceProviderRegistry, VoiceService } from '@pellux/goodvibes-sdk/platform/voice/index';
44
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
38
+ } from '@/runtime/index.ts';
39
+ import type { BootstrapCommandShellServices } from '@/runtime/index.ts';
40
+ import type { OperatorClient } from '@/runtime/index.ts';
41
+ import type { PeerClient } from '@/runtime/index.ts';
42
+ import type { DirectTransport } from '@/runtime/index.ts';
43
+ import type { VoiceProviderRegistry, VoiceService } from '@pellux/goodvibes-sdk/platform/voice';
44
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
45
45
 
46
46
  export type BootstrapCommandSessionSection = CommandContext['session'];
47
47
  export type BootstrapCommandProviderSection = CommandContext['provider'];
@@ -85,26 +85,26 @@ export interface BootstrapCommandSectionOptions {
85
85
  readonly memoryRegistry?: MemoryRegistry;
86
86
  readonly integrationHelpers?: IntegrationHelperService;
87
87
  readonly knowledgeService?: KnowledgeService;
88
- readonly projectPlanningService?: import('@pellux/goodvibes-sdk/platform/knowledge/index').ProjectPlanningService;
88
+ readonly projectPlanningService?: import('@pellux/goodvibes-sdk/platform/knowledge').ProjectPlanningService;
89
89
  readonly projectPlanningProjectId?: string;
90
90
  readonly pluginManager?: PluginManager;
91
91
  readonly hookWorkbench?: HookWorkbench;
92
- readonly providerOptimizer?: import('@pellux/goodvibes-sdk/platform/providers/optimizer').ProviderOptimizer;
93
- readonly sessionManager?: import('@pellux/goodvibes-sdk/platform/sessions/manager').SessionManager;
94
- readonly profileManager?: import('@pellux/goodvibes-sdk/platform/profiles/manager').ProfileManager;
95
- readonly bookmarkManager?: import('@pellux/goodvibes-sdk/platform/bookmarks/manager').BookmarkManager;
96
- readonly favoritesStore?: import('@pellux/goodvibes-sdk/platform/providers/favorites').FavoritesStore;
97
- readonly benchmarkStore?: import('@pellux/goodvibes-sdk/platform/providers/model-benchmarks').BenchmarkStore;
98
- readonly subscriptionManager?: import('@pellux/goodvibes-sdk/platform/config/subscriptions').SubscriptionManager;
92
+ readonly providerOptimizer?: import('@pellux/goodvibes-sdk/platform/providers').ProviderOptimizer;
93
+ readonly sessionManager?: import('@pellux/goodvibes-sdk/platform/sessions').SessionManager;
94
+ readonly profileManager?: import('@pellux/goodvibes-sdk/platform/profiles').ProfileManager;
95
+ readonly bookmarkManager?: import('@pellux/goodvibes-sdk/platform/bookmarks').BookmarkManager;
96
+ readonly favoritesStore?: import('@pellux/goodvibes-sdk/platform/providers').FavoritesStore;
97
+ readonly benchmarkStore?: import('@pellux/goodvibes-sdk/platform/providers').BenchmarkStore;
98
+ readonly subscriptionManager?: import('@pellux/goodvibes-sdk/platform/config').SubscriptionManager;
99
99
  readonly secretsManager?: import('../config/secrets.ts').SecretsManager;
100
- readonly serviceRegistry?: import('@pellux/goodvibes-sdk/platform/config/service-registry').ServiceRegistry;
101
- readonly localUserAuthManager?: import('@pellux/goodvibes-sdk/platform/security/user-auth').UserAuthManager;
102
- readonly tokenAuditor?: import('@pellux/goodvibes-sdk/platform/security/token-audit').ApiTokenAuditor;
103
- readonly replayEngine?: import('@pellux/goodvibes-sdk/platform/core/deterministic-replay').DeterministicReplayEngine;
104
- readonly webhookNotifier?: import('@pellux/goodvibes-sdk/platform/integrations/webhooks').WebhookNotifier;
105
- readonly sessionMemoryStore?: import('@pellux/goodvibes-sdk/platform/core/session-memory').SessionMemoryStore;
106
- readonly sessionLineageTracker?: import('@pellux/goodvibes-sdk/platform/core/session-lineage').SessionLineageTracker;
107
- readonly changeTracker?: import('@pellux/goodvibes-sdk/platform/sessions/change-tracker').SessionChangeTracker;
100
+ readonly serviceRegistry?: import('@pellux/goodvibes-sdk/platform/config').ServiceRegistry;
101
+ readonly localUserAuthManager?: import('@pellux/goodvibes-sdk/platform/security').UserAuthManager;
102
+ readonly tokenAuditor?: import('@pellux/goodvibes-sdk/platform/security').ApiTokenAuditor;
103
+ readonly replayEngine?: import('@pellux/goodvibes-sdk/platform/core').DeterministicReplayEngine;
104
+ readonly webhookNotifier?: import('@pellux/goodvibes-sdk/platform/integrations').WebhookNotifier;
105
+ readonly sessionMemoryStore?: import('@pellux/goodvibes-sdk/platform/core').SessionMemoryStore;
106
+ readonly sessionLineageTracker?: import('@pellux/goodvibes-sdk/platform/core').SessionLineageTracker;
107
+ readonly changeTracker?: import('@pellux/goodvibes-sdk/platform/sessions').SessionChangeTracker;
108
108
  readonly agentManager?: ShellAgentManagerService;
109
109
  readonly modeManager?: ShellModeManagerService;
110
110
  readonly automationManager?: ShellAutomationManagerRuntimeService;
@@ -219,7 +219,6 @@ export function createBootstrapCommandActions(
219
219
  runtime.provider = def.provider;
220
220
  runtime.reasoningEffort = effort as 'instant' | 'low' | 'medium' | 'high';
221
221
  configManager.set('provider.model', key);
222
- configManager.set('provider.provider', def.provider);
223
222
  configManager.set('provider.reasoningEffort', effort as 'instant' | 'low' | 'medium' | 'high');
224
223
  const ctxNote = contextCap != null && contextCap > 0
225
224
  ? `, context cap: ${contextCap.toLocaleString()}`
@@ -1,31 +1,32 @@
1
1
  import { ConversationManager } from '../core/conversation';
2
2
  import { SelectionManager } from '../input/selection.ts';
3
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
3
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
4
4
  import { ConfigManager, getConfiguredSystemPrompt } from '../config/index.ts';
5
- import { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools/registry';
6
- import { registerAllTools } from '@pellux/goodvibes-sdk/platform/tools/index';
7
- import { PermissionManager, createPermissionConfigReader } from '@pellux/goodvibes-sdk/platform/permissions/manager';
8
- import { Notifier } from '@pellux/goodvibes-sdk/platform/integrations/notifier';
9
- import { WebhookNotifier } from '@pellux/goodvibes-sdk/platform/integrations/webhooks';
5
+ import { getProviderIdFromModel } from '../config/provider-model.ts';
6
+ import { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
7
+ import { registerAllTools } from '@pellux/goodvibes-sdk/platform/tools';
8
+ import { PermissionManager, createPermissionConfigReader } from '@pellux/goodvibes-sdk/platform/permissions';
9
+ import { Notifier } from '@pellux/goodvibes-sdk/platform/integrations';
10
+ import { WebhookNotifier } from '@pellux/goodvibes-sdk/platform/integrations';
10
11
  import { Compositor } from '../renderer/compositor.ts';
11
- import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions/prompt';
12
+ import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions';
12
13
  import type { SystemMessageRouter } from '../core/system-message-router.ts';
13
- import type { ConversationFollowUpItem } from '@pellux/goodvibes-sdk/platform/core/conversation-follow-ups';
14
+ import type { ConversationFollowUpItem } from '@pellux/goodvibes-sdk/platform/core';
14
15
  import type { OrchestratorUserInputOptions } from '../core/orchestrator.ts';
15
- import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane/gateway';
16
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
16
+ import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane';
17
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
17
18
  import type { BootstrapOptions } from './context.ts';
18
- import { createFeatureFlagManager } from '@pellux/goodvibes-sdk/platform/runtime/feature-flags/index';
19
- import { RuntimeEventBus } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
20
- import type { SessionEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
19
+ import { createFeatureFlagManager } from '@/runtime/index.ts';
20
+ import { RuntimeEventBus } from '@/runtime/index.ts';
21
+ import type { SessionEvent } from '@/runtime/index.ts';
21
22
  import { createRuntimeStore, createDomainDispatch, type RuntimeStore } from './store/index.ts';
22
- import { ForensicsCollector, ForensicsRegistry } from '@pellux/goodvibes-sdk/platform/runtime/forensics/index';
23
+ import { ForensicsCollector, ForensicsRegistry } from '@/runtime/index.ts';
23
24
  import {
24
25
  generateUserSessionId,
25
- } from '@pellux/goodvibes-sdk/platform/runtime/session-persistence';
26
- import { loadBootstrapSystemPrompt, syncConfiguredServices } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-helpers';
27
- import { registerBootstrapHookBridge } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-hook-bridge';
28
- import { registerBootstrapRuntimeEvents } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-runtime-events';
26
+ } from '@/runtime/index.ts';
27
+ import { loadBootstrapSystemPrompt, syncConfiguredServices } from '@/runtime/index.ts';
28
+ import { registerBootstrapHookBridge } from '@/runtime/index.ts';
29
+ import { registerBootstrapRuntimeEvents } from '@/runtime/index.ts';
29
30
  import { createRuntimeServices, type RuntimeServices } from './services.ts';
30
31
  import { createUiRuntimeServices, type UiRuntimeServices } from './ui-services.ts';
31
32
 
@@ -93,7 +94,7 @@ export async function initializeBootstrapCore(
93
94
 
94
95
  const featureFlags = createFeatureFlagManager();
95
96
  featureFlags.loadFromConfig({
96
- flags: (configManager.getCategory('featureFlags') as Record<string, import('@pellux/goodvibes-sdk/platform/runtime/feature-flags/types').FlagState>) ?? {},
97
+ flags: (configManager.getCategory('featureFlags') as Record<string, import('@/runtime/index.ts').FlagState>) ?? {},
97
98
  });
98
99
 
99
100
  const userSessionId = `user-${generateUserSessionId()}`;
@@ -320,7 +321,7 @@ export async function initializeBootstrapCore(
320
321
  // adds them here so operators can observe constraint enumeration and violations
321
322
  // in the SystemMessagesPanel and main conversation.
322
323
  runtimeUnsubs.push(
323
- runtimeBus.on<Extract<import('@pellux/goodvibes-sdk/platform/runtime/events/index').WorkflowEvent, { type: 'WORKFLOW_CONSTRAINTS_ENUMERATED' }>>(
324
+ runtimeBus.on<Extract<import('@/runtime/index.ts').WorkflowEvent, { type: 'WORKFLOW_CONSTRAINTS_ENUMERATED' }>>(
324
325
  'WORKFLOW_CONSTRAINTS_ENUMERATED',
325
326
  ({ payload }) => {
326
327
  const router = systemMessageRouterRef.value;
@@ -337,7 +338,7 @@ export async function initializeBootstrapCore(
337
338
  ),
338
339
  );
339
340
  runtimeUnsubs.push(
340
- runtimeBus.on<Extract<import('@pellux/goodvibes-sdk/platform/runtime/events/index').WorkflowEvent, { type: 'WORKFLOW_FIX_ATTEMPTED' }>>(
341
+ runtimeBus.on<Extract<import('@/runtime/index.ts').WorkflowEvent, { type: 'WORKFLOW_FIX_ATTEMPTED' }>>(
341
342
  'WORKFLOW_FIX_ATTEMPTED',
342
343
  ({ payload }) => {
343
344
  const router = systemMessageRouterRef.value;
@@ -354,7 +355,7 @@ export async function initializeBootstrapCore(
354
355
  ),
355
356
  );
356
357
  runtimeUnsubs.push(
357
- runtimeBus.on<Extract<import('@pellux/goodvibes-sdk/platform/runtime/events/index').WorkflowEvent, { type: 'WORKFLOW_REVIEW_COMPLETED' }>>(
358
+ runtimeBus.on<Extract<import('@/runtime/index.ts').WorkflowEvent, { type: 'WORKFLOW_REVIEW_COMPLETED' }>>(
358
359
  'WORKFLOW_REVIEW_COMPLETED',
359
360
  ({ payload }) => {
360
361
  const router = systemMessageRouterRef.value;
@@ -463,7 +464,7 @@ export async function initializeBootstrapCore(
463
464
 
464
465
  const runtime: MutableRuntimeState = {
465
466
  model: configManager.get('provider.model') as string,
466
- provider: configManager.get('provider.provider') as string,
467
+ provider: getProviderIdFromModel(configManager.get('provider.model')),
467
468
  debugMode: false,
468
469
  systemPrompt: loadBootstrapSystemPrompt(configManager) || getConfiguredSystemPrompt(configManager) || '',
469
470
  reasoningEffort: (configManager.get('provider.reasoningEffort') as string | undefined) ?? '',
@@ -1,18 +1,18 @@
1
1
  import type { ConversationManager } from '../core/conversation';
2
- import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks/index';
3
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
4
- import { registerBootstrapHookBridge } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-hook-bridge';
5
- import type { RuntimeEventBus } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
6
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
7
- import { emitSessionResumed } from '@pellux/goodvibes-sdk/platform/runtime/emitters/index';
8
- import { HelperModel } from '@pellux/goodvibes-sdk/platform/config/helper-model';
9
- import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config/manager';
10
- import { formatReturnContextForDisplay, getReturnContextMode, maybeAssistReturnContextSummary } from '@pellux/goodvibes-sdk/platform/runtime/session-return-context';
11
- import type { SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane/index';
12
- import type { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions/manager';
2
+ import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks';
3
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
4
+ import { registerBootstrapHookBridge } from '@/runtime/index.ts';
5
+ import type { RuntimeEventBus } from '@/runtime/index.ts';
6
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
7
+ import { emitSessionResumed } from '@/runtime/index.ts';
8
+ import { HelperModel } from '@pellux/goodvibes-sdk/platform/config';
9
+ import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
10
+ import { formatReturnContextForDisplay, getReturnContextMode, maybeAssistReturnContextSummary } from '@/runtime/index.ts';
11
+ import type { SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane';
12
+ import type { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions';
13
13
  import type { PanelManager } from '../panels/panel-manager.ts';
14
- import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers/registry';
15
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
14
+ import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
15
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
16
16
 
17
17
  export interface ResumeSessionOptions {
18
18
  readonly runtimeBus: RuntimeEventBus;
@@ -26,7 +26,7 @@ export interface ResumeSessionOptions {
26
26
  readonly sessionManager: SessionManager;
27
27
  readonly panelManager: PanelManager;
28
28
  readonly configManager: Pick<ConfigManager, 'get' | 'getCategory'>;
29
- readonly providerRegistry: Pick<ProviderRegistry, 'get' | 'getCurrentModel' | 'getForModel'>;
29
+ readonly providerRegistry: Pick<ProviderRegistry, 'get' | 'getCurrentModel' | 'getForModel' | 'require'>;
30
30
  }
31
31
 
32
32
  export function createResumeSessionHandler(options: ResumeSessionOptions): (sessionId: string) => void {
@@ -1,37 +1,37 @@
1
1
  import { join } from 'node:path';
2
2
  import type { ConversationManager } from '../core/conversation';
3
3
  import type { Orchestrator } from '../core/orchestrator';
4
- import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config/manager';
5
- import type { RuntimeEventBus } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
6
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
4
+ import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
5
+ import type { RuntimeEventBus } from '@/runtime/index.ts';
6
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
7
7
  import type { RuntimeStore } from './store/index.ts';
8
8
  import type { RuntimeServices } from './services.ts';
9
9
  import type { CommandContext } from '../input/command-registry.ts';
10
- import type { OpsControlPlane } from '@pellux/goodvibes-sdk/platform/runtime/ops/control-plane';
10
+ import type { OpsControlPlane } from '@/runtime/index.ts';
11
11
  import { CommandRegistry } from '../input/command-registry.ts';
12
12
  import { registerBuiltinCommands } from '../input/commands.ts';
13
13
  import { InputHistory } from '../input/input-history.ts';
14
14
  import { GitStatusProvider } from '../renderer/git-status.ts';
15
15
  import type { GitHeaderInfo } from '../renderer/git-status.ts';
16
- import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions/prompt';
16
+ import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions';
17
17
  import { registerBuiltinPanels } from '../panels/builtin-panels.ts';
18
18
  import { SystemMessagesPanel } from '../panels/system-messages-panel.ts';
19
19
  import { createSystemMessageRouter, type SystemMessageRouter } from '../core/system-message-router.ts';
20
20
  import { getConfigSnapshot } from '../config/index.ts';
21
21
  import { createBootstrapCommandContext } from './bootstrap-command-context.ts';
22
22
  import { createResumeSessionHandler } from './bootstrap-hook-bridge.ts';
23
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
24
- import { loadBootstrapSystemPrompt } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-helpers';
25
- import { createShellPlanRuntime, createShellRemoteCommandService } from '@pellux/goodvibes-sdk/platform/runtime/shell-command-services';
26
- import { createRuntimeFoundationClients } from '@pellux/goodvibes-sdk/platform/runtime/foundation-clients';
27
- import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane/gateway';
23
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
24
+ import { loadBootstrapSystemPrompt } from '@/runtime/index.ts';
25
+ import { createShellPlanRuntime, createShellRemoteCommandService } from '@/runtime/index.ts';
26
+ import { createRuntimeFoundationClients } from '@/runtime/index.ts';
27
+ import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane';
28
28
  import type { BuiltinPanelDeps } from '../panels/builtin/shared.ts';
29
- import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools/registry';
30
- import type { ForensicsRegistry } from '@pellux/goodvibes-sdk/platform/runtime/forensics/index';
31
- import type { PolicyRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-runtime';
32
- import type { TaskManager } from '@pellux/goodvibes-sdk/platform/runtime/tasks/types';
29
+ import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
30
+ import type { ForensicsRegistry } from '@/runtime/index.ts';
31
+ import type { PolicyRuntimeState } from '@/runtime/index.ts';
32
+ import type { TaskManager } from '@/runtime/index.ts';
33
33
  import type { UiRuntimeServices } from './ui-services.ts';
34
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
34
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
35
35
 
36
36
  export interface BootstrapShellState {
37
37
  readonly commandRegistry: CommandRegistry;