@devframes/hub 0.9.6 → 0.9.7

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.
@@ -181,6 +181,27 @@ interface DockSessionStorage {
181
181
  * reload. `null` when the selected dock has no iframe route to remember.
182
182
  */
183
183
  selectedDockRoute: string | null;
184
+ /**
185
+ * The dock entry most recently selected from beyond the float bar's inline
186
+ * capacity — from the overflow popover or from inside a dock group. A hub UI
187
+ * provider raises this entry into a dedicated slot between the bar's visible
188
+ * items and the overflow button, so deselecting it (or selecting a visible
189
+ * neighbour) keeps it one click away instead of folding it straight back
190
+ * into the overflow. `null` (or absent, for stores persisted before this
191
+ * field existed) when no entry has been raised.
192
+ */
193
+ recentDockId?: string | null;
194
+ /**
195
+ * The member most recently opened in each dock group, keyed by group id.
196
+ * Recorded whenever a grouped member is selected (from the group popover,
197
+ * the group sidebar, the command palette, or an RPC activation), and read
198
+ * back when the group is activated again: the remembered member reopens
199
+ * directly, taking precedence over the group's own
200
+ * {@link import('../types/docks').DevframeViewGroup.defaultChildId defaultChildId}.
201
+ * A group is only listed once one of its members has been opened this tab
202
+ * (absent for stores persisted before this field existed).
203
+ */
204
+ groupLastChildIds?: Record<string, string>;
184
205
  }
185
206
  type DockClientType = 'embedded' | 'standalone';
186
207
  interface DocksContext extends DevframeRpcContext {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@devframes/hub",
3
3
  "type": "module",
4
- "version": "0.9.6",
4
+ "version": "0.9.7",
5
5
  "description": "Hub layer that orchestrates devframe docks, terminals, messages, and commands on any host.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "dist"
35
35
  ],
36
36
  "peerDependencies": {
37
- "devframe": "0.9.6"
37
+ "devframe": "0.9.7"
38
38
  },
39
39
  "dependencies": {
40
40
  "@standard-schema/spec": "^1.1.0",
@@ -52,7 +52,7 @@
52
52
  "mlly": "^1.8.2",
53
53
  "tsdown": "^0.22.14",
54
54
  "valibot": "^1.4.2",
55
- "devframe": "0.9.6"
55
+ "devframe": "0.9.7"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsdown",