@online5880/opensession 0.1.6 → 0.1.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.
- package/package.json +1 -1
- package/session.txt +3 -0
- package/src/cli.js +1 -1
- package/src/tui.js +1 -1
package/package.json
CHANGED
package/session.txt
ADDED
package/src/cli.js
CHANGED
package/src/tui.js
CHANGED
|
@@ -96,7 +96,7 @@ export async function startTui(client, options = {}) {
|
|
|
96
96
|
header.setContent(` Loading sessions... `);
|
|
97
97
|
screen.render();
|
|
98
98
|
|
|
99
|
-
const activeSessions = await listActiveSessions(client);
|
|
99
|
+
const activeSessions = await listActiveSessions(client, options.projectKey ?? options.project);
|
|
100
100
|
sessions = activeSessions || [];
|
|
101
101
|
|
|
102
102
|
sessionList.setItems(sessions.map(s => `${s.actor} (${s.id.slice(0, 8)})`));
|