@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
|
-
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core
|
|
2
|
+
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core';
|
|
3
3
|
import type { CommandContext } from './command-registry.ts';
|
|
4
4
|
import type { CapabilityFilter, CategoryFilter, ModelPickerModal } from './model-picker.ts';
|
|
5
5
|
import { MODEL_PICKER_CHROME_LINES } from '../renderer/model-picker-overlay.ts';
|
|
6
|
-
import { resolveAndValidatePath } from '@pellux/goodvibes-sdk/platform/utils
|
|
7
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
6
|
+
import { resolveAndValidatePath } from '@pellux/goodvibes-sdk/platform/utils';
|
|
7
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
8
8
|
import type { ProcessEntry } from '../renderer/process-modal.ts';
|
|
9
9
|
import type { BlockActionId } from '../renderer/block-actions.ts';
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core
|
|
1
|
+
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core';
|
|
2
2
|
import type { CommandContext } from './command-registry.ts';
|
|
3
3
|
import type { SearchManager } from './search.ts';
|
|
4
4
|
import type { HistorySearch } from './input-history.ts';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core
|
|
1
|
+
import type { InputToken } from '@pellux/goodvibes-sdk/platform/core';
|
|
2
2
|
import type { InfiniteBuffer } from '../core/history.ts';
|
|
3
3
|
import type { SearchManager } from './search.ts';
|
|
4
4
|
import type { HistorySearch } from './input-history.ts';
|
package/src/input/handler.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { dirname } from 'node:path';
|
|
3
|
-
import { InputTokenizer } from '@pellux/goodvibes-sdk/platform/core
|
|
4
|
-
import { createOAuthLocalListener } from '@pellux/goodvibes-sdk/platform/config
|
|
3
|
+
import { InputTokenizer } from '@pellux/goodvibes-sdk/platform/core';
|
|
4
|
+
import { createOAuthLocalListener } from '@pellux/goodvibes-sdk/platform/config';
|
|
5
5
|
import { clearModalStackForHandler, cleanupMarkerRegistryForHandler, executeBlockActionForHandler, expandPromptForHandler, findMarkerAtPosForHandler, getImageAttachmentsForHandler, handleBlockCopyForHandler, handleBlockRerunForHandler, handleBlockSaveForHandler, handleBlockToggleForHandler, handleBookmarkForHandler, handleCopyForHandler, handleCtrlCForHandler, handleDiffApplyForHandler, handleEscapeForHandler, hydrateOnboardingWizardFromRuntimeForHandler, modalOpenedForHandler, openOnboardingWizardForHandler, registerPasteForHandler } from './handler-interactions.ts';
|
|
6
6
|
import { clearOnboardingModelPickerCancelStateForHandler, clearOnboardingPendingModelPickerTargetForHandler, completeOpenAiSubscriptionFromListenerForHandler, getOnboardingConfigValueForHandler, getOnboardingRuntimePostureForHandler, handleModelPickerCommitForHandler, handleOnboardingActionForHandler, handleOpenAiSubscriptionFinishForHandler, handleOpenAiSubscriptionStartForHandler, openModelPickerWithTargetForHandler, openProviderModelPickerWithTargetForHandler, refreshOnboardingHydrationForHandler, restartOnboardingExternalServicesIfNeededForHandler, restoreOnboardingModelPickerCancelStateForHandler, syncRuntimeFromOnboardingRequestForHandler, verifyOnboardingRuntimePostureForHandler, type OnboardingRuntimePosture } from './handler-onboarding.ts';
|
|
7
|
-
import { beginOpenAICodexLogin, exchangeOpenAICodexCode } from '@pellux/goodvibes-sdk/platform/config
|
|
8
|
-
import { openExternalUrl } from '@pellux/goodvibes-sdk/platform/utils
|
|
9
|
-
import { buildProviderAccountSnapshot } from '
|
|
7
|
+
import { beginOpenAICodexLogin, exchangeOpenAICodexCode } from '@pellux/goodvibes-sdk/platform/config';
|
|
8
|
+
import { openExternalUrl } from '@pellux/goodvibes-sdk/platform/utils';
|
|
9
|
+
import { buildProviderAccountSnapshot } from '@/runtime/index.ts';
|
|
10
10
|
import { SelectionManager } from './selection.ts';
|
|
11
11
|
import type { InfiniteBuffer } from '../core/history.ts';
|
|
12
12
|
import type { CommandRegistry, CommandContext } from './command-registry.ts';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
|
|
2
2
|
import { dirname, join } from 'path';
|
|
3
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
4
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
3
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
4
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* InputHistory — Persisted command history with arrow-key navigation.
|
package/src/input/keybindings.ts
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
import { readFileSync, existsSync } from 'node:fs';
|
|
17
17
|
import { join } from 'node:path';
|
|
18
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
19
|
-
import { resolveSurfaceDirectory } from '
|
|
20
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
18
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
19
|
+
import { resolveSurfaceDirectory } from '@/runtime/index.ts';
|
|
20
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
21
21
|
|
|
22
22
|
/** Identifies a specific key press with modifiers. */
|
|
23
23
|
export interface KeyCombo {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ModelDefinition } from '@pellux/goodvibes-sdk/platform/providers
|
|
2
|
-
import type { FavoritesStore } from '@pellux/goodvibes-sdk/platform/providers
|
|
3
|
-
import { EFFORT_DESCRIPTIONS } from '@pellux/goodvibes-sdk/platform/providers
|
|
4
|
-
import { getQualityTier, getQualityTierFromScore, compositeScore, A_TIER_THRESHOLD } from '@pellux/goodvibes-sdk/platform/providers
|
|
5
|
-
import type { BenchmarkStore } from '@pellux/goodvibes-sdk/platform/providers
|
|
6
|
-
import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers
|
|
1
|
+
import type { ModelDefinition } from '@pellux/goodvibes-sdk/platform/providers';
|
|
2
|
+
import type { FavoritesStore } from '@pellux/goodvibes-sdk/platform/providers';
|
|
3
|
+
import { EFFORT_DESCRIPTIONS } from '@pellux/goodvibes-sdk/platform/providers';
|
|
4
|
+
import { getQualityTier, getQualityTierFromScore, compositeScore, A_TIER_THRESHOLD } from '@pellux/goodvibes-sdk/platform/providers';
|
|
5
|
+
import type { BenchmarkStore } from '@pellux/goodvibes-sdk/platform/providers';
|
|
6
|
+
import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
|
|
7
7
|
import { detectFamily, POPULAR_PROVIDERS, tierToCategoryFilter } from './model-picker-types.ts';
|
|
8
8
|
import type { BenchmarkSort, CapabilityFilter, CategoryFilter, FilteredModelsCache, FilteredProvidersCache, GroupByMode, ModelItemsCache, ModelPickerFocusPane, ModelPickerTarget, ModelPickerTargetInfo, PickerItem, PickerMode, ProviderItemsCache } from './model-picker-types.ts';
|
|
9
9
|
import { filterProviders, groupProviders } from './model-picker-provider-filter.ts';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OnboardingAcknowledgementTarget, OnboardingApplyOperation, OnboardingApplyRequest } from '../../runtime/onboarding/index.ts';
|
|
2
|
+
import { formatProviderModel } from '../../config/provider-model.ts';
|
|
2
3
|
import { getServerSurfaceFeatureFlags } from '../../runtime/surface-feature-flags.ts';
|
|
3
4
|
import {
|
|
4
5
|
buildCloudflareApiTokenRef,
|
|
@@ -108,8 +109,7 @@ export function buildOnboardingApplyRequest(controller: OnboardingWizardControll
|
|
|
108
109
|
|
|
109
110
|
const defaultModel = controller.modelSelectionState.get('main');
|
|
110
111
|
if (defaultModel && defaultModel.enabled !== false && defaultModel.providerId.length > 0 && defaultModel.modelId.length > 0) {
|
|
111
|
-
setConfig('provider.
|
|
112
|
-
setConfig('provider.model', defaultModel.modelId);
|
|
112
|
+
setConfig('provider.model', formatProviderModel(defaultModel.providerId, defaultModel.modelId));
|
|
113
113
|
}
|
|
114
114
|
setConfig('provider.reasoningEffort', controller.getStringFieldValue('default-model.reasoning', controller.runtimeSnapshot?.providerRouting.primaryReasoningEffort ?? 'medium'));
|
|
115
115
|
setConfig('behavior.hitlMode', controller.getStringFieldValue('experience.hitl', controller.runtimeSnapshot?.runtimeDefaults.behavior.hitlMode ?? 'balanced'));
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
GOODVIBES_NTFY_CHAT_TOPIC,
|
|
4
4
|
GOODVIBES_NTFY_REMOTE_TOPIC,
|
|
5
5
|
resolveGoodVibesNtfyTopics,
|
|
6
|
-
} from '@pellux/goodvibes-sdk/platform/integrations
|
|
6
|
+
} from '@pellux/goodvibes-sdk/platform/integrations';
|
|
7
7
|
import { DEFAULT_CONFIG, type ConfigKey } from '../../config/index.ts';
|
|
8
8
|
import type { OnboardingSnapshotState } from '../../runtime/onboarding/index.ts';
|
|
9
9
|
import { TELEGRAM_MODE_OPTIONS, WHATSAPP_PROVIDER_OPTIONS } from './onboarding-wizard-constants.ts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CommandContext } from './command-registry.ts';
|
|
2
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
2
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
3
3
|
import type { Panel } from '../panels/types.ts';
|
|
4
4
|
import type { PanelManager } from '../panels/panel-manager.ts';
|
|
5
5
|
import { FileExplorerPanel } from '../panels/file-explorer-panel.ts';
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* and handles load/delete/save actions.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { ProfileInfo, ProfileData, ProfileManager } from '@pellux/goodvibes-sdk/platform/profiles
|
|
9
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
10
|
-
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
11
|
-
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config
|
|
12
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
8
|
+
import type { ProfileInfo, ProfileData, ProfileManager } from '@pellux/goodvibes-sdk/platform/profiles';
|
|
9
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
10
|
+
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
11
|
+
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config';
|
|
12
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
13
13
|
|
|
14
14
|
/** Known display setting keys (subset of ConfigKey that maps to display.*). */
|
|
15
15
|
const DISPLAY_KEYS: ConfigKey[] = [
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { unlinkSync } from 'node:fs';
|
|
9
|
-
import type { SessionInfo, SessionManager } from '@pellux/goodvibes-sdk/platform/sessions
|
|
9
|
+
import type { SessionInfo, SessionManager } from '@pellux/goodvibes-sdk/platform/sessions';
|
|
10
10
|
import type { ConversationManager } from '../core/conversation';
|
|
11
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
11
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
12
12
|
|
|
13
13
|
// ---------------------------------------------------------------------------
|
|
14
14
|
// SessionPickerModal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConfigSetting } from '@pellux/goodvibes-sdk/platform/config
|
|
1
|
+
import type { ConfigSetting } from '@pellux/goodvibes-sdk/platform/config';
|
|
2
2
|
import type { ModelPickerTarget } from './model-picker.ts';
|
|
3
3
|
|
|
4
4
|
export type ModelPickerLaunch =
|
|
@@ -6,12 +6,10 @@ export type ModelPickerLaunch =
|
|
|
6
6
|
| { readonly flow: 'model'; readonly target: ModelPickerTarget };
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Map config keys to the shared provider/model picker flows.
|
|
10
|
-
* provider first; model rows open directly to models for the same target.
|
|
9
|
+
* Map config keys to the shared provider/model picker flows.
|
|
11
10
|
*/
|
|
12
11
|
export function modelPickerLaunchForKey(key: string): ModelPickerLaunch | null {
|
|
13
|
-
if (key === 'provider.
|
|
14
|
-
if (key === 'provider.model') return { flow: 'model', target: 'main' };
|
|
12
|
+
if (key === 'provider.model') return { flow: 'providerModel', target: 'main' };
|
|
15
13
|
if (key === 'helper.globalProvider') return { flow: 'providerModel', target: 'helper' };
|
|
16
14
|
if (key === 'helper.globalModel') return { flow: 'model', target: 'helper' };
|
|
17
15
|
if (key === 'tools.llmProvider') return { flow: 'providerModel', target: 'tool' };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config
|
|
2
|
-
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
3
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
4
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
1
|
+
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config';
|
|
2
|
+
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
3
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
4
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
5
5
|
import type { SecretsManager } from '../config/secrets.ts';
|
|
6
6
|
import {
|
|
7
7
|
buildSecretBackedConfigUpdate,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ProviderAuthFreshness } from '
|
|
2
|
-
import { listBuiltinSubscriptionProviders } from '@pellux/goodvibes-sdk/platform/config
|
|
3
|
-
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config
|
|
1
|
+
import type { ProviderAuthFreshness } from '@/runtime/index.ts';
|
|
2
|
+
import { listBuiltinSubscriptionProviders } from '@pellux/goodvibes-sdk/platform/config';
|
|
3
|
+
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
4
4
|
import type { ServiceInspectionQuery } from '../runtime/ui-service-queries.ts';
|
|
5
5
|
import type { SubscriptionEntry } from './settings-modal-types.ts';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ConfigSetting } from '@pellux/goodvibes-sdk/platform/config
|
|
2
|
-
import type { ProviderAuthFreshness, ProviderAuthRoute } from '
|
|
3
|
-
import type { FeatureFlag, FlagState } from '
|
|
1
|
+
import type { ConfigSetting } from '@pellux/goodvibes-sdk/platform/config';
|
|
2
|
+
import type { ProviderAuthFreshness, ProviderAuthRoute } from '@/runtime/index.ts';
|
|
3
|
+
import type { FeatureFlag, FlagState } from '@/runtime/index.ts';
|
|
4
4
|
|
|
5
5
|
export type SettingsCategory =
|
|
6
6
|
| 'display'
|
|
@@ -88,7 +88,7 @@ export interface FlagEntry {
|
|
|
88
88
|
export interface McpEntry {
|
|
89
89
|
name: string;
|
|
90
90
|
connected: boolean;
|
|
91
|
-
role:
|
|
91
|
+
role: string;
|
|
92
92
|
trustMode: 'constrained' | 'ask-on-risk' | 'allow-all' | 'blocked';
|
|
93
93
|
allowedPaths: string[];
|
|
94
94
|
allowedHosts: string[];
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
* Saves changes via configManager.set(key, value) or featureFlagManager methods.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { CONFIG_SCHEMA, type ConfigKey, type PersistedFlagState } from '@pellux/goodvibes-sdk/platform/config
|
|
13
|
+
import { CONFIG_SCHEMA, type ConfigKey, type PersistedFlagState } from '@pellux/goodvibes-sdk/platform/config';
|
|
14
14
|
import type { ModelPickerTarget } from './model-picker.ts';
|
|
15
|
-
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
16
|
-
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config
|
|
17
|
-
import { getResolvedSettingLookup } from '
|
|
15
|
+
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
16
|
+
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
17
|
+
import { getResolvedSettingLookup } from '@/runtime/index.ts';
|
|
18
18
|
import type { ServiceInspectionQuery } from '../runtime/ui-service-queries.ts';
|
|
19
19
|
import { buildGoodVibesSecretKey, isSecretConfigKey } from '../config/secret-config.ts';
|
|
20
20
|
import {
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
type SettingsSecretsManager,
|
|
28
28
|
} from './settings-modal-secrets.ts';
|
|
29
29
|
import { buildSubscriptionEntries } from './settings-modal-subscriptions.ts';
|
|
30
|
-
import type { FeatureFlagManager } from '
|
|
31
|
-
import type { FeatureFlag, FlagState } from '
|
|
32
|
-
import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp
|
|
33
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
34
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
30
|
+
import type { FeatureFlagManager } from '@/runtime/index.ts';
|
|
31
|
+
import type { FeatureFlag, FlagState } from '@/runtime/index.ts';
|
|
32
|
+
import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp';
|
|
33
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
34
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
35
35
|
import {
|
|
36
36
|
SETTINGS_CATEGORIES,
|
|
37
37
|
type FlagEntry,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config
|
|
1
|
+
import type { ConfigKey } from '@pellux/goodvibes-sdk/platform/config';
|
|
2
2
|
import type { CommandContext } from './command-registry.ts';
|
|
3
3
|
import type { SelectionItem } from './selection-modal.ts';
|
|
4
4
|
|
package/src/main.ts
CHANGED
|
@@ -6,21 +6,21 @@ import { UIFactory } from './renderer/ui-factory.ts';
|
|
|
6
6
|
import { Orchestrator } from './core/orchestrator';
|
|
7
7
|
import { InputHandler } from './input/handler.ts';
|
|
8
8
|
import { SelectionManager } from './input/selection.ts';
|
|
9
|
-
import type { ContentPart } from '@pellux/goodvibes-sdk/platform/providers
|
|
10
|
-
import { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools
|
|
11
|
-
import { registerAllTools } from '@pellux/goodvibes-sdk/platform/tools
|
|
12
|
-
import { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state
|
|
13
|
-
import { PermissionManager } from '@pellux/goodvibes-sdk/platform/permissions
|
|
14
|
-
import { AcpManager } from '@pellux/goodvibes-sdk/platform/acp
|
|
9
|
+
import type { ContentPart } from '@pellux/goodvibes-sdk/platform/providers';
|
|
10
|
+
import { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
|
|
11
|
+
import { registerAllTools } from '@pellux/goodvibes-sdk/platform/tools';
|
|
12
|
+
import { FileUndoManager } from '@pellux/goodvibes-sdk/platform/state';
|
|
13
|
+
import { PermissionManager } from '@pellux/goodvibes-sdk/platform/permissions';
|
|
14
|
+
import { AcpManager } from '@pellux/goodvibes-sdk/platform/acp';
|
|
15
15
|
import { PermissionPromptUI } from './permissions/prompt.ts';
|
|
16
16
|
import { CommandRegistry } from './input/command-registry.ts';
|
|
17
17
|
import type { CommandContext } from './input/command-registry.ts';
|
|
18
18
|
import { renderProcessIndicator } from './renderer/process-indicator.ts';
|
|
19
|
-
import { WrfcController } from '@pellux/goodvibes-sdk/platform/agents
|
|
19
|
+
import { WrfcController } from '@pellux/goodvibes-sdk/platform/agents';
|
|
20
20
|
import { registerBuiltinCommands } from './input/commands.ts';
|
|
21
|
-
import { ScheduleManager } from '@pellux/goodvibes-sdk/platform/tools
|
|
21
|
+
import { ScheduleManager } from '@pellux/goodvibes-sdk/platform/tools';
|
|
22
22
|
import { InputHistory } from './input/input-history.ts';
|
|
23
|
-
import { getTierPromptSupplement, getTierForContextWindow } from '@pellux/goodvibes-sdk/platform/providers
|
|
23
|
+
import { getTierPromptSupplement, getTierForContextWindow } from '@pellux/goodvibes-sdk/platform/providers';
|
|
24
24
|
import { GitStatusProvider } from './renderer/git-status.ts';
|
|
25
25
|
import type { GitHeaderInfo } from './renderer/git-status.ts';
|
|
26
26
|
import { createShellLayout } from './renderer/layout-engine.ts';
|
|
@@ -30,25 +30,25 @@ import {
|
|
|
30
30
|
} from './renderer/conversation-layout.ts';
|
|
31
31
|
import { applyConversationOverlays } from './renderer/conversation-overlays.ts';
|
|
32
32
|
import { buildPanelCompositeData } from './renderer/panel-composite.ts';
|
|
33
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
33
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
34
34
|
import { registerBuiltinPanels } from './panels/builtin-panels.ts';
|
|
35
35
|
import { renderPanelTabBar } from './renderer/panel-tab-bar.ts';
|
|
36
36
|
import { bootstrapRuntime } from './runtime/bootstrap.ts';
|
|
37
37
|
import type { BootstrapContext } from './runtime/bootstrap.ts';
|
|
38
|
-
import type { HITLMode } from '@pellux/goodvibes-sdk/platform/state
|
|
39
|
-
import type { HookPhase, HookCategory, HookEventPath } from '@pellux/goodvibes-sdk/platform/hooks
|
|
38
|
+
import type { HITLMode } from '@pellux/goodvibes-sdk/platform/state';
|
|
39
|
+
import type { HookPhase, HookCategory, HookEventPath } from '@pellux/goodvibes-sdk/platform/hooks';
|
|
40
40
|
import {
|
|
41
41
|
checkRecoveryFile,
|
|
42
42
|
deleteRecoveryFile,
|
|
43
43
|
loadRecoveryConversation,
|
|
44
44
|
persistConversation,
|
|
45
45
|
writeRecoveryFile,
|
|
46
|
-
} from '
|
|
46
|
+
} from '@/runtime/index.ts';
|
|
47
47
|
import { handleBlockingShellInput, type PendingPermissionState } from './shell/blocking-input.ts';
|
|
48
48
|
import { wireShellUiOpeners } from './shell/ui-openers.ts';
|
|
49
49
|
import { deriveComposerState } from './core/composer-state.ts';
|
|
50
|
-
import { buildPersistedSessionContext, formatReturnContextForDisplay, getReturnContextMode, maybeAssistReturnContextSummary } from '
|
|
51
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
50
|
+
import { buildPersistedSessionContext, formatReturnContextForDisplay, getReturnContextMode, maybeAssistReturnContextSummary } from '@/runtime/index.ts';
|
|
51
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
52
52
|
import { prepareShellCliRuntime } from './cli/entrypoint.ts';
|
|
53
53
|
import { applyInitialTuiCliState } from './cli/tui-startup.ts';
|
|
54
54
|
import { wireSpokenTurnRuntime } from './audio/spoken-turn-wiring.ts';
|
|
@@ -290,8 +290,7 @@ async function main() {
|
|
|
290
290
|
const def = providerRegistry.getCurrentModel();
|
|
291
291
|
runtime.model = def.id;
|
|
292
292
|
runtime.provider = def.provider;
|
|
293
|
-
configManager.set('provider.model', def.
|
|
294
|
-
configManager.set('provider.provider', def.provider);
|
|
293
|
+
configManager.set('provider.model', def.registryKey);
|
|
295
294
|
systemMessageRouter.high(`[Model] Switched to ${def.displayName} (${def.provider}) via @model:`);
|
|
296
295
|
} catch {
|
|
297
296
|
systemMessageRouter.high(`[Model] Unknown model: ${modelId}`);
|
|
@@ -8,9 +8,9 @@ import { readFile } from 'node:fs/promises';
|
|
|
8
8
|
import type { Line } from '../types/grid.ts';
|
|
9
9
|
import { createEmptyLine } from '../types/grid.ts';
|
|
10
10
|
import { BasePanel } from './base-panel.ts';
|
|
11
|
-
import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools
|
|
12
|
-
import type { AgentMessageBus } from '@pellux/goodvibes-sdk/platform/agents
|
|
13
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
11
|
+
import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools';
|
|
12
|
+
import type { AgentMessageBus } from '@pellux/goodvibes-sdk/platform/agents';
|
|
13
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
14
14
|
import {
|
|
15
15
|
buildEmptyState,
|
|
16
16
|
buildPanelLine,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
DEFAULT_PANEL_PALETTE,
|
|
23
23
|
} from './polish.ts';
|
|
24
24
|
import { truncateDisplay } from '../utils/terminal-width.ts';
|
|
25
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
25
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
26
26
|
import {
|
|
27
27
|
type AgentDisplayRow as DisplayRow,
|
|
28
28
|
type AgentInspectorEntryKind as EntryKind,
|
|
@@ -2,8 +2,8 @@ import { promises as fsPromises, watch, type FSWatcher } from 'fs';
|
|
|
2
2
|
import type { Line } from '../types/grid.ts';
|
|
3
3
|
import { createEmptyLine, createStyledCell } from '../types/grid.ts';
|
|
4
4
|
import { ScrollableListPanel } from './scrollable-list-panel.ts';
|
|
5
|
-
import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools
|
|
6
|
-
import type { AgentEvent } from '
|
|
5
|
+
import type { AgentManager, AgentRecord } from '@pellux/goodvibes-sdk/platform/tools';
|
|
6
|
+
import type { AgentEvent } from '@/runtime/index.ts';
|
|
7
7
|
import type { UiEventFeed } from '../runtime/ui-events.ts';
|
|
8
8
|
import {
|
|
9
9
|
buildEmptyState,
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
buildPanelLine,
|
|
7
7
|
DEFAULT_PANEL_PALETTE,
|
|
8
8
|
} from './polish.ts';
|
|
9
|
-
import type { PolicyRuntimeState } from '
|
|
10
|
-
import { buildPermissionRuleSuggestions } from '
|
|
9
|
+
import type { PolicyRuntimeState } from '@/runtime/index.ts';
|
|
10
|
+
import { buildPermissionRuleSuggestions } from '@/runtime/index.ts';
|
|
11
11
|
|
|
12
12
|
const C = {
|
|
13
13
|
...DEFAULT_PANEL_PALETTE,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
createEnvironmentVariableQuery,
|
|
36
36
|
createProviderRuntimeInspectionQuery,
|
|
37
37
|
} from '../../runtime/ui-service-queries.ts';
|
|
38
|
-
import { createRuntimeProviderApi } from '
|
|
38
|
+
import { createRuntimeProviderApi } from '@/runtime/index.ts';
|
|
39
39
|
import type { ResolvedBuiltinPanelDeps } from './shared.ts';
|
|
40
40
|
import { requireAutomationManager, requireControlPlanePanelDeps, requireHookPanelDeps, requireMcpRegistry, requirePluginManager, requireUiServices } from './shared.ts';
|
|
41
41
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getOrCreateCompanionToken,
|
|
13
13
|
regenerateCompanionToken,
|
|
14
14
|
buildCompanionConnectionInfo,
|
|
15
|
-
} from '@pellux/goodvibes-sdk/platform/pairing
|
|
15
|
+
} from '@pellux/goodvibes-sdk/platform/pairing';
|
|
16
16
|
import { copyToClipboard } from '../../utils/clipboard.ts';
|
|
17
17
|
|
|
18
18
|
function getLocalNetworkIp(): string {
|
|
@@ -63,7 +63,7 @@ export function registerSessionPanels(manager: PanelManager, deps: ResolvedBuilt
|
|
|
63
63
|
surface: 'tui',
|
|
64
64
|
});
|
|
65
65
|
const regenerate = (): typeof connectionInfo => {
|
|
66
|
-
const newRecord = regenerateCompanionToken(
|
|
66
|
+
const newRecord = regenerateCompanionToken({ daemonHomeDir });
|
|
67
67
|
return buildCompanionConnectionInfo({
|
|
68
68
|
daemonUrl,
|
|
69
69
|
token: newRecord.token,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
2
|
-
import type { ServiceRegistry } from '@pellux/goodvibes-sdk/platform/config
|
|
3
|
-
import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools
|
|
4
|
-
import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers
|
|
1
|
+
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
2
|
+
import type { ServiceRegistry } from '@pellux/goodvibes-sdk/platform/config';
|
|
3
|
+
import type { ToolRegistry } from '@pellux/goodvibes-sdk/platform/tools';
|
|
4
|
+
import type { ProviderRegistry } from '@pellux/goodvibes-sdk/platform/providers';
|
|
5
5
|
import type { Orchestrator } from '../../core/orchestrator';
|
|
6
|
-
import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state
|
|
7
|
-
import type { ApprovalBroker, SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane
|
|
8
|
-
import type { AutomationManager } from '@pellux/goodvibes-sdk/platform/automation
|
|
9
|
-
import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane
|
|
6
|
+
import type { MemoryRegistry } from '@pellux/goodvibes-sdk/platform/state';
|
|
7
|
+
import type { ApprovalBroker, SharedSessionBroker } from '@pellux/goodvibes-sdk/platform/control-plane';
|
|
8
|
+
import type { AutomationManager } from '@pellux/goodvibes-sdk/platform/automation';
|
|
9
|
+
import type { ControlPlaneRecentEvent } from '@pellux/goodvibes-sdk/platform/control-plane';
|
|
10
10
|
import type { UiRuntimeServices } from '../../runtime/ui-services.ts';
|
|
11
|
-
import type { PluginManagerObserver } from '@pellux/goodvibes-sdk/platform/plugins
|
|
12
|
-
import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks
|
|
13
|
-
import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks
|
|
14
|
-
import type { HookActivityTracker } from '@pellux/goodvibes-sdk/platform/hooks
|
|
15
|
-
import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp
|
|
16
|
-
import type { PolicyRuntimeState } from '
|
|
17
|
-
import type { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions
|
|
18
|
-
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config
|
|
19
|
-
import type { UserAuthManager } from '@pellux/goodvibes-sdk/platform/security
|
|
20
|
-
import type { SessionMemoryStore } from '@pellux/goodvibes-sdk/platform/core
|
|
21
|
-
import type { ExecutionPlanManager } from '@pellux/goodvibes-sdk/platform/core
|
|
22
|
-
import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core
|
|
23
|
-
import type { ProjectPlanningService } from '@pellux/goodvibes-sdk/platform/knowledge
|
|
24
|
-
import type { ApiTokenAuditor } from '@pellux/goodvibes-sdk/platform/security
|
|
11
|
+
import type { PluginManagerObserver } from '@pellux/goodvibes-sdk/platform/plugins';
|
|
12
|
+
import type { HookWorkbench } from '@pellux/goodvibes-sdk/platform/hooks';
|
|
13
|
+
import type { HookDispatcher } from '@pellux/goodvibes-sdk/platform/hooks';
|
|
14
|
+
import type { HookActivityTracker } from '@pellux/goodvibes-sdk/platform/hooks';
|
|
15
|
+
import type { McpRegistry } from '@pellux/goodvibes-sdk/platform/mcp';
|
|
16
|
+
import type { PolicyRuntimeState } from '@/runtime/index.ts';
|
|
17
|
+
import type { SessionManager } from '@pellux/goodvibes-sdk/platform/sessions';
|
|
18
|
+
import type { SubscriptionManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
19
|
+
import type { UserAuthManager } from '@pellux/goodvibes-sdk/platform/security';
|
|
20
|
+
import type { SessionMemoryStore } from '@pellux/goodvibes-sdk/platform/core';
|
|
21
|
+
import type { ExecutionPlanManager } from '@pellux/goodvibes-sdk/platform/core';
|
|
22
|
+
import type { AdaptivePlanner } from '@pellux/goodvibes-sdk/platform/core';
|
|
23
|
+
import type { ProjectPlanningService } from '@pellux/goodvibes-sdk/platform/knowledge';
|
|
24
|
+
import type { ApiTokenAuditor } from '@pellux/goodvibes-sdk/platform/security';
|
|
25
25
|
import type { ComponentHealthMonitor } from '../../runtime/perf/panel-health-monitor.ts';
|
|
26
|
-
import type { WorktreeRegistry } from '
|
|
27
|
-
import type { SandboxSessionRegistry } from '
|
|
26
|
+
import type { WorktreeRegistry } from '@/runtime/index.ts';
|
|
27
|
+
import type { SandboxSessionRegistry } from '@/runtime/index.ts';
|
|
28
28
|
|
|
29
29
|
export interface BuiltinPanelDeps {
|
|
30
30
|
/** Config manager for settings-sync and other config-backed panels. */
|
|
@@ -56,13 +56,13 @@ export interface BuiltinPanelDeps {
|
|
|
56
56
|
/** Request a shell repaint directly rather than routing through a retired event path. */
|
|
57
57
|
requestRender?: () => void;
|
|
58
58
|
/** ForensicsRegistry for the Forensics panel. */
|
|
59
|
-
forensicsRegistry?: import('
|
|
59
|
+
forensicsRegistry?: import('@/runtime/index.ts').ForensicsRegistry;
|
|
60
60
|
/** EvalRegistry for the Eval panel. */
|
|
61
61
|
evalRegistry?: import('../eval-panel.ts').EvalRegistry;
|
|
62
62
|
/** MemoryRegistry for the Memory panel. */
|
|
63
63
|
memoryRegistry?: MemoryRegistry;
|
|
64
64
|
/** Shared policy runtime state for governance/policy diagnostics. */
|
|
65
|
-
policyRuntimeState?: import('
|
|
65
|
+
policyRuntimeState?: import('@/runtime/index.ts').PolicyRuntimeState;
|
|
66
66
|
/** Approval broker for control-plane/operator panels. */
|
|
67
67
|
approvalBroker?: ApprovalBroker;
|
|
68
68
|
/** Shared session broker for control-plane/operator panels. */
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// ContextVisualizerPanel — stacked bar showing context window composition.
|
|
3
3
|
// ---------------------------------------------------------------------------
|
|
4
4
|
|
|
5
|
-
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config
|
|
5
|
+
import type { ConfigManager } from '@pellux/goodvibes-sdk/platform/config';
|
|
6
6
|
import type { Line } from '../types/grid.ts';
|
|
7
7
|
import { BasePanel } from './base-panel.ts';
|
|
8
|
-
import { evaluateSessionMaintenance } from '
|
|
9
|
-
import type { TurnEvent } from '
|
|
8
|
+
import { evaluateSessionMaintenance } from '@/runtime/index.ts';
|
|
9
|
+
import type { TurnEvent } from '@/runtime/index.ts';
|
|
10
10
|
import type { UiEventFeed } from '../runtime/ui-events.ts';
|
|
11
11
|
import type { UiReadModel, UiSessionSnapshot } from '../runtime/ui-read-models.ts';
|
|
12
12
|
import type { SessionMemoryQuery } from '../runtime/ui-service-queries.ts';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { Line } from '../types/grid.ts';
|
|
6
6
|
import { createStyledCell, createEmptyLine } from '../types/grid.ts';
|
|
7
7
|
import { BasePanel } from './base-panel.ts';
|
|
8
|
-
import type { AgentEvent, TurnEvent } from '
|
|
8
|
+
import type { AgentEvent, TurnEvent } from '@/runtime/index.ts';
|
|
9
9
|
import type { UiEventFeed } from '../runtime/ui-events.ts';
|
|
10
10
|
import {
|
|
11
11
|
buildEmptyState,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BasePanel } from './base-panel.ts';
|
|
2
2
|
import { createEmptyLine, createStyledCell, type Line } from '../types/grid.ts';
|
|
3
|
-
import type { TurnEvent } from '
|
|
3
|
+
import type { TurnEvent } from '@/runtime/index.ts';
|
|
4
4
|
import type { UiEventFeed } from '../runtime/ui-events.ts';
|
|
5
5
|
import type { Orchestrator } from '../core/orchestrator';
|
|
6
6
|
import {
|
package/src/panels/eval-panel.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Open via /forensics or the panel picker.
|
|
8
8
|
*/
|
|
9
9
|
import type { Line } from '../types/grid.ts';
|
|
10
|
-
import type { ForensicsRegistry } from '
|
|
11
|
-
import type { FailureReport, CausalChainEntry, PhaseTimingEntry } from '
|
|
12
|
-
import { ForensicsDataPanel } from '
|
|
10
|
+
import type { ForensicsRegistry } from '@/runtime/index.ts';
|
|
11
|
+
import type { FailureReport, CausalChainEntry, PhaseTimingEntry } from '@/runtime/index.ts';
|
|
12
|
+
import { ForensicsDataPanel } from '@/runtime/index.ts';
|
|
13
13
|
import { BasePanel } from './base-panel.ts';
|
|
14
14
|
import { createEmptyLine } from '../types/grid.ts';
|
|
15
15
|
import {
|
package/src/panels/git-panel.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BasePanel } from './base-panel.ts';
|
|
2
2
|
import { createEmptyLine, createStyledCell, type Line } from '../types/grid.ts';
|
|
3
|
-
import { GitService } from '@pellux/goodvibes-sdk/platform/git
|
|
4
|
-
import { logger } from '@pellux/goodvibes-sdk/platform/utils
|
|
5
|
-
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils
|
|
3
|
+
import { GitService } from '@pellux/goodvibes-sdk/platform/git';
|
|
4
|
+
import { logger } from '@pellux/goodvibes-sdk/platform/utils';
|
|
5
|
+
import { summarizeError } from '@pellux/goodvibes-sdk/platform/utils';
|
|
6
6
|
import {
|
|
7
7
|
buildEmptyState,
|
|
8
8
|
buildPanelLine,
|