@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
@@ -11,10 +11,10 @@
11
11
  */
12
12
  import { join } from 'node:path';
13
13
  import { Orchestrator, type OrchestratorUserInputOptions } from '../core/orchestrator.ts';
14
- import { AcpManager } from '@pellux/goodvibes-sdk/platform/acp/manager';
15
- import { getTierPromptSupplement, getTierForContextWindow } from '@pellux/goodvibes-sdk/platform/providers/tier-prompts';
16
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
17
- import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions/prompt';
14
+ import { AcpManager } from '@pellux/goodvibes-sdk/platform/acp';
15
+ import { getTierPromptSupplement, getTierForContextWindow } from '@pellux/goodvibes-sdk/platform/providers';
16
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
17
+ import type { PermissionRequestHandler } from '@pellux/goodvibes-sdk/platform/permissions';
18
18
  import type { CommandContext } from '../input/command-registry.ts';
19
19
  import type { InputHistory } from '../input/input-history.ts';
20
20
  import type { GitStatusProvider } from '../renderer/git-status.ts';
@@ -23,31 +23,31 @@ import type { SelectionManager } from '../input/selection.ts';
23
23
  import type { Compositor } from '../renderer/compositor.ts';
24
24
 
25
25
  import type { RuntimeContext, BootstrapOptions } from './context.ts';
26
- import { shutdownRuntime, fireSessionStart, saveSession } from '@pellux/goodvibes-sdk/platform/runtime/lifecycle';
27
- import { createTaskManager } from '@pellux/goodvibes-sdk/platform/runtime/tasks/index';
28
- import { OpsControlPlane } from '@pellux/goodvibes-sdk/platform/runtime/ops/control-plane';
29
- import { AcpTaskAdapter } from '@pellux/goodvibes-sdk/platform/runtime/tasks/adapters/acp-adapter';
26
+ import { shutdownRuntime, fireSessionStart, saveSession } from '@/runtime/index.ts';
27
+ import { createTaskManager } from '@/runtime/index.ts';
28
+ import { OpsControlPlane } from '@/runtime/index.ts';
29
+ import { AcpTaskAdapter } from '@/runtime/index.ts';
30
30
  import type { SystemMessageRouter } from '../core/system-message-router.ts';
31
- import { emitSessionReady, emitSessionStarted } from '@pellux/goodvibes-sdk/platform/runtime/emitters/index';
31
+ import { emitSessionReady, emitSessionStarted } from '@/runtime/index.ts';
32
32
  import {
33
33
  loadLastConversation,
34
34
  writeLastSessionPointer,
35
- } from '@pellux/goodvibes-sdk/platform/runtime/session-persistence';
36
- import { startBackgroundProviderRegistration } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-background';
37
- import { restoreSavedModel } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-helpers';
38
- import { startExternalServices, type ExternalServicesHandle, type HostServiceStatus } from '@pellux/goodvibes-sdk/platform/runtime/bootstrap-services';
39
- import { getOrCreateCompanionToken, pruneStaleOperatorTokens } from '@pellux/goodvibes-sdk/platform/pairing/companion-token';
35
+ } from '@/runtime/index.ts';
36
+ import { startBackgroundProviderRegistration } from '@/runtime/index.ts';
37
+ import { restoreSavedModel } from '@/runtime/index.ts';
38
+ import { startExternalServices, type ExternalServicesHandle, type HostServiceStatus } from '@/runtime/index.ts';
39
+ import { getOrCreateCompanionToken, pruneStaleOperatorTokens } from '@pellux/goodvibes-sdk/platform/pairing';
40
40
  import { workspaceOperatorTokenCandidates } from './operator-token-cleanup.ts';
41
41
  import type { UiRuntimeServices } from './ui-services.ts';
42
- import { createDeferredStartupCoordinator } from '@pellux/goodvibes-sdk/platform/runtime/deferred-startup';
42
+ import { createDeferredStartupCoordinator } from '@/runtime/index.ts';
43
43
  import { initializeBootstrapCore } from './bootstrap-core.ts';
44
44
  import { createBootstrapShell } from './bootstrap-shell.ts';
45
- import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils/error-display';
46
- import { DaemonServer } from '@pellux/goodvibes-sdk/platform/daemon/server';
47
- import { HttpListener } from '@pellux/goodvibes-sdk/platform/daemon/http-listener';
45
+ import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
46
+ import { DaemonServer } from '@pellux/goodvibes-sdk/platform/daemon';
47
+ import { HttpListener } from '@pellux/goodvibes-sdk/platform/daemon';
48
48
  import { createSafeHostServeFactory } from '../daemon/safe-serve.ts';
