@hanzo/rooms 0.1.5 → 0.1.6
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/dist/open.d.ts +2 -2
- package/dist/open.js +3 -3
- package/package.json +1 -1
package/dist/open.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare function withAgents(names: string[]): void;
|
|
|
75
75
|
export declare function showAside(pane: string | null): void;
|
|
76
76
|
/** Asks the shell to open Settings on one pane, or closes it with null. */
|
|
77
77
|
export declare function showSettings(pane: string | null): void;
|
|
78
|
-
/** Empties the room: no thread, and a fresh count so the pane
|
|
79
|
-
* when there was
|
|
78
|
+
/** Empties the room: no thread, nobody seated, and a fresh count so the pane
|
|
79
|
+
* hears it even when there was nothing to leave. "New chat" is this. */
|
|
80
80
|
export declare function empty(): void;
|
|
81
81
|
export declare function useOpen(): Open;
|
package/dist/open.js
CHANGED
|
@@ -118,10 +118,10 @@ export function showAside(pane) {
|
|
|
118
118
|
export function showSettings(pane) {
|
|
119
119
|
set({ ...selection, settings: pane });
|
|
120
120
|
}
|
|
121
|
-
/** Empties the room: no thread, and a fresh count so the pane
|
|
122
|
-
* when there was
|
|
121
|
+
/** Empties the room: no thread, nobody seated, and a fresh count so the pane
|
|
122
|
+
* hears it even when there was nothing to leave. "New chat" is this. */
|
|
123
123
|
export function empty() {
|
|
124
|
-
set({ ...selection, thread: null, emptied: selection.emptied + 1 });
|
|
124
|
+
set({ ...selection, thread: null, agents: [], emptied: selection.emptied + 1 });
|
|
125
125
|
}
|
|
126
126
|
export function useOpen() {
|
|
127
127
|
const current = useSyncExternalStore(subscribe, read, readOnServer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/rooms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "The workspace rooms — Home, Chat, Inbox, Contacts, Meet, Cal, Drive, Board, Work, Bots — and the frame that holds them, once, for every Hanzo surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|