@bitefoundry/rtt 0.5.0 → 0.7.0

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.
Files changed (3) hide show
  1. package/README.md +29 -4
  2. package/bin/rtt.exe +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -63,7 +63,9 @@ Press `F10` (or open the `Settings` tab) to change `Caption language` and `Trans
63
63
 
64
64
  ## Notes
65
65
 
66
- While captions run in `Translate` mode with an API key, RTT periodically extracts live key points into the `Notes` tab (every 2 minutes by default once at least 5 new closed sentences arrive, or every 40 new sentences). Press `F8` at any time to generate a streaming one-page summary of the current note and open the `Notes` tab. Clearing the live view (`Ctrl+L`) also summarizes an ending note automatically when it has at least 20 sentences and no summary yet (`notes_auto_summary`). Configure `Live notes`, `Notes model` (defaults to `Same as translation`), and `Export to` under `Settings` -> `Notes`.
66
+ While captions run in `Translate` mode with an API key, RTT periodically extracts live key points into the notes pane inside the `Live` tab (every 2 minutes by default once at least 5 new closed sentences arrive, or every 40 new sentences). Clearing the live view (`Ctrl+L`) also summarizes an ending note automatically when it has at least 20 sentences and no summary yet (`notes_auto_summary`). Configure `Live notes`, `Notes model` (defaults to `Same as translation`), and `Export to` under `Settings` -> `Notes`.
67
+
68
+ In the `Live` tab, the notes pane appears beside the translation stream on wide terminals (100+ inner columns) or stacked below it on narrower windows. Press `n` to show or hide the notes pane (saved as `notes_pane` in `tui.json`), `←` / `→` to switch scroll focus between the translation and notes panes (scroll with `↑` / `↓` / `PgUp` / `PgDn` / `End`, plus `Home` in notes), and `F8` to generate a streaming one-page summary—showing the notes pane for the current run and returning to `Live` from `Sessions` or `Playback`.
67
69
 
68
70
  Notes are always saved locally as Markdown and JSON state files under `%LOCALAPPDATA%\RTT\notes\` (`<id>.md` and `<id>.json`) and are not automatically deleted.
69
71
 
@@ -89,25 +91,48 @@ Notes configuration keys in `%LOCALAPPDATA%\RTT\config.json`:
89
91
  | `notes_interval_s` | integer | `120` | Minimum seconds between automatic keynote updates (minimum `30`) |
90
92
  | `notes_auto_summary` | boolean | `true` | Automatically summarize an ending note on `Ctrl+L` (20+ sentences) |
91
93
  | `notes_export` | object | `{"target": "off"}` | Export target for new notes (`off`, `obsidian`, or `notion`) |
94
+ | `notes_review` | boolean | `true` | Generate meeting briefs after summaries and enable review-before-merge |
95
+ | `review_poll_s` | integer | `300` | Seconds between background review checks (`60`–`3600`) |
96
+
97
+ ## Review
98
+
99
+ When a note summary finishes (`F8` or `Ctrl+L` auto-summary) and `Review` is enabled under `Settings` -> `Notes`, RTT extracts a structured meeting brief (**Decisions**, **Action items**, and **Open questions**) using `Notes model` and saves a local copy to `%LOCALAPPDATA%\RTT\notes\<id>.brief.md`. If the brief has at least one decision or action item and an export destination is configured, RTT proposes it for review rather than writing unreviewed briefs straight to the final location. While `rtt` is running, it checks pending proposals on startup, every `review_poll_s` seconds (default `300`), and on demand via `Settings` -> `Notes` -> `Review` -> `Check now`, displaying `<n> in review` in the `Live` status bar.
100
+
101
+ - **Obsidian**: Briefs are uploaded to `<folder>/Review/` (default `RTT/Review/`) with YAML frontmatter `rtt-status: pending`. Review and edit the document in Obsidian, then change `rtt-status` to `approved` for RTT to move your edited brief into `<folder>/Decisions/` (default `RTT/Decisions/`), or `rejected` to move it to the vault `.trash/`.
102
+ - **Notion**: Create a review database shared with your Notion integration that includes a `Status` property (status or select) with the four values `Pending`, `Approved`, `Rejected`, and `Merged`. When you turn `Review` on with a Notion export target, choose that database from the picker (databases missing any of the four values are shown dimmed). Edit the proposed row in Notion and set `Status` to `Approved` to publish your edited body as a new page under your Notion export parent page and mark the row `Merged`, or set `Status` to `Rejected` to stop tracking it while leaving the row as is.
103
+
104
+ To process approved or rejected briefs without opening the terminal UI (for example from a script or Windows Task Scheduler), run:
105
+
106
+ ```powershell
107
+ rtt --merge-reviews
108
+ ```
109
+
110
+ It prints one line per merged, rejected, or failed brief followed by `pending <n>`, exiting `0` when all checks succeed (including when nothing is pending) and `1` if any item fails.
92
111
 
93
112
  ## Key bindings
94
113
 
95
114
  | Key | Action |
96
115
  |---|---|
97
- | `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Notes`, `Settings`) |
116
+ | `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Settings`) |
98
117
  | `Enter` / `Space` / `r` | Request reply suggestions for recent captions |
99
118
  | `Ctrl+Alt+R` | Global hotkey for reply suggestions (change via `hotkey` in `config.json`) |
100
119
  | `1`, `2`, `3` | Copy a suggested reply |
101
120
  | `Esc` | Close the reply panel or active overlay |
102
121
  | `F2` | Start or stop recording |
103
122
  | `F3` | Switch mode (`Translate` / `Transcribe` / `Record only`) |
104
- | `F8` | Summarize the current note and open the `Notes` tab |
123
+ | `F8` | Summarize the current note in the `Live` notes pane |
105
124
  | `F9` | Switch mic mode (`Mic off` / `Mic record` / `Mic transcribe`) |
106
125
  | `F10` | Open the language panel (`Caption language` and `Translate to`) |
126
+ | `n` | Show or hide the `Live` notes pane |
127
+ | `←` / `→` | Switch scroll focus between the `Live` translation and notes panes |
107
128
  | `Ctrl+L` | Clear the `Live` screen |
108
- | `↑` / `↓` / `PgUp` / `PgDn` / `End` | Scroll history and return to the latest line |
129
+ | `↑` / `↓` / `PgUp` / `PgDn` / `End` | Scroll the focused pane and return to the latest line (`Home` jumps to the top in notes) |
109
130
  | `q` / `Ctrl+C` | Quit |
110
131
 
132
+ ## Mouse
133
+
134
+ Mouse input is enabled by default (left click, double-click, and scroll wheel). You can click top tabs, bottom key hints, `Live` status-bar controls (mode, mic, and language), `Live` translation/notes panes to focus, reply suggestions (`1`–`3`) to copy, `F10` language panel rows and values, the `Playback` progress bar to seek, and rows in `Sessions`, the file explorer, `Playback` transcripts, `Settings`, language editors, model/export pickers, and first-run setup (double-click opens, seeks, or selects; clicking an already-selected `Settings` row also opens it; the wheel scrolls the pane or moves the list selection under the pointer). Mouse capture pauses automatically on API key entry screens so right-click paste works natively; elsewhere, hold `Shift` and drag to select text in Windows Terminal, or set `"mouse": false` in `%LOCALAPPDATA%\RTT\tui.json` to disable mouse capture.
135
+
111
136
  ## Data locations
112
137
 
113
138
  - Settings, daily usage, caption history, notes, and logs: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `notes\`, `rtt.log`)
package/bin/rtt.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitefoundry/rtt",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Real-time captions, translation and reply suggestions for Windows Live Captions (terminal app)",
5
5
  "license": "MIT",
6
6
  "os": [