49
49
 
50
- type ExternalServiceFactories = NonNullable<Parameters<typeof startExternalServices>[3]>;
50
+ type ExternalServiceFactories = NonNullable<Parameters<typeof startExternalServices>[4]>;
51
51
 
52
52
  // ── Bootstrap context type ──────────────────────────────────────────────────
53
53
 
@@ -136,7 +136,7 @@ export async function bootstrapRuntime(
136
136
  const workingDir = options.workingDir;
137
137
  const configManager = options.configManager;
138
138
  const controlPlaneRecentEventsRef: {
139
- value: (limit: number) => readonly import('@pellux/goodvibes-sdk/platform/control-plane/gateway').ControlPlaneRecentEvent[];
139
+ value: (limit: number) => readonly import('@pellux/goodvibes-sdk/platform/control-plane').ControlPlaneRecentEvent[];
140
140
  } = {
141
141
  value: (_limit) => [],
142
142
  };
@@ -227,11 +227,11 @@ export async function bootstrapRuntime(
227
227
  });
228
228
  conversation.setSessionLineageTracker(services.sessionLineageTracker);
229
229
 
230
- const acpManager = new AcpManager(
231
- (request) => permissionPromptRef.requestPermission(request),
230
+ const acpManager = new AcpManager({
231
+ requestPermission: (request) => permissionPromptRef.requestPermission(request),
232
232
  runtimeBus,
233
- services.hookDispatcher,
234
- );
233
+ hookDispatcher: services.hookDispatcher,
234
+ });
235
235
  const acpTaskAdapter = new AcpTaskAdapter(store);
236
236
  const ACP_TASK_SYNC_INTERVAL_MS = 1_000;
