@pellux/goodvibes-agent 1.0.37 → 1.0.39
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 +10 -0
- package/dist/package/main.js +337 -463
- package/package.json +1 -1
- package/src/main.ts +9 -1
- package/src/renderer/compositor.ts +7 -1
- package/src/renderer/conversation-overlays.ts +1 -4
- package/src/renderer/onboarding/onboarding-wizard.ts +237 -499
- package/src/shell/onboarding-fullscreen.ts +40 -0
- package/src/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pellux/goodvibes-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "GoodVibes personal operator assistant TUI with a proactive Agent product brain, isolated Agent Knowledge, local profiles, routines, skills, personas, and explicit build delegation.",
|
|
6
6
|
"type": "module",
|
package/src/main.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { Compositor } from './renderer/compositor.ts';
|
|
4
|
-
import { type Line } from './types/grid.ts';
|
|
5
4
|
import { UIFactory } from './renderer/ui-factory.ts';
|
|
6
5
|
import { Orchestrator } from './core/orchestrator';
|
|
7
6
|
import { conversationMessagesAsSessionRecords } from './core/conversation-message-snapshot.ts';
|
|
@@ -41,6 +40,7 @@ import {
|
|
|
41
40
|
} from '@/runtime/index.ts';
|
|
42
41
|
import type { SessionSnapshot } from '@/runtime/index.ts';
|
|
43
42
|
import { handleBlockingShellInput, type PendingPermissionState } from './shell/blocking-input.ts';
|
|
43
|
+
import { createOnboardingFullscreenComposite } from './shell/onboarding-fullscreen.ts';
|
|
44
44
|
import { wireShellUiOpeners } from './shell/ui-openers.ts';
|
|
45
45
|
import { deriveComposerState } from './core/composer-state.ts';
|
|
46
46
|
import { buildPersistedSessionContext, formatReturnContextForDisplay, getReturnContextMode, maybeAssistReturnContextSummary } from '@/runtime/index.ts';
|
|
@@ -472,6 +472,14 @@ async function main() {
|
|
|
472
472
|
const width = stdout.columns || 80;
|
|
473
473
|
const height = stdout.rows || 24;
|
|
474
474
|
|
|
475
|
+
if (input.onboardingWizard.active) {
|
|
476
|
+
input.setPanelMouseLayout(null);
|
|
477
|
+
activeConversationWidth = width;
|
|
478
|
+
conversation.setSplashSuppressed(true);
|
|
479
|
+
compositor.composite(createOnboardingFullscreenComposite(input, width, height));
|
|
480
|
+
return;
|
|
481
|
+
}
|
|
482
|
+
|
|
475
483
|
// Cache the current model for consistent values across the entire render frame
|
|
476
484
|
const currentModel = providerRegistry.getCurrentModel();
|
|
477
485
|
const sessionSnapshot = uiServices.readModels.session.getSnapshot();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TerminalBuffer } from './buffer.ts';
|
|
2
2
|
import { DiffEngine } from './diff.ts';
|
|
3
|
-
import { type Line, createEmptyCell, createStyledCell } from '../types/grid.ts';
|
|
3
|
+
import { type Line, createEmptyCell, createEmptyLine, createStyledCell } from '../types/grid.ts';
|
|
4
4
|
import { getDisplayWidth } from '../utils/terminal-width.ts';
|
|
5
5
|
import type { SearchManager } from '../input/search.ts';
|
|
6
6
|
import { allowTerminalWrite } from '../runtime/terminal-output-guard.ts';
|
|
@@ -250,6 +250,12 @@ export class Compositor {
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
|
|
253
|
+
for (let i = viewport.length; i < vHeight; i += 1) {
|
|
254
|
+
const screenY = viewportStartY + i;
|
|
255
|
+
if (screenY >= height) break;
|
|
256
|
+
newBuffer.blitLine(screenY, createEmptyLine(width));
|
|
257
|
+
}
|
|
258
|
+
|
|
253
259
|
// Draw separator on remaining viewport rows past content (when panel is active)
|
|
254
260
|
if (hasPanel && panel!.separator) {
|
|
255
261
|
for (let i = viewport.length; i < vHeight; i++) {
|
|
@@ -19,7 +19,6 @@ import { renderProfilePickerModal } from './profile-picker-modal.ts';
|
|
|
19
19
|
import { renderBookmarkModal } from './bookmark-modal.ts';
|
|
20
20
|
import { renderHelpOverlay, renderShortcutsOverlay } from './help-overlay.ts';
|
|
21
21
|
import { renderAutocompleteOverlay } from './autocomplete-overlay.ts';
|
|
22
|
-
import { renderOnboardingWizard } from './onboarding/onboarding-wizard.ts';
|
|
23
22
|
import { overlayViewportBottom, replaceViewportWithOverlay } from './conversation-layout.ts';
|
|
24
23
|
|
|
25
24
|
export interface ConversationOverlayContext {
|
|
@@ -41,9 +40,7 @@ export function applyConversationOverlays(
|
|
|
41
40
|
const bottomDockInset = 1 + (input.searchManager.active || input.historySearch.active ? 1 : 0);
|
|
42
41
|
|
|
43
42
|
if (input.onboardingWizard.active) {
|
|
44
|
-
|
|
45
|
-
next = replaceViewportWithOverlay(lines, conversationWidth, viewportHeight);
|
|
46
|
-
if (!input.modelPicker.active) return next;
|
|
43
|
+
return next;
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
if (input.filePicker.active) {
|