@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.
- package/CHANGELOG.md +52 -0
- package/README.md +1 -1
- package/docs/foundation-artifacts/operator-contract.json +2398 -2086
- package/package.json +2 -2
- package/src/audio/player.ts +1 -1
- package/src/audio/spoken-turn-controller.ts +5 -5
- package/src/audio/spoken-turn-model-routing.ts +3 -3
- package/src/audio/spoken-turn-wiring.ts +3 -3
- package/src/cli/bundle-command.ts +3 -3
- package/src/cli/entrypoint.ts +9 -8
- package/src/cli/management-commands.ts +6 -6
- package/src/cli/management.ts +17 -16
- package/src/cli/provider-auth-routes.ts +1 -1
- package/src/cli/service-posture.ts +2 -2
- package/src/cli/status.ts +4 -3
- package/src/cli/surface-command.ts +1 -1
- package/src/config/index.ts +12 -11
- package/src/config/provider-model.ts +23 -0
- package/src/config/secret-config.ts +1 -1
- package/src/config/secrets.ts +3 -3
- package/src/core/composer-state.ts +1 -1
- package/src/core/conversation-rendering.ts +3 -3
- package/src/core/conversation.ts +10 -10
- package/src/core/orchestrator.ts +1 -1
- package/src/core/system-message-router.ts +3 -3
- package/src/daemon/cli.ts +19 -19
- package/src/daemon/safe-serve.ts +2 -2
- package/src/input/bookmark-modal.ts +1 -1
- package/src/input/command-registry.ts +31 -31
- package/src/input/commands/control-room-runtime.ts +3 -3
- package/src/input/commands/conversation-runtime.ts +1 -1
- package/src/input/commands/diff-runtime.ts +1 -1
- package/src/input/commands/discovery-runtime.ts +2 -2
- package/src/input/commands/eval.ts +6 -6
- package/src/input/commands/git-runtime.ts +2 -2
- package/src/input/commands/guidance-runtime.ts +3 -3
- package/src/input/commands/health-runtime.ts +10 -10
- package/src/input/commands/incident-runtime.ts +1 -1
- package/src/input/commands/integration-runtime.ts +2 -2
- package/src/input/commands/intelligence-runtime.ts +3 -3
- package/src/input/commands/knowledge.ts +1 -1
- package/src/input/commands/local-auth-runtime.ts +1 -1
- package/src/input/commands/local-provider-runtime.ts +3 -4
- package/src/input/commands/local-runtime.ts +6 -6
- package/src/input/commands/local-setup-review.ts +3 -3
- package/src/input/commands/local-setup.ts +3 -3
- package/src/input/commands/managed-runtime.ts +9 -8
- package/src/input/commands/marketplace-runtime.ts +1 -1
- package/src/input/commands/mcp-runtime.ts +1 -1
- package/src/input/commands/operator-panel-runtime.ts +1 -1
- package/src/input/commands/operator-runtime.ts +5 -5
- package/src/input/commands/platform-access-runtime.ts +2 -2
- package/src/input/commands/platform-sandbox-qemu.ts +2 -2
- package/src/input/commands/platform-sandbox-runtime.ts +6 -6
- package/src/input/commands/platform-sandbox-session.ts +2 -2
- package/src/input/commands/policy-dispatch.ts +6 -6
- package/src/input/commands/product-runtime.ts +2 -2
- package/src/input/commands/profile-sync-runtime.ts +2 -2
- package/src/input/commands/provider-accounts-runtime.ts +1 -1
- package/src/input/commands/provider.ts +3 -3
- package/src/input/commands/quit-shared.ts +2 -2
- package/src/input/commands/recall-bundle.ts +2 -2
- package/src/input/commands/recall-capture.ts +2 -2
- package/src/input/commands/recall-query.ts +2 -2
- package/src/input/commands/recall-shared.ts +2 -2
- package/src/input/commands/remote-runtime-setup.ts +2 -2
- package/src/input/commands/remote-runtime.ts +1 -1
- package/src/input/commands/replay-runtime.ts +1 -1
- package/src/input/commands/runtime-services.ts +11 -11
- package/src/input/commands/schedule-runtime.ts +6 -6
- package/src/input/commands/services-runtime.ts +1 -1
- package/src/input/commands/session-content.ts +5 -5
- package/src/input/commands/session-workflow.ts +5 -5
- package/src/input/commands/session.ts +2 -2
- package/src/input/commands/settings-sync-runtime.ts +5 -4
- package/src/input/commands/share-runtime.ts +3 -3
- package/src/input/commands/shell-core.ts +4 -5
- package/src/input/commands/skills-runtime.ts +1 -1
- package/src/input/commands/subscription-runtime.ts +7 -7
- package/src/input/commands/tasks-runtime.ts +5 -5
- package/src/input/commands/teamwork-runtime.ts +3 -3
- package/src/input/commands/teleport-runtime.ts +1 -1
- package/src/input/commands/worktree-runtime.ts +3 -3
- package/src/input/feed-context-factory.ts +1 -1
- package/src/input/file-picker.ts +1 -1
- package/src/input/handler-command-route.ts +2 -2
- package/src/input/handler-content-actions.ts +7 -7
- package/src/input/handler-feed-routes.ts +3 -3
- package/src/input/handler-feed.ts +2 -2
- package/src/input/handler-interactions.ts +1 -1
- package/src/input/handler-modal-routes.ts +1 -2
- package/src/input/handler-modal-token-routes.ts +1 -1
- package/src/input/handler-onboarding.ts +9 -6
- package/src/input/handler-picker-routes.ts +3 -3
- package/src/input/handler-shortcuts.ts +1 -1
- package/src/input/handler-ui-state.ts +1 -1
- package/src/input/handler.ts +5 -5
- package/src/input/input-history.ts +2 -2
- package/src/input/keybindings.ts +3 -3
- package/src/input/model-picker-types.ts +1 -1
- package/src/input/model-picker.ts +6 -6
- package/src/input/onboarding/handler-onboarding-routes.ts +1 -1
- package/src/input/onboarding/onboarding-runtime-status.ts +1 -1
- package/src/input/onboarding/onboarding-wizard-apply.ts +2 -2
- package/src/input/onboarding/onboarding-wizard-external-surfaces.ts +1 -1
- package/src/input/panel-integration-actions.ts +1 -1
- package/src/input/profile-picker-modal.ts +5 -5
- package/src/input/session-picker-modal.ts +2 -2
- package/src/input/settings-modal-behavior.ts +3 -5
- package/src/input/settings-modal-secrets.ts +4 -4
- package/src/input/settings-modal-subscriptions.ts +3 -3
- package/src/input/settings-modal-types.ts +4 -4
- package/src/input/settings-modal.ts +9 -9
- package/src/input/tts-settings-actions.ts +1 -1
- package/src/main.ts +16 -17
- package/src/panels/agent-inspector-panel.ts +4 -4
- package/src/panels/agent-logs-panel.ts +2 -2
- package/src/panels/approval-panel.ts +2 -2
- package/src/panels/builtin/operations.ts +1 -1
- package/src/panels/builtin/session.ts +2 -2
- package/src/panels/builtin/shared.ts +26 -26
- package/src/panels/context-visualizer-panel.ts +3 -3
- package/src/panels/cost-tracker-panel.ts +1 -1
- package/src/panels/debug-panel.ts +1 -1
- package/src/panels/eval-panel.ts +1 -1
- package/src/panels/forensics-panel.ts +3 -3
- package/src/panels/git-panel.ts +3 -3
- package/src/panels/hooks-panel.ts +7 -7
- package/src/panels/incident-review-panel.ts +2 -2
- package/src/panels/knowledge-panel.ts +1 -1
- package/src/panels/local-auth-panel.ts +1 -1
- package/src/panels/marketplace-panel.ts +2 -2
- package/src/panels/mcp-panel.ts +2 -2
- package/src/panels/memory-panel.ts +2 -2
- package/src/panels/ops-control-panel.ts +1 -1
- package/src/panels/ops-strategy-panel.ts +2 -2
- package/src/panels/orchestration-panel.ts +1 -1
- package/src/panels/panel-list-panel.ts +1 -1
- package/src/panels/plan-dashboard-panel.ts +1 -1
- package/src/panels/plugins-panel.ts +1 -1
- package/src/panels/policy-panel.ts +1 -1
- package/src/panels/project-planning-panel.ts +1 -1
- package/src/panels/provider-account-snapshot.ts +1 -1
- package/src/panels/provider-health-domains.ts +4 -4
- package/src/panels/provider-health-panel.ts +4 -4
- package/src/panels/provider-stats-panel.ts +1 -1
- package/src/panels/qr-panel.ts +1 -1
- package/src/panels/sandbox-panel.ts +3 -3
- package/src/panels/schedule-panel.ts +4 -4
- package/src/panels/security-panel.ts +1 -1
- package/src/panels/services-panel.ts +1 -1
- package/src/panels/session-browser-panel.ts +3 -3
- package/src/panels/settings-sync-panel.ts +1 -1
- package/src/panels/skills-panel.ts +1 -1
- package/src/panels/subscription-panel.ts +2 -2
- package/src/panels/system-messages-panel.ts +1 -1
- package/src/panels/tasks-panel.ts +5 -5
- package/src/panels/thinking-panel.ts +1 -1
- package/src/panels/token-budget-panel.ts +2 -2
- package/src/panels/tool-inspector-panel.ts +1 -1
- package/src/panels/worktree-panel.ts +6 -6
- package/src/panels/wrfc-panel.ts +4 -4
- package/src/permissions/prompt.ts +3 -3
- package/src/planning/project-planning-coordinator.ts +1 -1
- package/src/plugins/loader.ts +2 -2
- package/src/renderer/agent-detail-modal.ts +5 -5
- package/src/renderer/bookmark-modal.ts +1 -1
- package/src/renderer/git-status.ts +3 -3
- package/src/renderer/help-overlay.ts +1 -1
- package/src/renderer/live-tail-modal.ts +2 -2
- package/src/renderer/model-picker-overlay.ts +2 -2
- package/src/renderer/model-workspace.ts +1 -1
- package/src/renderer/process-modal.ts +3 -3
- package/src/renderer/qr-renderer.ts +1 -1
- package/src/renderer/semantic-diff.ts +6 -6
- package/src/renderer/syntax-highlighter.ts +3 -3
- package/src/renderer/tool-call.ts +1 -1
- package/src/runtime/bootstrap-command-context.ts +46 -46
- package/src/runtime/bootstrap-command-parts.ts +46 -47
- package/src/runtime/bootstrap-core.ts +24 -23
- package/src/runtime/bootstrap-hook-bridge.ts +14 -14
- package/src/runtime/bootstrap-shell.ts +15 -15
- package/src/runtime/bootstrap.ts +27 -27
- package/src/runtime/cloudflare-control-plane.ts +1 -1
- package/src/runtime/context.ts +13 -13
- package/src/runtime/diagnostics/panels/index.ts +14 -14
- package/src/runtime/diagnostics/panels/ops.ts +7 -7
- package/src/runtime/diagnostics/panels/panel-resources.ts +1 -1
- package/src/runtime/diagnostics/panels/policy.ts +11 -11
- package/src/runtime/index.ts +625 -163
- package/src/runtime/onboarding/apply.ts +1 -1
- package/src/runtime/onboarding/derivation.ts +3 -2
- package/src/runtime/onboarding/markers.ts +1 -1
- package/src/runtime/onboarding/snapshot.ts +3 -2
- package/src/runtime/onboarding/types.ts +2 -2
- package/src/runtime/onboarding/verify.ts +1 -1
- package/src/runtime/perf/panel-contracts.ts +2 -2
- package/src/runtime/perf/panel-health-monitor.ts +2 -2
- package/src/runtime/sandbox-public-gaps.ts +486 -0
- package/src/runtime/services.ts +114 -67
- package/src/runtime/store/domains/index.ts +50 -50
- package/src/runtime/store/index.ts +21 -20
- package/src/runtime/store/selectors/index.ts +17 -17
- package/src/runtime/store/state.ts +50 -50
- package/src/runtime/surface-feature-flags.ts +1 -3
- package/src/runtime/terminal-output-guard.ts +1 -1
- package/src/runtime/ui/index.ts +7 -7
- package/src/runtime/ui/model-picker/data-provider.ts +7 -7
- package/src/runtime/ui/model-picker/health-enrichment.ts +7 -7
- package/src/runtime/ui/model-picker/index.ts +11 -11
- package/src/runtime/ui/model-picker/types.ts +1 -1
- package/src/runtime/ui/provider-health/data-provider.ts +4 -4
- package/src/runtime/ui/provider-health/fallback-visualizer.ts +5 -3
- package/src/runtime/ui/provider-health/index.ts +7 -7
- package/src/runtime/ui/provider-health/types.ts +1 -1
- package/src/runtime/ui-events.ts +1 -1
- package/src/runtime/ui-read-model-helpers.ts +1 -1
- package/src/runtime/ui-read-models-observability-maintenance.ts +1 -1
- package/src/runtime/ui-read-models-observability-options.ts +1 -1
- package/src/runtime/ui-read-models-observability-remote.ts +1 -1
- package/src/runtime/ui-read-models-observability-security.ts +1 -1
- package/src/runtime/ui-read-models-observability-system.ts +1 -1
- package/src/runtime/ui-read-models-observability.ts +1 -1
- package/src/runtime/ui-read-models.ts +8 -8
- package/src/runtime/ui-service-queries.ts +1 -1
- package/src/runtime/ui-services.ts +8 -8
- package/src/scripts/process-messages.ts +1 -1
- package/src/shell/blocking-input.ts +2 -2
- package/src/shell/ui-openers.ts +8 -7
- package/src/tools/index.ts +1 -1
- package/src/utils/clipboard.ts +3 -3
- package/src/version.ts +1 -1
package/src/runtime/services.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
|
-
import { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
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
|
|
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
|
|
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
|
|
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 '
|
|
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 '
|
|
38
|
-
import { RemoteRunnerRegistry, RemoteSupervisor } from '
|
|
39
|
-
import { IntegrationHelperService } from '
|
|
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
|
|
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
|
|
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 {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
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
|
|
65
|
-
import { SessionLineageTracker } from '@pellux/goodvibes-sdk/platform/core
|
|
66
|
-
import { SessionChangeTracker } from '@pellux/goodvibes-sdk/platform/sessions
|
|
67
|
-
import { ExecutionPlanManager } from '@pellux/goodvibes-sdk/platform/core
|
|
68
|
-
import { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core
|
|
69
|
-
import { FileStateCache } from '@pellux/goodvibes-sdk/platform/state
|
|
70
|
-
import { ProjectIndex } from '@pellux/goodvibes-sdk/platform/state
|
|
71
|
-
import { IdempotencyStore } from '
|
|
72
|
-
import { OverflowHandler } from '@pellux/goodvibes-sdk/platform/tools
|
|
73
|
-
import { ToolLLM } from '@pellux/goodvibes-sdk/platform/config
|
|
74
|
-
import { ComponentHealthMonitor } from '
|
|
75
|
-
import { WorktreeRegistry } from '
|
|
76
|
-
import { SandboxSessionRegistry } from '
|
|
77
|
-
import { createShellPathService, type ShellPathService } from '
|
|
78
|
-
import type { FeatureFlagManager } from '
|
|
79
|
-
import { createFeatureFlagManager } from '
|
|
80
|
-
import { PolicyRuntimeState } from '
|
|
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
|
|
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 '
|
|
11
|
-
export { createInitialSessionState } from '
|
|
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 '
|
|
20
|
-
export { createInitialModelState } from '
|
|
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 '
|
|
30
|
-
export { createInitialConversationState } from '
|
|
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 '
|
|
37
|
-
export { createInitialOverlaysState } from '
|
|
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 '
|
|
56
|
-
export { createInitialPermissionsState } from '
|
|
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 '
|
|
65
|
-
export { createInitialTasksState } from '
|
|
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 '
|
|
74
|
-
export { createInitialAgentsState } from '
|
|
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 '
|
|
85
|
-
export { createInitialOrchestrationState } from '
|
|
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 '
|
|
91
|
-
export { createInitialCommunicationState } from '
|
|
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 '
|
|
101
|
-
export { createInitialProviderHealthState } from '
|
|
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 '
|
|
109
|
-
export { createInitialMcpState } from '
|
|
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 '
|
|
116
|
-
export { createInitialPluginsState } from '
|
|
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 '
|
|
124
|
-
export { createInitialDaemonState } from '
|
|
123
|
+
} from '@/runtime/index.ts';
|
|
124
|
+
export { createInitialDaemonState } from '@/runtime/index.ts';
|
|
125
125
|
|
|
126
126
|
export type {
|
|
127
127
|
AutomationDomainState,
|
|
128
|
-
} from '
|
|
129
|
-
export { createInitialAutomationState } from '
|
|
128
|
+
} from '@/runtime/index.ts';
|
|
129
|
+
export { createInitialAutomationState } from '@/runtime/index.ts';
|
|
130
130
|
|
|
131
131
|
export type {
|
|
132
132
|
RoutesDomainState,
|
|
133
|
-
} from '
|
|
134
|
-
export { createInitialRoutesState } from '
|
|
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 '
|
|
143
|
-
export { createInitialControlPlaneState } from '
|
|
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 '
|
|
149
|
-
export { createInitialDeliveryState } from '
|
|
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 '
|
|
158
|
-
export { createInitialWatcherState } from '
|
|
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 '
|
|
165
|
-
export { createInitialSurfaceState } from '
|
|
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 '
|
|
172
|
-
export { createInitialAcpState } from '
|
|
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 '
|
|
180
|
-
export { createInitialIntegrationsState } from '
|
|
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 '
|
|
188
|
-
export { createInitialTelemetryState } from '
|
|
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 '
|
|
197
|
-
export { createInitialGitState } from '
|
|
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 '
|
|
205
|
-
export { createInitialDiscoveryState } from '
|
|
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 '
|
|
214
|
-
export { createInitialIntelligenceState } from '
|
|
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 {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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/
|
|
51
|
-
import type { AutomationJob } from '@pellux/goodvibes-sdk/platform/automation
|
|
52
|
-
import type { AutomationRun } from '@pellux/goodvibes-sdk/platform/automation
|
|
53
|
-
import type { AutomationSourceRecord } from '@pellux/goodvibes-sdk/platform/automation
|
|
54
|
-
import type { AutomationRouteBinding } from '@pellux/goodvibes-sdk/platform/automation
|
|
55
|
-
import type { AutomationSurfaceKind } from '@pellux/goodvibes-sdk/platform/automation
|
|
56
|
-
import type { AutomationDeliveryAttempt } from '@pellux/goodvibes-sdk/platform/automation
|
|
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/
|
|
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 '
|
|
13
|
-
import type { ModelDomainState } from '
|
|
14
|
-
import type { ConversationDomainState, TurnState } from '
|
|
15
|
-
import type { OverlayDomainState, OverlayId } from '
|
|
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 '
|
|
18
|
-
import type { TaskDomainState, RuntimeTask, TaskKind } from '
|
|
19
|
-
import type { AgentDomainState, RuntimeAgent } from '
|
|
20
|
-
import type { ProviderHealthDomainState, CompositeHealthStatus } from '
|
|
21
|
-
import type { McpDomainState } from '
|
|
22
|
-
import type { PluginDomainState } from '
|
|
23
|
-
import type { DaemonDomainState } from '
|
|
24
|
-
import type { AcpDomainState } from '
|
|
25
|
-
import type { IntegrationDomainState } from '
|
|
26
|
-
import type { TelemetryDomainState } from '
|
|
27
|
-
import type { GitDomainState } from '
|
|
28
|
-
import type { DiscoveryDomainState } from '
|
|
29
|
-
import type { IntelligenceDomainState } from '
|
|
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
|
// ---------------------------------------------------------------------------
|