@pellux/goodvibes-agent 1.1.3 → 1.1.5
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 +13 -0
- package/dist/package/main.js +1780 -939
- package/package.json +1 -1
- package/src/input/agent-workspace-activation.ts +21 -1
- package/src/input/agent-workspace-basic-command-editors.ts +8 -9
- package/src/input/agent-workspace-categories.ts +263 -115
- package/src/input/agent-workspace-category-actions.ts +25 -0
- package/src/input/agent-workspace-host-category.ts +57 -0
- package/src/input/agent-workspace-local-editor-submission.ts +193 -0
- package/src/input/agent-workspace-search.ts +6 -0
- package/src/input/agent-workspace-settings.ts +314 -0
- package/src/input/agent-workspace-setup.ts +20 -0
- package/src/input/agent-workspace-snapshot.ts +89 -0
- package/src/input/agent-workspace-subscription-editor.ts +214 -0
- package/src/input/agent-workspace-types.ts +56 -1
- package/src/input/agent-workspace.ts +139 -164
- package/src/input/handler-modal-token-routes.ts +12 -12
- package/src/input/handler.ts +2 -1
- package/src/main.ts +11 -7
- package/src/renderer/agent-workspace.ts +80 -14
- package/src/shell/agent-workspace-fullscreen.ts +11 -3
- package/src/tools/agent-harness-ui-surface-metadata.ts +1 -1
- package/src/tools/agent-harness-workspace-actions.ts +2 -2
- 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.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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",
|
|
@@ -36,6 +36,10 @@ interface AgentWorkspaceActivationHost {
|
|
|
36
36
|
moveLocalLibraryItemSelection(kind: AgentWorkspaceLocalEditorKind, delta: number): void;
|
|
37
37
|
selectedLocalLibraryItem(kind: AgentWorkspaceLocalEditorKind): AgentWorkspaceLocalLibraryItem | null;
|
|
38
38
|
applyLocalLibraryOperation(operation: AgentWorkspaceLocalOperation): void;
|
|
39
|
+
applySettingAction(action: AgentWorkspaceCategory['actions'][number], requestRender?: () => void): void;
|
|
40
|
+
importTuiSettings(requestRender?: () => void): void;
|
|
41
|
+
openModelPickerAction(action: AgentWorkspaceCategory['actions'][number], requestRender?: () => void): void;
|
|
42
|
+
openSettingsModalAction(action: AgentWorkspaceCategory['actions'][number], requestRender?: () => void): void;
|
|
39
43
|
completeOnboarding(): void;
|
|
40
44
|
hasCommandDispatch(): boolean;
|
|
41
45
|
dispatchWorkspaceCommand: AgentWorkspaceCommandDispatcher;
|
|
@@ -57,6 +61,22 @@ export function activateAgentWorkspaceSelection(
|
|
|
57
61
|
if (!workspace.commitActionSearchSelection()) return;
|
|
58
62
|
const action = workspace.selectedAction;
|
|
59
63
|
if (!action) return;
|
|
64
|
+
if (action.kind === 'setting') {
|
|
65
|
+
workspace.applySettingAction(action, requestRender);
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
if (action.kind === 'settings-import') {
|
|
69
|
+
workspace.importTuiSettings(requestRender);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
if (action.kind === 'model-picker') {
|
|
73
|
+
workspace.openModelPickerAction(action, requestRender);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (action.kind === 'settings-modal') {
|
|
77
|
+
workspace.openSettingsModalAction(action, requestRender);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
60
80
|
if (action.kind === 'editor' && action.editorKind) {
|
|
61
81
|
const editor = createAgentWorkspaceEditor(action.editorKind, {
|
|
62
82
|
runtimeStarterTemplates: workspace.runtimeSnapshot?.runtimeStarterTemplates ?? [],
|
|
@@ -146,7 +166,7 @@ export function activateAgentWorkspaceSelection(
|
|
|
146
166
|
workspace.lastActionResult = {
|
|
147
167
|
kind: 'dispatched',
|
|
148
168
|
title: `Opening ${action.label}`,
|
|
149
|
-
detail: 'The workspace handed this
|
|
169
|
+
detail: 'The workspace handed this command to the shell-owned command router.',
|
|
150
170
|
command: action.command,
|
|
151
171
|
safety: action.safety,
|
|
152
172
|
};
|
|
@@ -613,7 +613,7 @@ export function createAgentWorkspaceBasicCommandEditor(kind: AgentWorkspaceBasic
|
|
|
613
613
|
selectedFieldIndex: 0,
|
|
614
614
|
message: 'Inspect one provider subscription route without starting login or printing token values.',
|
|
615
615
|
fields: [
|
|
616
|
-
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Subscription provider id
|
|
616
|
+
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Subscription provider id, such as openai.' },
|
|
617
617
|
],
|
|
618
618
|
};
|
|
619
619
|
}
|
|
@@ -623,12 +623,11 @@ export function createAgentWorkspaceBasicCommandEditor(kind: AgentWorkspaceBasic
|
|
|
623
623
|
mode: 'create',
|
|
624
624
|
title: 'Start Provider Subscription Login',
|
|
625
625
|
selectedFieldIndex: 0,
|
|
626
|
-
message: 'Begin one provider subscription OAuth login
|
|
626
|
+
message: 'Begin one provider subscription OAuth login, save the pending session, and return here for completion.',
|
|
627
627
|
fields: [
|
|
628
|
-
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Subscription provider id
|
|
628
|
+
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Subscription provider id, such as openai.' },
|
|
629
629
|
{ id: 'openBrowser', label: 'Open browser', value: 'yes', required: false, multiline: false, hint: 'yes/no. Use no to print the authorization URL only.' },
|
|
630
|
-
{ id: '
|
|
631
|
-
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to run /subscription login <provider> start with --yes.' },
|
|
630
|
+
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to save pending login state and open or show the authorization URL.' },
|
|
632
631
|
],
|
|
633
632
|
};
|
|
634
633
|
}
|
|
@@ -638,11 +637,11 @@ export function createAgentWorkspaceBasicCommandEditor(kind: AgentWorkspaceBasic
|
|
|
638
637
|
mode: 'update',
|
|
639
638
|
title: 'Finish Provider Subscription Login',
|
|
640
639
|
selectedFieldIndex: 0,
|
|
641
|
-
message: 'Finish a pending provider subscription OAuth login from a code or redirected URL
|
|
640
|
+
message: 'Finish a pending provider subscription OAuth login from a code or redirected URL and save the subscription session.',
|
|
642
641
|
fields: [
|
|
643
642
|
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Provider id used when starting login.' },
|
|
644
643
|
{ id: 'code', label: 'Code or redirect URL', value: '', required: true, multiline: false, hint: 'OAuth code or full redirect URL containing code=...' },
|
|
645
|
-
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to
|
|
644
|
+
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to exchange the code and save the provider subscription session.' },
|
|
646
645
|
],
|
|
647
646
|
};
|
|
648
647
|
}
|
|
@@ -652,10 +651,10 @@ export function createAgentWorkspaceBasicCommandEditor(kind: AgentWorkspaceBasic
|
|
|
652
651
|
mode: 'delete',
|
|
653
652
|
title: 'Logout Provider Subscription',
|
|
654
653
|
selectedFieldIndex: 0,
|
|
655
|
-
message: 'Remove one
|
|
654
|
+
message: 'Remove one active or pending provider subscription session. Ambient API key resolution applies again if configured.',
|
|
656
655
|
fields: [
|
|
657
656
|
{ id: 'provider', label: 'Provider', value: 'openai', required: true, multiline: false, hint: 'Stored subscription provider id.' },
|
|
658
|
-
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to
|
|
657
|
+
{ id: 'confirm', label: 'Confirm', value: '', required: true, multiline: false, hint: 'Type yes to remove active or pending subscription state.' },
|
|
659
658
|
],
|
|
660
659
|
};
|
|
661
660
|
}
|