@online5880/opensession 0.1.6 β 0.1.8
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/README.md +12 -6
- package/package.json +1 -1
- package/session.txt +3 -0
- package/src/cli.js +1 -1
- package/src/tui.js +1 -1
package/README.md
CHANGED
|
@@ -103,12 +103,7 @@ npm install -g @online5880/opensession
|
|
|
103
103
|
---
|
|
104
104
|
|
|
105
105
|
## π Command Reference
|
|
106
|
-
|
|
107
|
-
| Command | Alias | Description |
|
|
108
|
-
| :--- | :--- | :--- |
|
|
109
|
-
| `init` | `setup` | Initialize Supabase connection and local config. |
|
|
110
|
-
| `start` | `st` | Create a new session and start the timeline. |
|
|
111
|
-
| `resume` | `rs` | Resume an existing session with idempotency protection. |
|
|
106
|
+
...
|
|
112
107
|
| `tui` | - | **(New)** Launch the interactive Terminal UI dashboard. |
|
|
113
108
|
| `viewer` | `vw` | Run a local read-only web viewer server. |
|
|
114
109
|
| `status` | `ps` | Check CLI version and active session status. |
|
|
@@ -116,6 +111,17 @@ npm install -g @online5880/opensession
|
|
|
116
111
|
|
|
117
112
|
---
|
|
118
113
|
|
|
114
|
+
## β¨οΈ TUI μΈν°λν°λΈ μ‘°μλ²
|
|
115
|
+
|
|
116
|
+
TUI λμ보λ(`opss tui`)λ μ€μκ° μ΄λ²€νΈ λͺ¨λν°λ§μ μν΄ λ€μ μ‘°μμ΄ νμν©λλ€:
|
|
117
|
+
|
|
118
|
+
- **μΈμ
μ ν**: `[β / β]` νμ΄ν ν€λ‘ μ΄λ ν **`[Enter]`**λ₯Ό λλ¬ μ ννμΈμ. μ νλ μΈμ
λΆν° μ€μκ° μ€νΈλ¦¬λ°μ΄ μμλ©λλ€.
|
|
119
|
+
- **μλ‘κ³ μΉ¨**: `[R]` ν€λ₯Ό λλ¬ μ 체 μΈμ
λͺ©λ‘μ μλ‘κ³ μΉ¨ν©λλ€.
|
|
120
|
+
- **μ’
λ£**: `[Q]` λλ `[Esc]` ν€λ₯Ό λλ¬ μ’
λ£ν©λλ€.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
|
|
119
125
|
## ποΈ Architecture
|
|
120
126
|
|
|
121
127
|
OpenSession acts as a high-reliability bridge between agent runtimes and persistent storage.
|
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)})`));
|