@pellux/goodvibes-agent 1.0.24 → 1.0.26
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 +12 -0
- package/dist/package/main.js +110 -29
- package/package.json +1 -1
- package/src/input/command-registry.ts +1 -0
- package/src/runtime/bootstrap-command-parts.ts +2 -0
- package/src/shell/ui-openers.ts +2 -0
- package/src/tools/agent-harness-keybinding-metadata.ts +26 -5
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Product-facing release notes for GoodVibes Agent.
|
|
4
4
|
|
|
5
|
+
## 1.0.26 - 2026-06-03
|
|
6
|
+
|
|
7
|
+
- Route confirmed agent_harness panel-close and panel-close-all keybinding runs through the same Agent workspace dismiss bridge as the user shortcut before falling back to legacy panels.
|
|
8
|
+
- Refresh model-operation metadata for panel close keybindings so supported keybinding behavior matches visible shell behavior.
|
|
9
|
+
- Add focused harness coverage for model-triggered Agent workspace dismissal.
|
|
10
|
+
|
|
11
|
+
## 1.0.25 - 2026-06-03
|
|
12
|
+
|
|
13
|
+
- Correct the model-visible fixed shortcut catalog so F2 is reported as the runtime activity monitor instead of the shortcut reference.
|
|
14
|
+
- Expose /shortcuts separately as the keyboard shortcut reference route.
|
|
15
|
+
- Add focused harness coverage for runtime activity and shortcut-reference discovery.
|
|
16
|
+
|
|
5
17
|
## 1.0.24 - 2026-06-03
|
|
6
18
|
|
|
7
19
|
- Resolve confirmed agent_harness run_command requests by the same command, commandName, target, or query lookup used for slash-command inspection.
|
package/dist/package/main.js
CHANGED
|
@@ -389257,6 +389257,23 @@ function createSchema2(db) {
|
|
|
389257
389257
|
`);
|
|
389258
389258
|
db.run(`CREATE INDEX IF NOT EXISTS idx_knowledge_schedules_job_id ON knowledge_schedules(job_id)`);
|
|
389259
389259
|
}
|
|
389260
|
+
function getKnowledgeSchemaStatements() {
|
|
389261
|
+
const statements = [];
|
|
389262
|
+
createSchema2({
|
|
389263
|
+
run(sql) {
|
|
389264
|
+
const normalized = sql.trim();
|
|
389265
|
+
if (normalized.length > 0)
|
|
389266
|
+
statements.push(normalized);
|
|
389267
|
+
}
|
|
389268
|
+
});
|
|
389269
|
+
return statements;
|
|
389270
|
+
}
|
|
389271
|
+
function renderKnowledgeSchemaSql() {
|
|
389272
|
+
return `${getKnowledgeSchemaStatements().map((statement) => statement.endsWith(";") ? statement : `${statement};`).join(`
|
|
389273
|
+
|
|
389274
|
+
`)}
|
|
389275
|
+
`;
|
|
389276
|
+
}
|
|
389260
389277
|
function rowObject(columns, values2) {
|
|
389261
389278
|
return Object.fromEntries(columns.map((column, index) => [column, values2[index]]));
|
|
389262
389279
|
}
|
|
@@ -702594,6 +702611,9 @@ var init_ingest = __esm(() => {
|
|
|
702594
702611
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/browser-history/index.js
|
|
702595
702612
|
var init_browser_history = __esm(() => {
|
|
702596
702613
|
init_ingest();
|
|
702614
|
+
init_discover();
|
|
702615
|
+
init_readers();
|
|
702616
|
+
init_paths2();
|
|
702597
702617
|
});
|
|
702598
702618
|
|
|
702599
702619
|
// node_modules/graphql/jsutils/devAssert.mjs
|
|
@@ -720233,6 +720253,7 @@ var init_semantic = __esm(() => {
|
|
|
720233
720253
|
init_llm();
|
|
720234
720254
|
init_gap_repair();
|
|
720235
720255
|
init_service4();
|
|
720256
|
+
init_self_improvement();
|
|
720236
720257
|
});
|
|
720237
720258
|
|
|
720238
720259
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/home-graph/helpers.js
|
|
@@ -724201,8 +724222,40 @@ var init_map_view = __esm(() => {
|
|
|
724201
724222
|
});
|
|
724202
724223
|
|
|
724203
724224
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/home-graph/types.js
|
|
724204
|
-
var HOME_GRAPH_CAPABILITIES;
|
|
724225
|
+
var HOME_GRAPH_NODE_KINDS, HOME_GRAPH_RELATIONS, HOME_GRAPH_CAPABILITIES;
|
|
724205
724226
|
var init_types6 = __esm(() => {
|
|
724227
|
+
HOME_GRAPH_NODE_KINDS = [
|
|
724228
|
+
"ha_home",
|
|
724229
|
+
"ha_entity",
|
|
724230
|
+
"ha_device",
|
|
724231
|
+
"ha_area",
|
|
724232
|
+
"ha_automation",
|
|
724233
|
+
"ha_script",
|
|
724234
|
+
"ha_scene",
|
|
724235
|
+
"ha_label",
|
|
724236
|
+
"ha_integration",
|
|
724237
|
+
"ha_room",
|
|
724238
|
+
"ha_device_passport",
|
|
724239
|
+
"ha_maintenance_item",
|
|
724240
|
+
"ha_troubleshooting_case",
|
|
724241
|
+
"ha_purchase",
|
|
724242
|
+
"ha_network_node"
|
|
724243
|
+
];
|
|
724244
|
+
HOME_GRAPH_RELATIONS = [
|
|
724245
|
+
"controls",
|
|
724246
|
+
"located_in",
|
|
724247
|
+
"belongs_to_device",
|
|
724248
|
+
"has_manual",
|
|
724249
|
+
"has_receipt",
|
|
724250
|
+
"has_warranty",
|
|
724251
|
+
"has_issue",
|
|
724252
|
+
"fixed_by",
|
|
724253
|
+
"uses_battery",
|
|
724254
|
+
"connected_via",
|
|
724255
|
+
"part_of_network",
|
|
724256
|
+
"mentioned_by",
|
|
724257
|
+
"source_for"
|
|
724258
|
+
];
|
|
724206
724259
|
HOME_GRAPH_CAPABILITIES = [
|
|
724207
724260
|
"knowledge-space-isolation",
|
|
724208
724261
|
"snapshot-sync",
|
|
@@ -725609,6 +725662,7 @@ var init_service5 = __esm(() => {
|
|
|
725609
725662
|
var init_home_graph = __esm(() => {
|
|
725610
725663
|
init_service5();
|
|
725611
725664
|
init_extension();
|
|
725665
|
+
init_types6();
|
|
725612
725666
|
});
|
|
725613
725667
|
|
|
725614
725668
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/store-refinement.js
|
|
@@ -727936,10 +727990,14 @@ var init_service6 = __esm(() => {
|
|
|
727936
727990
|
var init_project_planning = __esm(() => {
|
|
727937
727991
|
init_service6();
|
|
727938
727992
|
init_helpers3();
|
|
727993
|
+
init_readiness();
|
|
727939
727994
|
});
|
|
727940
727995
|
|
|
727941
727996
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/persistence.js
|
|
727942
|
-
var init_persistence = () => {
|
|
727997
|
+
var init_persistence = __esm(() => {
|
|
727998
|
+
init_store_schema();
|
|
727999
|
+
init_store_load();
|
|
728000
|
+
});
|
|
727943
728001
|
|
|
727944
728002
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/knowledge/projections.js
|
|
727945
728003
|
class KnowledgeProjectionService {
|
|
@@ -731447,21 +731505,21 @@ var init_service7 = __esm(() => {
|
|
|
731447
731505
|
var exports_knowledge = {};
|
|
731448
731506
|
__export(exports_knowledge, {
|
|
731449
731507
|
withKnowledgeSpace: () => withKnowledgeSpace,
|
|
731450
|
-
uniqKnowledgeValues: () =>
|
|
731451
|
-
stabilizeKnowledgeText: () =>
|
|
731452
|
-
runKnowledgeSemanticSelfImprovement: () =>
|
|
731508
|
+
uniqKnowledgeValues: () => uniq2,
|
|
731509
|
+
stabilizeKnowledgeText: () => stableText,
|
|
731510
|
+
runKnowledgeSemanticSelfImprovement: () => runKnowledgeSemanticSelfImprovement,
|
|
731453
731511
|
resolveProjectPlanningSpace: () => resolveProjectPlanningSpace,
|
|
731454
|
-
resolveKnowledgeDbPathFromControlPlaneDir: () =>
|
|
731512
|
+
resolveKnowledgeDbPathFromControlPlaneDir: () => resolveKnowledgeDbPathFromControlPlaneDir,
|
|
731455
731513
|
renderPacket: () => renderPacket,
|
|
731456
731514
|
renderKnowledgeSchemaSql: () => renderKnowledgeSchemaSql,
|
|
731457
731515
|
renderKnowledgeMap: () => renderKnowledgeMap,
|
|
731458
731516
|
readKnowledgeSearchText: () => readKnowledgeSearchText,
|
|
731459
|
-
readBrowserKnowledgeProfile: () =>
|
|
731517
|
+
readBrowserKnowledgeProfile: () => readBrowserKnowledgeProfile,
|
|
731460
731518
|
projectPlanningSourceId: () => projectPlanningSourceId,
|
|
731461
731519
|
projectPlanningProjectIdFromPath: () => projectPlanningProjectIdFromPath,
|
|
731462
731520
|
projectPlanningCanonicalUri: () => projectPlanningCanonicalUri,
|
|
731463
731521
|
projectKnowledgeSpaceId: () => projectKnowledgeSpaceId,
|
|
731464
|
-
parseKnowledgeJsonValue: () =>
|
|
731522
|
+
parseKnowledgeJsonValue: () => parseJsonValue,
|
|
731465
731523
|
normalizeProjectId: () => normalizeProjectId,
|
|
731466
731524
|
normalizeKnowledgeSpaceId: () => normalizeKnowledgeSpaceId,
|
|
731467
731525
|
normalizeHomeAssistantInstallationId: () => normalizeHomeAssistantInstallationId,
|
|
@@ -731469,12 +731527,12 @@ __export(exports_knowledge, {
|
|
|
731469
731527
|
materializeGeneratedKnowledgeProjection: () => materializeGeneratedKnowledgeProjection,
|
|
731470
731528
|
looksLikeRawPdfPayload: () => looksLikeRawPdfPayload,
|
|
731471
731529
|
looksBinaryLikeText: () => looksBinaryLikeText,
|
|
731472
|
-
loadKnowledgeStoreSnapshot: () =>
|
|
731530
|
+
loadKnowledgeStoreSnapshot: () => loadKnowledgeStoreSnapshot,
|
|
731473
731531
|
listGeneratedKnowledgePages: () => listGeneratedKnowledgePages,
|
|
731474
|
-
listBrowserKinds: () =>
|
|
731532
|
+
listBrowserKinds: () => listBrowserKinds,
|
|
731475
731533
|
knowledgeSpaceMetadata: () => knowledgeSpaceMetadata,
|
|
731476
731534
|
knowledgePageSourceWeight: () => knowledgePageSourceWeight,
|
|
731477
|
-
knowledgeNowMs: () =>
|
|
731535
|
+
knowledgeNowMs: () => nowMs,
|
|
731478
731536
|
knowledgeExtractionNeedsRefresh: () => knowledgeExtractionNeedsRefresh,
|
|
731479
731537
|
isUsefulKnowledgePageSourceCandidate: () => isUsefulKnowledgePageSourceCandidate,
|
|
731480
731538
|
isUsefulKnowledgePageSource: () => isUsefulKnowledgePageSource,
|
|
@@ -731494,12 +731552,12 @@ __export(exports_knowledge, {
|
|
|
731494
731552
|
generatedKnowledgeSourceId: () => generatedKnowledgeSourceId,
|
|
731495
731553
|
generatedKnowledgeCanonicalUri: () => generatedKnowledgeCanonicalUri,
|
|
731496
731554
|
extractKnowledgeArtifact: () => extractKnowledgeArtifact,
|
|
731497
|
-
evaluateProjectPlanningReadiness: () =>
|
|
731498
|
-
discoverBrowserKnowledgeProfiles: () =>
|
|
731555
|
+
evaluateProjectPlanningReadiness: () => evaluateProjectPlanningReadiness,
|
|
731556
|
+
discoverBrowserKnowledgeProfiles: () => discoverBrowserKnowledgeProfiles,
|
|
731499
731557
|
createWebKnowledgeGapRepairer: () => createWebKnowledgeGapRepairer,
|
|
731500
731558
|
createProviderBackedKnowledgeSemanticLlm: () => createProviderBackedKnowledgeSemanticLlm,
|
|
731501
731559
|
createMemoryApi: () => createMemoryApi,
|
|
731502
|
-
createKnowledgeSchema: () =>
|
|
731560
|
+
createKnowledgeSchema: () => createSchema2,
|
|
731503
731561
|
createKnowledgeApi: () => createKnowledgeApi,
|
|
731504
731562
|
createDefaultKnowledgeConnectorRegistry: () => createDefaultKnowledgeConnectorRegistry,
|
|
731505
731563
|
compareKnowledgePageSources: () => compareKnowledgePageSources,
|
|
@@ -733937,7 +733995,7 @@ var init_delivery_manager = __esm(() => {
|
|
|
733937
733995
|
});
|
|
733938
733996
|
|
|
733939
733997
|
// node_modules/@pellux/goodvibes-sdk/dist/platform/automation/scheduler-capacity.js
|
|
733940
|
-
function computeSchedulerCapacity(slotsTotal, runs,
|
|
733998
|
+
function computeSchedulerCapacity(slotsTotal, runs, nowMs2 = Date.now()) {
|
|
733941
733999
|
let slotsInUse = 0;
|
|
733942
734000
|
const queuedRuns = [];
|
|
733943
734001
|
for (const run7 of runs) {
|
|
@@ -733947,7 +734005,7 @@ function computeSchedulerCapacity(slotsTotal, runs, nowMs3 = Date.now()) {
|
|
|
733947
734005
|
queuedRuns.push(run7);
|
|
733948
734006
|
}
|
|
733949
734007
|
const queueDepth = queuedRuns.length;
|
|
733950
|
-
const oldestQueuedAgeMs = queueDepth > 0 ?
|
|
734008
|
+
const oldestQueuedAgeMs = queueDepth > 0 ? nowMs2 - Math.min(...queuedRuns.map((r5) => r5.queuedAt)) : null;
|
|
733951
734009
|
return { slotsTotal, slotsInUse, queueDepth, oldestQueuedAgeMs };
|
|
733952
734010
|
}
|
|
733953
734011
|
|
|
@@ -816508,7 +816566,7 @@ var createStyledCell = (char, overrides = {}) => ({
|
|
|
816508
816566
|
// src/version.ts
|
|
816509
816567
|
import { readFileSync } from "fs";
|
|
816510
816568
|
import { join } from "path";
|
|
816511
|
-
var _version = "1.0.
|
|
816569
|
+
var _version = "1.0.26";
|
|
816512
816570
|
var _sdkVersion = "0.33.35";
|
|
816513
816571
|
try {
|
|
816514
816572
|
const pkg = JSON.parse(readFileSync(join(import.meta.dir, "..", "package.json"), "utf-8"));
|
|
@@ -839370,7 +839428,7 @@ var WORK_PLAN_STATUSES = [
|
|
|
839370
839428
|
"failed",
|
|
839371
839429
|
"cancelled"
|
|
839372
839430
|
];
|
|
839373
|
-
function
|
|
839431
|
+
function nowMs2() {
|
|
839374
839432
|
return Date.now();
|
|
839375
839433
|
}
|
|
839376
839434
|
function isObject5(value) {
|
|
@@ -839476,7 +839534,7 @@ class WorkPlanStore {
|
|
|
839476
839534
|
if (!normalizedTitle)
|
|
839477
839535
|
throw new Error("Work plan item title is required.");
|
|
839478
839536
|
const plan = this.readPlan();
|
|
839479
|
-
const time4 =
|
|
839537
|
+
const time4 = nowMs2();
|
|
839480
839538
|
const item = {
|
|
839481
839539
|
id: createItemId(),
|
|
839482
839540
|
title: normalizedTitle,
|
|
@@ -839500,7 +839558,7 @@ class WorkPlanStore {
|
|
|
839500
839558
|
updateItem(idOrPrefix, patch2) {
|
|
839501
839559
|
const plan = this.readPlan();
|
|
839502
839560
|
const item = this.resolveItem(plan, idOrPrefix);
|
|
839503
|
-
const time4 =
|
|
839561
|
+
const time4 = nowMs2();
|
|
839504
839562
|
const nextStatus = patch2.status ?? item.status;
|
|
839505
839563
|
const next = this.pruneItem({
|
|
839506
839564
|
...item,
|
|
@@ -839533,7 +839591,7 @@ class WorkPlanStore {
|
|
|
839533
839591
|
removeItem(idOrPrefix) {
|
|
839534
839592
|
const plan = this.readPlan();
|
|
839535
839593
|
const item = this.resolveItem(plan, idOrPrefix);
|
|
839536
|
-
const time4 =
|
|
839594
|
+
const time4 = nowMs2();
|
|
839537
839595
|
const remaining = plan.items.filter((candidate) => candidate.id !== item.id);
|
|
839538
839596
|
this.writePlan({
|
|
839539
839597
|
...plan,
|
|
@@ -839553,7 +839611,7 @@ class WorkPlanStore {
|
|
|
839553
839611
|
...plan,
|
|
839554
839612
|
items: remaining,
|
|
839555
839613
|
activeItemId: remaining[0]?.id,
|
|
839556
|
-
updatedAt:
|
|
839614
|
+
updatedAt: nowMs2()
|
|
839557
839615
|
});
|
|
839558
839616
|
return removed;
|
|
839559
839617
|
}
|
|
@@ -839592,7 +839650,7 @@ class WorkPlanStore {
|
|
|
839592
839650
|
const parsed = JSON.parse(raw);
|
|
839593
839651
|
if (!isObject5(parsed))
|
|
839594
839652
|
return this.createEmptyPlan();
|
|
839595
|
-
const time4 =
|
|
839653
|
+
const time4 = nowMs2();
|
|
839596
839654
|
const createdAt = typeof parsed.createdAt === "number" ? parsed.createdAt : time4;
|
|
839597
839655
|
const updatedAt = typeof parsed.updatedAt === "number" ? parsed.updatedAt : createdAt;
|
|
839598
839656
|
const items = Array.isArray(parsed.items) ? parsed.items.map((item) => normalizeItem(item, createdAt)).filter((item) => item !== null) : [];
|
|
@@ -839611,7 +839669,7 @@ class WorkPlanStore {
|
|
|
839611
839669
|
};
|
|
839612
839670
|
}
|
|
839613
839671
|
createEmptyPlan() {
|
|
839614
|
-
const time4 =
|
|
839672
|
+
const time4 = nowMs2();
|
|
839615
839673
|
return {
|
|
839616
839674
|
id: createPlanId(this.options.projectId, this.options.projectRoot),
|
|
839617
839675
|
projectId: this.options.projectId,
|
|
@@ -873184,6 +873242,7 @@ function createBootstrapCommandActions(options) {
|
|
|
873184
873242
|
showPanel,
|
|
873185
873243
|
openMcpWorkspace: () => unwiredShellAction("openMcpWorkspace"),
|
|
873186
873244
|
openAgentWorkspace: () => unwiredShellAction("openAgentWorkspace"),
|
|
873245
|
+
dismissAgentWorkspace: () => unwiredShellAction("dismissAgentWorkspace"),
|
|
873187
873246
|
openSecurityPanel: () => {
|
|
873188
873247
|
showPanel("security");
|
|
873189
873248
|
},
|
|
@@ -880092,7 +880151,8 @@ var FIXED_SHORTCUTS = [
|
|
|
880092
880151
|
{ key: "Tab", description: "Autocomplete slash command or file mention" },
|
|
880093
880152
|
{ key: "Esc", description: "Close overlays, pickers, and transient input modes" },
|
|
880094
880153
|
{ key: "? / F1", description: "Toggle help overlay" },
|
|
880095
|
-
{ key: "F2
|
|
880154
|
+
{ key: "F2", description: "Open runtime activity monitor" },
|
|
880155
|
+
{ key: "/shortcuts", description: "Open keyboard shortcut reference" },
|
|
880096
880156
|
{ key: "/keybindings", description: "List configurable keybindings and config path" }
|
|
880097
880157
|
];
|
|
880098
880158
|
function readString52(value) {
|
|
@@ -880311,7 +880371,7 @@ function keybindingOperationRoute(action2) {
|
|
|
880311
880371
|
effect: "visible-ui-navigation",
|
|
880312
880372
|
preferredMode: "run_keybinding",
|
|
880313
880373
|
confirmation: 'agent_harness mode:"run_keybinding" requires confirm:true and explicitUserRequest.',
|
|
880314
|
-
note: "
|
|
880374
|
+
note: "Dismisses the active Agent workspace first. If no Agent workspace is active, closes the active legacy panel if present, then focuses the prompt when the shell bridge exposes focusPrompt."
|
|
880315
880375
|
};
|
|
880316
880376
|
case "panel-close-all":
|
|
880317
880377
|
return {
|
|
@@ -880319,7 +880379,7 @@ function keybindingOperationRoute(action2) {
|
|
|
880319
880379
|
effect: "visible-ui-navigation",
|
|
880320
880380
|
preferredMode: "run_keybinding",
|
|
880321
880381
|
confirmation: 'agent_harness mode:"run_keybinding" requires confirm:true and explicitUserRequest.',
|
|
880322
|
-
note: "
|
|
880382
|
+
note: "Dismisses the active Agent workspace first. If no Agent workspace is active, closes all legacy panels if present, hides the panel manager, then focuses the prompt when the shell bridge exposes focusPrompt."
|
|
880323
880383
|
};
|
|
880324
880384
|
case "history-search":
|
|
880325
880385
|
return {
|
|
@@ -880513,11 +880573,21 @@ function runHarnessKeybinding(context, args2) {
|
|
|
880513
880573
|
}
|
|
880514
880574
|
return runUnavailable(resolved.action, route, "No panel picker or Agent workspace opener is available.");
|
|
880515
880575
|
case "panel-close": {
|
|
880576
|
+
const dismissedAgentWorkspace = context.dismissAgentWorkspace?.() ?? false;
|
|
880577
|
+
if (dismissedAgentWorkspace) {
|
|
880578
|
+
return {
|
|
880579
|
+
status: "executed",
|
|
880580
|
+
action: resolved.action,
|
|
880581
|
+
effect: "agent-workspace-dismissed",
|
|
880582
|
+
route: "dismissAgentWorkspace",
|
|
880583
|
+
keybinding: descriptor
|
|
880584
|
+
};
|
|
880585
|
+
}
|
|
880516
880586
|
const active = context.workspace.panelManager?.getActivePanel() ?? null;
|
|
880517
880587
|
if (active)
|
|
880518
880588
|
context.workspace.panelManager?.close(active.id);
|
|
880519
880589
|
if (!active && !context.focusPrompt)
|
|
880520
|
-
return runUnavailable(resolved.action, route, "No active legacy panel or prompt focus route is available.");
|
|
880590
|
+
return runUnavailable(resolved.action, route, "No active Agent workspace, active legacy panel, or prompt focus route is available.");
|
|
880521
880591
|
if (context.focusPrompt)
|
|
880522
880592
|
context.focusPrompt();
|
|
880523
880593
|
context.renderRequest();
|
|
@@ -880530,13 +880600,23 @@ function runHarnessKeybinding(context, args2) {
|
|
|
880530
880600
|
};
|
|
880531
880601
|
}
|
|
880532
880602
|
case "panel-close-all": {
|
|
880603
|
+
const dismissedAgentWorkspace = context.dismissAgentWorkspace?.() ?? false;
|
|
880604
|
+
if (dismissedAgentWorkspace) {
|
|
880605
|
+
return {
|
|
880606
|
+
status: "executed",
|
|
880607
|
+
action: resolved.action,
|
|
880608
|
+
effect: "agent-workspace-dismissed",
|
|
880609
|
+
route: "dismissAgentWorkspace",
|
|
880610
|
+
keybinding: descriptor
|
|
880611
|
+
};
|
|
880612
|
+
}
|
|
880533
880613
|
const managerPanel = context.workspace.panelManager;
|
|
880534
880614
|
const openPanels = managerPanel?.getAllOpen() ?? [];
|
|
880535
880615
|
for (const panel of openPanels)
|
|
880536
880616
|
managerPanel?.close(panel.id);
|
|
880537
880617
|
managerPanel?.hide();
|
|
880538
880618
|
if (openPanels.length === 0 && !context.focusPrompt)
|
|
880539
|
-
return runUnavailable(resolved.action, route, "No open legacy panels or prompt focus route is available.");
|
|
880619
|
+
return runUnavailable(resolved.action, route, "No active Agent workspace, open legacy panels, or prompt focus route is available.");
|
|
880540
880620
|
if (context.focusPrompt)
|
|
880541
880621
|
context.focusPrompt();
|
|
880542
880622
|
context.renderRequest();
|
|
@@ -901182,6 +901262,7 @@ function wireShellUiOpeners(options) {
|
|
|
901182
901262
|
input.openAgentWorkspace(commandContext, categoryId);
|
|
901183
901263
|
render();
|
|
901184
901264
|
};
|
|
901265
|
+
commandContext.dismissAgentWorkspace = () => input.dismissAgentWorkspace();
|
|
901185
901266
|
commandContext.openSessionPicker = () => {
|
|
901186
901267
|
input.modalOpened("sessionPicker");
|
|
901187
901268
|
input.sessionPickerModal.open();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pellux/goodvibes-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
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",
|
|
@@ -130,6 +130,7 @@ export interface CommandShellUiOpeners {
|
|
|
130
130
|
focusPrompt?: () => void;
|
|
131
131
|
openMcpWorkspace?: () => void;
|
|
132
132
|
openAgentWorkspace?: (categoryId?: string) => void;
|
|
133
|
+
dismissAgentWorkspace?: () => boolean;
|
|
133
134
|
openSecurityPanel?: () => void;
|
|
134
135
|
openKnowledgePanel?: () => void;
|
|
135
136
|
openSubscriptionPanel?: () => void;
|
|
@@ -156,6 +156,7 @@ export function createBootstrapCommandActions(
|
|
|
156
156
|
| 'showPanel'
|
|
157
157
|
| 'openMcpWorkspace'
|
|
158
158
|
| 'openAgentWorkspace'
|
|
159
|
+
| 'dismissAgentWorkspace'
|
|
159
160
|
| 'openSecurityPanel'
|
|
160
161
|
| 'openKnowledgePanel'
|
|
161
162
|
| 'openSubscriptionPanel'
|
|
@@ -243,6 +244,7 @@ export function createBootstrapCommandActions(
|
|
|
243
244
|
showPanel,
|
|
244
245
|
openMcpWorkspace: () => unwiredShellAction('openMcpWorkspace'),
|
|
245
246
|
openAgentWorkspace: () => unwiredShellAction('openAgentWorkspace'),
|
|
247
|
+
dismissAgentWorkspace: () => unwiredShellAction('dismissAgentWorkspace'),
|
|
246
248
|
openSecurityPanel: () => {
|
|
247
249
|
showPanel('security');
|
|
248
250
|
},
|
package/src/shell/ui-openers.ts
CHANGED
|
@@ -435,6 +435,8 @@ export function wireShellUiOpeners(options: WireShellUiOpenersOptions): void {
|
|
|
435
435
|
render();
|
|
436
436
|
};
|
|
437
437
|
|
|
438
|
+
commandContext.dismissAgentWorkspace = () => input.dismissAgentWorkspace();
|
|
439
|
+
|
|
438
440
|
commandContext.openSessionPicker = () => {
|
|
439
441
|
input.modalOpened('sessionPicker');
|
|
440
442
|
input.sessionPickerModal.open();
|
|
@@ -16,7 +16,8 @@ const FIXED_SHORTCUTS: readonly Record<string, string>[] = [
|
|
|
16
16
|
{ key: 'Tab', description: 'Autocomplete slash command or file mention' },
|
|
17
17
|
{ key: 'Esc', description: 'Close overlays, pickers, and transient input modes' },
|
|
18
18
|
{ key: '? / F1', description: 'Toggle help overlay' },
|
|
19
|
-
{ key: 'F2
|
|
19
|
+
{ key: 'F2', description: 'Open runtime activity monitor' },
|
|
20
|
+
{ key: '/shortcuts', description: 'Open keyboard shortcut reference' },
|
|
20
21
|
{ key: '/keybindings', description: 'List configurable keybindings and config path' },
|
|
21
22
|
];
|
|
22
23
|
|
|
@@ -270,7 +271,7 @@ function keybindingOperationRoute(action: KeyAction): KeybindingOperationRoute {
|
|
|
270
271
|
effect: 'visible-ui-navigation',
|
|
271
272
|
preferredMode: 'run_keybinding',
|
|
272
273
|
confirmation: 'agent_harness mode:"run_keybinding" requires confirm:true and explicitUserRequest.',
|
|
273
|
-
note: '
|
|
274
|
+
note: 'Dismisses the active Agent workspace first. If no Agent workspace is active, closes the active legacy panel if present, then focuses the prompt when the shell bridge exposes focusPrompt.',
|
|
274
275
|
};
|
|
275
276
|
case 'panel-close-all':
|
|
276
277
|
return {
|
|
@@ -278,7 +279,7 @@ function keybindingOperationRoute(action: KeyAction): KeybindingOperationRoute {
|
|
|
278
279
|
effect: 'visible-ui-navigation',
|
|
279
280
|
preferredMode: 'run_keybinding',
|
|
280
281
|
confirmation: 'agent_harness mode:"run_keybinding" requires confirm:true and explicitUserRequest.',
|
|
281
|
-
note: '
|
|
282
|
+
note: 'Dismisses the active Agent workspace first. If no Agent workspace is active, closes all legacy panels if present, hides the panel manager, then focuses the prompt when the shell bridge exposes focusPrompt.',
|
|
282
283
|
};
|
|
283
284
|
case 'history-search':
|
|
284
285
|
return {
|
|
@@ -478,9 +479,19 @@ export function runHarnessKeybinding(context: CommandContext, args: HarnessKeybi
|
|
|
478
479
|
}
|
|
479
480
|
return runUnavailable(resolved.action, route, 'No panel picker or Agent workspace opener is available.');
|
|
480
481
|
case 'panel-close': {
|
|
482
|
+
const dismissedAgentWorkspace = context.dismissAgentWorkspace?.() ?? false;
|
|
483
|
+
if (dismissedAgentWorkspace) {
|
|
484
|
+
return {
|
|
485
|
+
status: 'executed',
|
|
486
|
+
action: resolved.action,
|
|
487
|
+
effect: 'agent-workspace-dismissed',
|
|
488
|
+
route: 'dismissAgentWorkspace',
|
|
489
|
+
keybinding: descriptor,
|
|
490
|
+
};
|
|
491
|
+
}
|
|
481
492
|
const active = context.workspace.panelManager?.getActivePanel() ?? null;
|
|
482
493
|
if (active) context.workspace.panelManager?.close(active.id);
|
|
483
|
-
if (!active && !context.focusPrompt) return runUnavailable(resolved.action, route, 'No active legacy panel or prompt focus route is available.');
|
|
494
|
+
if (!active && !context.focusPrompt) return runUnavailable(resolved.action, route, 'No active Agent workspace, active legacy panel, or prompt focus route is available.');
|
|
484
495
|
if (context.focusPrompt) context.focusPrompt();
|
|
485
496
|
context.renderRequest();
|
|
486
497
|
return {
|
|
@@ -492,11 +503,21 @@ export function runHarnessKeybinding(context: CommandContext, args: HarnessKeybi
|
|
|
492
503
|
};
|
|
493
504
|
}
|
|
494
505
|
case 'panel-close-all': {
|
|
506
|
+
const dismissedAgentWorkspace = context.dismissAgentWorkspace?.() ?? false;
|
|
507
|
+
if (dismissedAgentWorkspace) {
|
|
508
|
+
return {
|
|
509
|
+
status: 'executed',
|
|
510
|
+
action: resolved.action,
|
|
511
|
+
effect: 'agent-workspace-dismissed',
|
|
512
|
+
route: 'dismissAgentWorkspace',
|
|
513
|
+
keybinding: descriptor,
|
|
514
|
+
};
|
|
515
|
+
}
|
|
495
516
|
const managerPanel = context.workspace.panelManager;
|
|
496
517
|
const openPanels = managerPanel?.getAllOpen() ?? [];
|
|
497
518
|
for (const panel of openPanels) managerPanel?.close(panel.id);
|
|
498
519
|
managerPanel?.hide();
|
|
499
|
-
if (openPanels.length === 0 && !context.focusPrompt) return runUnavailable(resolved.action, route, 'No open legacy panels or prompt focus route is available.');
|
|
520
|
+
if (openPanels.length === 0 && !context.focusPrompt) return runUnavailable(resolved.action, route, 'No active Agent workspace, open legacy panels, or prompt focus route is available.');
|
|
500
521
|
if (context.focusPrompt) context.focusPrompt();
|
|
501
522
|
context.renderRequest();
|
|
502
523
|
return {
|
package/src/version.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { join } from 'node:path';
|
|
|
6
6
|
// The prebuild script updates the fallback value before compilation.
|
|
7
7
|
// Uses import.meta.dir (Bun) to locate package.json relative to this file,
|
|
8
8
|
// which is correct regardless of the process working directory.
|
|
9
|
-
let _version = '1.0.
|
|
9
|
+
let _version = '1.0.26';
|
|
10
10
|
let _sdkVersion = '0.33.35';
|
|
11
11
|
try {
|
|
12
12
|
const pkg = JSON.parse(readFileSync(join(import.meta.dir, '..', 'package.json'), 'utf-8')) as {
|