237
237
  const acpTaskSyncInterval = setInterval(() => {
@@ -401,8 +401,8 @@ export async function bootstrapRuntime(
401
401
  configManager,
402
402
  runtimeBus,
403
403
  hookDispatcher,
404
- createExternalServiceFactories(companionTokenRecord.token),
405
404
  services,
405
+ createExternalServiceFactories(companionTokenRecord.token),
406
406
  );
407
407
  externalServices = await externalServicesPromise;
408
408
  controlPlaneRecentEventsRef.value = (limit) => externalServices.listRecentControlPlaneEvents(limit);
@@ -464,8 +464,8 @@ export async function bootstrapRuntime(
464
464
  configManager,
465
465
  runtimeBus,
466
466
  hookDispatcher,
467
- createExternalServiceFactories(companionTokenRecord.token),
468
467
  services,
468
+ createExternalServiceFactories(companionTokenRecord.token),
469
469
  );
470
470
  externalServices = await externalServicesPromise;
471
471
  controlPlaneRecentEventsRef.value = (limit) => externalServices.listRecentControlPlaneEvents(limit);
@@ -495,7 +495,7 @@ export async function bootstrapRuntime(
495
495
  providerRegistry,
496
496
  runtime,
497
497
  requestRender,
498
- restoreSavedModel,
498
+ restoreRuntimeModel: restoreSavedModel,
499
499
  systemMessageRouter,
500
500
  shellPaths: services.shellPaths,
501
501
  surfaceRoot: 'tui',
@@ -1,5 +1,5 @@
1
1
  import { join } from 'node:path';
2
- import { getOrCreateCompanionToken } from '@pellux/goodvibes-sdk/platform/pairing/companion-token';
2
+ import { getOrCreateCompanionToken } from '@pellux/goodvibes-sdk/platform/pairing';
3
3
  import type { ConfigManager } from '../config/index.ts';
4
4
 
5
5
  export const CLOUDFLARE_COMPONENT_IDS = [
@@ -7,21 +7,21 @@
7
7
  */
8
8
  import type { ConversationManager } from '../core/conversation';
9
9
  import type { Orchestrator } from '../core/orchestrator';
10
- import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools/registry';
11
- import type { PermissionManager } from '@pellux/goodvibes-sdk/platform/permissions/manager';
12
- import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks/dispatcher';
13
- import type { FileStateCache } from '@pellux/goodvibes-sdk/platform/state/file-cache';
14
- import type { ProjectIndex } from '@pellux/goodvibes-sdk/platform/state/project-index';
15
- import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers/registry';
10
+ import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
11
+ import type { PermissionManager } from '@pellux/goodvibes-sdk/platform/permissions';
12
+ import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks';
13
+ import type { FileStateCache } from '@pellux/goodvibes-sdk/platform/state';
14
+ import type { ProjectIndex } from '@pellux/goodvibes-sdk/platform/state';
15
+ import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
16
16
  import type { RuntimeStore } from './store/index.ts';
17
- import type { RuntimeEventBus } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
18
- import type { FeatureFlagManager } from '@pellux/goodvibes-sdk/platform/runtime/feature-flags/index';
19
- import type { MutableRuntimeState } from '@pellux/goodvibes-sdk/platform/runtime/mutable-runtime-state';
20
- import type { SessionSnapshot } from '@pellux/goodvibes-sdk/platform/runtime/session-persistence';
17
+ import type { RuntimeEventBus } from '@/runtime/index.ts';
18
+ import type { FeatureFlagManager } from '@/runtime/index.ts';
19
+ import type { MutableRuntimeState } from '@/runtime/index.ts';
20
+ import type { SessionSnapshot } from '@/runtime/index.ts';
21
21
  import type { RuntimeServices } from './services.ts';
22
22
  import type { ComponentHealthMonitor } from './perf/panel-health-monitor.ts';
23
- import type { WorktreeRegistry } from '@pellux/goodvibes-sdk/platform/runtime/worktree/registry';
24
- import type { SandboxSessionRegistry } from '@pellux/goodvibes-sdk/platform/runtime/sandbox/session-registry';
23
+ import type { WorktreeRegistry } from '@/runtime/index.ts';
24
+ import type { SandboxSessionRegistry } from '@/runtime/index.ts';
25
25
 
26
26
  /**
27
27
  * Options accepted by bootstrapRuntime().
@@ -32,7 +32,7 @@ export interface BootstrapOptions {
32
32
  /** App-owned home directory for this runtime instance. */
33
33
  homeDirectory: string;
34
34
  /** Explicit app-owned config manager for this runtime instance. */
35
- configManager: import('@pellux/goodvibes-sdk/platform/config/manager').ConfigManager;
35
+ configManager: import('@pellux/goodvibes-sdk/platform/config').ConfigManager;
36
36
  /**
37
37
  * Callback invoked when the app should exit.
38
38
  * If provided, commandContext.exit is wired during bootstrap.
@@ -3,22 +3,22 @@
3
3
  *
4
4
  * Import from this module to access the individual diagnostic panel providers.
5
5
  */
6
- export { ToolCallsPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/tool-calls';
7
- export { AgentsPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/agents';
8
- export { TasksPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/tasks';
9
- export { EventsPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/events';
10
- export { StateInspectorPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/state-inspector';
11
- export type { InspectableDomain } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/state-inspector';
12
- export { HealthPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/health';
13
- export { DivergencePanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/divergence';
14
- export { ReplayPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/replay';
6
+ export { ToolCallsPanel } from '@/runtime/index.ts';
7
+ export { AgentsPanel } from '@/runtime/index.ts';
8
+ export { TasksPanel } from '@/runtime/index.ts';
9
+ export { EventsPanel } from '@/runtime/index.ts';
10
+ export { StateInspectorPanel } from '@/runtime/index.ts';
11
+ export type { InspectableDomain } from '@/runtime/index.ts';
12
+ export { HealthPanel } from '@/runtime/index.ts';
13
+ export { DivergencePanel } from '@/runtime/index.ts';
14
+ export { ReplayPanel } from '@/runtime/index.ts';
15
15
  export { PolicyPanel } from './policy.ts';
16
16
  export type { PolicyPanelSnapshot } from './policy.ts';
17
- export { ToolContractsPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/tool-contracts';
18
- export { TransportPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/transport';
19
- export type { TransportPanelSnapshot } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/transport';
17
+ export { ToolContractsPanel } from '@/runtime/index.ts';
18
+ export { TransportPanel } from '@/runtime/index.ts';
19
+ export type { TransportPanelSnapshot } from '@/runtime/index.ts';
20
20
  export { OpsPanel } from './ops.ts';
21
21
  export type { OpsAuditEntry } from './ops.ts';
22
22
  export { PanelResourcesPanel } from './panel-resources.ts';
23
- export { SecurityPanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/security';
24
- export type { SecurityPanelSnapshot } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/security';
23
+ export { SecurityPanel } from '@/runtime/index.ts';
24
+ export type { SecurityPanelSnapshot } from '@/runtime/index.ts';
@@ -8,11 +8,11 @@
8
8
  * Controls are only shown when the OpsControlPlane reports the action is legal
9
9
  * (state machine allows it), satisfying requirement: "No illegal action appears in UI".
10
10
  */
11
- import type { RuntimeEventEnvelope } from '@pellux/goodvibes-sdk/platform/runtime/events/index';
12
- import type { PanelConfig } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
13
- import { DEFAULT_PANEL_CONFIG, appendBounded, applyFilter } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
14
- import type { DiagnosticFilter } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
15
- import type { OpsInterventionReason, OpsEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/ops';
11
+ import type { RuntimeEventEnvelope } from '@/runtime/index.ts';
12
+ import type { PanelConfig } from '@/runtime/index.ts';
13
+ import { DEFAULT_PANEL_CONFIG, appendBounded, applyFilter } from '@/runtime/index.ts';
14
+ import type { DiagnosticFilter } from '@/runtime/index.ts';
15
+ import type { OpsInterventionReason, OpsEvent } from '@/runtime/index.ts';
16
16
  import type { UiEventFeed } from '../../ui-events.ts';
17
17
 
18
18
  // ---------------------------------------------------------------------------
@@ -109,8 +109,8 @@ export class OpsPanel {
109
109
  note: payload.note,
110
110
  outcome: payload.outcome,
111
111
  errorMessage: payload.errorMessage,
112
- traceId: envelope.traceId,
113
- sessionId: envelope.sessionId,
112
+ traceId: envelope.traceId ?? '',
113
+ sessionId: envelope.sessionId ?? '',
114
114
  };
115
115
 
116
116
  appendBounded(this._audit, record, this._config.bufferLimit);
@@ -8,7 +8,7 @@ import type { ComponentHealthMonitor } from '../../perf/panel-health-monitor.ts'
8
8
  import type {
9
9
  ComponentResourceEntry,
10
10
  ComponentResourceSnapshot,
11
- } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
11
+ } from '@/runtime/index.ts';
12
12
 
13
13
  const DEFAULT_POLL_INTERVAL_MS = 500;
14
14
 
@@ -9,17 +9,17 @@
9
9
  * call `recordTrendEntry()` periodically if a divergence panel is attached.
10
10
  */
11
11
 
12
- import type { PolicyBundleVersion, PolicyDiffResult } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-registry';
13
- import { PolicyRegistry } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-registry';
14
- import type { DivergenceDashboardSnapshot } from '@pellux/goodvibes-sdk/platform/runtime/permissions/divergence-dashboard';
15
- import type { DivergencePanel } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/panels/divergence';
16
- import type { PanelConfig } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
17
- import { DEFAULT_PANEL_CONFIG } from '@pellux/goodvibes-sdk/platform/runtime/diagnostics/types';
18
- import type { PermissionAuditEntry } from '@pellux/goodvibes-sdk/platform/runtime/permissions/policy-runtime';
19
- import type { PolicyLintFinding } from '@pellux/goodvibes-sdk/platform/runtime/permissions/lint';
20
- import type { PolicySimulationSummary } from '@pellux/goodvibes-sdk/platform/runtime/permissions/simulation-scenarios';
21
- import type { PolicyPreflightReview } from '@pellux/goodvibes-sdk/platform/runtime/permissions/preflight';
22
- import { logger } from '@pellux/goodvibes-sdk/platform/utils/logger';
12
+ import type { PolicyBundleVersion, PolicyDiffResult } from '@/runtime/index.ts';
13
+ import { PolicyRegistry } from '@/runtime/index.ts';
14
+ import type { DivergenceDashboardSnapshot } from '@/runtime/index.ts';
15
+ import type { DivergencePanel } from '@/runtime/index.ts';
16
+ import type { PanelConfig } from '@/runtime/index.ts';
17
+ import { DEFAULT_PANEL_CONFIG } from '@/runtime/index.ts';
18
+ import type { PermissionAuditEntry } from '@/runtime/index.ts';
19
+ import type { PolicyLintFinding } from '@/runtime/index.ts';
20
+ import type { PolicySimulationSummary } from '@/runtime/index.ts';
21
+ import type { PolicyPreflightReview } from '@/runtime/index.ts';
22
+ import { logger } from '@pellux/goodvibes-sdk/platform/utils';
23
23
 
24
24
  /**
25
25
  * A point-in-time snapshot of policy state for diagnostics rendering.